mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-28 01:16:50 +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> |
||
---|---|---|
.. | ||
generic | ||
README.md |
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.