Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(650)

Side by Side Diff: third_party/ffmpeg/ffmpeg.gyp

Issue 1741010: gyp: unify toolkit_views usage (Closed)
Patch Set: Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2010 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 21 matching lines...) Expand all
32 # If you want -O0, see the Gotchas in README.Chromium for why that 32 # If you want -O0, see the Gotchas in README.Chromium for why that
33 # won't work. 33 # won't work.
34 'debug_optimize': '2', 34 'debug_optimize': '2',
35 'mac_debug_optimization': '2', 35 'mac_debug_optimization': '2',
36 }, 36 },
37 }, 37 },
38 'variables': { 38 'variables': {
39 # Allow overridding the selection of which FFmpeg binaries to copy via an 39 # Allow overridding the selection of which FFmpeg binaries to copy via an
40 # environment variable. Affects the ffmpeg_binaries target. 40 # environment variable. Affects the ffmpeg_binaries target.
41 'conditions': [ 41 'conditions': [
42 ['chromeos!=0 or toolkit_views!=0', { 42 ['chromeos==1', {
Daniel Erat 2010/04/27 01:12:25 Am I misreading this, or does it change the logic?
Evan Martin 2010/04/27 01:16:20 You are right. But I think it was wrong before.
43 'ffmpeg_branding%': '<(branding)OS', 43 'ffmpeg_branding%': '<(branding)OS',
44 },{ # else chromeos==0, assume Chrome/Chromium. 44 }, { # otherwise, assume Chrome/Chromium.
45 'ffmpeg_branding%': '<(branding)', 45 'ffmpeg_branding%': '<(branding)',
46 }], 46 }],
47 ['armv7==1 and arm_neon==1', { 47 ['armv7==1 and arm_neon==1', {
48 # Need a separate config for arm+neon vs arm 48 # Need a separate config for arm+neon vs arm
49 'ffmpeg_config%': 'arm-neon', 49 'ffmpeg_config%': 'arm-neon',
50 }, { 50 }, {
51 'ffmpeg_config%': '<(target_arch)', 51 'ffmpeg_config%': '<(target_arch)',
52 }], 52 }],
53 ['target_arch=="x64" or target_arch=="ia32"', { 53 ['target_arch=="x64" or target_arch=="ia32"', {
54 'ffmpeg_asm_lib': 1, 54 'ffmpeg_asm_lib': 1,
(...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after
799 ], # conditions 799 ], # conditions
800 }, 800 },
801 ], # targets 801 ], # targets
802 } 802 }
803 803
804 # Local Variables: 804 # Local Variables:
805 # tab-width:2 805 # tab-width:2
806 # indent-tabs-mode:nil 806 # indent-tabs-mode:nil
807 # End: 807 # End:
808 # vim: set expandtab tabstop=2 shiftwidth=2: 808 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« chrome/test/interactive_ui/interactive_ui_tests.gypi ('K') | « ipc/ipc.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698