Skip to content

Commit e02dbf0

Browse files
Shi Pujinrichardlau
Shi Pujin
authored andcommitted
tools: fix loong64 build
PR-URL: #51401 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent ce49cb6 commit e02dbf0

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tools/v8_gypfiles/v8.gyp

+12
Original file line numberDiff line numberDiff line change
@@ -1023,6 +1023,18 @@
10231023
'sources': [
10241024
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_enable_wasm_gdb_remote_debugging.*?v8_current_cpu == \\"loong64\\".*?sources \\+= ")',
10251025
],
1026+
'conditions': [
1027+
['v8_enable_webassembly==1', {
1028+
'conditions': [
1029+
['(_toolset=="host" and host_arch=="arm64" or _toolset=="target" and target_arch=="arm64") or (_toolset=="host" and host_arch=="loong64" or _toolset=="target" and target_arch=="loong64") or (_toolset=="host" and host_arch=="x64" or _toolset=="target" and target_arch=="x64")', {
1030+
'sources': [
1031+
'<(V8_ROOT)/src/trap-handler/handler-inside-posix.cc',
1032+
'<(V8_ROOT)/src/trap-handler/handler-outside-posix.cc',
1033+
],
1034+
}],
1035+
],
1036+
}],
1037+
],
10261038
}],
10271039
['OS=="win"', {
10281040
# This will prevent V8's .cc files conflicting with the inspector's

0 commit comments

Comments
 (0)