aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Farrell <jamesfarrell@google.com>2024-05-21 19:03:27 +0000
committerJames Farrell <jamesfarrell@google.com>2024-05-21 19:03:27 +0000
commitf352ce19778bb13bb833ddeffaee1840e2099932 (patch)
tree2e4ce773155589a0933f0f8d13ba9c6b973d39f1
parenta2e2aa2cf5e9f17c4d48102f92a3cac3d0129779 (diff)
downloadsec1-master.tar.gz
Update Android.bp by running cargo_embargoHEADmastermain
Test: ran cargo_embargo Change-Id: Ia4a68696be17c911babaf8307b5a2ebc20aa159b
-rw-r--r--Android.bp8
1 files changed, 5 insertions, 3 deletions
diff --git a/Android.bp b/Android.bp
index aa0a126..a6ff152 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_sec1_license"],
@@ -37,7 +39,7 @@ rust_library {
crate_name: "sec1",
cargo_env_compat: true,
cargo_pkg_version: "0.7.3",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
edition: "2021",
features: [
"alloc",
@@ -68,7 +70,7 @@ rust_library_rlib {
crate_name: "sec1",
cargo_env_compat: true,
cargo_pkg_version: "0.7.3",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
edition: "2021",
features: [
"alloc",