From aa18b710d0c198b35d9018077009a23ff78cc6ca Mon Sep 17 00:00:00 2001 From: Keith Smiley Date: Thu, 21 Apr 2022 22:29:22 -0700 Subject: [PATCH] Fix --use_top_level_targets_for_symlinks with aliases Fixes https://github.com/bazelbuild/bazel/issues/14602 --- .../com/google/devtools/build/lib/buildtool/ExecutionTool.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/google/devtools/build/lib/buildtool/ExecutionTool.java b/src/main/java/com/google/devtools/build/lib/buildtool/ExecutionTool.java index ec026c6933b717..30226267332902 100644 --- a/src/main/java/com/google/devtools/build/lib/buildtool/ExecutionTool.java +++ b/src/main/java/com/google/devtools/build/lib/buildtool/ExecutionTool.java @@ -732,6 +732,7 @@ private ImmutableList createConvenienceSymlinks( Set targetConfigurations = buildRequestOptions.useTopLevelTargetsForSymlinks() ? analysisResult.getTargetsToBuild().stream() + .map(ConfiguredTarget::getActual) .map(ConfiguredTarget::getConfigurationKey) .filter(Objects::nonNull) .distinct()