Skip to content

Commit 3805af4

Browse files
committed
fixup! fixup! tools: update V8 gypfiles for 9.6
1 parent 5acbf10 commit 3805af4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tools/v8_gypfiles/v8.gyp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -641,12 +641,12 @@
641641
}],
642642
['v8_enable_webassembly==1', {
643643
'conditions': [
644-
['OS=="mac" or (host_arch=="x64" and OS=="linux")', {
644+
['OS=="mac" or (_toolset=="host" and host_arch=="x64" and OS=="linux")', {
645645
'sources': [
646646
'<(V8_ROOT)/src/trap-handler/handler-inside-posix.h',
647647
],
648648
}],
649-
['host_arch=="x64" and (OS=="linux" or OS=="mac" or OS=="win")', {
649+
['_toolset=="host" and host_arch=="x64" and (OS=="linux" or OS=="mac" or OS=="win")', {
650650
'sources': [
651651
'<(V8_ROOT)/src/trap-handler/trap-handler-simulator.h',
652652
],
@@ -868,19 +868,19 @@
868868
'conditions': [
869869
['v8_enable_webassembly==1', {
870870
'conditions': [
871-
['OS=="mac" or (host_arch=="x64" and OS=="linux")', {
871+
['OS=="mac" or (_toolset=="host" and host_arch=="x64" and OS=="linux")', {
872872
'sources': [
873873
'<(V8_ROOT)/src/trap-handler/handler-inside-posix.cc',
874874
'<(V8_ROOT)/src/trap-handler/handler-outside-posix.cc',
875875
],
876876
}],
877-
['host_arch=="x64" and OS=="win"', {
877+
['_toolset=="host" and host_arch=="x64" and OS=="win"', {
878878
'sources': [
879879
'<(V8_ROOT)/src/trap-handler/handler-inside-win.cc',
880880
'<(V8_ROOT)/src/trap-handler/handler-outside-win.cc',
881881
],
882882
}],
883-
['host_arch=="x64" and (OS=="linux" or OS=="mac" or OS=="win")', {
883+
['_toolset=="host" and host_arch=="x64" and (OS=="linux" or OS=="mac" or OS=="win")', {
884884
'sources': [
885885
'<(V8_ROOT)/src/trap-handler/handler-outside-simulator.cc',
886886
],

0 commit comments

Comments
 (0)