Skip to content

Commit

Permalink
tools: update V8 gypfiles for 13.1
Browse files Browse the repository at this point in the history
  • Loading branch information
targos authored and nodejs-github-bot committed Oct 21, 2024
1 parent 4cc4819 commit 4f9649c
Showing 1 changed file with 5 additions and 44 deletions.
49 changes: 5 additions & 44 deletions tools/v8_gypfiles/v8.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,11 @@
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_header_set.\\"v8_internal_headers\\".*?sources = ")',
],
'conditions': [
['v8_enable_maglev==0', {
'sources': [
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_header_set.\\"v8_internal_headers\\".*?!v8_enable_maglev.*?sources \\+= ")',
],
}],
['v8_enable_snapshot_compression==1', {
'sources': [
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_header_set.\\"v8_internal_headers\\".*?v8_enable_snapshot_compression.*?sources \\+= ")',
Expand Down Expand Up @@ -904,7 +909,6 @@
'v8_base_without_compiler',
'v8_libbase',
'v8_shared_internal_headers',
'v8_turboshaft',
'v8_pch',
'v8_abseil',
'fp16',
Expand All @@ -917,40 +921,6 @@
}],
],
}, # v8_compiler
{
'target_name': 'v8_turboshaft',
'type': 'static_library',
'toolsets': ['host', 'target'],
'dependencies': [
'generate_bytecode_builtins_list',
'run_torque',
'v8_internal_headers',
'v8_maybe_icu',
'v8_base_without_compiler',
'v8_libbase',
'v8_shared_internal_headers',
'v8_pch',
'v8_abseil',
'fp16',
],
'sources': [
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_source_set.\\"v8_turboshaft.*?sources = ")',
],
'conditions': [
['v8_enable_maglev==0', {
'sources': [
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_source_set.\\"v8_turboshaft.*?!v8_enable_maglev.*?sources \\+= ")',
],
}],
],
'msvs_settings': {
'VCCLCompilerTool': {
'AdditionalOptions': [
'/bigobj'
],
},
},
}, # v8_turboshaft
{
'target_name': 'v8_compiler_for_mksnapshot',
'type': 'none',
Expand Down Expand Up @@ -1051,7 +1021,6 @@
['v8_enable_webassembly==1', {
'sources': [
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_enable_webassembly.*?sources \\+= ")',
'<(V8_ROOT)/src/wasm/fuzzing/random-module-generation.cc',
],
}],
['v8_enable_heap_snapshot_verify==1', {
Expand Down Expand Up @@ -1239,13 +1208,6 @@
'v8_base_without_compiler',
'v8_compiler',
],
'conditions': [
['v8_enable_turbofan==1', {
'dependencies': [
'v8_turboshaft',
],
}],
],
}, # v8_base
{
'target_name': 'torque_base',
Expand Down Expand Up @@ -1650,7 +1612,6 @@
'v8_libbase',
'v8_libplatform',
'v8_maybe_icu',
'v8_turboshaft',
'v8_pch',
'v8_abseil',
'fp16',
Expand Down

0 comments on commit 4f9649c

Please sign in to comment.