mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 12:34:31 +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>
17 lines
334 B
TOML
17 lines
334 B
TOML
[package]
|
|
name = "protos"
|
|
version = "0.1.0"
|
|
authors = ["The ChromiumOS Authors"]
|
|
edition = "2021"
|
|
|
|
[features]
|
|
composite-disk = []
|
|
plugin = ["kvm_sys"]
|
|
registered_events = []
|
|
|
|
[dependencies]
|
|
kvm_sys = { path = "../kvm_sys", optional = true }
|
|
protobuf = "3.2"
|
|
|
|
[build-dependencies]
|
|
proto_build_tools = { path = "../proto_build_tools" }
|