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

Unified Diff: build/common.gypi

Issue 9316002: linux: use an in-tree copy of gold by default (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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 side-by-side diff with in-line comments
Download patch
« DEPS ('K') | « DEPS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 161464c9237c8cf41af138d9243807263660b675..96431b511855489871974db4a1faee26fd91d7d9 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -601,6 +601,9 @@
# Set to 1 to link against gsettings APIs instead of using dlopen().
'linux_link_gsettings%': 0,
+ # Set to 0 to not use third_party/gold as the linker.
+ 'linux_use_gold_binary%': 1,
+
# Set Thumb compilation flags.
'arm_thumb%': 0,
@@ -2000,6 +2003,16 @@
'defines': ['KEEP_SHADOW_STACKS'],
'cflags': ['-finstrument-functions'],
}],
+ ['linux_use_gold_binary==1', {
+ 'target_conditions': [
+ ['_toolset=="target"', {
+ 'ldflags': [
+ # Put our gold binary in the search path for the linker.
+ '-Bthird_party/gold',
+ ],
+ }],
+ ],
+ }],
],
},
}],
« DEPS ('K') | « DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698