Index: media/mojo/interfaces/mojo_bindings.gyp |
diff --git a/media/mojo/interfaces/mojo_bindings.gyp b/media/mojo/interfaces/mojo_bindings.gyp |
index 8a4bdfe62062faa48fb6a9938f80ce37508f7310..b018783ff00e9dd415bf2d03f6ccde08fde20c48 100644 |
--- a/media/mojo/interfaces/mojo_bindings.gyp |
+++ b/media/mojo/interfaces/mojo_bindings.gyp |
@@ -12,14 +12,14 @@ |
'audio_output.mojom', |
'audio_parameters.mojom', |
], |
+ 'mojom_typemaps': [ |
+ 'audio_parameters.typemap', |
+ ], |
}, |
'dependencies': [ |
'../../../mojo/mojo_public.gyp:mojo_cpp_bindings', |
], |
'includes': [ '../../../mojo/mojom_bindings_generator_explicit.gypi' ], |
- 'mojom_typemaps': [ |
- 'audio_parameters.typemap', |
- ], |
}, |
{ |
'target_name': 'audio_output_mojom_bindings', |
@@ -70,5 +70,35 @@ |
'../../../services/shell/shell_public.gyp:shell_public', |
], |
}, |
+ { |
+ # GN version: //content/common:mojo_bindings |
+ 'target_name': 'mojo_bindings', |
+ 'type': 'none', |
+ 'variables': { |
+ 'mojom_files': [ |
+ 'content_decryption_module.mojom', |
+ 'decryptor.mojom', |
+ 'demuxer_stream.mojom', |
+ 'media_types.mojom', |
+ ], |
+ }, |
+ 'dependencies': [ |
+ '../../../mojo/mojo_public.gyp:mojo_cpp_bindings', |
+ ], |
+ 'includes': [ '../../../mojo/mojom_bindings_generator_explicit.gypi' ], |
+ }, |
+ { |
+ 'target_name': 'mojo_type_convertor', |
+ 'type': 'static_library', |
+ 'dependencies': [ |
+ 'mojo_bindings', |
+ ], |
+ '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', |
+ ] |
+ }, |
], |
} |