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:
parent
54b405ce65
commit
280b838255
12
BUILD.gn
12
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",
|
||||
]
|
||||
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" ]
|
||||
|
Loading…
Reference in New Issue
Block a user