diff options
author | James Farrell <jamesfarrell@google.com> | 2024-05-20 16:58:08 +0000 |
---|---|---|
committer | James Farrell <jamesfarrell@google.com> | 2024-05-20 16:58:08 +0000 |
commit | d0a21ff1bea6f286ff01217d9a7440517ef47bae (patch) | |
tree | ea9cfb0c7543e22cc8b44d74af8ca350a066c767 | |
parent | fbbfcdc8ca12f0be9828773e5949900507f72771 (diff) | |
download | getrandom-main.tar.gz |
Test: ran cargo_embargo
Change-Id: I729e74d860fdf4608888351b51b12afe2aeb5b59
-rw-r--r-- | Android.bp | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -45,7 +45,7 @@ rust_test { crate_name: "getrandom", cargo_env_compat: true, cargo_pkg_version: "0.2.12", - srcs: ["src/lib.rs"], + crate_root: "src/lib.rs", test_suites: ["general-tests"], auto_gen_config: true, test_options: { @@ -65,7 +65,7 @@ rust_test { crate_name: "normal", cargo_env_compat: true, cargo_pkg_version: "0.2.12", - srcs: ["tests/normal.rs"], + crate_root: "tests/normal.rs", test_suites: ["general-tests"], auto_gen_config: true, test_options: { @@ -86,7 +86,7 @@ rust_test { crate_name: "rdrand", cargo_env_compat: true, cargo_pkg_version: "0.2.12", - srcs: ["tests/rdrand.rs"], + crate_root: "tests/rdrand.rs", test_suites: ["general-tests"], auto_gen_config: true, test_options: { @@ -107,7 +107,7 @@ rust_library { crate_name: "getrandom", cargo_env_compat: true, cargo_pkg_version: "0.2.12", - srcs: ["src/lib.rs"], + crate_root: "src/lib.rs", edition: "2018", features: ["std"], rustlibs: [ |