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 |
11 # (DT_NEEDED) instead of using dlopen. This helps with automated | 11 # (DT_NEEDED) instead of using dlopen. This helps with automated |
12 # detection of ABI mismatches and prevents silent errors. | 12 # detection of ABI mismatches and prevents silent errors. |
13 'linux_link_pulseaudio%': 0, | 13 'linux_link_pulseaudio%': 0, |
14 'conditions': [ | 14 'conditions': [ |
15 ['OS=="android" or OS=="ios"', { | 15 ['OS=="android" or OS=="ios"', { |
16 # Android and iOS don't use ffmpeg. | 16 # Android and iOS don't use ffmpeg. |
17 'media_use_ffmpeg%': 0, | 17 'media_use_ffmpeg%': 0, |
18 # Android and iOS don't use libvpx. | 18 # Android and iOS don't use libvpx. |
19 'media_use_libvpx%': 0, | 19 'media_use_libvpx%': 0, |
20 }, { # 'OS!="android" and OS!="ios"' | 20 }, { # 'OS!="android" and OS!="ios"' |
21 'media_use_ffmpeg%': 1, | 21 'media_use_ffmpeg%': 1, |
22 'media_use_libvpx%': 1, | 22 'media_use_libvpx%': 1, |
23 }], | 23 }], |
24 # Screen capturer works only on Windows, OSX and Linux (with X11). | 24 # Screen capturer works only on Windows, OSX and Linux (with X11). |
| 25 # TODO(sergeyu): Remove this variable once screen_capture_device.cc is |
| 26 # moved to content. |
25 ['OS=="win" or OS=="mac" or (OS=="linux" and use_x11==1)', { | 27 ['OS=="win" or OS=="mac" or (OS=="linux" and use_x11==1)', { |
26 'screen_capture_supported%': 1, | 28 'screen_capture_supported%': 1, |
27 }, { | 29 }, { |
28 'screen_capture_supported%': 0, | 30 'screen_capture_supported%': 0, |
29 }], | 31 }], |
30 # ALSA usage. | 32 # ALSA usage. |
31 ['OS=="linux" or OS=="freebsd" or OS=="solaris"', { | 33 ['OS=="linux" or OS=="freebsd" or OS=="solaris"', { |
32 'use_alsa%': 1, | 34 'use_alsa%': 1, |
33 }, { | 35 }, { |
34 'use_alsa%': 0, | 36 'use_alsa%': 0, |
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
376 'video/capture/android/video_capture_device_android.cc', | 378 'video/capture/android/video_capture_device_android.cc', |
377 'video/capture/android/video_capture_device_android.h', | 379 'video/capture/android/video_capture_device_android.h', |
378 'video/capture/fake_video_capture_device.cc', | 380 'video/capture/fake_video_capture_device.cc', |
379 'video/capture/fake_video_capture_device.h', | 381 'video/capture/fake_video_capture_device.h', |
380 'video/capture/linux/video_capture_device_linux.cc', | 382 'video/capture/linux/video_capture_device_linux.cc', |
381 'video/capture/linux/video_capture_device_linux.h', | 383 'video/capture/linux/video_capture_device_linux.h', |
382 'video/capture/mac/video_capture_device_mac.h', | 384 'video/capture/mac/video_capture_device_mac.h', |
383 'video/capture/mac/video_capture_device_mac.mm', | 385 'video/capture/mac/video_capture_device_mac.mm', |
384 'video/capture/mac/video_capture_device_qtkit_mac.h', | 386 'video/capture/mac/video_capture_device_qtkit_mac.h', |
385 'video/capture/mac/video_capture_device_qtkit_mac.mm', | 387 'video/capture/mac/video_capture_device_qtkit_mac.mm', |
386 'video/capture/screen/differ.cc', | 388 |
387 'video/capture/screen/differ.h', | 389 # TODO(sergeyu): Move screen_capture_device.cc to content and remove it |
388 'video/capture/screen/differ_block.cc', | 390 # from here. |
389 'video/capture/screen/differ_block.h', | |
390 'video/capture/screen/mac/desktop_configuration.h', | |
391 'video/capture/screen/mac/desktop_configuration.mm', | |
392 'video/capture/screen/mac/scoped_pixel_buffer_object.cc', | |
393 'video/capture/screen/mac/scoped_pixel_buffer_object.h', | |
394 'video/capture/screen/mouse_cursor_shape.h', | |
395 'video/capture/screen/screen_capture_device.cc', | 391 'video/capture/screen/screen_capture_device.cc', |
396 'video/capture/screen/screen_capture_device.h', | 392 'video/capture/screen/screen_capture_device.h', |
397 'video/capture/screen/screen_capture_frame_queue.cc', | |
398 'video/capture/screen/screen_capture_frame_queue.h', | |
399 'video/capture/screen/screen_capturer.h', | |
400 'video/capture/screen/screen_capturer_fake.cc', | |
401 'video/capture/screen/screen_capturer_fake.h', | |
402 'video/capture/screen/screen_capturer_helper.cc', | |
403 'video/capture/screen/screen_capturer_helper.h', | |
404 'video/capture/screen/screen_capturer_mac.mm', | |
405 'video/capture/screen/screen_capturer_null.cc', | |
406 'video/capture/screen/screen_capturer_win.cc', | |
407 'video/capture/screen/screen_capturer_x11.cc', | |
408 'video/capture/screen/shared_desktop_frame.cc', | |
409 'video/capture/screen/shared_desktop_frame.h', | |
410 'video/capture/screen/win/desktop.cc', | |
411 'video/capture/screen/win/desktop.h', | |
412 'video/capture/screen/win/scoped_thread_desktop.cc', | |
413 'video/capture/screen/win/scoped_thread_desktop.h', | |
414 'video/capture/screen/x11/x_server_pixel_buffer.cc', | |
415 'video/capture/screen/x11/x_server_pixel_buffer.h', | |
416 'video/capture/video_capture.h', | 393 'video/capture/video_capture.h', |
417 'video/capture/video_capture_device.h', | 394 'video/capture/video_capture_device.h', |
418 'video/capture/video_capture_device_dummy.cc', | 395 'video/capture/video_capture_device_dummy.cc', |
419 'video/capture/video_capture_device_dummy.h', | 396 'video/capture/video_capture_device_dummy.h', |
420 'video/capture/video_capture_proxy.cc', | 397 'video/capture/video_capture_proxy.cc', |
421 'video/capture/video_capture_proxy.h', | 398 'video/capture/video_capture_proxy.h', |
422 'video/capture/video_capture_types.h', | 399 'video/capture/video_capture_types.h', |
423 'video/capture/win/capability_list_win.cc', | 400 'video/capture/win/capability_list_win.cc', |
424 'video/capture/win/capability_list_win.h', | 401 'video/capture/win/capability_list_win.h', |
425 'video/capture/win/filter_base_win.cc', | 402 'video/capture/win/filter_base_win.cc', |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
468 'include_dirs': [ | 445 'include_dirs': [ |
469 '..', | 446 '..', |
470 ], | 447 ], |
471 }, | 448 }, |
472 'conditions': [ | 449 'conditions': [ |
473 ['arm_neon==1', { | 450 ['arm_neon==1', { |
474 'defines': [ | 451 'defines': [ |
475 'USE_NEON' | 452 'USE_NEON' |
476 ], | 453 ], |
477 }], | 454 }], |
478 ['OS!="linux" or use_x11==1', { | |
479 'sources!': [ | |
480 'video/capture/screen/screen_capturer_null.cc', | |
481 ] | |
482 }], | |
483 ['OS!="ios"', { | 455 ['OS!="ios"', { |
484 'dependencies': [ | 456 'dependencies': [ |
485 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', | 457 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', |
486 'shared_memory_support', | 458 'shared_memory_support', |
487 ], | 459 ], |
488 }], | 460 }], |
489 ['media_use_ffmpeg==1', { | 461 ['media_use_ffmpeg==1', { |
490 'dependencies': [ | 462 'dependencies': [ |
491 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', | 463 '../third_party/ffmpeg/ffmpeg.gyp:ffmpeg', |
492 ], | 464 ], |
(...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1005 'filters/ffmpeg_video_decoder_unittest.cc', | 977 'filters/ffmpeg_video_decoder_unittest.cc', |
1006 'filters/file_data_source_unittest.cc', | 978 'filters/file_data_source_unittest.cc', |
1007 'filters/h264_to_annex_b_bitstream_converter_unittest.cc', | 979 'filters/h264_to_annex_b_bitstream_converter_unittest.cc', |
1008 'filters/pipeline_integration_test.cc', | 980 'filters/pipeline_integration_test.cc', |
1009 'filters/pipeline_integration_test_base.cc', | 981 'filters/pipeline_integration_test_base.cc', |
1010 'filters/skcanvas_video_renderer_unittest.cc', | 982 'filters/skcanvas_video_renderer_unittest.cc', |
1011 'filters/source_buffer_stream_unittest.cc', | 983 'filters/source_buffer_stream_unittest.cc', |
1012 'filters/video_decoder_selector_unittest.cc', | 984 'filters/video_decoder_selector_unittest.cc', |
1013 'filters/video_frame_stream_unittest.cc', | 985 'filters/video_frame_stream_unittest.cc', |
1014 'filters/video_renderer_base_unittest.cc', | 986 'filters/video_renderer_base_unittest.cc', |
1015 'video/capture/screen/differ_block_unittest.cc', | |
1016 'video/capture/screen/differ_unittest.cc', | |
1017 'video/capture/screen/screen_capture_device_unittest.cc', | 987 'video/capture/screen/screen_capture_device_unittest.cc', |
1018 'video/capture/screen/screen_capturer_helper_unittest.cc', | |
1019 'video/capture/screen/screen_capturer_mac_unittest.cc', | |
1020 'video/capture/screen/screen_capturer_unittest.cc', | |
1021 'video/capture/video_capture_device_unittest.cc', | 988 'video/capture/video_capture_device_unittest.cc', |
1022 'webm/cluster_builder.cc', | 989 'webm/cluster_builder.cc', |
1023 'webm/cluster_builder.h', | 990 'webm/cluster_builder.h', |
1024 'webm/tracks_builder.cc', | 991 'webm/tracks_builder.cc', |
1025 'webm/tracks_builder.h', | 992 'webm/tracks_builder.h', |
1026 'webm/webm_cluster_parser_unittest.cc', | 993 'webm/webm_cluster_parser_unittest.cc', |
1027 'webm/webm_content_encodings_client_unittest.cc', | 994 'webm/webm_content_encodings_client_unittest.cc', |
1028 'webm/webm_parser_unittest.cc', | 995 'webm/webm_parser_unittest.cc', |
1029 'webm/webm_tracks_parser_unittest.cc', | 996 'webm/webm_tracks_parser_unittest.cc', |
1030 'webm/webm_webvtt_parser_unittest.cc', | 997 'webm/webm_webvtt_parser_unittest.cc', |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1166 'base/mock_audio_renderer_sink.cc', | 1133 'base/mock_audio_renderer_sink.cc', |
1167 'base/mock_audio_renderer_sink.h', | 1134 'base/mock_audio_renderer_sink.h', |
1168 'base/mock_data_source_host.cc', | 1135 'base/mock_data_source_host.cc', |
1169 'base/mock_data_source_host.h', | 1136 'base/mock_data_source_host.h', |
1170 'base/mock_demuxer_host.cc', | 1137 'base/mock_demuxer_host.cc', |
1171 'base/mock_demuxer_host.h', | 1138 'base/mock_demuxer_host.h', |
1172 'base/mock_filters.cc', | 1139 'base/mock_filters.cc', |
1173 'base/mock_filters.h', | 1140 'base/mock_filters.h', |
1174 'base/test_helpers.cc', | 1141 'base/test_helpers.cc', |
1175 'base/test_helpers.h', | 1142 'base/test_helpers.h', |
1176 'video/capture/screen/screen_capturer_mock_objects.cc', | |
1177 'video/capture/screen/screen_capturer_mock_objects.h', | |
1178 ], | |
1179 'conditions': [ | |
1180 ['screen_capture_supported==1', { | |
1181 'dependencies': [ | |
1182 '../third_party/webrtc/modules/modules.gyp:desktop_capture', | |
1183 ], | |
1184 }, { | |
1185 'sources/': [ | |
1186 ['exclude', '^video/capture/screen/'], | |
1187 ], | |
1188 }], | |
1189 ], | 1143 ], |
1190 }, | 1144 }, |
1191 ], | 1145 ], |
1192 'conditions': [ | 1146 'conditions': [ |
1193 ['OS!="ios" and target_arch!="arm"', { | 1147 ['OS!="ios" and target_arch!="arm"', { |
1194 'targets': [ | 1148 'targets': [ |
1195 { | 1149 { |
1196 'target_name': 'media_asm', | 1150 'target_name': 'media_asm', |
1197 'type': 'static_library', | 1151 'type': 'static_library', |
1198 'sources': [ | 1152 'sources': [ |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1323 'include_dirs': [ | 1277 'include_dirs': [ |
1324 '..', | 1278 '..', |
1325 ], | 1279 ], |
1326 'defines': [ | 1280 'defines': [ |
1327 'MEDIA_IMPLEMENTATION', | 1281 'MEDIA_IMPLEMENTATION', |
1328 ], | 1282 ], |
1329 'sources': [ | 1283 'sources': [ |
1330 'base/simd/convert_rgb_to_yuv_sse2.cc', | 1284 'base/simd/convert_rgb_to_yuv_sse2.cc', |
1331 'base/simd/convert_rgb_to_yuv_ssse3.cc', | 1285 'base/simd/convert_rgb_to_yuv_ssse3.cc', |
1332 'base/simd/filter_yuv_sse2.cc', | 1286 'base/simd/filter_yuv_sse2.cc', |
1333 'video/capture/screen/differ_block_sse2.cc', | |
1334 'video/capture/screen/differ_block_sse2.h', | |
1335 ], | 1287 ], |
1336 }, | 1288 }, |
1337 { | 1289 { |
1338 'target_name': 'shared_memory_support_sse', | 1290 'target_name': 'shared_memory_support_sse', |
1339 'type': 'static_library', | 1291 'type': 'static_library', |
1340 'cflags': [ | 1292 'cflags': [ |
1341 '-msse', | 1293 '-msse', |
1342 ], | 1294 ], |
1343 'include_dirs': [ | 1295 'include_dirs': [ |
1344 '..', | 1296 '..', |
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1703 'sources': [ | 1655 'sources': [ |
1704 'tools/media_bench/media_bench.cc', | 1656 'tools/media_bench/media_bench.cc', |
1705 ], | 1657 ], |
1706 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 1658 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
1707 'msvs_disabled_warnings': [ 4267, ], | 1659 'msvs_disabled_warnings': [ 4267, ], |
1708 }, | 1660 }, |
1709 ], | 1661 ], |
1710 }], | 1662 }], |
1711 ], | 1663 ], |
1712 } | 1664 } |
OLD | NEW |