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

Unified Diff: build/config/sysroot.gni

Issue 2091693002: It's not possible to build linux 32 bit on 64 bit host machine with gn (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« build/config/compiler/BUILD.gn ('K') | « build/config/compiler/BUILD.gn ('k') | no next file » | 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 038921eee935add178592f597e7daf312fbd2242..a466ace0c7bd475a83db20ac90f82d06842d5dcc 100644
--- a/build/config/sysroot.gni
+++ b/build/config/sysroot.gni
@@ -14,8 +14,7 @@ declare_args() {
use_sysroot = true
}
-if (current_os == target_os && current_cpu == target_cpu &&
- target_sysroot != "") {
+if (target_sysroot != "") {
Dirk Pranke 2016/06/23 16:22:43 I think this probably has the same problem.
sysroot = target_sysroot
} else if (is_android) {
import("//build/config/android/config.gni")
« build/config/compiler/BUILD.gn ('K') | « build/config/compiler/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698