From 280b8382553c3fedb51f5e1490dbf69dfea93188 Mon Sep 17 00:00:00 2001 From: jyan Date: Thu, 9 Jun 2016 07:19:36 -0700 Subject: [PATCH] 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} --- BUILD.gn | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index cab8f7317f..d2b0aed3f6 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" ]