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 <keithbsmiley@gmail.com>
  • Loading branch information
ckolli5 and keith committed May 10, 2022
1 parent c8b6496 commit 451861e
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 451861e

Please sign in to comment.