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

Side by Side Diff: build/common.gypi

Issue 339046: Linux: Autodetect and change build flags when using gcc 4.4. (Closed)
Patch Set: Show command string and exception on failure on stdout. Created 11 years, 1 month 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
« no previous file with comments | « no previous file | build/compiler_version.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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 # IMPORTANT: 5 # IMPORTANT:
6 # Please don't directly include this file if you are building via gyp_chromium, 6 # Please don't directly include this file if you are building via gyp_chromium,
7 # since gyp_chromium is automatically forcing its inclusion. 7 # since gyp_chromium is automatically forcing its inclusion.
8 { 8 {
9 'variables': { 9 'variables': {
10 # .gyp files should set chromium_code to 1 if they build Chromium-specific 10 # .gyp files should set chromium_code to 1 if they build Chromium-specific
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 175
176 # Used to disable Native Client at compile time, for platforms where it 176 # Used to disable Native Client at compile time, for platforms where it
177 # isn't supported 177 # isn't supported
178 'disable_nacl%': 0, 178 'disable_nacl%': 0,
179 179
180 # Set ARM-v7 compilation flags 180 # Set ARM-v7 compilation flags
181 'armv7%': 0, 181 'armv7%': 0,
182 182
183 'conditions': [ 183 'conditions': [
184 ['OS=="linux"', { 184 ['OS=="linux"', {
185 # This will set gcc_version to XY if you are running gcc X.Y.*.
186 # This is used to tweak build flags for gcc 4.4.
187 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)',
185 'conditions': [ 188 'conditions': [
186 ['branding=="Chrome" or linux_chromium_breakpad==1', { 189 ['branding=="Chrome" or linux_chromium_breakpad==1', {
187 'linux_breakpad%': 1, 190 'linux_breakpad%': 1,
188 }, { 191 }, {
189 'linux_breakpad%': 0, 192 'linux_breakpad%': 0,
190 }], 193 }],
191 # All Chrome builds have breakpad symbols, but only process the 194 # All Chrome builds have breakpad symbols, but only process the
192 # symbols from official builds. 195 # symbols from official builds.
193 # TODO(mmoss) dump_syms segfaults on x64. Enable once dump_syms and 196 # TODO(mmoss) dump_syms segfaults on x64. Enable once dump_syms and
194 # crash server handle 64-bit symbols. 197 # crash server handle 64-bit symbols.
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after
932 # and therefore SYMROOT, needs to be set at the project level. 935 # and therefore SYMROOT, needs to be set at the project level.
933 'SYMROOT': '<(DEPTH)/xcodebuild', 936 'SYMROOT': '<(DEPTH)/xcodebuild',
934 }, 937 },
935 } 938 }
936 939
937 # Local Variables: 940 # Local Variables:
938 # tab-width:2 941 # tab-width:2
939 # indent-tabs-mode:nil 942 # indent-tabs-mode:nil
940 # End: 943 # End:
941 # vim: set expandtab tabstop=2 shiftwidth=2: 944 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « no previous file | build/compiler_version.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698