diff options
-rw-r--r-- | Android.bp | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -47,7 +47,7 @@ rust_test { crate_name: "crossbeam_utils", cargo_env_compat: true, cargo_pkg_version: "0.8.19", - srcs: ["src/lib.rs"], + crate_root: "src/lib.rs", test_suites: ["general-tests"], auto_gen_config: true, test_options: { @@ -67,7 +67,7 @@ rust_test { crate_name: "atomic_cell", cargo_env_compat: true, cargo_pkg_version: "0.8.19", - srcs: ["tests/atomic_cell.rs"], + crate_root: "tests/atomic_cell.rs", test_suites: ["general-tests"], auto_gen_config: true, test_options: { @@ -90,7 +90,7 @@ rust_test { crate_name: "cache_padded", cargo_env_compat: true, cargo_pkg_version: "0.8.19", - srcs: ["tests/cache_padded.rs"], + crate_root: "tests/cache_padded.rs", test_suites: ["general-tests"], auto_gen_config: true, test_options: { @@ -113,7 +113,7 @@ rust_test { crate_name: "parker", cargo_env_compat: true, cargo_pkg_version: "0.8.19", - srcs: ["tests/parker.rs"], + crate_root: "tests/parker.rs", test_suites: ["general-tests"], auto_gen_config: true, test_options: { @@ -136,7 +136,7 @@ rust_test { crate_name: "sharded_lock", cargo_env_compat: true, cargo_pkg_version: "0.8.19", - srcs: ["tests/sharded_lock.rs"], + crate_root: "tests/sharded_lock.rs", test_suites: ["general-tests"], auto_gen_config: true, test_options: { @@ -159,7 +159,7 @@ rust_test { crate_name: "thread", cargo_env_compat: true, cargo_pkg_version: "0.8.19", - srcs: ["tests/thread.rs"], + crate_root: "tests/thread.rs", test_suites: ["general-tests"], auto_gen_config: true, test_options: { @@ -182,7 +182,7 @@ rust_test { crate_name: "wait_group", cargo_env_compat: true, cargo_pkg_version: "0.8.19", - srcs: ["tests/wait_group.rs"], + crate_root: "tests/wait_group.rs", test_suites: ["general-tests"], auto_gen_config: true, test_options: { @@ -205,7 +205,7 @@ rust_library { crate_name: "crossbeam_utils", cargo_env_compat: true, cargo_pkg_version: "0.8.19", - srcs: ["src/lib.rs"], + crate_root: "src/lib.rs", edition: "2021", features: [ "default", |