summaryrefslogtreecommitdiff
path: root/phony
diff options
context:
space:
mode:
author Cole Faust <colefaust@google.com> 2024-07-29 12:24:25 -0700
committer Cole Faust <colefaust@google.com> 2024-07-29 12:24:25 -0700
commitbf1d92ad20340347a5e7775d4760d04fe2a5e9af (patch)
tree252247151afac12507e0bcf944c8194f2530d9c8 /phony
parent2487d8daf4074c5f6e8db0a48eb9226f7bbfab9c (diff)
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
Diffstat (limited to 'phony')
-rw-r--r--phony/phony.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/phony/phony.go b/phony/phony.go
index 5505a3a40..807b95b32 100644
--- a/phony/phony.go
+++ b/phony/phony.go
@@ -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 {