diff options
author | Joel Galenson <jgalenson@google.com> | 2021-11-10 08:39:44 -0800 |
---|---|---|
committer | Joel Galenson <jgalenson@google.com> | 2021-11-10 08:39:44 -0800 |
commit | 2540bb1bcb0638c650e116532c31d9e7ef16f387 (patch) | |
tree | 4c8ffc4542fb55a846b5c0b8cdd1f67597bbd718 | |
parent | 30a3cc11e406eb451a4a98ea72309f83c849dc0f (diff) | |
download | jni-sys-2540bb1bcb0638c650e116532c31d9e7ef16f387.tar.gz |
Add back missing tests.
Test: TreeHugger
Change-Id: I5573b65d16a7b2aa99a4fd7077fbcd1dfd74090d
-rw-r--r-- | Android.bp | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -37,6 +37,30 @@ license { ], } +rust_defaults { + name: "jni-sys_test_defaults", + crate_name: "jni_sys", + srcs: ["src/lib.rs"], + cargo_env_compat: true, + cargo_pkg_version: "0.3.0", + test_suites: ["general-tests"], + auto_gen_config: true, + edition: "2015", +} + +rust_test_host { + name: "jni-sys_host_test_src_lib", + defaults: ["jni-sys_test_defaults"], + test_options: { + unit_test: true, + }, +} + +rust_test { + name: "jni-sys_device_test_src_lib", + defaults: ["jni-sys_test_defaults"], +} + rust_library { name: "libjni_sys", host_supported: true, |