From a77f2df47304a20bfc2b0d423f532497487abb51 Mon Sep 17 00:00:00 2001 From: Felix Obenhuber Date: Wed, 10 Jan 2024 15:58:29 +0100 Subject: [PATCH] automotive: Add Rust backend to the vhal AIDL This enables us to write a vhal service in Rust. Test: Verified with a custom replacement of the DefaultVehicleHal and ran in cuttlefish Change-Id: I53601e1a10cee75877e76ae04f7837e7d1a20ebd --- automotive/vehicle/aidl/Android.bp | 3 +++ automotive/vehicle/aidl_property/Android.bp | 3 +++ 2 files changed, 6 insertions(+) diff --git a/automotive/vehicle/aidl/Android.bp b/automotive/vehicle/aidl/Android.bp index 3b93bca76c..7405d4cc28 100644 --- a/automotive/vehicle/aidl/Android.bp +++ b/automotive/vehicle/aidl/Android.bp @@ -41,6 +41,9 @@ aidl_interface { "com.android.car.framework", ], }, + rust: { + enabled: true, + }, }, versions_with_info: [ { diff --git a/automotive/vehicle/aidl_property/Android.bp b/automotive/vehicle/aidl_property/Android.bp index 19fa4a38db..580be6829b 100644 --- a/automotive/vehicle/aidl_property/Android.bp +++ b/automotive/vehicle/aidl_property/Android.bp @@ -42,6 +42,9 @@ aidl_interface { "com.android.car.framework", ], }, + rust: { + enabled: true, + }, }, versions_with_info: [ {