From 447a0abb34add572c12c50de97dbfa3a4edaf245 Mon Sep 17 00:00:00 2001 From: Spandan Das Date: Tue, 4 Mar 2025 23:10:19 +0000 Subject: Create a partial implementation of $PRODUCT_OUT/misc_info.txt This file is packaged into META/target_files.zip. It is also an implicit input for `add_img_to_target_files` invocation, which creates additional metadata files for target_files.zip like apex_info.pb, care_map.pb and vbmeta_digest.txt This CL implements the minimum fields necessary to run `add_img_to_target_files`. Bug: 399788119 Test: Built target_files.zip locally. Test: Verified META/misc_info.txt exists, but is not identical to make Change-Id: I52b9c9ff7b33e74d79b9321aa94312397a830693 --- filesystem/filesystem.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'filesystem/filesystem.go') diff --git a/filesystem/filesystem.go b/filesystem/filesystem.go index fc480e6f0..35fdd00a3 100644 --- a/filesystem/filesystem.go +++ b/filesystem/filesystem.go @@ -436,6 +436,8 @@ type FilesystemInfo struct { FilesystemConfig android.Path Owners []InstalledModuleInfo + + UseAvb bool } // FullInstallPathInfo contains information about the "full install" paths of all the files @@ -680,6 +682,7 @@ func (f *filesystem) GenerateAndroidBuildActions(ctx android.ModuleContext) { SelinuxFc: f.selinuxFc, FilesystemConfig: f.generateFilesystemConfig(ctx, rootDir, rebasedDir), Owners: f.gatherOwners(specs), + UseAvb: proptools.Bool(f.properties.Use_avb), } android.SetProvider(ctx, FilesystemProvider, fsInfo) -- cgit v1.2.3-59-g8ed1b