Add Rust backend to audio common AIDL

Bug: 319474244
Test: build ok
Flag: EXEMPT HAL interface change
Change-Id: I2de2cd7ad0b2cc2d038af8c6bf510fa67aa69705
This commit is contained in:
Weilin Xu
2024-04-16 14:36:12 -07:00
parent 1e3f885162
commit 843abc563c

View File

@@ -64,6 +64,9 @@ aidl_interface {
],
min_sdk_version: "31",
},
rust: {
enabled: true,
},
},
versions_with_info: [
{
@@ -112,6 +115,13 @@ cc_defaults {
],
}
rust_defaults {
name: "latest_android_hardware_audio_common_rust",
rustlibs: [
latest_android_hardware_audio_common + "-rust",
],
}
aidl_interface_defaults {
name: "latest_android_hardware_audio_common_import_interface",
imports: [