Add PartitionTag to CommonModuleInfo
This will be used to generate apkcerts.txt, which contains an entry
about the partition in which the app is installed.
Bug: 399788149
Test: go build ./android
Change-Id: I08c2e0d6619c941624b92b4fbe2a7349a696b62b
diff --git a/android/module.go b/android/module.go
index 5457539..a56fea3 100644
--- a/android/module.go
+++ b/android/module.go
@@ -1915,6 +1915,7 @@
Dists []Dist
ExportedToMake bool
Team string
+ PartitionTag string
}
type ApiLevelOrPlatform struct {
@@ -2282,6 +2283,7 @@
Dists: m.Dists(),
ExportedToMake: m.ExportedToMake(),
Team: m.Team(),
+ PartitionTag: m.PartitionTag(ctx.DeviceConfig()),
}
if mm, ok := m.module.(interface {
MinSdkVersion(ctx EarlyModuleContext) ApiLevel