From cf6c94b12933a2d6c0604d7482591636db82f4f8 Mon Sep 17 00:00:00 2001 From: Keith Smiley Date: Wed, 27 Apr 2022 14:40:28 -0700 Subject: [PATCH] Fix --use_top_level_targets_for_symlinks with aliases Fixes https://github.com/bazelbuild/bazel/issues/14602 Closes #15316. PiperOrigin-RevId: 444970714 --- .../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()