|
641 | 641 | }], |
642 | 642 | ['v8_enable_webassembly==1', { |
643 | 643 | 'conditions': [ |
644 | | - ['OS=="mac" or (host_arch=="x64" and OS=="linux")', { |
| 644 | + ['OS=="mac" or (_toolset=="host" and host_arch=="x64" and OS=="linux")', { |
645 | 645 | 'sources': [ |
646 | 646 | '<(V8_ROOT)/src/trap-handler/handler-inside-posix.h', |
647 | 647 | ], |
648 | 648 | }], |
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")', { |
650 | 650 | 'sources': [ |
651 | 651 | '<(V8_ROOT)/src/trap-handler/trap-handler-simulator.h', |
652 | 652 | ], |
|
868 | 868 | 'conditions': [ |
869 | 869 | ['v8_enable_webassembly==1', { |
870 | 870 | 'conditions': [ |
871 | | - ['OS=="mac" or (host_arch=="x64" and OS=="linux")', { |
| 871 | + ['OS=="mac" or (_toolset=="host" and host_arch=="x64" and OS=="linux")', { |
872 | 872 | 'sources': [ |
873 | 873 | '<(V8_ROOT)/src/trap-handler/handler-inside-posix.cc', |
874 | 874 | '<(V8_ROOT)/src/trap-handler/handler-outside-posix.cc', |
875 | 875 | ], |
876 | 876 | }], |
877 | | - ['host_arch=="x64" and OS=="win"', { |
| 877 | + ['_toolset=="host" and host_arch=="x64" and OS=="win"', { |
878 | 878 | 'sources': [ |
879 | 879 | '<(V8_ROOT)/src/trap-handler/handler-inside-win.cc', |
880 | 880 | '<(V8_ROOT)/src/trap-handler/handler-outside-win.cc', |
881 | 881 | ], |
882 | 882 | }], |
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")', { |
884 | 884 | 'sources': [ |
885 | 885 | '<(V8_ROOT)/src/trap-handler/handler-outside-simulator.cc', |
886 | 886 | ], |
|
0 commit comments