| 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"], |
| } |