Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1642)

Unified Diff: media/media.gyp

Issue 491733004: media: add basic MediaRenderer mojom and TypeConverters (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add max_time Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | media/mojo/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/media.gyp
diff --git a/media/media.gyp b/media/media.gyp
index 71242666b7c665bd6af08c51b187190979576877..f3428266c134056157568e338740b6cedc807820 100644
--- a/media/media.gyp
+++ b/media/media.gyp
@@ -991,6 +991,62 @@
],
},
{
+ # GN version: //media/mojo/interfaces
+ 'target_name': 'mojo_media_bindings',
+ 'type': 'static_library',
+ 'sources': [
+ 'mojo/interfaces/media_types.mojom',
+ 'mojo/interfaces/media_renderer.mojom',
+ ],
+ 'includes': [
+ '../mojo/public/tools/bindings/mojom_bindings_generator.gypi'
+ ],
+ 'export_dependent_settings': [
+ '../mojo/mojo_base.gyp:mojo_cpp_bindings',
+ ],
+ 'dependencies': [
+ '../mojo/mojo_base.gyp:mojo_cpp_bindings',
+ ],
+ },
+ {
+ 'target_name': 'mojo_media_lib',
+ 'type': 'static_library',
+ 'includes': [
+ '../mojo/mojo_variables.gypi',
+ ],
+ 'dependencies': [
+ 'media',
+ 'mojo_media_bindings',
+ '../base/base.gyp:base',
+ '../mojo/mojo_base.gyp:mojo_environment_chromium',
+ '<(mojo_system_for_component)',
+ ],
+ 'export_dependent_settings': [
+ 'mojo_media_bindings',
+ ],
+ 'sources': [
+ 'mojo/services/media_type_converters.cc',
+ 'mojo/services/media_type_converters.h',
+ ],
+ },
+ {
+ 'target_name': 'mojo_media_lib_unittests',
+ 'type': '<(gtest_target_type)',
+ 'dependencies': [
+ 'media',
+ 'mojo_media_bindings',
+ 'mojo_media_lib',
+ '../base/base.gyp:base',
+ '../base/base.gyp:test_support_base',
+ '../testing/gtest.gyp:gtest',
+ '../mojo/mojo_base.gyp:mojo_environment_chromium',
+ '../mojo/mojo_base.gyp:mojo_run_all_unittests',
+ ],
+ 'sources': [
+ 'mojo/services/media_type_converters_unittest.cc',
+ ],
+ },
+ {
# GN version: //media:media_unittests
'target_name': 'media_unittests',
'type': '<(gtest_target_type)',
« no previous file with comments | « no previous file | media/mojo/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698