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

Unified Diff: BUILD.gn

Issue 2055703002: S390: [gn] define V8_TARGET_ARCH_S390_LE_SIM for s390 sim build (Closed) Base URL: https://chromium.googlesource.com/v8/v8.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
« 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.gn
diff --git a/BUILD.gn b/BUILD.gn
index cab8f7317f619e8d225c8a2584a14ba53809637f..d2b0aed3f62b9c86a6ffd79e63f156dd8ad31d70 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -261,14 +261,14 @@ config("toolchain") {
defines += [ "_MIPS_ARCH_MIPS64R2" ]
}
}
- if (v8_target_arch == "s390") {
+ if (v8_target_arch == "s390" || v8_target_arch == "s390x") {
defines += [ "V8_TARGET_ARCH_S390" ]
- }
- if (v8_target_arch == "s390x") {
- defines += [
- "V8_TARGET_ARCH_S390",
- "V8_TARGET_ARCH_S390X",
- ]
+ if (v8_target_arch == "s390x") {
+ defines += [ "V8_TARGET_ARCH_S390X" ]
+ }
+ if (host_cpu == "x64" || host_cpu == "x86") {
+ defines += [ "V8_TARGET_ARCH_S390_LE_SIM" ]
+ }
}
if (v8_target_arch == "x86") {
defines += [ "V8_TARGET_ARCH_IA32" ]
« 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