aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Farrell <jamesfarrell@google.com>2024-05-21 19:00:42 +0000
committerJames Farrell <jamesfarrell@google.com>2024-05-21 19:00:42 +0000
commita778ecd613f30ab96eb0051f54d64118f99bd1b3 (patch)
treef6aec6a32ba470d8a19a8b59534b3d0462d5dc80
parent802f1cdf8b813d19171eb7f86bbc30342ed9b7e9 (diff)
downloadunicode-width-a778ecd613f30ab96eb0051f54d64118f99bd1b3.tar.gz
Update Android.bp by running cargo_embargo
Test: ran cargo_embargo Change-Id: I8a23266add177d0fc34b00456d8cb01eac9d3552
-rw-r--r--Android.bp8
1 files changed, 5 insertions, 3 deletions
diff --git a/Android.bp b/Android.bp
index 5d19f64..979713c 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_unicode-width_license"],
@@ -44,7 +46,7 @@ rust_library {
crate_name: "unicode_width",
cargo_env_compat: true,
cargo_pkg_version: "0.1.11",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
edition: "2015",
features: ["default"],
apex_available: [
@@ -61,7 +63,7 @@ rust_test {
crate_name: "unicode_width",
cargo_env_compat: true,
cargo_pkg_version: "0.1.11",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {