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

Side by Side Diff: build/common.gypi

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

Powered by Google App Engine
This is Rietveld 408576698