blob: 3db40ba92d319d7942ec11e11c68f58c3ba49eec [file] [log] [blame]
rust_test {
name: "rustBinderTest",
srcs: ["integration.rs"],
rustlibs: [
"libbinder_rs",
"libselinux_bindgen",
],
shared_libs: [
"libselinux",
],
// For the binaries to be pushed properly as specified in AndroidTest.xml,
// this cannot be the same as the module name.
stem: "rustBinderTestClientBinary",
test_suites: ["general-tests"],
}
rust_test {
name: "rustBinderTestService",
srcs: ["integration.rs"],
rustlibs: [
"libbinder_rs",
"liblibc",
],
// For the binaries to be pushed properly as specified in AndroidTest.xml,
// this cannot be the same as the module name.
stem: "rustBinderTestServiceBinary",
test_harness: false,
// TODO(b/164473602): Remove this setting and add the module to `data`
// attribute of rustBinderTest.
auto_gen_config: false,
test_suites: ["general-tests"],
}