◐ Shell
clean mode source ↗

tools: fix riscv64 build failed · nodejs/node@22d7017

Original file line numberDiff line numberDiff line change

@@ -1168,6 +1168,23 @@

11681168

'sources': [

11691169

'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_enable_wasm_gdb_remote_debugging.*?v8_current_cpu == \\"riscv64\\".*?sources \\+= ")',

11701170

],

1171+

'conditions': [

1172+

['v8_enable_webassembly==1', {

1173+

'conditions': [

1174+

['((_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"))', {

1175+

'sources': [

1176+

'<(V8_ROOT)/src/trap-handler/handler-inside-posix.cc',

1177+

'<(V8_ROOT)/src/trap-handler/handler-outside-posix.cc',

1178+

],

1179+

}],

1180+

['(_toolset=="host" and host_arch=="x64" or _toolset=="target" and target_arch=="x64") and (OS=="linux")', {

1181+

'sources': [

1182+

'<(V8_ROOT)/src/trap-handler/handler-outside-simulator.cc',

1183+

],

1184+

}],

1185+

],

1186+

}],

1187+

],

11711188

}],

11721189

['v8_target_arch=="loong64"', {

11731190

'sources': [