diff --git a/tools/build_defs/framework.bzl b/tools/build_defs/framework.bzl index cd090269b..f33538310 100644 --- a/tools/build_defs/framework.bzl +++ b/tools/build_defs/framework.bzl @@ -4,7 +4,7 @@ load("@bazel_skylib//lib:collections.bzl", "collections") load("@bazel_tools//tools/cpp:toolchain_utils.bzl", "find_cpp_toolchain") -load("@rules_foreign_cc//tools/build_defs:detect_root.bzl", "detect_root", "filter_containing_dirs_from_inputs") +load("@rules_foreign_cc//tools/build_defs:detect_root.bzl", "filter_containing_dirs_from_inputs") load( "@rules_foreign_cc//tools/build_defs:run_shell_file_utils.bzl", "copy_directory", @@ -371,7 +371,7 @@ def cc_external_rule_impl(ctx, attrs): empty.file, wrapped_outputs.log_file, ], - input_manifests = manifests_from_tools + inputs.tools_manifest, + input_manifests = manifests_from_tools + inputs.tools_manifests, tools = depset([wrapped_outputs.script_file] + ctx.files.data, transitive=[inputs.tools_files, inputs_from_tools, cc_toolchain.all_files]), # We should take the default PATH passed by Bazel, not that from cc_toolchain # for Windows, because the PATH under msys2 is different and that is which we need