crosvm/system_api
Yuan Yao 4f352d3792 system_api: add power_manager bindings and update other bindings
This CL adds power_manager 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:361281568
TEST=./update_bindings.sh
TEST=emerge-<BOARD> crosvm

Change-Id: I1411d1b07f8a99bab6d6af45fb32649d83cbadf5
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5883998
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Commit-Queue: Yuan Yao <yuanyaogoog@chromium.org>
2024-10-10 09:12:27 +00:00
..
src system_api: add power_manager bindings and update other bindings 2024-10-10 09:12:27 +00:00
Cargo.toml devices: virtio-fs: enable dbus crate stdfd feature 2024-03-08 22:14:51 +00:00
README.md
update_bindings.sh system_api: add power_manager bindings and update other bindings 2024-10-10 09:12:27 +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.