Remove unnecessary injection of precomputed values. Precomputed values are injected in BlazeCommandDispatcher#execExclusively.
@@ -501,12 +501,8 @@ public final class CommandEnvironment {
*/
public void setupPackageCache(OptionsClassProvider options,
String defaultsPackageContents) throws InterruptedException, AbruptExitException {
- SkyframeExecutor skyframeExecutor = getSkyframeExecutor();
-
- for (BlazeModule module : runtime.getBlazeModules()) {
- skyframeExecutor.injectExtraPrecomputedValues(module.getPrecomputedValues());
- }
- skyframeExecutor.sync(
+ getSkyframeExecutor()
+ .sync(
reporter,
options.getOptions(PackageCacheOptions.class),
options.getOptions(SkylarkSemanticsOptions.class),
