aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-05-23 15:44:23 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-05-23 15:44:23 +0000
commitbb92288bb26be59fc507ce2aaa7d0625b97edb2c (patch)
treef6aec6a32ba470d8a19a8b59534b3d0462d5dc80
parentf73890184a22f02b685edcce1f551ff93aa5e70d (diff)
parenta778ecd613f30ab96eb0051f54d64118f99bd1b3 (diff)
downloadunicode-width-build-tools-release.tar.gz
Snap for 11880863 from a778ecd613f30ab96eb0051f54d64118f99bd1b3 to build-tools-releasebuild-tools-release
Change-Id: I3de36b501ecfb390df9818574f434f46586f7cf6
-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: {