| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 # There's a couple key GYP variables that control how FFmpeg is built: | 5 # There's a couple key GYP variables that control how FFmpeg is built: |
| 6 # ffmpeg_branding | 6 # ffmpeg_branding |
| 7 # Controls whether we build the Chromium or Google Chrome version of | 7 # Controls whether we build the Chromium or Google Chrome version of |
| 8 # FFmpeg. The Google Chrome version contains additional codecs. | 8 # FFmpeg. The Google Chrome version contains additional codecs. |
| 9 # Typical values are Chromium, Chrome, ChromiumOS, and ChromeOS. | 9 # Typical values are Chromium, Chrome, ChromiumOS, and ChromeOS. |
| 10 # use_system_ffmpeg | 10 # use_system_ffmpeg |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 # when for example it tries to link an ARM symbol on X86. | 33 # when for example it tries to link an ARM symbol on X86. |
| 34 'win_debug_Optimization': '2', | 34 'win_debug_Optimization': '2', |
| 35 # Run time checks are incompatible with any level of optimizations. | 35 # Run time checks are incompatible with any level of optimizations. |
| 36 'win_debug_RuntimeChecks': '0', | 36 'win_debug_RuntimeChecks': '0', |
| 37 }, | 37 }, |
| 38 }, | 38 }, |
| 39 'variables': { | 39 'variables': { |
| 40 # Allow overriding the selection of which FFmpeg binaries to copy via an | 40 # Allow overriding the selection of which FFmpeg binaries to copy via an |
| 41 # environment variable. Affects the ffmpeg_binaries target. | 41 # environment variable. Affects the ffmpeg_binaries target. |
| 42 'conditions': [ | 42 'conditions': [ |
| 43 ['armv7 == 1 and arm_neon == 1', { | 43 ['target_arch == "arm" and armv7 == 1 and arm_neon == 1', { |
| 44 # Need a separate config for arm+neon vs arm | 44 # Need a separate config for arm+neon vs arm |
| 45 'ffmpeg_config%': 'arm-neon', | 45 'ffmpeg_config%': 'arm-neon', |
| 46 }, { | 46 }, { |
| 47 'ffmpeg_config%': '<(target_arch)', | 47 'ffmpeg_config%': '<(target_arch)', |
| 48 }], | 48 }], |
| 49 ['target_arch == "mipsel"', { | 49 ['target_arch == "mipsel"', { |
| 50 'asm_sources': [ | 50 'asm_sources': [ |
| 51 ], | 51 ], |
| 52 }], | 52 }], |
| 53 ['OS == "mac" or OS == "win" or OS == "openbsd"', { | 53 ['OS == "mac" or OS == "win" or OS == "openbsd"', { |
| (...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 667 '-I', '.', | 667 '-I', '.', |
| 668 # Disable warnings, prevents log spam for things we won't fix. | 668 # Disable warnings, prevents log spam for things we won't fix. |
| 669 '-w', | 669 '-w', |
| 670 '-P', 'config.asm', | 670 '-P', 'config.asm', |
| 671 ], | 671 ], |
| 672 'yasm_output_path': '<(shared_generated_dir)/yasm' | 672 'yasm_output_path': '<(shared_generated_dir)/yasm' |
| 673 }, | 673 }, |
| 674 }, | 674 }, |
| 675 ], # targets | 675 ], # targets |
| 676 } | 676 } |
| OLD | NEW |