projects/aports·blob master · refs

18 lines · 722 B

1--- a/tools/v8_gypfiles/v8.gyp
2+++ b/tools/v8_gypfiles/v8.gyp
3@@ -832,6 +832,15 @@
4 '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_header_set.\\"v8_internal_headers\\".*?v8_enable_i18n_support.*?v8_current_cpu == \\"riscv64\\".*?v8_enable_sparkplug.*?sources \\+= ")',
5 ],
6 }],
7+ ['v8_enable_webassembly==1', {
8+ 'conditions': [
9+ ['OS=="linux"', {
10+ 'sources': [
11+ '<(V8_ROOT)/src/trap-handler/handler-inside-posix.h',
12+ ],
13+ }],
14+ ],
15+ }],
16 ],
17 }],
18 ['v8_target_arch=="loong64"', {