By accepting empty file list, it allows the build rule to generate the
build_manifest.pb unconditionally. Consequently, the consuming code in
composd won't need to handle the empty case (which requires parsing the
zip entry if it's done on the host side).
Bug: 256793394
Test: m
Change-Id: I69cdfb46bb0d54a13bd72a9755b53a594e044f06
Since the fsverity build manifest is used in CompOS, run its test in
presubmit here.
Bug: N/A
Test: TH
Change-Id: If8f86774635dc7e143035b5b4b49f88c01f22ca7
This logic was previously part of the BuildManifest.apk generation but
it's split out so that it can be used in other contexts such as the
authfs test which consume the manifest.
Bug: 237384936
Test: atest AuthFsHostTest
Change-Id: I93ee4c03edc9b43c4dfbf159f70913c075b82766
Added SPDX-license-identifier-Apache-2.0 to:
fsverity/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Change-Id: I30207a7b9fd396972fc56c7e96124ee88e080c69
fsverity_digests will be used as a mapping file from files to their
fsverity digest, under system/etc/security/fsverity/BuildManifest.apk
Bug: 193113311
Test: build with PRODUCT_SYSTEM_FSVERITY_GENERATE_METADATA := true
Change-Id: I35da5e3bdbfc82e7baf5dc1c3f8ddf5fed951373