summaryrefslogtreecommitdiff
path: root/phony
diff options
context:
space:
mode:
author Cole Faust <colefaust@google.com> 2024-06-17 12:32:40 -0700
committer Cole Faust <colefaust@google.com> 2024-06-17 12:32:40 -0700
commit43ddd08bd2b9af64cfbc58e2abf346be1b438d61 (patch)
tree83421f00a8a02ef2fcf993586c47a35d641d9c0f /phony
parent7dc42aa7afeb7fa9f630896d27959aba9f0f685b (diff)
Make required a configurable property
So that users can use select statements with it. Fixes: 347605145 Bug: 342006386 Test: m nothing --no-skip-soong-tests Change-Id: Ica0ca6d1725b000b3748c0293e5a9f9b38ed87f9
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 54692386a..b421176be 100644
--- a/phony/phony.go
+++ b/phony/phony.go
@@ -49,7 +49,7 @@ func PhonyFactory() android.Module {
}
func (p *phony) GenerateAndroidBuildActions(ctx android.ModuleContext) {
- p.requiredModuleNames = ctx.RequiredModuleNames()
+ p.requiredModuleNames = ctx.RequiredModuleNames(ctx)
p.hostRequiredModuleNames = ctx.HostRequiredModuleNames()
p.targetRequiredModuleNames = ctx.TargetRequiredModuleNames()
}