Commit 280b8382 authored by jyan's avatar jyan Committed by Commit bot

S390: [gn] define V8_TARGET_ARCH_S390_LE_SIM for s390 sim build

R=machenbach@chromium.org
BUG=

Review-Url: https://codereview.chromium.org/2055703002
Cr-Commit-Position: refs/heads/master@{#36865}
parent 54b405ce
...@@ -261,14 +261,14 @@ config("toolchain") { ...@@ -261,14 +261,14 @@ config("toolchain") {
defines += [ "_MIPS_ARCH_MIPS64R2" ] defines += [ "_MIPS_ARCH_MIPS64R2" ]
} }
} }
if (v8_target_arch == "s390") { if (v8_target_arch == "s390" || v8_target_arch == "s390x") {
defines += [ "V8_TARGET_ARCH_S390" ] defines += [ "V8_TARGET_ARCH_S390" ]
}
if (v8_target_arch == "s390x") { if (v8_target_arch == "s390x") {
defines += [ defines += [ "V8_TARGET_ARCH_S390X" ]
"V8_TARGET_ARCH_S390", }
"V8_TARGET_ARCH_S390X", if (host_cpu == "x64" || host_cpu == "x86") {
] defines += [ "V8_TARGET_ARCH_S390_LE_SIM" ]
}
} }
if (v8_target_arch == "x86") { if (v8_target_arch == "x86") {
defines += [ "V8_TARGET_ARCH_IA32" ] defines += [ "V8_TARGET_ARCH_IA32" ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment