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}
This commit is contained in:
jyan 2016-06-09 07:19:36 -07:00 committed by Commit bot
parent 54b405ce65
commit 280b838255

View File

@ -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",
]
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" ]