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