summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Farrell <jamesfarrell@google.com>2024-05-21 19:06:16 +0000
committerJames Farrell <jamesfarrell@google.com>2024-05-21 19:06:16 +0000
commit20a52da29227eb8a477ddac0a00032dca2651aa7 (patch)
treeda96ff6034d8ca958b512289267ea252a56ed805
parent5af2f48877c79ee35db293b94774c893b18c6dd5 (diff)
downloadrustix-main.tar.gz
Update Android.bp by running cargo_embargomain
Test: ran cargo_embargo Change-Id: I12333a785acd2cc2cf442f93219f3c70b8448db0
-rw-r--r--Android.bp6
1 files changed, 4 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp
index 261671f..c1fce3b 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.
// TODO: Add license.
rust_library {
@@ -8,7 +10,7 @@ rust_library {
crate_name: "rustix",
cargo_env_compat: true,
cargo_pkg_version: "0.38.31",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
edition: "2021",
features: [
"alloc",