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

Unified Diff: build/config/sysroot.gni

Issue 2815453004: For building v8 using gn on aix_ppc64, linux_s390x and linux_ppc64. (Closed)
Patch Set: rebased Created 3 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 | « build/config/host_byteorder.gni ('k') | build/dotfile_settings.gni » ('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 aa43c2cd0bd3d14ba8b2a3ed6403c2b9a0f9e9fc..2c26c34f24181c33d8a521f14e57053323026031 100644
--- a/build/config/sysroot.gni
+++ b/build/config/sysroot.gni
@@ -15,11 +15,12 @@ declare_args() {
# The absolute path to directory containing linux sysroot images
target_sysroot_dir = "//build/linux"
- use_sysroot = true
+ use_sysroot = current_cpu != "s390x" && current_cpu != "s390" &&
+ current_cpu != "ppc64" && current_cpu != "ppc"
}
if (current_os == target_os && current_cpu == target_cpu &&
- target_sysroot != "") {
+ target_sysroot != "") {
sysroot = target_sysroot
} else if (is_android) {
import("//build/config/android/config.gni")
« no previous file with comments | « build/config/host_byteorder.gni ('k') | build/dotfile_settings.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698