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

Unified Diff: build/common.gypi

Issue 18162003: Only set sysroot for MIPS on linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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 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 92e67d59dcf2f06d662ba39839b93a7c861e471b..75cb12e9d28d491ae97381a17ef1da26a9cbd773 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -654,7 +654,7 @@
],
}], # linux_lsb_release=="12.04"
- ['target_arch=="mipsel"', {
+ ['OS=="linux" and target_arch=="mipsel"', {
'sysroot%': '<!(cd <(DEPTH) && pwd -P)/mipsel-sysroot/sysroot',
'CXX%': '<!(cd <(DEPTH) && pwd -P)/mipsel-sysroot/bin/mipsel-linux-gnu-gcc',
}],
@@ -1137,6 +1137,8 @@
'nacl_untrusted_build%': 0,
'linux_use_tcmalloc%': 0,
'linux_breakpad%': 0,
+ }],
+ ['OS=="linux" and target_arch=="mipsel"', {
'sysroot%': '<(sysroot)',
'CXX%': '<(CXX)',
}],
« 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