@@ -1168,6 +1168,23 @@
|
1168 | 1168 | 'sources': [ |
1169 | 1169 | '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_enable_wasm_gdb_remote_debugging.*?v8_current_cpu == \\"riscv64\\".*?sources \\+= ")', |
1170 | 1170 | ], |
| 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 | + ], |
1171 | 1188 | }], |
1172 | 1189 | ['v8_target_arch=="loong64"', { |
1173 | 1190 | 'sources': [ |
|