By setting fsverity.inputs, android_filesystem can now generate .fsv_meta and BuildManifest.apk. It has been done by Makefile because Makefile is the only one knowing all installed files. But now android_filesystem is aware of all artifacts, so we can move fsverity metadata generation into Soong. Bug: 330282551 Test: m aosp_cf_system_x86_64 and see output Change-Id: Iae4dd83eaede960c263bfba537211df4ff4b36bd
33 lines
731 B
Plaintext
33 lines
731 B
Plaintext
package {
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
}
|
|
|
|
bootstrap_go_package {
|
|
name: "soong-filesystem",
|
|
pkgPath: "android/soong/filesystem",
|
|
deps: [
|
|
"blueprint",
|
|
"soong",
|
|
"soong-android",
|
|
"soong-bpf", // for testing
|
|
"soong-phony", // for testing
|
|
"soong-linkerconfig",
|
|
],
|
|
srcs: [
|
|
"avb_add_hash_footer.go",
|
|
"avb_gen_vbmeta_image.go",
|
|
"bootimg.go",
|
|
"filesystem.go",
|
|
"fsverity_metadata.go",
|
|
"logical_partition.go",
|
|
"raw_binary.go",
|
|
"system_image.go",
|
|
"vbmeta.go",
|
|
"testing.go",
|
|
],
|
|
testSrcs: [
|
|
"filesystem_test.go",
|
|
],
|
|
pluginFor: ["soong_build"],
|
|
}
|