Add ota_dexopt_aidl_interface

It is used by otapreopt_chroot to contact dexopt service.

Test: m
Bug: 190817237
Change-Id: I56dec13c8ec109fc47289f317e0e4844c4c1579c
This commit is contained in:
Nikita Ioffe
2021-06-29 16:57:53 +01:00
parent 42bdea3653
commit 29b9f85224

View File

@@ -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).