aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Farrell <jamesfarrell@google.com>2024-05-21 19:04:03 +0000
committerJames Farrell <jamesfarrell@google.com>2024-05-21 19:04:03 +0000
commitb2bcd3775531e65ebbaa68632603a98b9bd6a0fc (patch)
tree04dbf914952c7230efe74cd6c35cf496667af1bb
parentbef3335ea633ead088a05a15d2621b9a860ff30d (diff)
downloadthiserror-main.tar.gz
Update Android.bp by running cargo_embargoHEADmastermain
Test: ran cargo_embargo Change-Id: Ie2da1f2ade69bb225b3e06094a156e0da47ccf86
-rw-r--r--Android.bp6
1 files changed, 4 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp
index ef9c6f7..b6048af 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_thiserror_license"],
@@ -43,7 +45,7 @@ rust_library {
crate_name: "thiserror",
cargo_env_compat: true,
cargo_pkg_version: "1.0.49",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
edition: "2021",
proc_macros: ["libthiserror_impl"],
apex_available: [