Skip to content

Commit

Permalink
Remove SkyframeExecutor.getConfigurationForTesting.
Browse files Browse the repository at this point in the history
Work towards platform-based flags: #19409.

PiperOrigin-RevId: 597221978
Change-Id: I9740eea9d91b384548b45260fa9c69b2a8302197
  • Loading branch information
katre authored and copybara-github committed Jan 10, 2024
1 parent 56f5d96 commit 4603a3a
Showing 1 changed file with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3744,22 +3744,6 @@ protected void invalidateFilesUnderPathForTestingImpl(
invalidateTransientErrors();
}

/** Returns a dynamic configuration constructed from the given build options. */
@VisibleForTesting
public BuildConfigurationValue getConfigurationForTesting(
ExtendedEventHandler eventHandler, BuildOptions options)
throws InterruptedException, InvalidConfigurationException {
BuildConfigurationKey buildConfigurationKey =
createBuildConfigurationKey(eventHandler, options);
return (BuildConfigurationValue)
evaluate(
ImmutableList.of(buildConfigurationKey),
/* keepGoing= */ false,
/* numThreads= */ DEFAULT_THREAD_COUNT,
eventHandler)
.get(buildConfigurationKey);
}

/** Returns a particular configured target. */
@VisibleForTesting
@Nullable
Expand Down

0 comments on commit 4603a3a

Please sign in to comment.