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

Unified Diff: build/config/sysroot.gni

Issue 143963006: [MIPS] Set make_global_settings correctly for MIPS-Linux (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Style change. 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 | « no previous file | build/toolchain/linux/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/sysroot.gni
diff --git a/build/config/sysroot.gni b/build/config/sysroot.gni
index 9080b9bf852ca801ab512e0cb02fe5cfd6b6608a..4d3958a623ad48e227efc1b3275738378a1f397b 100644
--- a/build/config/sysroot.gni
+++ b/build/config/sysroot.gni
@@ -33,6 +33,12 @@ if (is_android) {
# Any other builds don't use a sysroot.
sysroot = ""
}
+} else if (is_linux && !is_chromeos) {
+ if (cpu_arch == "mipsel") {
+ sysroot = rebase_path("//mipsel-sysroot/sysroot", ".", "")
+ } else {
+ sysroot = ""
+ }
} else if (is_mac) {
import("//build/config/mac/mac_sdk.gni")
« no previous file with comments | « no previous file | build/toolchain/linux/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698