| 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. |
| (...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 462 'dependencies': [ | 462 'dependencies': [ |
| 463 '<(DEPTH)/third_party/libvpx/libvpx.gyp:libvpx', | 463 '<(DEPTH)/third_party/libvpx/libvpx.gyp:libvpx', |
| 464 ], | 464 ], |
| 465 }, { # use_libvpx == 0 | 465 }, { # use_libvpx == 0 |
| 466 # Exclude the sources that depend on libvpx. | 466 # Exclude the sources that depend on libvpx. |
| 467 'sources!': [ | 467 'sources!': [ |
| 468 'filters/vpx_video_decoder.cc', | 468 'filters/vpx_video_decoder.cc', |
| 469 'filters/vpx_video_decoder.h', | 469 'filters/vpx_video_decoder.h', |
| 470 ], | 470 ], |
| 471 }], | 471 }], |
| 472 ['use_system_ffmpeg == 1', { |
| 473 'defines': [ |
| 474 '<!(python <(DEPTH)/tools/compile_test/compile_test.py ' |
| 475 '--code "#include <libavcodec/avcodec.h>\n' |
| 476 'int test() { return CODEC_ID_OPUS; }" ' |
| 477 '--on-failure CHROMIUM_OMIT_CODEC_ID_OPUS)', |
| 478 '<!(python <(DEPTH)/tools/compile_test/compile_test.py ' |
| 479 '--code "#include <libavcodec/avcodec.h>\n' |
| 480 'int test() { return AV_CODEC_ID_VP9; }" ' |
| 481 '--on-failure CHROMIUM_OMIT_AV_CODEC_ID_VP9)', |
| 482 ], |
| 483 }], |
| 472 ['OS == "ios"', { | 484 ['OS == "ios"', { |
| 473 'includes': [ | 485 'includes': [ |
| 474 # For shared_memory_support_sources variable. | 486 # For shared_memory_support_sources variable. |
| 475 'shared_memory_support.gypi', | 487 'shared_memory_support.gypi', |
| 476 ], | 488 ], |
| 477 'sources': [ | 489 'sources': [ |
| 478 'base/media_stub.cc', | 490 'base/media_stub.cc', |
| 479 # These sources are normally built via a dependency on the | 491 # These sources are normally built via a dependency on the |
| 480 # shared_memory_support target, but that target is not built on iOS. | 492 # shared_memory_support target, but that target is not built on iOS. |
| 481 # Instead, directly build only the files that are needed for iOS. | 493 # Instead, directly build only the files that are needed for iOS. |
| (...skipping 1000 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1482 ], | 1494 ], |
| 1483 'sources': [ | 1495 'sources': [ |
| 1484 'video/capture/screen/differ_block_sse2.cc', | 1496 'video/capture/screen/differ_block_sse2.cc', |
| 1485 'video/capture/screen/differ_block_sse2.h', | 1497 'video/capture/screen/differ_block_sse2.h', |
| 1486 ], | 1498 ], |
| 1487 }, # end of target differ_block_sse2 | 1499 }, # end of target differ_block_sse2 |
| 1488 ], | 1500 ], |
| 1489 }], | 1501 }], |
| 1490 ], | 1502 ], |
| 1491 } | 1503 } |
| OLD | NEW |