summaryrefslogtreecommitdiff
path: root/fsgen/filesystem_creator.go
diff options
context:
space:
mode:
author Spandan Das <spandandas@google.com> 2025-02-12 19:36:03 +0000
committer Spandan Das <spandandas@google.com> 2025-02-12 21:36:44 +0000
commitb5f40cf0b646a1e1868a05dfb4f8d98bcd19dd0e (patch)
tree121a1a89cd947e35e5cca549ae7af3ad483db04c /fsgen/filesystem_creator.go
parentd71af183064d45dbeccf09553d3876c682dcc843 (diff)
Add ab_ota_partitions prop to android_device
This will be used to generate ab_partitions.txt file in target_files.zip Test: Built soong target_files.zip locally Bug: 388633394 Change-Id: I442c0907094abb4f68fb0c666efae52509aa9538
Diffstat (limited to 'fsgen/filesystem_creator.go')
-rw-r--r--fsgen/filesystem_creator.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/fsgen/filesystem_creator.go b/fsgen/filesystem_creator.go
index 2c2da1772..9217e1c33 100644
--- a/fsgen/filesystem_creator.go
+++ b/fsgen/filesystem_creator.go
@@ -381,8 +381,9 @@ func (f *filesystemCreator) createDeviceModule(
partitionProps.Vbmeta_partitions = vbmetaPartitions
deviceProps := &filesystem.DeviceProperties{
- Main_device: proptools.BoolPtr(true),
- Ab_ota_updater: proptools.BoolPtr(ctx.Config().ProductVariables().PartitionVarsForSoongMigrationOnlyDoNotUse.AbOtaUpdater),
+ Main_device: proptools.BoolPtr(true),
+ Ab_ota_updater: proptools.BoolPtr(ctx.Config().ProductVariables().PartitionVarsForSoongMigrationOnlyDoNotUse.AbOtaUpdater),
+ Ab_ota_partitions: ctx.Config().ProductVariables().PartitionVarsForSoongMigrationOnlyDoNotUse.AbOtaPartitions,
}
if bootloader, ok := f.createBootloaderFilegroup(ctx); ok {
deviceProps.Bootloader = proptools.StringPtr(":" + bootloader)