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 235083003: gyp performance: Add a DoMain version of build/compiler_version (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compiler_version: Rebased to newer master Created 6 years, 8 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
« 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) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 expected to be overriden on the GYP command line (-D) or by 9 # Variables expected to be overriden on the GYP command line (-D) or by
10 # ~/.gyp/include.gypi. 10 # ~/.gyp/include.gypi.
(...skipping 1354 matching lines...) Expand 10 before | Expand all | Expand 10 after
1365 }], 1365 }],
1366 # Get binutils version so we can enable debug fission if we can. 1366 # Get binutils version so we can enable debug fission if we can.
1367 ['os_posix==1 and OS!="mac" and OS!="ios"', { 1367 ['os_posix==1 and OS!="mac" and OS!="ios"', {
1368 'conditions': [ 1368 'conditions': [
1369 # compiler_version doesn't work with clang 1369 # compiler_version doesn't work with clang
1370 # TODO(mithro): Land https://codereview.chromium.org/199793014/ so 1370 # TODO(mithro): Land https://codereview.chromium.org/199793014/ so
1371 # compiler_version works with clang. 1371 # compiler_version works with clang.
1372 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so 1372 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so
1373 # that it takes effect here. 1373 # that it takes effect here.
1374 ['clang==0 and asan==0 and lsan==0 and tsan==0 and msan==0', { 1374 ['clang==0 and asan==0 and lsan==0 and tsan==0 and msan==0', {
1375 'binutils_version%': '<!(python <(DEPTH)/build/compiler_version.py a ssembler)', 1375 'binutils_version%': '<!pymod_do_main(compiler_version assembler)',
1376 }], 1376 }],
1377 # On Android we know the binutils version in the toolchain. 1377 # On Android we know the binutils version in the toolchain.
1378 ['OS=="android"', { 1378 ['OS=="android"', {
1379 'binutils_version%': 222, 1379 'binutils_version%': 222,
1380 }], 1380 }],
1381 ['host_arch=="x64"', { 1381 ['host_arch=="x64"', {
1382 'binutils_dir%': 'third_party/binutils/Linux_x64/Release/bin', 1382 'binutils_dir%': 'third_party/binutils/Linux_x64/Release/bin',
1383 }], 1383 }],
1384 ['host_arch=="ia32"', { 1384 ['host_arch=="ia32"', {
1385 'binutils_dir%': 'third_party/binutils/Linux_ia32/Release/bin', 1385 'binutils_dir%': 'third_party/binutils/Linux_ia32/Release/bin',
(...skipping 16 matching lines...) Expand all
1402 ['OS=="android"', { 1402 ['OS=="android"', {
1403 # We directly set the gcc_version since we know what we use. 1403 # We directly set the gcc_version since we know what we use.
1404 'conditions': [ 1404 'conditions': [
1405 ['target_arch=="x64" or target_arch=="arm64"', { 1405 ['target_arch=="x64" or target_arch=="arm64"', {
1406 'gcc_version%': 48, 1406 'gcc_version%': 48,
1407 }, { 1407 }, {
1408 'gcc_version%': 46, 1408 'gcc_version%': 46,
1409 }], 1409 }],
1410 ], 1410 ],
1411 }, { 1411 }, {
1412 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', 1412 'gcc_version%': '<!pymod_do_main(compiler_version)',
1413 }], 1413 }],
1414 ], 1414 ],
1415 }, { 1415 }, {
1416 'gcc_version%': 0, 1416 'gcc_version%': 0,
1417 }], 1417 }],
1418 ['OS=="win" and "<!(python <(DEPTH)/build/dir_exists.py <(windows_sdk_defa ult_path))"=="True"', { 1418 ['OS=="win" and "<!(python <(DEPTH)/build/dir_exists.py <(windows_sdk_defa ult_path))"=="True"', {
1419 'windows_sdk_path%': '<(windows_sdk_default_path)', 1419 'windows_sdk_path%': '<(windows_sdk_default_path)',
1420 }, { 1420 }, {
1421 'windows_sdk_path%': 'C:/Program Files (x86)/Windows Kits/8.0', 1421 'windows_sdk_path%': 'C:/Program Files (x86)/Windows Kits/8.0',
1422 }], 1422 }],
(...skipping 3831 matching lines...) Expand 10 before | Expand all | Expand 10 after
5254 # settings in target dicts. SYMROOT is a special case, because many other 5254 # settings in target dicts. SYMROOT is a special case, because many other
5255 # Xcode variables depend on it, including variables such as 5255 # Xcode variables depend on it, including variables such as
5256 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5256 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5257 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5257 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5258 # files to appear (when present) in the UI as actual files and not red 5258 # files to appear (when present) in the UI as actual files and not red
5259 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5259 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5260 # and therefore SYMROOT, needs to be set at the project level. 5260 # and therefore SYMROOT, needs to be set at the project level.
5261 'SYMROOT': '<(DEPTH)/xcodebuild', 5261 'SYMROOT': '<(DEPTH)/xcodebuild',
5262 }, 5262 },
5263 } 5263 }
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