Skip to content

Commit bdd93e8

Browse files
PikachuHyAcopybara-github
authored andcommitted
Add DEPS_SCANNER_OUTPUT_FILE env variable for cpp_module_deps_scanning action
Copybara Import from #428 BEGIN_PUBLIC Add DEPS_SCANNER_OUTPUT_FILE env variable for cpp_module_deps_scanning action (#428) see bazelbuild/bazel#22553 (comment) Closes #428 END_PUBLIC COPYBARA_INTEGRATE_REVIEW=#428 from PikachuHyA:env_entry c668abd PiperOrigin-RevId: 780093903 Change-Id: I0762df638e30054ce33e051522f22ad5a89e633f
1 parent fe41fc4 commit bdd93e8

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

cc/private/toolchain/unix_cc_toolchain_config.bzl

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -563,6 +563,20 @@ def _impl(ctx):
563563
],
564564
),
565565
],
566+
env_sets = [
567+
env_set(
568+
actions = [
569+
ACTION_NAMES.cpp_module_deps_scanning,
570+
],
571+
env_entries = [
572+
env_entry(
573+
key = "DEPS_SCANNER_OUTPUT_FILE",
574+
value = "%{output_file}",
575+
expand_if_available = "output_file",
576+
),
577+
],
578+
),
579+
],
566580
)
567581

568582
fdo_optimize_feature = feature(

0 commit comments

Comments
 (0)