Skip to content

Commit

Permalink
Fix --use_top_level_targets_for_symlinks with aliases (#15446)
Browse files Browse the repository at this point in the history
Fixes #14602

Closes #15316.

PiperOrigin-RevId: 444970714

Co-authored-by: Keith Smiley <[email protected]>
  • Loading branch information
2 people authored and meteorcloudy committed May 10, 2022
1 parent e1ea2a9 commit 2649c7c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,7 @@ private ImmutableList<ConvenienceSymlink> createConvenienceSymlinks(
Set<BuildConfiguration> targetConfigurations =
buildRequestOptions.useTopLevelTargetsForSymlinks()
? analysisResult.getTargetsToBuild().stream()
.map(ConfiguredTarget::getActual)
.map(ConfiguredTarget::getConfigurationKey)
.filter(Objects::nonNull)
.distinct()
Expand Down

0 comments on commit 2649c7c

Please sign in to comment.