summaryrefslogtreecommitdiff
path: root/phony
diff options
context:
space:
mode:
author LaMont Jones <lamontjones@google.com> 2024-01-10 23:42:36 +0000
committer LaMont Jones <lamontjones@google.com> 2024-01-24 23:45:12 +0000
commitb509938e4f2a4bf64d2eae323a489739b7344b2f (patch)
treea7c094e53880ba3465be200dcc81c047cdced9e2 /phony
parentdbc88dc4d054872a5e54fd9d23e1026ed6553bdc (diff)
Propagate AconfigFiles in ModuleBase.
Aconfig file dependencies are module-independent, and properly part of ModuleBase. Bug: b/308625757 Test: manual Change-Id: I38c5907d1671cc69bb198345201316ae781fdc9f
Diffstat (limited to 'phony')
-rw-r--r--phony/phony.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/phony/phony.go b/phony/phony.go
index bb4878899..b8dbd00d0 100644
--- a/phony/phony.go
+++ b/phony/phony.go
@@ -68,6 +68,10 @@ func (p *phony) AndroidMk() android.AndroidMkData {
fmt.Fprintln(w, "LOCAL_TARGET_REQUIRED_MODULES :=",
strings.Join(p.targetRequiredModuleNames, " "))
}
+ // AconfigUpdateAndroidMkData may have added elements to Extra. Process them here.
+ for _, extra := range data.Extra {
+ extra(w, nil)
+ }
fmt.Fprintln(w, "include $(BUILD_PHONY_PACKAGE)")
},
}