aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Android.bp16
1 files changed, 9 insertions, 7 deletions
diff --git a/Android.bp b/Android.bp
index dc4e580..781c200 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_tracing-core_license"],
@@ -24,7 +26,7 @@ rust_library {
crate_name: "tracing_core",
cargo_env_compat: true,
cargo_pkg_version: "0.1.32",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
edition: "2018",
features: [
"default",
@@ -47,7 +49,7 @@ rust_test {
crate_name: "tracing_core",
cargo_env_compat: true,
cargo_pkg_version: "0.1.32",
- srcs: ["src/lib.rs"],
+ crate_root: "src/lib.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -69,7 +71,7 @@ rust_test {
crate_name: "dispatch",
cargo_env_compat: true,
cargo_pkg_version: "0.1.32",
- srcs: ["tests/dispatch.rs"],
+ crate_root: "tests/dispatch.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -94,7 +96,7 @@ rust_test {
crate_name: "global_dispatch",
cargo_env_compat: true,
cargo_pkg_version: "0.1.32",
- srcs: ["tests/global_dispatch.rs"],
+ crate_root: "tests/global_dispatch.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -119,7 +121,7 @@ rust_test {
crate_name: "local_dispatch_before_init",
cargo_env_compat: true,
cargo_pkg_version: "0.1.32",
- srcs: ["tests/local_dispatch_before_init.rs"],
+ crate_root: "tests/local_dispatch_before_init.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {
@@ -144,7 +146,7 @@ rust_test {
crate_name: "macros",
cargo_env_compat: true,
cargo_pkg_version: "0.1.32",
- srcs: ["tests/macros.rs"],
+ crate_root: "tests/macros.rs",
test_suites: ["general-tests"],
auto_gen_config: true,
test_options: {