LG8n: power: Remove ndk_platform backend. Use ndk backend instead

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: xyzuniverse <dev.xyzuniverse@gmail.com>
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
Jiyong Park 2024-04-17 06:12:47 +00:00 committed by Shirayuki39
parent d5053cc537
commit 7d59c4396b
2 changed files with 4 additions and 3 deletions

View file

@ -306,9 +306,7 @@ PRODUCT_COPY_FILES += \
# Power
PRODUCT_PACKAGES += \
android.hardware.power-service-mediatek \
android.hardware.power-V2-ndk_platform.vendor \
android.hardware.power@1.0.vendor \
android.hardware.power@1.1.vendor \
android.hardware.power-V2-ndk.vendor \
android.hardware.power@1.2.vendor \
libmtkperf_client_vendor \
vendor.mediatek.hardware.mtkpower@1.0.vendor \

View file

@ -73,6 +73,9 @@ function blob_fixup {
vendor/lib*/hw/mt6789/vendor.mediatek.hardware.pq@2.15-impl.so)
"$PATCHELF" --replace-needed "libutils.so" "libutils-v32.so" "$2"
;;
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}"
;;
esac
}