xref: /aosp_15_r20/external/crosvm/system_api/README.md (revision bb4ee6a4ae7042d18b07a98463b9c8b875e44b39)
1# Crosvm version of ChromeOS's system_api
2
3system_api is used by ChromeOS to interact with other system services and mainly contains
4automatically generated bindings for dbus services and proto types.
5
6The ground truth for this crate is in the ChromeOS codebase at [platform2/system_api].
7
8To allow us to build ChromeOS features in upstream crosvm, we need to copy a subset of the generated
9files into this repository. The `update_bindings.sh` script can be used to update them.
10
11Note: Originally, the ChromeOS build would replace this crate with the ChromeOS
12[platform2/system_api] crate. This is no longer the case and crosvm will always be built against the
13version in this directory.
14
15[platform2/system_api]: https://source.chromium.org/chromiumos/chromiumos/codesearch/+/main:src/platform2/system_api/
16