summaryrefslogtreecommitdiff
path: root/verity
diff options
context:
space:
mode:
Diffstat (limited to 'verity')
-rw-r--r--verity/Android.bp20
-rw-r--r--verity/Android.mk27
2 files changed, 20 insertions, 27 deletions
diff --git a/verity/Android.bp b/verity/Android.bp
index f0460db2..550b800b 100644
--- a/verity/Android.bp
+++ b/verity/Android.bp
@@ -130,3 +130,23 @@ cc_test {
"libverity_tree",
],
}
+
+// VeritySigner should probably just be a java_binary
+sh_binary_host {
+ name: "verity_signer",
+ src: "verity_signer",
+ required: ["VeritySigner"],
+}
+
+// BootSignature should probably just be a java_binary
+sh_binary_host {
+ name: "boot_signer",
+ src: "boot_signer",
+ required: ["BootSignature"],
+}
+
+// This should probably be a python_binary_host
+sh_binary_host {
+ name: "build_verity_metadata.py",
+ src: "build_verity_metadata.py",
+}
diff --git a/verity/Android.mk b/verity/Android.mk
deleted file mode 100644
index 4cf136a0..00000000
--- a/verity/Android.mk
+++ /dev/null
@@ -1,27 +0,0 @@
-LOCAL_PATH:= $(call my-dir)
-
-include $(CLEAR_VARS)
-LOCAL_SRC_FILES := verity_signer
-LOCAL_MODULE := verity_signer
-LOCAL_MODULE_CLASS := EXECUTABLES
-LOCAL_IS_HOST_MODULE := true
-LOCAL_MODULE_TAGS := optional
-LOCAL_REQUIRED_MODULES := VeritySigner
-include $(BUILD_PREBUILT)
-
-include $(CLEAR_VARS)
-LOCAL_SRC_FILES := boot_signer
-LOCAL_MODULE := boot_signer
-LOCAL_MODULE_CLASS := EXECUTABLES
-LOCAL_IS_HOST_MODULE := true
-LOCAL_MODULE_TAGS := optional
-LOCAL_REQUIRED_MODULES := BootSignature
-include $(BUILD_PREBUILT)
-
-include $(CLEAR_VARS)
-LOCAL_MODULE := build_verity_metadata.py
-LOCAL_MODULE_CLASS := EXECUTABLES
-LOCAL_SRC_FILES := build_verity_metadata.py
-LOCAL_IS_HOST_MODULE := true
-LOCAL_MODULE_TAGS := optional
-include $(BUILD_PREBUILT)