mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 13:23:08 +00:00
4d834ea759
Add a function pointer to Cmos::new() to retrieve the time so we can test against fixed times in the tests. BUG=None TEST=cargo test -p devices cmos Change-Id: I0ed73b8742c0fe85fa13541b6fef1b534d81c088 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3795010 Reviewed-by: Noah Gold <nkgold@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> Tested-by: Daniel Verkamp <dverkamp@chromium.org>
35 lines
922 B
TOML
35 lines
922 B
TOML
[package]
|
|
name = "x86_64"
|
|
version = "0.1.0"
|
|
authors = ["The Chromium OS Authors"]
|
|
edition = "2021"
|
|
|
|
[features]
|
|
gdb = ["gdbstub_arch", "arch/gdb"]
|
|
direct = ["arch/direct", "devices/direct"]
|
|
|
|
[dependencies]
|
|
acpi_tables = {path = "../acpi_tables" }
|
|
arch = { path = "../arch" }
|
|
anyhow = "*"
|
|
assertions = { path = "../common/assertions" }
|
|
cfg-if = "1.0.0"
|
|
chrono = "*"
|
|
data_model = { path = "../common/data_model" }
|
|
devices = { path = "../devices" }
|
|
gdbstub_arch = { version = "0.2.2", optional = true }
|
|
hypervisor = { path = "../hypervisor" }
|
|
kernel_cmdline = { path = "../kernel_cmdline" }
|
|
kernel_loader = { path = "../kernel_loader" }
|
|
libc = "*"
|
|
once_cell = "1.7.2"
|
|
remain = "*"
|
|
resources = { path = "../resources" }
|
|
sync = { path = "../common/sync" }
|
|
thiserror = "*"
|
|
base = { path = "../base" }
|
|
vm_control = { path = "../vm_control" }
|
|
vm_memory = { path = "../vm_memory" }
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
minijail = "*"
|