From 65e78e15967acec2c863f7a54ff61b53e0c6d8cf Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Fri, 19 Aug 2022 20:14:41 +0300 Subject: [PATCH] Add aidl shim libraries for S compatibility T changed *ndk_platform.so to *ndk.so. Add shim libraries to make old blobs work again. Change-Id: I77074f1fadbd44a63b6b9e9822632064d164ef94 --- Android.bp | 196 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 196 insertions(+) diff --git a/Android.bp b/Android.bp index 365932e..37d57bb 100644 --- a/Android.bp +++ b/Android.bp @@ -4,6 +4,202 @@ // SPDX-License-Identifier: Apache-2.0 // +cc_library_shared { + name: "android.frameworks.stats-V1-ndk_platform", + shared_libs: ["android.frameworks.stats-V1-ndk"], + system_ext_specific: true, + vendor_available: true, +} + +cc_library_shared { + name: "android.hardware.common-V1-ndk_platform", + shared_libs: ["android.hardware.common-V1-ndk"], + system_ext_specific: true, + vendor_available: true, +} + +cc_library_shared { + name: "android.hardware.common-V2-ndk_platform", + shared_libs: ["android.hardware.common-V2-ndk"], + system_ext_specific: true, + vendor_available: true, +} + +cc_library_shared { + name: "android.hardware.common.fmq-V1-ndk_platform", + shared_libs: ["android.hardware.common.fmq-V1-ndk"], + system_ext_specific: true, + vendor_available: true, +} + +cc_library_shared { + name: "android.hardware.graphics.common-V1-ndk_platform", + shared_libs: ["android.hardware.graphics.common-V1-ndk"], + system_ext_specific: true, + vendor_available: true, +} + +cc_library_shared { + name: "android.hardware.graphics.common-V2-ndk_platform", + shared_libs: ["android.hardware.graphics.common-V2-ndk"], + system_ext_specific: true, + vendor_available: true, +} + +cc_library_shared { + name: "android.hardware.authsecret-V1-ndk_platform", + shared_libs: ["android.hardware.authsecret-V1-ndk"], + system_ext_specific: true, + vendor_available: true, +} + +cc_library_shared { + name: "android.hardware.automotive.occupant_awareness-V1-ndk_platform", + shared_libs: ["android.hardware.automotive.occupant_awareness-V1-ndk"], + system_ext_specific: true, + vendor_available: true, +} + +cc_library_shared { + name: "android.hardware.gnss-V1-ndk_platform", + shared_libs: ["android.hardware.gnss-V1-ndk"], + system_ext_specific: true, + vendor_available: true, +} + +cc_library_shared { + name: "android.hardware.health.storage-V1-ndk_platform", + shared_libs: ["android.hardware.health.storage-V1-ndk"], + system_ext_specific: true, + vendor_available: true, +} + +cc_library_shared { + name: "android.hardware.identity-V2-ndk_platform", + shared_libs: ["android.hardware.identity-V2-ndk"], + system_ext_specific: true, + vendor_available: true, +} + +cc_library_shared { + name: "android.hardware.identity-V3-ndk_platform", + shared_libs: ["android.hardware.identity-V3-ndk"], + system_ext_specific: true, + vendor_available: true, +} + +cc_library_shared { + name: "android.hardware.keymaster-V2-ndk_platform", + shared_libs: ["android.hardware.keymaster-V2-ndk"], + system_ext_specific: true, + vendor_available: true, +} + +cc_library_shared { + name: "android.hardware.keymaster-V3-ndk_platform", + shared_libs: ["android.hardware.keymaster-V3-ndk"], + system_ext_specific: true, + vendor_available: true, +} + +cc_library_shared { + name: "android.hardware.light-V1-ndk_platform", + shared_libs: ["android.hardware.light-V1-ndk"], + system_ext_specific: true, + vendor_available: true, +} + +cc_library_shared { + name: "android.hardware.memtrack-V1-ndk_platform", + shared_libs: ["android.hardware.memtrack-V1-ndk"], + system_ext_specific: true, + vendor_available: true, +} + +cc_library_shared { + name: "android.hardware.oemlock-V1-ndk_platform", + shared_libs: ["android.hardware.oemlock-V1-ndk"], + system_ext_specific: true, + vendor_available: true, +} + +cc_library_shared { + name: "android.hardware.power-V1-ndk_platform", + shared_libs: ["android.hardware.power-V1-ndk"], + system_ext_specific: true, + vendor_available: true, +} + +cc_library_shared { + name: "android.hardware.power-V2-ndk_platform", + shared_libs: ["android.hardware.power-V2-ndk"], + system_ext_specific: true, + vendor_available: true, +} + +cc_library_shared { + name: "android.hardware.power.stats-V1-ndk_platform", + shared_libs: ["android.hardware.power.stats-V1-ndk"], + system_ext_specific: true, + vendor_available: true, +} + +cc_library_shared { + name: "android.hardware.rebootescrow-V1-ndk_platform", + shared_libs: ["android.hardware.rebootescrow-V1-ndk"], + system_ext_specific: true, + vendor_available: true, +} + +cc_library_shared { + name: "android.hardware.security.keymint-V1-ndk_platform", + shared_libs: ["android.hardware.security.keymint-V1-ndk"], + system_ext_specific: true, + vendor_available: true, +} + +cc_library_shared { + name: "android.hardware.security.secureclock-V1-ndk_platform", + shared_libs: ["android.hardware.security.secureclock-V1-ndk"], + system_ext_specific: true, + vendor_available: true, +} + +cc_library_shared { + name: "android.hardware.security.sharedsecret-V1-ndk_platform", + shared_libs: ["android.hardware.security.sharedsecret-V1-ndk"], + system_ext_specific: true, + vendor_available: true, +} + +cc_library_shared { + name: "android.hardware.vibrator-V1-ndk_platform", + shared_libs: ["android.hardware.vibrator-V1-ndk"], + system_ext_specific: true, + vendor_available: true, +} + +cc_library_shared { + name: "android.hardware.vibrator-V2-ndk_platform", + shared_libs: ["android.hardware.vibrator-V2-ndk"], + system_ext_specific: true, + vendor_available: true, +} + +cc_library_shared { + name: "android.hardware.weaver-V1-ndk_platform", + shared_libs: ["android.hardware.weaver-V1-ndk"], + system_ext_specific: true, + vendor_available: true, +} + +cc_library_shared { + name: "android.system.keystore2-V1-ndk_platform", + shared_libs: ["android.system.keystore2-V1-ndk"], + system_ext_specific: true, + vendor_available: true, +} + cc_library_shared { name: "libavservices_minijail_vendor", shared_libs: ["libavservices_minijail"],