summaryrefslogtreecommitdiff
path: root/filesystem
diff options
context:
space:
mode:
author Spandan Das <spandandas@google.com> 2025-03-10 17:29:53 +0000
committer Spandan Das <spandandas@google.com> 2025-03-10 17:34:56 +0000
commit9284f67fe48e32bb43736942f4ec4a5f8b1d905f (patch)
treeee650e3be8ce08356fc011beb089e601f259abc6 /filesystem
parent4a053d74d73a4826530d1b06be8aa5ad55212ff2 (diff)
Remove ab_update=true from dynamic_partition_list.txt
When building with Make, this entry is present only in misc_info.txt and not not in dynamic_partition_list.txt. This entry gets added to the first file via `dump-super-image-info`. This CL ports this behavior to Soong by moving this entry out of `dumpDynamicPartitionInfo` and into `buildMiscInfo` Bug: 399788100 Test: Verified that this entry is present in Soong's misc_info.txt Test: Verified that this entry is absent in Soong's dynamic_partition_info.txt Change-Id: I98384510c7f47c403ca5d7edbf863e513c9d503d
Diffstat (limited to 'filesystem')
-rw-r--r--filesystem/super_image.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/filesystem/super_image.go b/filesystem/super_image.go
index 9e4412c13..51080258c 100644
--- a/filesystem/super_image.go
+++ b/filesystem/super_image.go
@@ -200,6 +200,7 @@ func (s *superImage) buildMiscInfo(ctx android.ModuleContext) (android.Path, and
miscInfoString.WriteString(value)
miscInfoString.WriteRune('\n')
}
+ addStr("ab_update", strconv.FormatBool(proptools.Bool(s.properties.Ab_update)))
subImageInfo := make(map[string]FilesystemInfo)
var deps android.Paths
@@ -329,8 +330,6 @@ func (s *superImage) dumpDynamicPartitionInfo(ctx android.ModuleContext, sb *str
addStr("super_partition_groups", strings.Join(groups, " "))
addStr("dynamic_partition_list", strings.Join(partitionList, " "))
- addStr("ab_update", strconv.FormatBool(proptools.Bool(s.properties.Ab_update)))
-
if proptools.Bool(s.properties.Virtual_ab.Enable) {
addStr("virtual_ab", "true")
if proptools.Bool(s.properties.Virtual_ab.Retrofit) {