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

Side by Side Diff: build/common.gypi

Issue 256303003: gyp performance: Load detect_host_arch directly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: binutils using the file as well Created 6 years, 6 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/detect_host_arch.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 23 matching lines...) Expand all
34 'use_ozone%': 0, 34 'use_ozone%': 0,
35 35
36 # Configure the build for small devices. See crbug.com/318413 36 # Configure the build for small devices. See crbug.com/318413
37 'embedded%': 0, 37 'embedded%': 0,
38 38
39 'conditions': [ 39 'conditions': [
40 # Compute the architecture that we're building on. 40 # Compute the architecture that we're building on.
41 ['OS=="win" or OS=="mac" or OS=="ios"', { 41 ['OS=="win" or OS=="mac" or OS=="ios"', {
42 'host_arch%': 'ia32', 42 'host_arch%': 'ia32',
43 }, { 43 }, {
44 'host_arch%': '<!(python <(DEPTH)/build/linux/detect_host_arch.p y)', 44 'host_arch%': '<!pymod_do_main(detect_host_arch)',
45 }], 45 }],
46 ], 46 ],
47 }, 47 },
48 # Copy conditionally-set variables out one scope. 48 # Copy conditionally-set variables out one scope.
49 'chromeos%': '<(chromeos)', 49 'chromeos%': '<(chromeos)',
50 'use_aura%': '<(use_aura)', 50 'use_aura%': '<(use_aura)',
51 'use_ash%': '<(use_ash)', 51 'use_ash%': '<(use_ash)',
52 'use_cras%': '<(use_cras)', 52 'use_cras%': '<(use_cras)',
53 'use_ozone%': '<(use_ozone)', 53 'use_ozone%': '<(use_ozone)',
54 'embedded%': '<(embedded)', 54 'embedded%': '<(embedded)',
(...skipping 5374 matching lines...) Expand 10 before | Expand all | Expand 10 after
5429 # settings in target dicts. SYMROOT is a special case, because many other 5429 # settings in target dicts. SYMROOT is a special case, because many other
5430 # Xcode variables depend on it, including variables such as 5430 # Xcode variables depend on it, including variables such as
5431 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5431 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5432 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5432 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5433 # files to appear (when present) in the UI as actual files and not red 5433 # files to appear (when present) in the UI as actual files and not red
5434 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5434 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5435 # and therefore SYMROOT, needs to be set at the project level. 5435 # and therefore SYMROOT, needs to be set at the project level.
5436 'SYMROOT': '<(DEPTH)/xcodebuild', 5436 'SYMROOT': '<(DEPTH)/xcodebuild',
5437 }, 5437 },
5438 } 5438 }
OLDNEW
« no previous file with comments | « no previous file | build/detect_host_arch.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698