aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Android.bp10
1 files changed, 6 insertions, 4 deletions
diff --git a/Android.bp b/Android.bp
index ad903b6..50c3f36 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,12 +1,14 @@
// 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.
rust_library_host_rlib {
name: "libunsafe_libyaml",
crate_name: "unsafe_libyaml",
cargo_env_compat: true,
cargo_pkg_version: "0.2.10",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
edition: "2021",
}
@@ -15,7 +17,7 @@ rust_binary_host {
crate_name: "run_emitter_test_suite",
cargo_env_compat: true,
cargo_pkg_version: "0.2.10",
- srcs: ["src/bin/run-emitter-test-suite.rs"],
+ crate_root: "src/bin/run-emitter-test-suite.rs",
edition: "2021",
rustlibs: ["libunsafe_libyaml"],
}
@@ -25,7 +27,7 @@ rust_binary_host {
crate_name: "run_parser_test_suite",
cargo_env_compat: true,
cargo_pkg_version: "0.2.10",
- srcs: ["src/bin/run-parser-test-suite.rs"],
+ crate_root: "src/bin/run-parser-test-suite.rs",
edition: "2021",
rustlibs: ["libunsafe_libyaml"],
}