summaryrefslogtreecommitdiff
path: root/android/variable.go
diff options
context:
space:
mode:
author Zi Wang <mrziwang@google.com> 2024-12-05 18:44:06 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2024-12-05 18:44:06 +0000
commit6cba6573f7ff997a14fc05fda064c2855fb3669c (patch)
tree83e5ae43d66905c34629ad3ea5f4b012128b15da /android/variable.go
parentac486a68217f0cb1c0ddf65db60a4e7376375407 (diff)
parentdb55b7aaf42941ff026d66bcb707460019969cd4 (diff)
Merge "Add super_image module type and create super image module in fsgen" into main am: a242492bb7 am: db55b7aaf4
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3389110 Change-Id: Iec678109d2e55a40d0877ce6b3ae7e2e030c6f3b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'android/variable.go')
-rw-r--r--android/variable.go17
1 files changed, 17 insertions, 0 deletions
diff --git a/android/variable.go b/android/variable.go
index 3829f483b..e0121039e 100644
--- a/android/variable.go
+++ b/android/variable.go
@@ -582,6 +582,11 @@ type PartitionQualifiedVariablesType struct {
BoardAvbRollbackIndexLocation string `json:",omitempty"`
}
+type BoardSuperPartitionGroupProps struct {
+ GroupSize string `json:",omitempty"`
+ PartitionList []string `json:",omitempty"`
+}
+
type ChainedAvbPartitionProps struct {
Partitions []string `json:",omitempty"`
Key string `json:",omitempty"`
@@ -635,6 +640,18 @@ type PartitionVariables struct {
InternalBootconfig []string `json:",omitempty"`
InternalBootconfigFile string `json:",omitempty"`
+ // Super image stuff
+ ProductUseDynamicPartitions bool `json:",omitempty"`
+ ProductRetrofitDynamicPartitions bool `json:",omitempty"`
+ ProductBuildSuperPartition bool `json:",omitempty"`
+ BoardSuperPartitionSize string `json:",omitempty"`
+ BoardSuperPartitionMetadataDevice string `json:",omitempty"`
+ BoardSuperPartitionBlockDevices []string `json:",omitempty"`
+ BoardSuperPartitionGroups map[string]BoardSuperPartitionGroupProps `json:",omitempty"`
+ ProductVirtualAbOta bool `json:",omitempty"`
+ ProductVirtualAbOtaRetrofit bool `json:",omitempty"`
+ AbOtaUpdater bool `json:",omitempty"`
+
// Avb (android verified boot) stuff
BoardAvbEnable bool `json:",omitempty"`
BoardAvbAlgorithm string `json:",omitempty"`