mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-12-01 04:28:48 +00:00
1dd411950b
Add a metrics_event package instead of relying on metric events provided out of a vendor/ crate. The new API defines the same events as the existing vendor API, except it removes any dependencies on downstream details. To allow downstream projects to define their own events, the new API adds a vendor metrics_event package to support downstream-only event types. BUG=b:332466813 TEST=./tools/dev_container ./tools/presubmit all Change-Id: I766ad6ca2a0a437bb487e27fb84a4984f66c9770 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5400361 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Noah Gold <nkgold@google.com> Reviewed-by: Dennis Kempin <denniskempin@google.com> Commit-Queue: David Stevens <stevensd@chromium.org>
18 lines
530 B
TOML
18 lines
530 B
TOML
[package]
|
|
name = "metrics"
|
|
version = "0.1.0"
|
|
authors = ["The ChromiumOS Authors"]
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
anyhow = "*"
|
|
base = { path = "../base" }
|
|
cfg-if = "*"
|
|
serde = { version = "1", features = ["derive"] }
|
|
sync = { path = "../common/sync" }
|
|
metrics_events = { path = "../metrics_events" }
|
|
metrics_product = { path = "../vendor/generic/metrics", package = "metrics_generic" }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
chrono = { version = "0.4.34", default-features = false, features = ["now"] }
|
|
winapi = { version = "*" }
|