aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Farrell <jamesfarrell@google.com>2024-05-21 19:01:30 +0000
committerJames Farrell <jamesfarrell@google.com>2024-05-21 19:01:30 +0000
commit179ddbe339515784cc3b26d85b837b42e6d68636 (patch)
tree25117124ae66acb13c8ea30899fc958857033787
parentaffe428695440472659c42599ce815456acdda1e (diff)
downloadtracing-core-main.tar.gz
Update Android.bp by running cargo_embargoHEADmastermain
Test: ran cargo_embargo Change-Id: I6dab00e951a3b5fa5f792db96b1b219bcba20576
-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: {