summaryrefslogtreecommitdiff
path: root/filesystem/filesystem.go
diff options
context:
space:
mode:
author Android Build Coastguard Worker <android-build-coastguard-worker@google.com> 2025-03-24 18:26:22 -0700
committer Android Build Coastguard Worker <android-build-coastguard-worker@google.com> 2025-03-24 18:26:22 -0700
commitfc5e8dc9c38db6628ed1d9172161187da74b066f (patch)
treed9f495586f867878d601c34c59eb3c49ec3d5a53 /filesystem/filesystem.go
parent1248ced0cad29018090e65e3762585cdd774e864 (diff)
parentc2e8b6c102f4b4b44e2568f07d95fc674bbd2ef0 (diff)
Snap for 13264465 from c2e8b6c102f4b4b44e2568f07d95fc674bbd2ef0 to 25Q2-release
Change-Id: I6875fd165cc96cc880a3ac7842a516a7b9e70978
Diffstat (limited to 'filesystem/filesystem.go')
-rw-r--r--filesystem/filesystem.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/filesystem/filesystem.go b/filesystem/filesystem.go
index fd1c784ec..c3c3835f6 100644
--- a/filesystem/filesystem.go
+++ b/filesystem/filesystem.go
@@ -249,6 +249,10 @@ type FilesystemProperties struct {
// Whether to enable per-file compression in f2fs
Enable_compression *bool
+
+ // Whether this partition is not supported by flashall.
+ // If true, this partition will not be included in the `updatedpackage` dist artifact.
+ No_flashall *bool
}
type AndroidFilesystemDeps struct {
@@ -464,6 +468,7 @@ type FilesystemInfo struct {
AvbHashAlgorithm string
AvbKey android.Path
PartitionName string
+ NoFlashall bool
// HasOrIsRecovery returns true for recovery and for ramdisks with a recovery partition.
HasOrIsRecovery bool
}
@@ -725,6 +730,7 @@ func (f *filesystem) GenerateAndroidBuildActions(ctx android.ModuleContext) {
PartitionSize: f.properties.Partition_size,
PartitionName: f.partitionName(),
HasOrIsRecovery: f.hasOrIsRecovery(ctx),
+ NoFlashall: proptools.Bool(f.properties.No_flashall),
}
if proptools.Bool(f.properties.Use_avb) {
fsInfo.UseAvb = true