Add generated form AIDL interface sources.
This is a temporary solution until crates can be built form AIDL
directly.
Test: None
Change-Id: I36e8a65e58a464b98ee035a2b0e78f43c39719fc
diff --git a/keystore2/Android.bp b/keystore2/Android.bp
index bf78574..d3805cb 100644
--- a/keystore2/Android.bp
+++ b/keystore2/Android.bp
@@ -48,3 +48,32 @@
srcs: ["src/aidl_generated.rs"],
}
+
+// This is a placeholder for the libraries that will be generated from the AIDL specs
+// eventually.
+rust_library {
+ name: "libandroid_hardware_keymint",
+ crate_name: "android_hardware_keymint",
+
+ srcs: ["src/android_hardware_keymint.rs"],
+
+ rustlibs: [
+ "libbinder_rs",
+ "liblazy_static",
+ ],
+}
+
+// This is a placeholder for the libraries that will be generated from the AIDL specs
+// eventually.
+rust_library {
+ name: "libandroid_security_keystore2",
+ crate_name: "android_security_keystore2",
+
+ srcs: ["src/android_security_keystore2.rs"],
+
+ rustlibs: [
+ "libandroid_hardware_keymint",
+ "libbinder_rs",
+ "liblazy_static",
+ ],
+}