aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Android.bp12
1 files changed, 7 insertions, 5 deletions
diff --git a/Android.bp b/Android.bp
index 8149825..6e8219f 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_argh_license"],
@@ -24,7 +26,7 @@ rust_test {
crate_name: "argh",
cargo_env_compat: true,
cargo_pkg_version: "0.1.12",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -44,7 +46,7 @@ rust_test {
crate_name: "args_info_tests",
cargo_env_compat: true,
cargo_pkg_version: "0.1.12",
- srcs: ["tests/args_info_tests.rs"],
+ crate_root: "tests/args_info_tests.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -65,7 +67,7 @@ rust_test {
crate_name: "lib",
cargo_env_compat: true,
cargo_pkg_version: "0.1.12",
- srcs: ["tests/lib.rs"],
+ crate_root: "tests/lib.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -86,7 +88,7 @@ rust_library {
crate_name: "argh",
cargo_env_compat: true,
cargo_pkg_version: "0.1.12",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
edition: "2018",
rustlibs: ["libargh_shared"],
proc_macros: ["libargh_derive"],