mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
d05f9e326e
Initialize the metrics tube and make sure its kept in all forked children. BUG=b:332466813 TEST=tast run DUT arc.Boot.vm Change-Id: Ide7a9e4ba5a3d8a52e69ac65b9aaaefcf21735a6 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5400363 Commit-Queue: David Stevens <stevensd@chromium.org> Reviewed-by: Dennis Kempin <denniskempin@google.com>
49 lines
1.4 KiB
TOML
49 lines
1.4 KiB
TOML
[package]
|
|
name = "arch"
|
|
version = "0.1.0"
|
|
authors = ["The ChromiumOS Authors"]
|
|
edition = "2021"
|
|
|
|
[features]
|
|
power-monitor-powerd = ["power_monitor/powerd"]
|
|
gdb = ["gdbstub", "gdbstub_arch"]
|
|
trace_marker = ["cros_tracing/trace_marker"]
|
|
seccomp_trace = []
|
|
swap = ["swap/enable"]
|
|
|
|
[dependencies]
|
|
acpi_tables = { path = "../acpi_tables" }
|
|
anyhow = "*"
|
|
base = { path = "../base" }
|
|
cfg-if = "1.0.0"
|
|
cros_fdt = { path = "../cros_fdt" }
|
|
cros_tracing = { path = "../cros_tracing" }
|
|
devices = { path = "../devices" }
|
|
gdbstub = { version = "0.7.0", optional = true }
|
|
gdbstub_arch = { version = "0.3.0", optional = true }
|
|
hypervisor = { path = "../hypervisor" }
|
|
jail = { path = "../jail" }
|
|
kernel_cmdline = { path = "../kernel_cmdline" }
|
|
libc = "*"
|
|
metrics = { path = "../metrics" }
|
|
resources = { path = "../resources" }
|
|
remain = "*"
|
|
serde = { version = "*", features = [ "derive"] }
|
|
serde_json = { version = "1" }
|
|
serde_keyvalue = { path = "../serde_keyvalue", features = ["argh_derive"] }
|
|
swap = { path = "../swap" }
|
|
sync = { path = "../common/sync" }
|
|
thiserror = "1.0.20"
|
|
uuid = { version = "1", features = ["v4", "serde"] }
|
|
vm_control = { path = "../vm_control" }
|
|
vm_memory = { path = "../vm_memory" }
|
|
|
|
[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies]
|
|
minijail = "*" # provided by ebuild
|
|
power_monitor = { path = "../power_monitor" }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
winapi = "*"
|
|
|
|
[dev-dependencies]
|
|
serde_json = "*"
|