Index: media/mojo/interfaces/mojo_bindings.gyp |
diff --git a/media/mojo/interfaces/mojo_bindings.gyp b/media/mojo/interfaces/mojo_bindings.gyp |
index 3e3c6ac86a4436d3685ef0df7c4cf48dfe728b1a..c36bad25e73bc44e67e80462c023e1146b9dcc54 100644 |
--- a/media/mojo/interfaces/mojo_bindings.gyp |
+++ b/media/mojo/interfaces/mojo_bindings.gyp |
@@ -47,5 +47,41 @@ |
'<(SHARED_INTERMEDIATE_DIR)/media/mojo/interfaces/provision_fetcher.mojom.h', |
], |
}, |
+ { |
+ # GN version: //content/common:mojo_bindings |
+ 'includes': [ '../../../mojo/mojom_bindings_generator.gypi' ], |
+ 'target_name': 'audio_output_mojom', |
+ 'type': 'none', |
+ 'variables': { |
+ 'mojom_files': [ |
+ 'audio_output.mojom', |
+ 'content_decryption_module.mojom', |
+ 'decryptor.mojom', |
+ 'demuxer_stream.mojom', |
+ 'media_types.mojom', |
+ 'media_types.mojom', |
xhwang
2016/04/29 17:47:57
drop duplicate lines
rchtara
2016/05/02 15:54:11
Done.
|
+ 'output_protection.mojom', |
+ 'renderer.mojom', |
xhwang
2016/04/29 17:47:57
Most of these are never intended to work in GYP bu
rchtara
2016/05/02 15:54:11
Some of these files are used in media_type_convert
xhwang
2016/05/03 00:14:33
sigh... Then should these be part of a target that
rchtara
2016/05/04 08:38:43
There available as dependencies for audio_output_m
|
+ ], |
+ }, |
+ 'dependencies': [ |
+ '../../../mojo/mojo_public.gyp:mojo_cpp_bindings', |
+ ], |
+ 'includes': [ '../../../mojo/mojom_bindings_generator_explicit.gypi' ], |
+ }, |
+ { |
+ 'target_name': 'audio_output_mojom_bindings', |
+ 'type': 'static_library', |
+ 'dependencies': [ |
+ 'audio_output_mojom', |
+ ], |
+ 'sources': [ |
+ '../common/media_type_converters.cc', |
+ '../common/media_type_converters.h', |
+ '../common/mojo_shared_buffer_video_frame.cc', |
+ '../common/mojo_shared_buffer_video_frame.h', |
xhwang
2016/04/29 17:47:57
why do you need video frame here?
rchtara
2016/05/02 15:54:11
MojoSharedBufferVideoFrame is used in media_type_c
|
+ ] |
+ }, |
+ |
], |
} |