Add a tool to generate manifest files
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
diff --git a/fsverity/Android.bp b/fsverity/Android.bp
index 2fc3c01..040c99b 100644
--- a/fsverity/Android.bp
+++ b/fsverity/Android.bp
@@ -42,6 +42,12 @@
},
}
+python_binary_host {
+ name: "fsverity_manifest_generator",
+ srcs: ["fsverity_manifest_generator.py"],
+ libs: ["fsverity_digests_proto_python"],
+}
+
rust_protobuf {
name: "libfsverity_digests_proto_rust",
crate_name: "fsverity_digests_proto",