Skip to content

Commit 05c9595

Browse files
targosnodejs-ci
authored andcommitted
tools: update v8 gypfiles
until 4c7c6f732cb607676bec1c9acb570e91ddfc507d
1 parent 1aa1de5 commit 05c9595

File tree

3 files changed

+25
-12
lines changed

3 files changed

+25
-12
lines changed

tools/v8_gypfiles/features.gypi

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
'v8_enable_concurrent_marking%': 1,
148148

149149
# Sets -dV8_ARRAY_BUFFER_EXTENSION
150-
'v8_enable_array_buffer_extension%': 0,
150+
'v8_enable_array_buffer_extension%': 1,
151151

152152
# Enables various testing features.
153153
'v8_enable_test_features%': 0,

tools/v8_gypfiles/toolchain.gypi

+5-3
Original file line numberDiff line numberDiff line change
@@ -324,10 +324,12 @@
324324
],
325325
}], # s390x
326326
['v8_target_arch=="ppc" or v8_target_arch=="ppc64"', {
327-
'defines': [
328-
'V8_TARGET_ARCH_PPC',
329-
],
330327
'conditions': [
328+
['v8_target_arch=="ppc"', {
329+
'defines': [
330+
'V8_TARGET_ARCH_PPC',
331+
],
332+
}],
331333
['v8_target_arch=="ppc64"', {
332334
'defines': [
333335
'V8_TARGET_ARCH_PPC64',

tools/v8_gypfiles/v8.gyp

+19-8
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,12 @@
425425
'<(V8_ROOT)/src/builtins/mips64/builtins-mips64.cc',
426426
],
427427
}],
428-
['v8_target_arch=="ppc" or v8_target_arch=="ppc64"', {
428+
['v8_target_arch=="ppc"', {
429+
'sources': [
430+
'<(V8_ROOT)/src/builtins/ppc/builtins-ppc.cc',
431+
],
432+
}],
433+
['v8_target_arch=="ppc64"', {
429434
'sources': [
430435
'<(V8_ROOT)/src/builtins/ppc/builtins-ppc.cc',
431436
],
@@ -590,6 +595,7 @@
590595
],
591596
'direct_dependent_settings': {
592597
'sources': [
598+
'<(V8_ROOT)/include/v8-fast-api-calls.h',
593599
'<(V8_ROOT)/include/v8-internal.h',
594600
'<(V8_ROOT)/include/v8.h',
595601
'<(V8_ROOT)/include/v8config.h',
@@ -768,32 +774,37 @@
768774
}],
769775
['v8_target_arch=="arm"', {
770776
'sources': [ ### gcmole(arch:arm) ###
771-
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_current_cpu == \\"arm.*?sources \+= ")',
777+
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_current_cpu == \\"arm\\".*?sources \+= ")',
772778
],
773779
}],
774780
['v8_target_arch=="arm64"', {
775781
'sources': [ ### gcmole(arch:arm64) ###
776-
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_current_cpu == \\"arm64.*?sources \+= ")',
782+
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_current_cpu == \\"arm64\\".*?sources \+= ")',
777783
],
778784
}],
779785
['v8_target_arch=="mips" or v8_target_arch=="mipsel"', {
780786
'sources': [ ### gcmole(arch:mipsel) ###
781-
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_current_cpu == \\"mips.*?sources \+= ")',
787+
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_current_cpu == \\"mips\\".*?sources \+= ")',
782788
],
783789
}],
784790
['v8_target_arch=="mips64" or v8_target_arch=="mips64el"', {
785791
'sources': [ ### gcmole(arch:mips64el) ###
786-
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_current_cpu == \\"mips64.*?sources \+= ")',
792+
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_current_cpu == \\"mips64\\".*?sources \+= ")',
787793
],
788794
}],
789-
['v8_target_arch=="ppc" or v8_target_arch=="ppc64"', {
795+
['v8_target_arch=="ppc"', {
790796
'sources': [ ### gcmole(arch:ppc) ###
791-
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_current_cpu == \\"ppc.*?sources \+= ")',
797+
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_current_cpu == \\"ppc\\".*?sources \+= ")',
798+
],
799+
}],
800+
['v8_target_arch=="ppc64"', {
801+
'sources': [ ### gcmole(arch:ppc64) ###
802+
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_current_cpu == \\"ppc64\\".*?sources \+= ")',
792803
],
793804
}],
794805
['v8_target_arch=="s390x"', {
795806
'sources': [ ### gcmole(arch:s390) ###
796-
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_current_cpu == \\"s390.*?sources \+= ")',
807+
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_current_cpu == \\"s390\\".*?sources \+= ")',
797808
],
798809
}],
799810
['OS=="win"', {

0 commit comments

Comments
 (0)