Skip to content

Commit

Permalink
Remove merge markers
Browse files Browse the repository at this point in the history
  • Loading branch information
gregestren committed Jul 7, 2023
1 parent c761667 commit 9169620
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -781,19 +781,13 @@ private ImmutableList<ConvenienceSymlink> createConvenienceSymlinks(
if (requestedTargetConfigs.size() == 1) {
// All top-level targets have the same configuration, so use that one.
targetConfigs = requestedTargetConfigs;
<<<<<<< HEAD
} else if (requestedTargetConfigs.contains(configuration)) {
// Mixed configs but at least one of them includes the top-level config. Set symlinks to the
// top-level config so at least non-transitioned targets resolve. See
=======
} else if (requestedTargetConfigs.stream()
.anyMatch(
c -> c.getOutputDirectoryName().equals(configuration.getOutputDirectoryName()))) {
// Mixed configs but at least one matches the top-level config's output path (this doesn't
// mean it's the same as the top-level config: --trim_test_configuration means non-test
// targets use the default output path but lack the top-level config's TestOptions). Set
// symlinks to the top-level config so at least non-transitioned targets resolve. See
>>>>>>> ea02ba53fc (Adjust --top_level_targets_for_symlinks.)
// https://github.com/bazelbuild/bazel/issues/17081.
targetConfigs = ImmutableSet.of(configuration);
} else {
Expand Down

0 comments on commit 9169620

Please sign in to comment.