From 34eac84204baf63984eb577af669dfd17159dba0 Mon Sep 17 00:00:00 2001 From: Refael Ackermann Date: Mon, 8 Apr 2019 16:53:43 -0400 Subject: [PATCH] build: V8 toolchain.gypi dedup and comment --- tools/v8_gypfiles/toolchain.gypi | 209 +++++++++++++------------------ 1 file changed, 90 insertions(+), 119 deletions(-) diff --git a/tools/v8_gypfiles/toolchain.gypi b/tools/v8_gypfiles/toolchain.gypi index 64914284e7efd7..de2280ab6d463f 100644 --- a/tools/v8_gypfiles/toolchain.gypi +++ b/tools/v8_gypfiles/toolchain.gypi @@ -293,7 +293,7 @@ 'defines': [ 'V8_TARGET_ARCH_ARM64', ], - }], + }], # v8_target_arch=="arm64" ['v8_target_arch=="s390" or v8_target_arch=="s390x"', { 'defines': [ 'V8_TARGET_ARCH_S390', @@ -312,7 +312,7 @@ 'cflags': [ '-march=z196' ], }], ], - }], # s390 + }], # v8_target_arch=="s390*" ['v8_target_arch=="ppc" or v8_target_arch=="ppc64"', { 'defines': [ 'V8_TARGET_ARCH_PPC', @@ -344,7 +344,7 @@ ], }], ], - }], # ppc + }], # v8_target_arch=="ppc**" ['v8_target_arch=="ia32"', { 'defines': [ 'V8_TARGET_ARCH_IA32', @@ -392,7 +392,7 @@ ], }], #'_toolset=="host" ], - }], + }], # v8_target_arch=="mips***" ['v8_target_arch=="mips"', { 'defines': [ 'V8_TARGET_ARCH_MIPS', @@ -982,12 +982,12 @@ # selection. # gcc -- http://gcc.gnu.org/onlinedocs/gcc-4.8.0/gcc/Optimize-Options.html 'ldflags': [ '-fuse-ld=gold', ], - }], + }], # linux_use_gold_flags==1 ['linux_use_bundled_binutils==1', { 'cflags': [ '-B