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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 # GN version: //media | 51 # GN version: //media |
52 'target_name': 'media', | 52 'target_name': 'media', |
53 'type': '<(component)', | 53 'type': '<(component)', |
54 'dependencies': [ | 54 'dependencies': [ |
55 '../base/base.gyp:base', | 55 '../base/base.gyp:base', |
56 '../base/base.gyp:base_i18n', | 56 '../base/base.gyp:base_i18n', |
57 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 57 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
58 '../crypto/crypto.gyp:crypto', | 58 '../crypto/crypto.gyp:crypto', |
59 '../gpu/gpu.gyp:command_buffer_common', | 59 '../gpu/gpu.gyp:command_buffer_common', |
60 '../skia/skia.gyp:skia', | 60 '../skia/skia.gyp:skia', |
| 61 '../third_party/libwebm/libwebm.gyp:libwebm', |
61 '../third_party/libyuv/libyuv.gyp:libyuv', | 62 '../third_party/libyuv/libyuv.gyp:libyuv', |
62 '../third_party/opus/opus.gyp:opus', | 63 '../third_party/opus/opus.gyp:opus', |
63 '../ui/events/events.gyp:events_base', | 64 '../ui/events/events.gyp:events_base', |
64 '../ui/gfx/gfx.gyp:gfx', | 65 '../ui/gfx/gfx.gyp:gfx', |
65 '../ui/gfx/gfx.gyp:gfx_geometry', | 66 '../ui/gfx/gfx.gyp:gfx_geometry', |
66 '../url/url.gyp:url_lib', | 67 '../url/url.gyp:url_lib', |
67 'shared_memory_support', | 68 'shared_memory_support', |
68 ], | 69 ], |
69 'export_dependent_settings': [ | 70 'export_dependent_settings': [ |
70 '../third_party/opus/opus.gyp:opus', | 71 '../third_party/opus/opus.gyp:opus', |
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
479 'capture/video/win/sink_filter_win.cc', | 480 'capture/video/win/sink_filter_win.cc', |
480 'capture/video/win/sink_filter_win.h', | 481 'capture/video/win/sink_filter_win.h', |
481 'capture/video/win/sink_input_pin_win.cc', | 482 'capture/video/win/sink_input_pin_win.cc', |
482 'capture/video/win/sink_input_pin_win.h', | 483 'capture/video/win/sink_input_pin_win.h', |
483 'capture/video/win/video_capture_device_factory_win.cc', | 484 'capture/video/win/video_capture_device_factory_win.cc', |
484 'capture/video/win/video_capture_device_factory_win.h', | 485 'capture/video/win/video_capture_device_factory_win.h', |
485 'capture/video/win/video_capture_device_mf_win.cc', | 486 'capture/video/win/video_capture_device_mf_win.cc', |
486 'capture/video/win/video_capture_device_mf_win.h', | 487 'capture/video/win/video_capture_device_mf_win.h', |
487 'capture/video/win/video_capture_device_win.cc', | 488 'capture/video/win/video_capture_device_win.cc', |
488 'capture/video/win/video_capture_device_win.h', | 489 'capture/video/win/video_capture_device_win.h', |
| 490 'capture/webm_muxer.cc', |
| 491 'capture/webm_muxer.h', |
489 'cdm/aes_decryptor.cc', | 492 'cdm/aes_decryptor.cc', |
490 'cdm/aes_decryptor.h', | 493 'cdm/aes_decryptor.h', |
491 'cdm/cdm_adapter.cc', | 494 'cdm/cdm_adapter.cc', |
492 'cdm/cdm_adapter.h', | 495 'cdm/cdm_adapter.h', |
493 'cdm/default_cdm_factory.cc', | 496 'cdm/default_cdm_factory.cc', |
494 'cdm/default_cdm_factory.h', | 497 'cdm/default_cdm_factory.h', |
495 'cdm/json_web_key.cc', | 498 'cdm/json_web_key.cc', |
496 'cdm/json_web_key.h', | 499 'cdm/json_web_key.h', |
497 'cdm/key_system_names.cc', | 500 'cdm/key_system_names.cc', |
498 'cdm/key_system_names.h', | 501 'cdm/key_system_names.h', |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
703 'defines': [ | 706 'defines': [ |
704 'MEDIA_DISABLE_LIBVPX', | 707 'MEDIA_DISABLE_LIBVPX', |
705 ], | 708 ], |
706 }, | 709 }, |
707 # Exclude the sources that depend on libvpx. | 710 # Exclude the sources that depend on libvpx. |
708 'sources!': [ | 711 'sources!': [ |
709 'filters/vpx_video_decoder.cc', | 712 'filters/vpx_video_decoder.cc', |
710 'filters/vpx_video_decoder.h', | 713 'filters/vpx_video_decoder.h', |
711 ], | 714 ], |
712 }], | 715 }], |
713 ['media_use_libwebm==1', { | |
714 'dependencies': [ | |
715 '<(DEPTH)/third_party/libwebm/libwebm.gyp:libwebm', | |
716 ], | |
717 'sources': [ | |
718 'capture/webm_muxer.cc', | |
719 'capture/webm_muxer.h', | |
720 ], | |
721 }, { # media_use_libwebm==0 | |
722 'defines': [ | |
723 'MEDIA_DISABLE_LIBWEBM', | |
724 ], | |
725 'direct_dependent_settings': { | |
726 'defines': [ | |
727 'MEDIA_DISABLE_LIBWEBM', | |
728 ], | |
729 }, | |
730 }], | |
731 ['OS=="android"', { | 716 ['OS=="android"', { |
732 'dependencies': [ | 717 'dependencies': [ |
733 'media_android_jni_headers', | 718 'media_android_jni_headers', |
734 'media_java', | 719 'media_java', |
735 'player_android', | 720 'player_android', |
736 'video_capture_android_jni_headers', | 721 'video_capture_android_jni_headers', |
737 ], | 722 ], |
738 'sources!': [ | 723 'sources!': [ |
739 'base/audio_video_metadata_extractor.cc', | 724 'base/audio_video_metadata_extractor.cc', |
740 'base/audio_video_metadata_extractor.h', | 725 'base/audio_video_metadata_extractor.h', |
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1180 'media_test_support', | 1165 'media_test_support', |
1181 'shared_memory_support', | 1166 'shared_memory_support', |
1182 '../base/base.gyp:base', | 1167 '../base/base.gyp:base', |
1183 '../base/base.gyp:base_i18n', | 1168 '../base/base.gyp:base_i18n', |
1184 '../base/base.gyp:test_support_base', | 1169 '../base/base.gyp:test_support_base', |
1185 '../gpu/gpu.gyp:command_buffer_common', | 1170 '../gpu/gpu.gyp:command_buffer_common', |
1186 '../gpu/gpu.gyp:gpu_unittest_utils', | 1171 '../gpu/gpu.gyp:gpu_unittest_utils', |
1187 '../skia/skia.gyp:skia', | 1172 '../skia/skia.gyp:skia', |
1188 '../testing/gmock.gyp:gmock', | 1173 '../testing/gmock.gyp:gmock', |
1189 '../testing/gtest.gyp:gtest', | 1174 '../testing/gtest.gyp:gtest', |
| 1175 '../third_party/libwebm/libwebm.gyp:libwebm', |
1190 '../third_party/libyuv/libyuv.gyp:libyuv', | 1176 '../third_party/libyuv/libyuv.gyp:libyuv', |
1191 '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h', | 1177 '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h', |
1192 '../ui/gfx/gfx.gyp:gfx', | 1178 '../ui/gfx/gfx.gyp:gfx', |
1193 '../ui/gfx/gfx.gyp:gfx_geometry', | 1179 '../ui/gfx/gfx.gyp:gfx_geometry', |
1194 '../ui/gfx/gfx.gyp:gfx_test_support', | 1180 '../ui/gfx/gfx.gyp:gfx_test_support', |
1195 '../url/url.gyp:url_lib', | 1181 '../url/url.gyp:url_lib', |
1196 ], | 1182 ], |
1197 'sources': [ | 1183 'sources': [ |
1198 'base/android/access_unit_queue_unittest.cc', | 1184 'base/android/access_unit_queue_unittest.cc', |
1199 'base/android/media_codec_bridge_unittest.cc', | 1185 'base/android/media_codec_bridge_unittest.cc', |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1261 'base/video_util_unittest.cc', | 1247 'base/video_util_unittest.cc', |
1262 'base/wall_clock_time_source_unittest.cc', | 1248 'base/wall_clock_time_source_unittest.cc', |
1263 'base/yuv_convert_unittest.cc', | 1249 'base/yuv_convert_unittest.cc', |
1264 'capture/content/animated_content_sampler_unittest.cc', | 1250 'capture/content/animated_content_sampler_unittest.cc', |
1265 'capture/content/capture_resolution_chooser_unittest.cc', | 1251 'capture/content/capture_resolution_chooser_unittest.cc', |
1266 'capture/content/feedback_signal_accumulator_unittest.cc', | 1252 'capture/content/feedback_signal_accumulator_unittest.cc', |
1267 'capture/content/smooth_event_sampler_unittest.cc', | 1253 'capture/content/smooth_event_sampler_unittest.cc', |
1268 'capture/content/video_capture_oracle_unittest.cc', | 1254 'capture/content/video_capture_oracle_unittest.cc', |
1269 'capture/video/fake_video_capture_device_unittest.cc', | 1255 'capture/video/fake_video_capture_device_unittest.cc', |
1270 'capture/video/video_capture_device_unittest.cc', | 1256 'capture/video/video_capture_device_unittest.cc', |
| 1257 'capture/webm_muxer_unittest.cc', |
1271 'cdm/aes_decryptor_unittest.cc', | 1258 'cdm/aes_decryptor_unittest.cc', |
1272 'cdm/json_web_key_unittest.cc', | 1259 'cdm/json_web_key_unittest.cc', |
1273 'ffmpeg/ffmpeg_common_unittest.cc', | 1260 'ffmpeg/ffmpeg_common_unittest.cc', |
1274 'filters/audio_clock_unittest.cc', | 1261 'filters/audio_clock_unittest.cc', |
1275 'filters/audio_decoder_selector_unittest.cc', | 1262 'filters/audio_decoder_selector_unittest.cc', |
1276 'filters/audio_decoder_unittest.cc', | 1263 'filters/audio_decoder_unittest.cc', |
1277 'filters/audio_file_reader_unittest.cc', | 1264 'filters/audio_file_reader_unittest.cc', |
1278 'filters/audio_renderer_algorithm_unittest.cc', | 1265 'filters/audio_renderer_algorithm_unittest.cc', |
1279 'filters/blocking_url_protocol_unittest.cc', | 1266 'filters/blocking_url_protocol_unittest.cc', |
1280 'filters/chunk_demuxer_unittest.cc', | 1267 'filters/chunk_demuxer_unittest.cc', |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1364 'base/container_names_unittest.cc', | 1351 'base/container_names_unittest.cc', |
1365 'base/media_file_checker_unittest.cc', | 1352 'base/media_file_checker_unittest.cc', |
1366 'filters/audio_file_reader_unittest.cc', | 1353 'filters/audio_file_reader_unittest.cc', |
1367 'filters/blocking_url_protocol_unittest.cc', | 1354 'filters/blocking_url_protocol_unittest.cc', |
1368 'filters/ffmpeg_video_decoder_unittest.cc', | 1355 'filters/ffmpeg_video_decoder_unittest.cc', |
1369 'filters/in_memory_url_protocol_unittest.cc', | 1356 'filters/in_memory_url_protocol_unittest.cc', |
1370 'test/pipeline_integration_test.cc', | 1357 'test/pipeline_integration_test.cc', |
1371 'test/pipeline_integration_test_base.cc', | 1358 'test/pipeline_integration_test_base.cc', |
1372 ], | 1359 ], |
1373 }], | 1360 }], |
1374 ['media_use_libwebm==1', { | |
1375 'dependencies': [ | |
1376 '<(DEPTH)/third_party/libwebm/libwebm.gyp:libwebm', | |
1377 ], | |
1378 'sources': [ | |
1379 'capture/webm_muxer_unittest.cc', | |
1380 ], | |
1381 }], | |
1382 | 1361 |
1383 ['(os_posix==1 and OS!="mac") or (OS=="win" and component!="shared_libra
ry" and win_use_allocator_shim==1)', { | 1362 ['(os_posix==1 and OS!="mac") or (OS=="win" and component!="shared_libra
ry" and win_use_allocator_shim==1)', { |
1384 'conditions': [ | 1363 'conditions': [ |
1385 ['use_allocator!="none"', { | 1364 ['use_allocator!="none"', { |
1386 'dependencies': [ | 1365 'dependencies': [ |
1387 '../base/allocator/allocator.gyp:allocator', | 1366 '../base/allocator/allocator.gyp:allocator', |
1388 ], | 1367 ], |
1389 }], | 1368 }], |
1390 ], | 1369 ], |
1391 }], | 1370 }], |
(...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2134 'dependencies': [ | 2113 'dependencies': [ |
2135 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | 2114 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', |
2136 ], | 2115 ], |
2137 }], | 2116 }], |
2138 ], | 2117 ], |
2139 }, | 2118 }, |
2140 ], | 2119 ], |
2141 }], | 2120 }], |
2142 ], | 2121 ], |
2143 } | 2122 } |
OLD | NEW |