Skip to content

Commit

Permalink
tools: fix loong64 build
Browse files Browse the repository at this point in the history
PR-URL: #51401
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
shipujin authored and richardlau committed Mar 25, 2024
1 parent ce49cb6 commit e02dbf0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tools/v8_gypfiles/v8.gyp
Expand Up @@ -1023,6 +1023,18 @@
'sources': [
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_enable_wasm_gdb_remote_debugging.*?v8_current_cpu == \\"loong64\\".*?sources \\+= ")',
],
'conditions': [
['v8_enable_webassembly==1', {
'conditions': [
['(_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")', {
'sources': [
'<(V8_ROOT)/src/trap-handler/handler-inside-posix.cc',
'<(V8_ROOT)/src/trap-handler/handler-outside-posix.cc',
],
}],
],
}],
],
}],
['OS=="win"', {
# This will prevent V8's .cc files conflicting with the inspector's
Expand Down

0 comments on commit e02dbf0

Please sign in to comment.