| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 # Override to dynamically link the cras (ChromeOS audio) library. | 8 # Override to dynamically link the cras (ChromeOS audio) library. |
| 9 'use_cras%': 0, | 9 'use_cras%': 0, |
| 10 # Option e.g. for Linux distributions to link pulseaudio directly | 10 # Option e.g. for Linux distributions to link pulseaudio directly |
| (...skipping 976 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 987 ['OS!="linux" and OS!="win"', { | 987 ['OS!="linux" and OS!="win"', { |
| 988 'sources!': [ | 988 'sources!': [ |
| 989 'base/keyboard_event_counter.cc', | 989 'base/keyboard_event_counter.cc', |
| 990 'base/keyboard_event_counter.h', | 990 'base/keyboard_event_counter.h', |
| 991 ], | 991 ], |
| 992 }], | 992 }], |
| 993 ], | 993 ], |
| 994 }, | 994 }, |
| 995 { | 995 { |
| 996 # GN version: //media/mojo/interfaces | 996 # GN version: //media/mojo/interfaces |
| 997 'target_name': 'mojo_media_bindings', | 997 'target_name': 'media_mojo_bindings', |
| 998 'type': 'static_library', | 998 'type': 'static_library', |
| 999 'sources': [ | 999 'sources': [ |
| 1000 'mojo/interfaces/media_types.mojom', | 1000 'mojo/interfaces/media_types.mojom', |
| 1001 'mojo/interfaces/media_renderer.mojom', | 1001 'mojo/interfaces/media_renderer.mojom', |
| 1002 ], | 1002 ], |
| 1003 'includes': [ | 1003 'includes': [ |
| 1004 '../mojo/public/tools/bindings/mojom_bindings_generator.gypi' | 1004 '../mojo/public/tools/bindings/mojom_bindings_generator.gypi' |
| 1005 ], | 1005 ], |
| 1006 'export_dependent_settings': [ | 1006 'export_dependent_settings': [ |
| 1007 '../mojo/mojo_base.gyp:mojo_cpp_bindings', | 1007 '../mojo/mojo_base.gyp:mojo_cpp_bindings', |
| 1008 ], | 1008 ], |
| 1009 'dependencies': [ | 1009 'dependencies': [ |
| 1010 '../mojo/mojo_base.gyp:mojo_cpp_bindings', | 1010 '../mojo/mojo_base.gyp:mojo_cpp_bindings', |
| 1011 ], | 1011 ], |
| 1012 }, | 1012 }, |
| 1013 { | 1013 { |
| 1014 'target_name': 'mojo_media_lib', | 1014 'target_name': 'media_mojo_lib', |
| 1015 'type': 'static_library', | 1015 'type': 'static_library', |
| 1016 'includes': [ |
| 1017 '../mojo/mojo_variables.gypi', |
| 1018 ], |
| 1016 'dependencies': [ | 1019 'dependencies': [ |
| 1017 'media', | 1020 'media', |
| 1018 'mojo_media_bindings', | 1021 'media_mojo_bindings', |
| 1019 '../base/base.gyp:base', | 1022 '../base/base.gyp:base', |
| 1020 '../mojo/mojo_base.gyp:mojo_environment_chromium', | 1023 '../mojo/mojo_base.gyp:mojo_environment_chromium', |
| 1021 # TODO(tim): We really want mojo_system_for_component here. | 1024 '<(mojo_system_for_component)', |
| 1022 '../mojo/mojo_base.gyp:mojo_system_impl', | |
| 1023 ], | 1025 ], |
| 1024 'export_dependent_settings': [ | 1026 'export_dependent_settings': [ |
| 1025 'mojo_media_bindings', | 1027 'media_mojo_bindings', |
| 1026 ], | 1028 ], |
| 1027 'sources': [ | 1029 'sources': [ |
| 1028 'mojo/services/media_type_converters.cc', | 1030 'mojo/services/media_type_converters.cc', |
| 1029 'mojo/services/media_type_converters.h', | 1031 'mojo/services/media_type_converters.h', |
| 1032 'mojo/services/mojo_renderer_client_impl.cc', |
| 1033 'mojo/services/mojo_renderer_client_impl.h', |
| 1030 ], | 1034 ], |
| 1031 }, | 1035 }, |
| 1032 { | 1036 { |
| 1033 'target_name': 'mojo_media_lib_unittests', | 1037 'target_name': 'media_mojo_renderer_app', |
| 1038 'type': 'loadable_module', |
| 1039 'includes': [ |
| 1040 '../mojo/mojo_variables.gypi', |
| 1041 ], |
| 1042 'dependencies': [ |
| 1043 '../base/base.gyp:base', |
| 1044 '../mojo/mojo_base.gyp:mojo_application_chromium', |
| 1045 '<(mojo_system_for_loadable_module)', |
| 1046 'media_mojo_lib', |
| 1047 ], |
| 1048 'sources': [ |
| 1049 'mojo/services/mojo_renderer_service.cc', |
| 1050 'mojo/services/mojo_renderer_service.h', |
| 1051 ], |
| 1052 }, |
| 1053 { |
| 1054 'target_name': 'media_mojo_lib_unittests', |
| 1034 'type': 'executable', | 1055 'type': 'executable', |
| 1035 'dependencies': [ | 1056 'dependencies': [ |
| 1036 'media', | 1057 'media', |
| 1037 'mojo_media_bindings', | 1058 'media_mojo_bindings', |
| 1038 'mojo_media_lib', | 1059 'media_mojo_lib', |
| 1039 '../base/base.gyp:base', | 1060 '../base/base.gyp:base', |
| 1040 '../base/base.gyp:test_support_base', | 1061 '../base/base.gyp:test_support_base', |
| 1041 '../testing/gtest.gyp:gtest', | 1062 '../testing/gtest.gyp:gtest', |
| 1042 '../mojo/mojo_base.gyp:mojo_environment_chromium', | 1063 '../mojo/mojo_base.gyp:mojo_environment_chromium', |
| 1043 '../mojo/mojo_base.gyp:mojo_run_all_unittests', | 1064 '../mojo/mojo_base.gyp:mojo_run_all_unittests', |
| 1044 ], | 1065 ], |
| 1045 'sources': [ | 1066 'sources': [ |
| 1046 'mojo/services/media_type_converters_unittest.cc', | 1067 'mojo/services/media_type_converters_unittest.cc', |
| 1047 ], | 1068 ], |
| 1048 }, | 1069 }, |
| 1049 { | 1070 { |
| 1071 'target_name': 'media_mojo', |
| 1072 'type': 'none', |
| 1073 'dependencies': [ |
| 1074 'media_mojo_lib', |
| 1075 'media_mojo_renderer_app', |
| 1076 'media_mojo_lib_unittests', |
| 1077 ] |
| 1078 }, |
| 1079 { |
| 1050 # GN version: //media:media_unittests | 1080 # GN version: //media:media_unittests |
| 1051 'target_name': 'media_unittests', | 1081 'target_name': 'media_unittests', |
| 1052 'type': '<(gtest_target_type)', | 1082 'type': '<(gtest_target_type)', |
| 1053 'dependencies': [ | 1083 'dependencies': [ |
| 1054 'media', | 1084 'media', |
| 1055 'media_test_support', | 1085 'media_test_support', |
| 1056 'shared_memory_support', | 1086 'shared_memory_support', |
| 1057 '../base/base.gyp:base', | 1087 '../base/base.gyp:base', |
| 1058 '../base/base.gyp:base_i18n', | 1088 '../base/base.gyp:base_i18n', |
| 1059 '../base/base.gyp:test_support_base', | 1089 '../base/base.gyp:test_support_base', |
| (...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1782 ], | 1812 ], |
| 1783 }], | 1813 }], |
| 1784 ], | 1814 ], |
| 1785 }], | 1815 }], |
| 1786 ], | 1816 ], |
| 1787 }, | 1817 }, |
| 1788 ], | 1818 ], |
| 1789 }], | 1819 }], |
| 1790 ], | 1820 ], |
| 1791 } | 1821 } |
| OLD | NEW |