aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp27
1 files changed, 24 insertions, 3 deletions
diff --git a/Android.bp b/Android.bp
index 21682b8..8149825 100644
--- a/Android.bp
+++ b/Android.bp
@@ -23,7 +23,7 @@ rust_test {
host_supported: true,
crate_name: "argh",
cargo_env_compat: true,
- cargo_pkg_version: "0.1.10",
+ cargo_pkg_version: "0.1.12",
srcs: ["src/lib.rs"],
test_suites: ["general-tests"],
auto_gen_config: true,
@@ -39,11 +39,32 @@ rust_test {
}
rust_test {
+ name: "argh_test_tests_args_info_tests",
+ host_supported: true,
+ crate_name: "args_info_tests",
+ cargo_env_compat: true,
+ cargo_pkg_version: "0.1.12",
+ srcs: ["tests/args_info_tests.rs"],
+ test_suites: ["general-tests"],
+ auto_gen_config: true,
+ test_options: {
+ unit_test: true,
+ },
+ edition: "2018",
+ rustlibs: [
+ "libargh",
+ "libargh_shared",
+ "libonce_cell",
+ ],
+ proc_macros: ["libargh_derive"],
+}
+
+rust_test {
name: "argh_test_tests_lib",
host_supported: true,
crate_name: "lib",
cargo_env_compat: true,
- cargo_pkg_version: "0.1.10",
+ cargo_pkg_version: "0.1.12",
srcs: ["tests/lib.rs"],
test_suites: ["general-tests"],
auto_gen_config: true,
@@ -64,7 +85,7 @@ rust_library {
host_supported: true,
crate_name: "argh",
cargo_env_compat: true,
- cargo_pkg_version: "0.1.10",
+ cargo_pkg_version: "0.1.12",
srcs: ["src/lib.rs"],
edition: "2018",
rustlibs: ["libargh_shared"],