Add bindgen bindings test
Note that some of these are currently no-op tests that do nothing.
But this makes them future proof in case we add more later.
Test: atest
Change-Id: I22914e36568d5808ab60541354e5585a1aeebd44
diff --git a/keystore2/apc_compat/Android.bp b/keystore2/apc_compat/Android.bp
index bf21675..df7521e 100644
--- a/keystore2/apc_compat/Android.bp
+++ b/keystore2/apc_compat/Android.bp
@@ -63,3 +63,13 @@
"libkeystore2_apc_compat",
],
}
+
+rust_test {
+ name: "libkeystore2_apc_compat_bindgen_test",
+ srcs: [":libkeystore2_apc_compat_bindgen"],
+ crate_name: "keystore2_apc_compat_bindgen_test",
+ test_suites: ["general-tests"],
+ auto_gen_config: true,
+ clippy_lints: "none",
+ lints: "none",
+}