Update Android.bp by running cargo_embargo am: ab08ad9758
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/xml-rs/+/3096427
Change-Id: I5c94974f2997729debf00dedc609e9fda2be23e7
Signed-off-by: Automerger Merge Worker <[email protected]>
diff --git a/Android.bp b/Android.bp
index aa35d56..c71ced0 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_xml-rs_license"],
@@ -24,7 +26,7 @@
crate_name: "xml",
cargo_env_compat: true,
cargo_pkg_version: "0.8.19",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
edition: "2021",
apex_available: [
"//apex_available:platform",
@@ -40,7 +42,7 @@
crate_name: "xml",
cargo_env_compat: true,
cargo_pkg_version: "0.8.19",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -55,7 +57,7 @@
crate_name: "xml_analyze",
cargo_env_compat: true,
cargo_pkg_version: "0.8.19",
- srcs: ["src/analyze.rs"],
+ crate_root: "src/analyze.rs",
edition: "2021",
rustlibs: ["libxml_rust"],
product_available: true,