mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
tools: update V8 gypfiles for 12.1
Refs:08c87ab24d
Refs:d136cd9f4d
PR-URL: https://github.com/nodejs/node/pull/51362 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
This commit is contained in:
parent
7784773967
commit
aadea12440
@ -270,6 +270,9 @@
|
||||
# Allow for JS promise hooks (instead of just C++).
|
||||
'v8_enable_javascript_promise_hooks%': 0,
|
||||
|
||||
# Allow for JS promise hooks (instead of just C++).
|
||||
'v8_enable_continuation_preserved_embedder_data%': 1,
|
||||
|
||||
# Enable allocation folding globally (sets -dV8_ALLOCATION_FOLDING).
|
||||
# When it's disabled, the --turbo-allocation-folding runtime flag will be ignored.
|
||||
'v8_enable_allocation_folding%': 1,
|
||||
@ -522,6 +525,9 @@
|
||||
['v8_enable_javascript_promise_hooks==1', {
|
||||
'defines': ['V8_ENABLE_JAVASCRIPT_PROMISE_HOOKS',],
|
||||
}],
|
||||
['v8_enable_continuation_preserved_embedder_data==1', {
|
||||
'defines': ['V8_ENABLE_CONTINUATION_PRESERVED_EMBEDDER_DATA',],
|
||||
}],
|
||||
['v8_enable_allocation_folding==1', {
|
||||
'defines': ['V8_ALLOCATION_FOLDING',],
|
||||
}],
|
||||
|
@ -336,12 +336,12 @@
|
||||
'sources': [
|
||||
'<(V8_ROOT)/src/builtins/riscv/builtins-riscv.cc',
|
||||
],
|
||||
}],
|
||||
}],
|
||||
['v8_target_arch=="loong64" or v8_target_arch=="loong64"', {
|
||||
'sources': [
|
||||
'<(V8_ROOT)/src/builtins/loong64/builtins-loong64.cc',
|
||||
],
|
||||
}],
|
||||
}],
|
||||
['v8_target_arch=="mips64" or v8_target_arch=="mips64el"', {
|
||||
'sources': [
|
||||
'<(V8_ROOT)/src/builtins/mips64/builtins-mips64.cc',
|
||||
@ -425,6 +425,7 @@
|
||||
'variables': {
|
||||
'mksnapshot_flags': [
|
||||
'--turbo_instruction_scheduling',
|
||||
'--stress-turbo-late-spilling',
|
||||
# In cross builds, the snapshot may be generated for both the host and
|
||||
# target toolchains. The same host binary is used to generate both, so
|
||||
# mksnapshot needs to know which target OS to use at runtime. It's weird,
|
||||
@ -1124,7 +1125,7 @@
|
||||
'sources': [
|
||||
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_enable_wasm_gdb_remote_debugging.*?v8_current_cpu == \\"riscv64\\".*?sources \\+= ")',
|
||||
],
|
||||
}],
|
||||
}],
|
||||
['v8_target_arch=="loong64"', {
|
||||
'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 \\+= ")',
|
||||
@ -1141,7 +1142,7 @@
|
||||
],
|
||||
}],
|
||||
],
|
||||
}],
|
||||
}],
|
||||
['OS=="win"', {
|
||||
# This will prevent V8's .cc files conflicting with the inspector's
|
||||
# .cpp files in the same shard.
|
||||
|
Loading…
Reference in New Issue
Block a user