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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 ], | 51 ], |
52 }], | 52 }], |
53 ['OS == "mac" or OS == "win" or OS == "openbsd"', { | 53 ['OS == "mac" or OS == "win" or OS == "openbsd"', { |
54 'os_config%': '<(OS)', | 54 'os_config%': '<(OS)', |
55 }, { # all other Unix OS's use the linux config | 55 }, { # all other Unix OS's use the linux config |
56 'os_config%': 'linux', | 56 'os_config%': 'linux', |
57 }], | 57 }], |
58 ['chromeos == 1', { | 58 ['chromeos == 1', { |
59 'ffmpeg_branding%': '<(branding)OS', | 59 'ffmpeg_branding%': '<(branding)OS', |
60 }, { # otherwise, assume Chrome/Chromium. | 60 }, { # otherwise, assume Chrome/Chromium. |
61 'ffmpeg_branding%': '<(branding)', | 61 'ffmpeg_branding%': 'Chrome', |
62 }], | 62 }], |
63 ], | 63 ], |
64 | 64 |
65 'ffmpeg_variant%': '<(target_arch)', | 65 'ffmpeg_variant%': '<(target_arch)', |
66 | 66 |
67 'use_system_ffmpeg%': 0, | 67 'use_system_ffmpeg%': 0, |
68 'build_ffmpegsumo%': 1, | 68 'build_ffmpegsumo%': 1, |
69 | 69 |
70 # Locations for generated artifacts. | 70 # Locations for generated artifacts. |
71 'shared_generated_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/ffmpeg', | 71 'shared_generated_dir': '<(SHARED_INTERMEDIATE_DIR)/third_party/ffmpeg', |
(...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
651 '-I', '.', | 651 '-I', '.', |
652 # Disable warnings, prevents log spam for things we won't fix. | 652 # Disable warnings, prevents log spam for things we won't fix. |
653 '-w', | 653 '-w', |
654 '-P', 'config.asm', | 654 '-P', 'config.asm', |
655 ], | 655 ], |
656 'yasm_output_path': '<(shared_generated_dir)/yasm' | 656 'yasm_output_path': '<(shared_generated_dir)/yasm' |
657 }, | 657 }, |
658 }, | 658 }, |
659 ], # targets | 659 ], # targets |
660 } | 660 } |
OLD | NEW |