| 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 PulseAudio library. | 8 # Override to dynamically link the PulseAudio library. |
| 9 'use_pulseaudio%': 0, | 9 'use_pulseaudio%': 0, |
| 10 # Override to dynamically link the cras (ChromeOS audio) library. | 10 # Override to dynamically link the cras (ChromeOS audio) library. |
| 11 'use_cras%': 0, | 11 'use_cras%': 0, |
| 12 'conditions': [ | 12 'conditions': [ |
| 13 ['OS == "android" or OS == "ios"', { | 13 ['OS == "android" or OS == "ios"', { |
| 14 # Android and iOS don't use ffmpeg. | 14 # Android and iOS don't use ffmpeg. |
| 15 'use_ffmpeg%': 0, | 15 'use_ffmpeg%': 0, |
| 16 # Android and iOS don't use libvpx. | |
| 17 'use_libvpx%': 0, | |
| 18 }, { # 'OS != "android" and OS != "ios"' | 16 }, { # 'OS != "android" and OS != "ios"' |
| 19 'use_ffmpeg%': 1, | 17 'use_ffmpeg%': 1, |
| 20 'use_libvpx%': 1, | |
| 21 }], | 18 }], |
| 22 ], | 19 ], |
| 23 }, | 20 }, |
| 24 'targets': [ | 21 'targets': [ |
| 25 { | 22 { |
| 26 'target_name': 'media', | 23 'target_name': 'media', |
| 27 'type': '<(component)', | 24 'type': '<(component)', |
| 28 'dependencies': [ | 25 'dependencies': [ |
| 29 '../base/base.gyp:base', | 26 '../base/base.gyp:base', |
| 30 '../build/temp_gyp/googleurl.gyp:googleurl', | 27 '../build/temp_gyp/googleurl.gyp:googleurl', |
| (...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 'filters/skcanvas_video_renderer.cc', | 307 'filters/skcanvas_video_renderer.cc', |
| 311 'filters/skcanvas_video_renderer.h', | 308 'filters/skcanvas_video_renderer.h', |
| 312 'filters/source_buffer_stream.cc', | 309 'filters/source_buffer_stream.cc', |
| 313 'filters/source_buffer_stream.h', | 310 'filters/source_buffer_stream.h', |
| 314 'filters/video_decoder_selector.cc', | 311 'filters/video_decoder_selector.cc', |
| 315 'filters/video_decoder_selector.h', | 312 'filters/video_decoder_selector.h', |
| 316 'filters/video_frame_generator.cc', | 313 'filters/video_frame_generator.cc', |
| 317 'filters/video_frame_generator.h', | 314 'filters/video_frame_generator.h', |
| 318 'filters/video_renderer_base.cc', | 315 'filters/video_renderer_base.cc', |
| 319 'filters/video_renderer_base.h', | 316 'filters/video_renderer_base.h', |
| 320 'filters/vpx_video_decoder.cc', | |
| 321 'filters/vpx_video_decoder.h', | |
| 322 'video/capture/fake_video_capture_device.cc', | 317 'video/capture/fake_video_capture_device.cc', |
| 323 'video/capture/fake_video_capture_device.h', | 318 'video/capture/fake_video_capture_device.h', |
| 324 'video/capture/linux/video_capture_device_linux.cc', | 319 'video/capture/linux/video_capture_device_linux.cc', |
| 325 'video/capture/linux/video_capture_device_linux.h', | 320 'video/capture/linux/video_capture_device_linux.h', |
| 326 'video/capture/mac/video_capture_device_mac.h', | 321 'video/capture/mac/video_capture_device_mac.h', |
| 327 'video/capture/mac/video_capture_device_mac.mm', | 322 'video/capture/mac/video_capture_device_mac.mm', |
| 328 'video/capture/mac/video_capture_device_qtkit_mac.h', | 323 'video/capture/mac/video_capture_device_qtkit_mac.h', |
| 329 'video/capture/mac/video_capture_device_qtkit_mac.mm', | 324 'video/capture/mac/video_capture_device_qtkit_mac.mm', |
| 330 'video/capture/video_capture.h', | 325 'video/capture/video_capture.h', |
| 331 'video/capture/video_capture_device.h', | 326 'video/capture/video_capture_device.h', |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 412 'filters/ffmpeg_h264_to_annex_b_bitstream_converter.cc', | 407 'filters/ffmpeg_h264_to_annex_b_bitstream_converter.cc', |
| 413 'filters/ffmpeg_h264_to_annex_b_bitstream_converter.h', | 408 'filters/ffmpeg_h264_to_annex_b_bitstream_converter.h', |
| 414 'filters/ffmpeg_video_decoder.cc', | 409 'filters/ffmpeg_video_decoder.cc', |
| 415 'filters/ffmpeg_video_decoder.h', | 410 'filters/ffmpeg_video_decoder.h', |
| 416 'webm/webm_cluster_parser.cc', | 411 'webm/webm_cluster_parser.cc', |
| 417 'webm/webm_cluster_parser.h', | 412 'webm/webm_cluster_parser.h', |
| 418 'webm/webm_stream_parser.cc', | 413 'webm/webm_stream_parser.cc', |
| 419 'webm/webm_stream_parser.h', | 414 'webm/webm_stream_parser.h', |
| 420 ], | 415 ], |
| 421 }], | 416 }], |
| 422 ['use_libvpx == 1', { | |
| 423 'dependencies': [ | |
| 424 '<(DEPTH)/third_party/libvpx/libvpx.gyp:libvpx', | |
| 425 ], | |
| 426 }, { # use_libvpx == 0 | |
| 427 # Exclude the sources that depend on libvpx. | |
| 428 'sources!': [ | |
| 429 'filters/vpx_video_decoder.cc', | |
| 430 'filters/vpx_video_decoder.h', | |
| 431 ], | |
| 432 }], | |
| 433 ['OS == "ios"', { | 417 ['OS == "ios"', { |
| 434 'includes': [ | 418 'includes': [ |
| 435 # For shared_memory_support_sources variable. | 419 # For shared_memory_support_sources variable. |
| 436 'shared_memory_support.gypi', | 420 'shared_memory_support.gypi', |
| 437 ], | 421 ], |
| 438 'sources': [ | 422 'sources': [ |
| 439 'base/media_stub.cc', | 423 'base/media_stub.cc', |
| 440 # These sources are normally built via a dependency on the | 424 # These sources are normally built via a dependency on the |
| 441 # shared_memory_support target, but that target is not built on iOS. | 425 # shared_memory_support target, but that target is not built on iOS. |
| 442 # Instead, directly build only the files that are needed for iOS. | 426 # Instead, directly build only the files that are needed for iOS. |
| (...skipping 940 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1383 'media', | 1367 'media', |
| 1384 ], | 1368 ], |
| 1385 'sources': [ | 1369 'sources': [ |
| 1386 'tools/media_bench/media_bench.cc', | 1370 'tools/media_bench/media_bench.cc', |
| 1387 ], | 1371 ], |
| 1388 }, | 1372 }, |
| 1389 ], | 1373 ], |
| 1390 }] | 1374 }] |
| 1391 ], | 1375 ], |
| 1392 } | 1376 } |
| OLD | NEW |