aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Farrell <jamesfarrell@google.com>2024-05-21 19:06:01 +0000
committerJames Farrell <jamesfarrell@google.com>2024-05-21 19:06:01 +0000
commitad4fb5371d71129e33654891f3938091d2a25229 (patch)
treec78c11a74ff35a1264d9593b734415698813383e
parenta01b7c9d15caa0e19fd6a0ba7cc374724553cd20 (diff)
downloadsocket2-main.tar.gz
Update Android.bp by running cargo_embargoHEADmastermain
Test: ran cargo_embargo Change-Id: I106cf8f4f997e552232700c4472506ed06cbd547
-rw-r--r--Android.bp6
1 files changed, 4 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp
index 5c83f60..db18e7c 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_socket2_license"],
@@ -43,7 +45,7 @@ rust_library {
crate_name: "socket2",
cargo_env_compat: true,
cargo_pkg_version: "0.5.5",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
edition: "2021",
features: ["all"],
rustlibs: ["liblibc"],