android_external_minigbm/rust
Marcin Radomski 65742c01dd minigbm: add bindgen-generated Rust bindings
This provides the bindings necessary to use the Rust gbm crate within
Android source tree. Bindgen flags used in the rust_bindgen definition,
as well as the workaround described in wrapper.h were based on upstream
gbm-sys crate's build.rs [1].

Looking at other rust_bindgen modules, they are generally defined
alongside the native module they provide bindings to.

Details: go/drm-gbm-rust-crates-for-android

[1] 606c4260e0/gbm-sys/build.rs (L78)

Bug: b/328181805
Test: lunch aosp_cf_x86_64_only_phone-trunk_staging-userdebug && m
Test: m libgbm_sys
Change-Id: I3065f7fe35f4a86b72ac90c34476da6304155daf
2024-03-18 18:48:46 +00:00
..
gbm_wrapper.h minigbm: add bindgen-generated Rust bindings 2024-03-18 18:48:46 +00:00