mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Add Rust target for VehicleHalProtos
In our project we integrate vehicle properties definition and reused some of the existing message types (`VehiclePropConfig` and `VehicleAreaConfig`), so we need to depend on a Rust target of the protos. Bug: 346786677 Test: m Change-Id: If99f1763e38a9f8bb0ac4dd9ba5e1bee22cc54a7
This commit is contained in:
@@ -106,3 +106,17 @@ cc_library_static {
|
||||
"-Wno-unused-parameter",
|
||||
],
|
||||
}
|
||||
|
||||
rust_protobuf {
|
||||
name: "libvehicle_hal_property_protos",
|
||||
crate_name: "vehicle_hal_property_protos",
|
||||
protos: [":VehicleHalProtoFiles"],
|
||||
source_stem: "vehicle_hal_property_protos",
|
||||
host_supported: true,
|
||||
vendor_available: true,
|
||||
product_available: true,
|
||||
exported_include_dirs: ["."],
|
||||
proto_flags: [
|
||||
"-I external/protobuf/src",
|
||||
],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user