From 31769efdc845e1f89a4d397ad103566e03bee176 Mon Sep 17 00:00:00 2001 From: Spandan Das Date: Thu, 6 Mar 2025 00:49:57 +0000 Subject: 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 --- android/module.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/android/module.go b/android/module.go index 545753973..a56fea322 100644 --- a/android/module.go +++ b/android/module.go @@ -1915,6 +1915,7 @@ type CommonModuleInfo struct { Dists []Dist ExportedToMake bool Team string + PartitionTag string } type ApiLevelOrPlatform struct { @@ -2282,6 +2283,7 @@ func (m *ModuleBase) GenerateBuildActions(blueprintCtx blueprint.ModuleContext) Dists: m.Dists(), ExportedToMake: m.ExportedToMake(), Team: m.Team(), + PartitionTag: m.PartitionTag(ctx.DeviceConfig()), } if mm, ok := m.module.(interface { MinSdkVersion(ctx EarlyModuleContext) ApiLevel -- cgit v1.2.3-59-g8ed1b