summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Farrell <jamesfarrell@google.com>2024-05-20 17:03:22 +0000
committerJames Farrell <jamesfarrell@google.com>2024-05-20 17:03:22 +0000
commit98555d6e41479e59e13e7528002beb22871f2cd9 (patch)
tree82797d4d1c9ff362da524347ef73492808cf6ddc
parentedf334f3e96c7ce25dcdc067574e261476a6bf0a (diff)
downloadlock_api-master.tar.gz
Update Android.bp by running cargo_embargoHEADmastermain
Test: ran cargo_embargo Change-Id: Idf1fbd41772497d5ad89407706cb742f7729cea3
-rw-r--r--Android.bp6
1 files changed, 4 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp
index ef48f40..40879e9 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.
package {
default_applicable_licenses: ["external_rust_crates_lock_api_license"],
@@ -43,7 +45,7 @@ rust_library {
crate_name: "lock_api",
cargo_env_compat: true,
cargo_pkg_version: "0.4.11",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
edition: "2018",
features: [
"atomic_usize",