Skip to content

Commit 1e24bf6

Browse files
mmarchininodejs-ci
authored andcommitted
build: update V8 gypfiles
1 parent 13fb00a commit 1e24bf6

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

tools/v8_gypfiles/v8.gyp

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -707,6 +707,7 @@
707707
'dependencies': [
708708
# Code generators that only need to be build for the host.
709709
'torque_generated_definitions',
710+
'v8_uninitialized',
710711
'v8_headers',
711712
'v8_libbase',
712713
'v8_libsampler',
@@ -869,6 +870,38 @@
869870
}],
870871
],
871872
}, # v8_base_without_compiler
873+
{
874+
'target_name': 'v8_uninitialized',
875+
'type': 'static_library',
876+
'conditions': [
877+
['want_separate_host_toolset', {
878+
'toolsets': ['host', 'target'],
879+
}],
880+
],
881+
'sources': [
882+
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_uninitialized.*?sources = ")',
883+
],
884+
'dependencies': [
885+
'generate_bytecode_builtins_list',
886+
'run_torque',
887+
'v8_maybe_icu',
888+
],
889+
'defines!': [
890+
'_HAS_EXCEPTIONS=0',
891+
'BUILDING_V8_SHARED=1',
892+
],
893+
'cflags_cc!': ['-fno-exceptions'],
894+
'cflags_cc': ['-fexceptions'],
895+
'xcode_settings': {
896+
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES', # -fexceptions
897+
},
898+
'msvs_settings': {
899+
'VCCLCompilerTool': {
900+
'RuntimeTypeInfo': 'true',
901+
'ExceptionHandling': 1,
902+
},
903+
},
904+
}, # torque_base
872905
{
873906
'target_name': 'v8_base',
874907
'type': 'none',

0 commit comments

Comments
 (0)