mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
fac9000051
since the RegisteredEvent model is effectively an external API, switch to using protobuf as a more formal/stable means of communicating messages. also introduces exporting the registered_events.proto file as part of crosvm_control build, alongside the currently existing header file. this patch also introduces feature-gating for registered_events and protos so as not to bring in too many third party dependencies for a base build. BUG=b/278117550 TEST=run bzImage locally TEST=sidecar program available at https://x20.corp.google.com/users/dr/drmasquatch/socket-pinger-proto Change-Id: I5d91d87f7807effc125352caf5c75eee2593f70d Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4521604 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: maciek swiech <drmasquatch@google.com>
38 lines
1 KiB
TOML
38 lines
1 KiB
TOML
[package]
|
|
name = "vm_control"
|
|
version = "0.1.0"
|
|
authors = ["The ChromiumOS Authors"]
|
|
edition = "2021"
|
|
|
|
[features]
|
|
balloon = []
|
|
gdb = ["gdbstub", "gdbstub_arch"]
|
|
gpu = []
|
|
registered_events = ["protos/registered_events"]
|
|
swap = ["swap/enable"]
|
|
|
|
[dependencies]
|
|
anyhow = "*"
|
|
balloon_control = { path = "../common/balloon_control" }
|
|
base = { path = "../base" }
|
|
cfg-if = "*"
|
|
data_model = { path = "../common/data_model" }
|
|
gdbstub = { version = "0.6.3", optional = true }
|
|
gdbstub_arch = { version = "0.2.4", optional = true }
|
|
hypervisor = { path = "../hypervisor" }
|
|
libc = "*"
|
|
once_cell = "1.7.2"
|
|
protos = { path = "../protos", optional = true }
|
|
remain = "*"
|
|
resources = { path = "../resources" }
|
|
rutabaga_gfx = { path = "../rutabaga_gfx"}
|
|
serde = { version = "1", features = [ "derive" ] }
|
|
serde_json = "*"
|
|
serde_keyvalue = { path = "../serde_keyvalue", features = ["argh_derive"] }
|
|
swap = { path = "../swap" }
|
|
sync = { path = "../common/sync" }
|
|
thiserror = "*"
|
|
vm_memory = { path = "../vm_memory" }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
winapi = "*"
|