diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp index a80778d3fa4662..89acbeb345569e 100644 --- a/tools/v8_gypfiles/v8.gyp +++ b/tools/v8_gypfiles/v8.gyp @@ -50,12 +50,12 @@ { 'target_name': 'run_torque', 'type': 'none', + 'toolsets': ['host', 'target'], 'conditions': [ ['want_separate_host_toolset', { 'dependencies': ['torque#host'], - 'toolsets': ['host', 'target'], }, { - 'dependencies': ['torque'], + 'dependencies': ['torque#target'], }], ], 'hard_dependency': 1, @@ -110,11 +110,9 @@ { 'target_name': 'v8_maybe_icu', 'type': 'none', + 'toolsets': ['host', 'target'], 'hard_dependency': 1, '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', @@ -144,12 +138,8 @@ { 'target_name': 'torque_generated_initializers', 'type': 'none', + 'toolsets': ['host', 'target'], 'hard_dependency': 1, - 'conditions': [ - ['want_separate_host_toolset', { - 'toolsets': ['host', 'target'], - }], - ], 'dependencies': [ 'generate_bytecode_builtins_list', 'run_torque', @@ -171,12 +161,8 @@ { 'target_name': 'torque_generated_definitions', 'type': 'none', + 'toolsets': ['host', 'target'], 'hard_dependency': 1, - 'conditions': [ - ['want_separate_host_toolset', { - 'toolsets': ['host', 'target'], - }], - ], 'dependencies': [ 'generate_bytecode_builtins_list', 'run_torque', @@ -204,12 +190,12 @@ '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'], + 'dependencies': ['bytecode_builtins_list_generator#target'], }], ], 'direct_dependent_settings': { @@ -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 @@ '