Propagate AconfigFiles in ModuleBase.
Aconfig file dependencies are module-independent, and properly part of ModuleBase. Bug: b/308625757 Test: manual Change-Id: I38c5907d1671cc69bb198345201316ae781fdc9f
This commit is contained in:
@@ -231,6 +231,10 @@ func (bpf *bpf) AndroidMk() android.AndroidMkData {
|
||||
fmt.Fprintln(w, "LOCAL_MODULE_STEM :=", obj.Base())
|
||||
fmt.Fprintln(w, "LOCAL_MODULE_CLASS := ETC")
|
||||
fmt.Fprintln(w, localModulePath)
|
||||
// AconfigUpdateAndroidMkData may have added elements to Extra. Process them here.
|
||||
for _, extra := range data.Extra {
|
||||
extra(w, nil)
|
||||
}
|
||||
fmt.Fprintln(w, "include $(BUILD_PREBUILT)")
|
||||
fmt.Fprintln(w)
|
||||
}
|
||||
|
Reference in New Issue
Block a user