mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 20:48:55 +00:00
7bfa80063b
Duplicate the KvmCap enum and KvmCpuId type alias that were imported from the top-level `kvm` crate in order to drop the hypervisor -> kvm dependency. The `kvm` crate is otherwise only used by the plugin feature, so this removes it from the build in the usual non-plugin case. BUG=None TEST=tools/dev_container tools/presubmit Change-Id: If710c547619f7c2bbff7e0a6eeca7a6aaf19e63c Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5517747 Reviewed-by: Dennis Kempin <denniskempin@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
47 lines
1,005 B
TOML
47 lines
1,005 B
TOML
[package]
|
|
name = "hypervisor"
|
|
version = "0.1.0"
|
|
authors = ["The ChromiumOS Authors"]
|
|
edition = "2021"
|
|
|
|
[features]
|
|
haxm = []
|
|
whpx = []
|
|
geniezone = []
|
|
gunyah = []
|
|
noncoherent-dma = []
|
|
|
|
[dependencies]
|
|
anyhow = "*"
|
|
bit_field = { path = "../bit_field" }
|
|
bitflags = "2.2.1"
|
|
cros_fdt = { path = "../cros_fdt" }
|
|
data_model = { path = "../common/data_model" }
|
|
downcast-rs = "1.2.0"
|
|
enumn = "0.1.0"
|
|
fnv = "1"
|
|
libc = "*"
|
|
memoffset = "0.6"
|
|
once_cell = "1.7"
|
|
serde = { version = "1", features = [ "derive" ] }
|
|
serde_json = { version = "1" }
|
|
sync = { path = "../common/sync" }
|
|
base = { path = "../base" }
|
|
vm_memory = { path = "../vm_memory" }
|
|
|
|
[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies]
|
|
kvm_sys = { path = "../kvm_sys" }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
thiserror = "*"
|
|
winapi = "*"
|
|
win_util = { path = "../win_util" }
|
|
|
|
[target.'cfg(windows)'.dependencies.windows]
|
|
version = "0.39.0"
|
|
features = [
|
|
"Win32_Foundation",
|
|
]
|
|
|
|
[target.'cfg(windows)'.dev-dependencies]
|
|
tempfile = "*"
|