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

Side by Side Diff: build/common.gypi

Issue 4638003: Add gxx_version (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Use g++ rather than gxx in comments Created 10 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 | Annotate | Revision Log
« no previous file with comments | « build/cc_compiler_version.py ('k') | 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) 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 # 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 or targets should set chromium_code to 1 if they build 10 # .gyp files or targets should set chromium_code to 1 if they build
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 # whether to compile in the sources for the GPU plugin / process. 314 # whether to compile in the sources for the GPU plugin / process.
315 'enable_gpu%': 1, 315 'enable_gpu%': 1,
316 316
317 # Use OpenSSL instead of NSS. Currently in development. 317 # Use OpenSSL instead of NSS. Currently in development.
318 'use_openssl%': 0, 318 'use_openssl%': 0,
319 319
320 'conditions': [ 320 'conditions': [
321 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { 321 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
322 # This will set gcc_version to XY if you are running gcc X.Y.*. 322 # This will set gcc_version to XY if you are running gcc X.Y.*.
323 # This is used to tweak build flags for gcc 4.4. 323 # This is used to tweak build flags for gcc 4.4.
324 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', 324 'gcc_version%': '<!(python <(DEPTH)/build/cc_compiler_version.py)',
325 # This will set gxx_version to XY if you are running g++ X.Y.*.
326 # This is used to tweak build flags for g++ 4.5.
327 'gxx_version%': '<!(python <(DEPTH)/build/cxx_compiler_version.py)',
325 # Figure out the python architecture to decide if we build pyauto. 328 # Figure out the python architecture to decide if we build pyauto.
326 'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/l ib/libpython<(python_ver).so.1.0)', 329 'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/l ib/libpython<(python_ver).so.1.0)',
327 'conditions': [ 330 'conditions': [
328 ['branding=="Chrome"', { 331 ['branding=="Chrome"', {
329 'linux_breakpad%': 1, 332 'linux_breakpad%': 1,
330 }], 333 }],
331 # All Chrome builds have breakpad symbols, but only process the 334 # All Chrome builds have breakpad symbols, but only process the
332 # symbols from official builds. 335 # symbols from official builds.
333 ['(branding=="Chrome" and buildtype=="Official")', { 336 ['(branding=="Chrome" and buildtype=="Official")', {
334 'linux_dump_symbols%': 1, 337 'linux_dump_symbols%': 1,
(...skipping 1183 matching lines...) Expand 10 before | Expand all | Expand 10 after
1518 # and therefore SYMROOT, needs to be set at the project level. 1521 # and therefore SYMROOT, needs to be set at the project level.
1519 'SYMROOT': '<(DEPTH)/xcodebuild', 1522 'SYMROOT': '<(DEPTH)/xcodebuild',
1520 }, 1523 },
1521 } 1524 }
1522 1525
1523 # Local Variables: 1526 # Local Variables:
1524 # tab-width:2 1527 # tab-width:2
1525 # indent-tabs-mode:nil 1528 # indent-tabs-mode:nil
1526 # End: 1529 # End:
1527 # vim: set expandtab tabstop=2 shiftwidth=2: 1530 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « build/cc_compiler_version.py ('k') | build/compiler_version.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698