summaryrefslogtreecommitdiff
path: root/android/module.go
diff options
context:
space:
mode:
author Spandan Das <spandandas@google.com> 2025-03-05 19:16:49 -0800
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2025-03-05 19:16:49 -0800
commit8b81e2805ac3dc1acc446429a99a24d0919ab552 (patch)
tree7482909b7d468e5b967b166f1162382ab904d706 /android/module.go
parentf3f92ebf2707f0e8c1cb780842edb4790699feb4 (diff)
parent31769efdc845e1f89a4d397ad103566e03bee176 (diff)
Add PartitionTag to CommonModuleInfo am: 31769efdc8
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3527758 Change-Id: I6cb04496ea5b54a24964ad3c2832912d1e5ca149 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'android/module.go')
-rw-r--r--android/module.go2
1 files changed, 2 insertions, 0 deletions
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