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

Unified Diff: build/common.gypi

Issue 276993003: Pass the gold binary directory to the linker with an absolute path (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
« no previous file with comments | « no previous file | 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 ac572ed178cac5a054e8c55e00bbb51d3281753b..500dd9c1ab7bd5dfa11efc419ebbf485bb0c60a3 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -3521,7 +3521,7 @@
'ldflags': [
# As long as -fuse-ld=gold doesn't work, add a dummy directory
# with an 'ld' that redirects to gold, so that clang uses gold.
- '-B<(PRODUCT_DIR)/../../build/android/arm-linux-androideabi-gold',
+ '-B<!(cd <(DEPTH) && pwd -P)/build/android/arm-linux-androideabi-gold',
cjhopman 2014/05/10 00:28:05 We should be able to specify this like: <(DEPTH)/b
],
}],
['asan==1', {
« 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