forked from bazelbuild/bazel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor clarity cleanups for SpawnStrategyRegistry's Builder
Remove unused registerSpawnStrategy(..., List) - easier to figure out how strategies are registered if it's only done via one method. Include "dynamic" in the naming of the mnemonic->strategy maps for dynamic execution, making it more clear that these just apply to dynamic execution (note the main-class variables are already named this way). This should also help casual passerby differentiate these from remoteLocalFallbackStrategy. Finally, logically separate vars by "stuff that's from registerting strategies" and "stuff that configures how strategies are chosen". PiperOrigin-RevId: 460279530 Change-Id: I3729aef95b17324bc3c7b6b3dc46017eac08c849
- Loading branch information
1 parent
943e8cf
commit 9275daa
Showing
1 changed file
with
14 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters