|
291 | 291 | '<(V8_ROOT)/src/init/setup-isolate-full.cc', |
292 | 292 | ], |
293 | 293 | }, # v8_init |
294 | | - { |
295 | | - # This target is used to work around a GCC issue that causes the |
296 | | - # compilation to take several minutes when using -O2 or -O3. |
297 | | - # This is fixed in GCC 13. |
298 | | - 'target_name': 'v8_initializers_slow', |
299 | | - 'type': 'static_library', |
300 | | - 'toolsets': ['host', 'target'], |
301 | | - 'dependencies': [ |
302 | | - 'torque_generated_initializers', |
303 | | - 'v8_base_without_compiler', |
304 | | - 'v8_shared_internal_headers', |
305 | | - 'v8_pch', |
306 | | - 'abseil.gyp:abseil', |
307 | | - ], |
308 | | - 'cflags!': ['-O3'], |
309 | | - 'cflags': ['-O1'], |
310 | | - 'sources': [ |
311 | | - '<(SHARED_INTERMEDIATE_DIR)/torque-generated/src/builtins/js-to-wasm-tq-csa.h', |
312 | | - '<(SHARED_INTERMEDIATE_DIR)/torque-generated/src/builtins/js-to-wasm-tq-csa.cc', |
313 | | - '<(SHARED_INTERMEDIATE_DIR)/torque-generated/src/builtins/wasm-to-js-tq-csa.h', |
314 | | - '<(SHARED_INTERMEDIATE_DIR)/torque-generated/src/builtins/wasm-to-js-tq-csa.cc', |
315 | | - ], |
316 | | - 'conditions': [ |
317 | | - ['v8_enable_i18n_support==1', { |
318 | | - 'dependencies': [ |
319 | | - '<(icu_gyp_path):icui18n', |
320 | | - '<(icu_gyp_path):icuuc', |
321 | | - ], |
322 | | - }], |
323 | | - ['v8_enable_temporal_support==1 and node_shared_temporal_capi=="false"', { |
324 | | - 'dependencies': [ |
325 | | - '../../deps/crates/crates.gyp:temporal_capi', |
326 | | - ], |
327 | | - }], |
328 | | - ], |
329 | | - }, # v8_initializers_slow |
330 | 294 | { |
331 | 295 | 'target_name': 'v8_initializers', |
332 | 296 | 'type': 'static_library', |
|
347 | 311 | ], |
348 | 312 | 'conditions': [ |
349 | 313 | ['v8_enable_webassembly==1', { |
350 | | - 'dependencies': [ |
351 | | - 'v8_initializers_slow', |
352 | | - ], |
353 | | - # Compiled by v8_initializers_slow target. |
354 | | - 'sources!': [ |
355 | | - '<(SHARED_INTERMEDIATE_DIR)/torque-generated/src/builtins/js-to-wasm-tq-csa.h', |
356 | | - '<(SHARED_INTERMEDIATE_DIR)/torque-generated/src/builtins/js-to-wasm-tq-csa.cc', |
357 | | - '<(SHARED_INTERMEDIATE_DIR)/torque-generated/src/builtins/wasm-to-js-tq-csa.h', |
358 | | - '<(SHARED_INTERMEDIATE_DIR)/torque-generated/src/builtins/wasm-to-js-tq-csa.cc', |
359 | | - ], |
360 | 314 | 'sources': [ |
361 | 315 | '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_initializers.*?v8_enable_webassembly.*?sources \\+= ")', |
362 | 316 | ], |
|
0 commit comments