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

Unified Diff: build/common.gypi

Issue 150863002: android/clang: Don't add path to gold shim to PATH, use -B instead. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: doh Created 6 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
« no previous file with comments | « build/android/envsetup_functions.sh ('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 02844830b97eed639f4e960ba004d8875c57c737..a0b92b3667a3a08cdc9cc0c31b5765b324cb9bbd 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -3264,6 +3264,11 @@
# Clang does not support the following options.
'-fuse-ld=gold',
],
+ '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',
+ ],
}],
['asan==1', {
'cflags': [
« no previous file with comments | « build/android/envsetup_functions.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698