summaryrefslogtreecommitdiff
path: root/android/module.go
diff options
context:
space:
mode:
author Spandan Das <spandandas@google.com> 2025-03-05 19:53:31 -0800
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2025-03-05 19:53:31 -0800
commitfec2fa1eebe5fe862574f6ac59badbf7d3ef51db (patch)
treec8bc824cd4187a07c1ab27aae2912948357b3b99 /android/module.go
parente9888be326f764a184afa10553c51a32f9d4c21c (diff)
parent8b81e2805ac3dc1acc446429a99a24d0919ab552 (diff)
Add PartitionTag to CommonModuleInfo am: 31769efdc8 am: 8b81e2805a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3527758 Change-Id: I358f33b3fca7ab05f3dd9a85eb0e7eee2eb2a94a 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