From 58711c2f8dbb27faae952f15fcea5796730bdbe1 Mon Sep 17 00:00:00 2001 From: Daeyeon Jeong Date: Mon, 3 Jun 2024 20:00:47 +0900 Subject: [PATCH] build: fix --v8-lite-mode build Signed-off-by: Daeyeon Jeong PR-URL: https://github.com/nodejs/node/pull/52725 Fixes: https://github.com/nodejs/node/issues/52710 Reviewed-By: Yagiz Nizipli Reviewed-By: Richard Lau Reviewed-By: Luigi Pinca --- tools/v8_gypfiles/v8.gyp | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp index 837789beda3a41..d65a5c268e5fae 100644 --- a/tools/v8_gypfiles/v8.gyp +++ b/tools/v8_gypfiles/v8.gyp @@ -289,7 +289,6 @@ 'toolsets': ['host', 'target'], 'dependencies': [ 'torque_generated_initializers', - 'v8_initializers_slow', 'v8_base_without_compiler', 'v8_shared_internal_headers', 'v8_pch', @@ -299,18 +298,21 @@ '<(SHARED_INTERMEDIATE_DIR)', '<(generate_bytecode_output_root)', ], - # Compiled by v8_initializers_slow target. - 'sources!': [ - '<(SHARED_INTERMEDIATE_DIR)/torque-generated/src/builtins/js-to-wasm-tq-csa.h', - '<(SHARED_INTERMEDIATE_DIR)/torque-generated/src/builtins/js-to-wasm-tq-csa.cc', - '<(SHARED_INTERMEDIATE_DIR)/torque-generated/src/builtins/wasm-to-js-tq-csa.h', - '<(SHARED_INTERMEDIATE_DIR)/torque-generated/src/builtins/wasm-to-js-tq-csa.cc', - ], 'sources': [ '