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

Side by Side Diff: build/common.gypi

Issue 1234943009: Use gold when compiling 32 bit binaries on an x64 machine. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 | no next file » | 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 891 matching lines...) Expand 10 before | Expand all | Expand 10 after
902 'enable_plugins%': 0, 902 'enable_plugins%': 0,
903 }, { 903 }, {
904 'enable_plugins%': 1, 904 'enable_plugins%': 1,
905 }], 905 }],
906 906
907 # linux_use_bundled_gold: whether to use the gold linker binary checked 907 # linux_use_bundled_gold: whether to use the gold linker binary checked
908 # into third_party/binutils. Force this off via GYP_DEFINES when you 908 # into third_party/binutils. Force this off via GYP_DEFINES when you
909 # are using a custom toolchain and need to control -B in ldflags. 909 # are using a custom toolchain and need to control -B in ldflags.
910 # Do not use 32-bit gold on 32-bit hosts as it runs out address space 910 # Do not use 32-bit gold on 32-bit hosts as it runs out address space
911 # for component=static_library builds. 911 # for component=static_library builds.
912 ['(OS=="linux" or OS=="android") and (target_arch=="x64" or target_arch= ="arm")', { 912 ['(OS=="linux" or OS=="android") and (target_arch=="x64" or target_arch= ="arm" or (target_arch=="ia32" and host_arch=="x64"))', {
913 'linux_use_bundled_gold%': 1, 913 'linux_use_bundled_gold%': 1,
914 }, { 914 }, {
915 'linux_use_bundled_gold%': 0, 915 'linux_use_bundled_gold%': 0,
916 }], 916 }],
917 917
918 # linux_use_bundled_binutils: whether to use the binary binutils 918 # linux_use_bundled_binutils: whether to use the binary binutils
919 # checked into third_party/binutils. These are not multi-arch so cannot 919 # checked into third_party/binutils. These are not multi-arch so cannot
920 # be used except on x86 and x86-64 (the only two architectures which 920 # be used except on x86 and x86-64 (the only two architectures which
921 # are currently checke in). Force this off via GYP_DEFINES when you 921 # are currently checke in). Force this off via GYP_DEFINES when you
922 # are using a custom toolchain and need to control -B in cflags. 922 # are using a custom toolchain and need to control -B in cflags.
(...skipping 5274 matching lines...) Expand 10 before | Expand all | Expand 10 after
6197 # settings in target dicts. SYMROOT is a special case, because many other 6197 # settings in target dicts. SYMROOT is a special case, because many other
6198 # Xcode variables depend on it, including variables such as 6198 # Xcode variables depend on it, including variables such as
6199 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6199 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6200 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6200 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6201 # files to appear (when present) in the UI as actual files and not red 6201 # files to appear (when present) in the UI as actual files and not red
6202 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6202 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6203 # and therefore SYMROOT, needs to be set at the project level. 6203 # and therefore SYMROOT, needs to be set at the project level.
6204 'SYMROOT': '<(DEPTH)/xcodebuild', 6204 'SYMROOT': '<(DEPTH)/xcodebuild',
6205 }, 6205 },
6206 } 6206 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698