Skip to content

Commit

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

Closes #15316.

PiperOrigin-RevId: 444970714
  • Loading branch information
keith authored and copybara-github committed Apr 27, 2022
1 parent 2f9f842 commit cf6c94b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -732,6 +732,7 @@ private ImmutableList<ConvenienceSymlink> createConvenienceSymlinks(
Set<BuildConfigurationValue> targetConfigurations =
buildRequestOptions.useTopLevelTargetsForSymlinks()
? analysisResult.getTargetsToBuild().stream()
.map(ConfiguredTarget::getActual)
.map(ConfiguredTarget::getConfigurationKey)
.filter(Objects::nonNull)
.distinct()
Expand Down

0 comments on commit cf6c94b

Please sign in to comment.