Skip to content

Commit 0976439

Browse files
daeyeontargos
authored andcommittedJun 3, 2024··
build: fix --v8-lite-mode build
Signed-off-by: Daeyeon Jeong <daeyeon.dev@gmail.com> PR-URL: #52725 Fixes: #52710 Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 4b9cdea commit 0976439

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed
 

‎tools/v8_gypfiles/v8.gyp

+10-8
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,6 @@
289289
'toolsets': ['host', 'target'],
290290
'dependencies': [
291291
'torque_generated_initializers',
292-
'v8_initializers_slow',
293292
'v8_base_without_compiler',
294293
'v8_shared_internal_headers',
295294
'v8_pch',
@@ -299,18 +298,21 @@
299298
'<(SHARED_INTERMEDIATE_DIR)',
300299
'<(generate_bytecode_output_root)',
301300
],
302-
# Compiled by v8_initializers_slow target.
303-
'sources!': [
304-
'<(SHARED_INTERMEDIATE_DIR)/torque-generated/src/builtins/js-to-wasm-tq-csa.h',
305-
'<(SHARED_INTERMEDIATE_DIR)/torque-generated/src/builtins/js-to-wasm-tq-csa.cc',
306-
'<(SHARED_INTERMEDIATE_DIR)/torque-generated/src/builtins/wasm-to-js-tq-csa.h',
307-
'<(SHARED_INTERMEDIATE_DIR)/torque-generated/src/builtins/wasm-to-js-tq-csa.cc',
308-
],
309301
'sources': [
310302
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_initializers.*?sources = ")',
311303
],
312304
'conditions': [
313305
['v8_enable_webassembly==1', {
306+
'dependencies': [
307+
'v8_initializers_slow',
308+
],
309+
# Compiled by v8_initializers_slow target.
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+
],
314316
'sources': [
315317
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_initializers.*?v8_enable_webassembly.*?sources \\+= ")',
316318
],

0 commit comments

Comments
 (0)
Please sign in to comment.