Merge "Add bindgen bindings test"

This commit is contained in:
Joel Galenson 2021-08-24 13:09:16 +00:00 committed by Gerrit Code Review
commit f3d05f354e
4 changed files with 40 additions and 0 deletions

View file

@ -57,3 +57,13 @@ rust_library {
"libkeystore2_aaid",
],
}
rust_test {
name: "libkeystore2_aaid_bindgen_test",
srcs: [":libkeystore2_aaid_bindgen"],
crate_name: "keystore2_aaid_bindgen_test",
test_suites: ["general-tests"],
auto_gen_config: true,
clippy_lints: "none",
lints: "none",
}

View file

@ -63,3 +63,13 @@ rust_library {
"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",
}

View file

@ -125,3 +125,13 @@ cc_test {
"libcrypto",
],
}
rust_test {
name: "libkeystore2_crypto_bindgen_test",
srcs: [":libkeystore2_crypto_bindgen"],
crate_name: "keystore2_crypto_bindgen_test",
test_suites: ["general-tests"],
auto_gen_config: true,
clippy_lints: "none",
lints: "none",
}

View file

@ -78,3 +78,13 @@ rust_test {
"libvintf",
],
}
rust_test {
name: "libkeystore2_vintf_bindgen_test",
srcs: [":libkeystore2_vintf_bindgen"],
crate_name: "keystore2_vintf_bindgen_test",
test_suites: ["general-tests"],
auto_gen_config: true,
clippy_lints: "none",
lints: "none",
}