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

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, addressed reviews, added host_byteorder.gni. Created 3 years, 8 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
Index: build/config/sysroot.gni
diff --git a/build/config/sysroot.gni b/build/config/sysroot.gni
index aa43c2cd0bd3d14ba8b2a3ed6403c2b9a0f9e9fc..3210ae48a17a49273b9b67bcccc289a9123dc77b 100644
--- a/build/config/sysroot.gni
+++ b/build/config/sysroot.gni
@@ -15,11 +15,11 @@ declare_args() {
# The absolute path to directory containing linux sysroot images
target_sysroot_dir = "//build/linux"
- use_sysroot = true
+ use_sysroot = !is_power_or_z
}
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")

Powered by Google App Engine
This is Rietveld 408576698