mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
64dee782da
This support doesn't build quite yet, but it's safe to include now behind a feature. We're planning to set up the build for Perfetto libraries shortly. BUG=b:277138899 TEST=builds (doesn't break with the feature off). Change-Id: Iff2cbbef93be4b6d5b5464b13b25cb1b50bf91d0 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4428222 Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> Commit-Queue: Noah Gold <nkgold@google.com> Reviewed-by: Dennis Kempin <denniskempin@google.com> Reviewed-by: Morg <morg@chromium.org>
29 lines
717 B
TOML
29 lines
717 B
TOML
[package]
|
|
name = "cros_tracing"
|
|
version = "0.1.0"
|
|
authors = ["The ChromiumOS Authors"]
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[[test]]
|
|
name = "trace_marker"
|
|
path = "tests/trace_marker.rs"
|
|
harness = false
|
|
required-features = ["trace_marker"]
|
|
|
|
[features]
|
|
trace_marker = ["once_cell"]
|
|
perfetto = ['dep:perfetto', "once_cell", "sync"]
|
|
|
|
[dependencies]
|
|
anyhow = "*"
|
|
base = "*"
|
|
cfg-if = "1.0.0"
|
|
cros_tracing_types = { path = "../cros_tracing_types" }
|
|
once_cell = { version = "1.7", optional = true }
|
|
perfetto = { path = "../perfetto", optional = true }
|
|
sync = { path = "../common/sync", optional = true }
|
|
|
|
[dev-dependencies]
|
|
libtest-mimic = "0.6"
|