From 70499c9fc2ebc3339e4231f6c5fc38b83f27eb10 Mon Sep 17 00:00:00 2001 From: Lu Yahan Date: Wed, 19 Jun 2024 16:35:33 +0800 Subject: [PATCH] fix --- tools/v8_gypfiles/v8.gyp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp index 36cff23dee955b..8a19a9be37d2e1 100644 --- a/tools/v8_gypfiles/v8.gyp +++ b/tools/v8_gypfiles/v8.gyp @@ -1118,19 +1118,13 @@ 'conditions': [ ['v8_enable_webassembly==1', { 'conditions': [ - ['((_toolset=="host" and host_arch=="arm64" or _toolset=="target" and target_arch=="arm64") and (OS=="linux" or OS=="mac" or OS=="ios")) or ((_toolset=="host" and host_arch=="x64" or _toolset=="target" and target_arch=="x64") and (OS=="linux" or OS=="mac"))', { + ['((_toolset=="host" and host_arch=="riscv64" or _toolset=="target" and target_arch=="riscv64") and (OS=="linux")) or ((_toolset=="host" and host_arch=="x64" or _toolset=="target" and target_arch=="x64") and (OS=="linux"))', { 'sources': [ '<(V8_ROOT)/src/trap-handler/handler-inside-posix.cc', '<(V8_ROOT)/src/trap-handler/handler-outside-posix.cc', ], }], - ['(_toolset=="host" and host_arch=="x64" or _toolset=="target" and target_arch=="x64") and OS=="win"', { - 'sources': [ - '<(V8_ROOT)/src/trap-handler/handler-inside-win.cc', - '<(V8_ROOT)/src/trap-handler/handler-outside-win.cc', - ], - }], - ['(_toolset=="host" and host_arch=="x64" or _toolset=="target" and target_arch=="x64") and (OS=="linux" or OS=="mac" or OS=="win")', { + ['(_toolset=="host" and host_arch=="x64" or _toolset=="target" and target_arch=="x64") and (OS=="linux")', { 'sources': [ '<(V8_ROOT)/src/trap-handler/handler-outside-simulator.cc', ],