diff --git a/media/c2/aidl/Android.bp b/media/c2/aidl/Android.bp index a153b72d25..3c0915dd38 100644 --- a/media/c2/aidl/Android.bp +++ b/media/c2/aidl/Android.bp @@ -41,5 +41,12 @@ aidl_interface { "libnativewindow", ], }, + rust: { + min_sdk_version: "31", + enabled: true, + additional_rustlibs: [ + "libnativewindow_rs", + ], + }, }, }