aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-05-23 15:44:02 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-05-23 15:44:02 +0000
commit68bb02392b7aa5421d36d88b2ec1eadddc2aeed9 (patch)
treec78c11a74ff35a1264d9593b734415698813383e
parent0982caae3c05d8c076b3dda1519d76f3a93cb0ae (diff)
parentad4fb5371d71129e33654891f3938091d2a25229 (diff)
downloadsocket2-build-tools-release.tar.gz
Snap for 11880863 from ad4fb5371d71129e33654891f3938091d2a25229 to build-tools-releasebuild-tools-release
Change-Id: Id88c5d2e2aafe0fe3bc58515c0c03e9e1fed84f4
-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"],