crosvm/vendor
David Stevens 1dd411950b metrics: Remove downstream metrics dependencies
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>
2024-04-09 01:36:24 +00:00
..
generic metrics: Remove downstream metrics dependencies 2024-04-09 01:36:24 +00:00
README.md anti_tamper: refactor generic code 2023-06-09 23:09:35 +00:00

Vendor directory

/vendor/ directory facilitates maintaining downstream custom code. generic crates, containing either default implementation or stubs, live in /vendor/generic/ directory. The upstream code imports these generic crates from various Cargo.toml files.

Downstream product specific crates will live under /vendor/<product_name>/ directory. Downstream will replace /vendor/generic/crate imports with downstream crate path.