summaryrefslogtreecommitdiff
path: root/filesystem/filesystem.go
diff options
context:
space:
mode:
author Spandan Das <spandandas@google.com> 2025-03-06 15:26:01 -0800
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2025-03-06 15:26:01 -0800
commit87f1f1ee088097fa1ed16304d6ffeee32b58bdd5 (patch)
treee237fdc2b79ab033f44d4a3852d83be7c93c4e58 /filesystem/filesystem.go
parente411efdba94149d02d0975eda001c18eb3f18b61 (diff)
parent38afe711d13e01ca1d5db96dd018a1044ee4f3aa (diff)
Merge "Create apkcerts.txt using Soong" into main
Diffstat (limited to 'filesystem/filesystem.go')
-rw-r--r--filesystem/filesystem.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/filesystem/filesystem.go b/filesystem/filesystem.go
index 35fdd00a3..8b3b51e89 100644
--- a/filesystem/filesystem.go
+++ b/filesystem/filesystem.go
@@ -438,6 +438,8 @@ type FilesystemInfo struct {
Owners []InstalledModuleInfo
UseAvb bool
+
+ HasFsverity bool
}
// FullInstallPathInfo contains information about the "full install" paths of all the files
@@ -683,6 +685,7 @@ func (f *filesystem) GenerateAndroidBuildActions(ctx android.ModuleContext) {
FilesystemConfig: f.generateFilesystemConfig(ctx, rootDir, rebasedDir),
Owners: f.gatherOwners(specs),
UseAvb: proptools.Bool(f.properties.Use_avb),
+ HasFsverity: f.properties.Fsverity.Inputs.GetOrDefault(ctx, nil) != nil,
}
android.SetProvider(ctx, FilesystemProvider, fsInfo)