Cleanup configurable getter usages
You don't have to call module.ConfigurableEvaluator(ctx) if ctx is already a ModuleContext, you only need to do that for more restricted contexts like SingletonContext. Bug: 323382414 Test: m nothing --no-skip-soong-tests Change-Id: I7612290d43dae7decfae283a341882d9016c98a3
This commit is contained in:
@@ -112,7 +112,7 @@ func PhonyRuleFactory() android.Module {
|
||||
}
|
||||
|
||||
func (p *PhonyRule) GenerateAndroidBuildActions(ctx android.ModuleContext) {
|
||||
p.phonyDepsModuleNames = p.properties.Phony_deps.GetOrDefault(p.ConfigurableEvaluator(ctx), nil)
|
||||
p.phonyDepsModuleNames = p.properties.Phony_deps.GetOrDefault(ctx, nil)
|
||||
}
|
||||
|
||||
func (p *PhonyRule) AndroidMk() android.AndroidMkData {
|
||||
|
Reference in New Issue
Block a user