summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Farrell <jamesfarrell@google.com>2024-05-21 18:52:16 +0000
committerJames Farrell <jamesfarrell@google.com>2024-05-21 18:52:16 +0000
commit6a9bfc92eaa4bb07ec0f011d0989a7cc4271c316 (patch)
tree67363b2e38d0a7c2634b7558d1a02be90089870f
parent443e036d3d49bae4eee4298c31d872171e5b9022 (diff)
downloaduniffi_core-main.tar.gz
Update Android.bp by running cargo_embargomain
Test: ran cargo_embargo Change-Id: I7c20cea5c4966a46407d60b3dbaa254a2980df74
-rw-r--r--Android.bp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp
index 09559b2..3e9318e 100644
--- a/Android.bp
+++ b/Android.bp
@@ -21,7 +21,7 @@ rust_library {
crate_name: "uniffi_core",
cargo_env_compat: true,
cargo_pkg_version: "0.27.1",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
edition: "2021",
features: ["default"],
rustlibs: [
@@ -49,7 +49,7 @@ rust_test {
crate_name: "uniffi_core",
cargo_env_compat: true,
cargo_pkg_version: "0.27.1",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {