Update Android.bp by running cargo_embargo
Test: ran cargo_embargo
Change-Id: I462451902c6ee82dd8464d91f4cea7a5c05b98b5
diff --git a/Android.bp b/Android.bp
index 6ae9513..0f42254 100644
--- a/Android.bp
+++ b/Android.bp
@@ -39,7 +39,7 @@
crate_name: "chrono",
cargo_env_compat: true,
cargo_pkg_version: "0.4.34",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -67,7 +67,7 @@
crate_name: "dateutils",
cargo_env_compat: true,
cargo_pkg_version: "0.4.34",
- srcs: ["tests/dateutils.rs"],
+ crate_root: "tests/dateutils.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -96,7 +96,7 @@
crate_name: "wasm",
cargo_env_compat: true,
cargo_pkg_version: "0.4.34",
- srcs: ["tests/wasm.rs"],
+ crate_root: "tests/wasm.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -125,7 +125,7 @@
crate_name: "win_bindings",
cargo_env_compat: true,
cargo_pkg_version: "0.4.34",
- srcs: ["tests/win_bindings.rs"],
+ crate_root: "tests/win_bindings.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -154,7 +154,7 @@
crate_name: "chrono",
cargo_env_compat: true,
cargo_pkg_version: "0.4.34",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
edition: "2021",
features: [
"alloc",