From 30d4ab616770e806ba79e9acc9665fd4bfcf31ad Mon Sep 17 00:00:00 2001 From: Joel Galenson Date: Mon, 23 Aug 2021 13:46:03 -0700 Subject: [PATCH] Add bindgen bindings test Note that this is currently a no-op test that does nothing. But this makes it future proof in case we add more later. Test: atest Change-Id: I23817febd2122f54c40958541fc66363d38b60ca --- libstats/pull_rust/Android.bp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/libstats/pull_rust/Android.bp b/libstats/pull_rust/Android.bp index 2a89e296e..f07e32be7 100644 --- a/libstats/pull_rust/Android.bp +++ b/libstats/pull_rust/Android.bp @@ -57,3 +57,13 @@ rust_library { "libstatspull_bindgen", ], } + +rust_test { + name: "libstatspull_bindgen_test", + srcs: [":libstatspull_bindgen"], + crate_name: "statspull_bindgen_test", + test_suites: ["general-tests"], + auto_gen_config: true, + clippy_lints: "none", + lints: "none", +}