blob: 3db40ba92d319d7942ec11e11c68f58c3ba49eec [file] [log] [blame]
Stephen Crane2a3c2502020-06-16 17:48:35 -07001rust_test {
2 name: "rustBinderTest",
3 srcs: ["integration.rs"],
4 rustlibs: [
5 "libbinder_rs",
Janis Danisevskis798a09a2020-08-18 08:35:38 -07006 "libselinux_bindgen",
7 ],
8 shared_libs: [
9 "libselinux",
Stephen Crane2a3c2502020-06-16 17:48:35 -070010 ],
11 // For the binaries to be pushed properly as specified in AndroidTest.xml,
12 // this cannot be the same as the module name.
13 stem: "rustBinderTestClientBinary",
14 test_suites: ["general-tests"],
15}
16
17rust_test {
18 name: "rustBinderTestService",
19 srcs: ["integration.rs"],
20 rustlibs: [
21 "libbinder_rs",
22 "liblibc",
23 ],
24 // For the binaries to be pushed properly as specified in AndroidTest.xml,
25 // this cannot be the same as the module name.
26 stem: "rustBinderTestServiceBinary",
27 test_harness: false,
Dan Shif80ad1a2020-08-14 12:51:32 -070028 // TODO(b/164473602): Remove this setting and add the module to `data`
29 // attribute of rustBinderTest.
30 auto_gen_config: false,
31 test_suites: ["general-tests"],
Stephen Crane2a3c2502020-06-16 17:48:35 -070032}