Simplify the signature of getSkylarkImportLookupFunctionForInlining
@@ -371,7 +371,7 @@ public abstract class SkyframeExecutor implements WalkableGraphFactory {
ConfiguredRuleClassProvider ruleClassProvider =
(ConfiguredRuleClassProvider) pkgFactory.getRuleClassProvider();
SkylarkImportLookupFunction skylarkImportLookupFunctionForInlining =
- getSkylarkImportLookupFunctionForInlining(ruleClassProvider, pkgFactory);
+ getSkylarkImportLookupFunctionForInlining();
// TODO(janakr): use this semaphore to bound memory usage for SkyFunctions besides
// ConfiguredTargetFunction that may have a large temporary memory blow-up.
Semaphore cpuBoundSemaphore = new Semaphore(ResourceUsage.getAvailableProcessors());
@@ -512,8 +512,7 @@ public abstract class SkyframeExecutor implements WalkableGraphFactory {
}
@Nullable
- protected SkylarkImportLookupFunction getSkylarkImportLookupFunctionForInlining(
- RuleClassProvider ruleClassProvider, PackageFactory packageFactory) {
+ protected SkylarkImportLookupFunction getSkylarkImportLookupFunctionForInlining() {
return null;
}
