RMX3031: Remove ndk_platform backend. Use the ndk backend.

The ndk_platform backend will soon be deprecated because the ndk backend
can serve the same purpose. This is to eliminate the confusion about
having two variants (ndk and ndk_platform) for the same ndk backend.

Bug: 161456198
Test: m
Signed-off-by: Himanshu Tyagi <himanshut567@gmail.com>
Change-Id: I72d83e6f47844390685307a51bf6919fb3494fb0
This commit is contained in:
Jiyong Park
2022-11-19 10:20:15 +05:30
committed by Himanshu Tyagi
parent 7b4bacf18e
commit 8f2a1cd5c8
3 changed files with 8 additions and 2 deletions

View File

@@ -34,6 +34,12 @@ if [ ! -f "${HELPER}" ]; then
fi
source "${HELPER}"
function blob_fixup {
case "$1" in
vendor/bin/hw/vendor.mediatek.hardware.mtkpower@1.0-service)
"$PATCHELF" --replace-needed android.hardware.power-V2-ndk_platform.so android.hardware.power-V2-ndk.so "$2"
;;
# Default to sanitizing the vendor folder before extraction
CLEAN_VENDOR=true

View File

@@ -2398,7 +2398,7 @@ odm/bin/hw/vendor.oplus.hardware.orms.ormsHalService@1.0-service
odm/etc/init/vendor.oplus.hardware.orms.ormsHalService@1.0-service.rc
# Power
vendor/bin/hw/vendor.mediatek.hardware.mtkpower@1.0-service
vendor/bin/hw/vendor.mediatek.hardware.mtkpower@1.0-service|7be6a10783d9543b16e6f29a1e67eac005a8b789
vendor/etc/init/vendor.mediatek.hardware.mtkpower@1.0-init.rc
vendor/etc/init/vendor.mediatek.hardware.mtkpower@1.0-service.rc
vendor/lib/hw/vendor.mediatek.hardware.mtkpower@1.2-impl.so

View File

@@ -16,7 +16,7 @@ cc_binary {
shared_libs: [
"libbase",
"libbinder_ndk",
"android.hardware.vibrator-V2-ndk_platform",
"android.hardware.vibrator-V2-ndk",
],
vendor: true,
}