From 29b9f85224b3a423640a3056b0f283f21b430a5e Mon Sep 17 00:00:00 2001 From: Nikita Ioffe Date: Tue, 29 Jun 2021 16:57:53 +0100 Subject: [PATCH] Add ota_dexopt_aidl_interface It is used by otapreopt_chroot to contact dexopt service. Test: m Bug: 190817237 Change-Id: I56dec13c8ec109fc47289f317e0e4844c4c1579c --- core/java/Android.bp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/core/java/Android.bp b/core/java/Android.bp index 874704e6350eb..c0a51117659ae 100644 --- a/core/java/Android.bp +++ b/core/java/Android.bp @@ -281,6 +281,26 @@ aidl_interface { }, } +// Build C++ bindings for OtaDexopt services. Needed by otapreopt_chroot +aidl_interface { + name: "ota_dexopt_aidl_interface", + unstable: true, + srcs: [ + "android/content/pm/IOtaDexopt.aidl", + ], + backend: { + java: { + sdk_version: "28", + }, + cpp: { + enabled: true, + }, + ndk: { + enabled: false, + }, + }, +} + // Avoid including Parcelable classes as we don't want to have two copies of // Parcelable cross the libraries. This is used by telephony-common (frameworks/opt/telephony) // and TeleService app (packages/services/Telephony).