aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFedor Tsarev <ftsarev@google.com>2023-03-27 08:32:50 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-03-27 08:32:50 +0000
commit274817607f7c70544763d536e6d67e854a7b565f (patch)
treeb39d8977752e74ea5b0ebbac3b9dd5e38fa927d3
parent379e0dea478b179c7e2d8f2199dbeff6b643f55d (diff)
parent36aa12266f4a9601f185cd155429cf4657722226 (diff)
downloadtracing-274817607f7c70544763d536e6d67e854a7b565f.tar.gz
Generate Android.bp for crate tracing am: ec847d706e am: 9b32d5e6cd am: 13de66b8ba am: 36aa12266f
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/tracing/+/2506379 Change-Id: I21f691fb0e70b3db70e5297b78cfd915f3e7da04 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--Android.bp33
1 files changed, 33 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..817726b
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,33 @@
+// This file is generated by cargo2android.py --run --device.
+// Do not modify this file as changes will be overridden on upgrade.
+
+
+
+rust_library {
+ name: "libtracing",
+ // has rustc warnings
+ host_supported: true,
+ crate_name: "tracing",
+ cargo_env_compat: true,
+ cargo_pkg_version: "0.1.37",
+ srcs: ["src/lib.rs"],
+ edition: "2018",
+ features: [
+ "attributes",
+ "default",
+ "std",
+ "tracing-attributes",
+ ],
+ rustlibs: [
+ "libcfg_if",
+ "libpin_project_lite",
+ "libtracing_core",
+ ],
+ proc_macros: ["libtracing_attributes"],
+ apex_available: [
+ "//apex_available:platform",
+ "//apex_available:anyapex",
+ ],
+ product_available: true,
+ vendor_available: true,
+}