1 --- a/tools/v8_gypfiles/v8.gyp
2 +++ b/tools/v8_gypfiles/v8.gyp
6 'direct_dependent_settings': {
7 + 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
9 '<(SHARED_INTERMEDIATE_DIR)',
12 '<@(torque_outputs_cc)',
13 '<@(torque_outputs_inc)',
15 + 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
17 '<(SHARED_INTERMEDIATE_DIR)',
21 '<(generate_bytecode_builtins_list_output)',
23 + 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
25 '<(generate_bytecode_output_root)',
26 '<(SHARED_INTERMEDIATE_DIR)',
29 '<(V8_ROOT)/src/init/setup-isolate-full.cc',
31 + 'include_dirs': [ '<!@(echo "$STAGING_DIR"/usr/../usr/include)' ],
34 'target_name': 'v8_initializers',
36 'v8_shared_internal_headers',
39 + 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
41 '<(SHARED_INTERMEDIATE_DIR)',
42 '<(generate_bytecode_output_root)',
43 + '<!@(echo "$STAGING_DIR"/usr/../usr/include)',
46 '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_initializers.*?sources = ")',
48 'toolsets': ['host', 'target'],
49 'direct_dependent_settings': {
50 'sources': ['<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_compiler_sources = ")'],
51 + 'include_dirs': [ '<!@(echo "$STAGING_DIR"/usr/../usr/include)' ],
53 ['v8_target_arch=="ia32"', {
56 'target_name': 'v8_turboshaft',
57 'type': 'static_library',
58 'toolsets': ['host', 'target'],
59 + 'libraries!':[ '-lcrypto', '-lssl', '-lz', '-lhttp_parser', '-luv', '-lnghttp2', '-lcares' ],
60 + 'include_dirs': [ '<!@(echo "$STAGING_DIR"/usr/../usr/include)' ],
62 'generate_bytecode_builtins_list',
68 + 'include_dirs': [ '<!@(echo "$STAGING_DIR"/usr/../usr/include)' ],
70 ['(is_component_build and not v8_optimized_debug and v8_enable_fast_mksnapshot) or v8_enable_turbofan==0', {
74 'includes': ['inspector.gypi'],
75 'direct_dependent_settings': {
76 + 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
78 '<(generate_bytecode_output_root)',
79 '<(SHARED_INTERMEDIATE_DIR)',
83 'direct_dependent_settings': {
84 + 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
90 'target_name': 'bytecode_builtins_list_generator',
92 + 'libraries!':[ '-licui18n', '-licuuc', '-licudata', '-lcrypto', '-lssl', '-lz', '-lhttp_parser', '-luv', '-lnghttp2', '-lcares' ],
94 ['want_separate_host_toolset', {
98 'target_name': 'mksnapshot',
100 + 'libraries!':[ '-lcrypto', '-lssl', '-lz', '-lhttp_parser', '-luv', '-lnghttp2', '-lcares' ],
101 + 'library_dirs':[ '../../../../staging_dir/hostpkg/share/icu/current/lib' ],
102 + 'include_dirs': [ '<!@(echo "$STAGING_DIR"/usr/../usr/include)' ],
104 'v8_base_without_compiler',
105 'v8_compiler_for_mksnapshot',
106 @@ -1559,6 +1575,7 @@
108 'target_name': 'torque',
109 'type': 'executable',
110 + 'libraries!':[ '-licui18n', '-licuuc', '-licudata', '-lcrypto', '-lssl', '-lz', '-lhttp_parser', '-luv', '-lnghttp2', '-lcares' ],
113 # "build/win:default_exe_manifest",
114 @@ -1601,6 +1618,7 @@
116 'target_name': 'torque-language-server',
117 'type': 'executable',
118 + 'libraries!':[ '-licui18n', '-licuuc', '-licudata', '-lcrypto', '-lssl', '-lz', '-lhttp_parser', '-luv', '-lnghttp2', '-lcares' ],
120 ['want_separate_host_toolset', {
121 'toolsets': ['host'],
122 @@ -1632,6 +1650,8 @@
124 'target_name': 'gen-regexp-special-case',
125 'type': 'executable',
126 + 'libraries!':[ '-lcrypto', '-lssl', '-lz', '-lhttp_parser', '-luv', '-lnghttp2', '-lcares' ],
127 + 'library_dirs':[ '../../../../staging_dir/hostpkg/share/icu/current/lib' ],
130 # "build/win:default_exe_manifest",
131 @@ -1850,6 +1870,7 @@
134 'direct_dependent_settings': {
135 + 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
137 '<(V8_ROOT)/include',
139 @@ -1971,15 +1992,19 @@
142 'direct_dependent_settings': {
143 + 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
145 '<(V8_ROOT)/third_party/zlib',
146 '<(V8_ROOT)/third_party/zlib/google',
147 + '<!@(echo "$STAGING_DIR"/usr/../usr/include)',
150 'defines': [ 'ZLIB_IMPLEMENTATION' ],
151 + 'include_dirs!': [ '<!@(echo "$STAGING_DIR"/usr/include)' ],
153 '<(V8_ROOT)/third_party/zlib',
154 '<(V8_ROOT)/third_party/zlib/google',
155 + '<!@(echo "$STAGING_DIR"/usr/../usr/include)',
158 '<(V8_ROOT)/third_party/zlib/adler32.c',