aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Farrell <jamesfarrell@google.com>2024-05-20 16:50:13 +0000
committerJames Farrell <jamesfarrell@google.com>2024-05-20 16:50:13 +0000
commit7daebde149d5a3338b3aaf9eac1a1ebfb9773637 (patch)
treefd38a2134738d6efbb88f62394c7a6e7cf49c12f
parent33d2678f1cb1a56c1831348db38bd20f16a16a5e (diff)
downloadlru-cache-master.tar.gz
Update Android.bp by running cargo_embargoHEADmastermain
Test: ran cargo_embargo Change-Id: I57e228d62477db9fcc705559809cc11069128496
-rw-r--r--Android.bp8
1 files changed, 5 insertions, 3 deletions
diff --git a/Android.bp b/Android.bp
index 7937a8e..521a148 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_lru-cache_license"],
@@ -43,7 +45,7 @@ rust_library {
crate_name: "lru_cache",
cargo_env_compat: true,
cargo_pkg_version: "0.1.2",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
edition: "2015",
rustlibs: ["liblinked_hash_map"],
apex_available: [
@@ -60,7 +62,7 @@ rust_test {
crate_name: "lru_cache",
cargo_env_compat: true,
cargo_pkg_version: "0.1.2",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {