From 632ca2bd1c7b33a9c1aebb5b10c97fb37b2b591d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Tue, 19 Oct 2021 22:29:34 +0200 Subject: [PATCH] maybe? --- tools/v8_gypfiles/v8.gyp | 180 ++++++++------------------------------- 1 file changed, 35 insertions(+), 145 deletions(-) diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp index 771c64648b1c49..0f4ade38e45c4b 100644 --- a/tools/v8_gypfiles/v8.gyp +++ b/tools/v8_gypfiles/v8.gyp @@ -50,10 +50,10 @@ { 'target_name': 'run_torque', 'type': 'none', + 'toolsets': ['host', 'target'], 'conditions': [ ['want_separate_host_toolset', { 'dependencies': ['torque#host'], - 'toolsets': ['host', 'target'], }, { 'dependencies': ['torque'], }], @@ -111,10 +111,8 @@ 'target_name': 'v8_maybe_icu', 'type': 'none', 'hard_dependency': 1, + 'toolsets': ['host', 'target'], 'conditions': [ - ['want_separate_host_toolset', { - 'toolsets': ['host', 'target'], - }], ['v8_enable_i18n_support==1', { 'dependencies': [ '<(icu_gyp_path):icui18n', @@ -130,11 +128,7 @@ { 'target_name': 'torque_runtime_support', 'type': 'none', - 'conditions': [ - ['want_separate_host_toolset', { - 'toolsets': ['host', 'target'], - }], - ], + 'toolsets': ['host', 'target'], 'direct_dependent_settings': { 'sources': [ '<(V8_ROOT)/src/torque/runtime-support.h', @@ -145,11 +139,7 @@ 'target_name': 'torque_generated_initializers', 'type': 'none', 'hard_dependency': 1, - 'conditions': [ - ['want_separate_host_toolset', { - 'toolsets': ['host', 'target'], - }], - ], + 'toolsets': ['host', 'target'], 'dependencies': [ 'generate_bytecode_builtins_list', 'run_torque', @@ -172,11 +162,7 @@ 'target_name': 'torque_generated_definitions', 'type': 'none', 'hard_dependency': 1, - 'conditions': [ - ['want_separate_host_toolset', { - 'toolsets': ['host', 'target'], - }], - ], + 'toolsets': ['host', 'target'], 'dependencies': [ 'generate_bytecode_builtins_list', 'run_torque', @@ -204,10 +190,10 @@ 'target_name': 'generate_bytecode_builtins_list', 'type': 'none', 'hard_dependency': 1, + 'toolsets': ['host', 'target'], 'conditions': [ ['want_separate_host_toolset', { 'dependencies': ['bytecode_builtins_list_generator#host'], - 'toolsets': ['host', 'target'], }, { 'dependencies': ['bytecode_builtins_list_generator'], }], @@ -242,11 +228,7 @@ { 'target_name': 'v8_init', 'type': 'static_library', - 'conditions': [ - ['want_separate_host_toolset', { - 'toolsets': ['host', 'target'], - }], - ], + 'toolsets': ['host', 'target'], 'dependencies': [ 'generate_bytecode_builtins_list', 'run_torque', @@ -261,6 +243,7 @@ { 'target_name': 'v8_initializers', 'type': 'static_library', + 'toolsets': ['host', 'target'], 'dependencies': [ 'torque_generated_initializers', 'v8_base_without_compiler', @@ -274,9 +257,6 @@ '