crosvm/system_api
Momoko Hattori d968c4f178 system_api: Add spaced D-Bus bindings and update other bindings
This CL adds spaced D-Bus bindings, which will be used in a follow-up
CL. Also updates other bindings as a result of running
update_bindings.sh.

BUG=b:229122701
TEST=./update_bindings.sh
TEST=emerge-<BOARD> crosvm

Change-Id: I363272b223d399e82873fb6697f54742cebb874b
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4712774
Commit-Queue: Momoko Hattori <momohatt@chromium.org>
Reviewed-by: Dennis Kempin <denniskempin@google.com>
2023-08-05 04:06:09 +00:00
..
src system_api: Add spaced D-Bus bindings and update other bindings 2023-08-05 04:06:09 +00:00
Cargo.toml Cargo.toml: upgrade protobuf 2.x -> 3.x 2023-04-28 19:32:01 +00:00
README.md system_api: Add copy of ChromeOS's system_api 2022-09-28 18:13:00 +00:00
update_bindings.sh system_api: Add spaced D-Bus bindings and update other bindings 2023-08-05 04:06:09 +00:00

Crosvm version of ChromeOS's system_api

system_api is used by ChromeOS to interact with other system services and mainly contains automatically generated bindings for dbus services and proto types.

The ground truth for this crate is in the ChromeOS codebase at platform2/system_api.

To allow us to build ChromeOS features in upstream crosvm, we need to copy a subset of the generated files into this repository. The update_bindings.sh script can be used to update them.

Note: Originally, the ChromeOS build would replace this crate with the ChromeOS platform2/system_api crate. This is no longer the case and crosvm will always be built against the version in this directory.