aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Farrell <jamesfarrell@google.com>2024-05-21 19:00:37 +0000
committerJames Farrell <jamesfarrell@google.com>2024-05-21 19:00:37 +0000
commitb4ced22f6afc2af52081d4e7da7e5db096ceeb66 (patch)
tree31012328e4957f1a0df3659799525d8d1a58e91a
parent2b48ff38a4cb28f70ce538b45e656941a44ce20a (diff)
downloadsharded-slab-main.tar.gz
Update Android.bp by running cargo_embargoHEADmastermain
Test: ran cargo_embargo Change-Id: Ib681431d8e7a88fe9fd3d679cc07269f923045ec
-rw-r--r--Android.bp6
1 files changed, 4 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp
index 48be2f1..d04da23 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,5 +1,7 @@
// This file is generated by cargo_embargo.
-// Do not modify this file as changes will be overridden on upgrade.
+// Do not modify this file after the first "rust_*" or "genrule" module
+// because the changes will be overridden on upgrade.
+// Content before the first "rust_*" or "genrule" module is preserved.
rust_library {
name: "libsharded_slab",
@@ -7,7 +9,7 @@ rust_library {
crate_name: "sharded_slab",
cargo_env_compat: true,
cargo_pkg_version: "0.1.7",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
edition: "2018",
rustlibs: ["liblazy_static"],
apex_available: [