mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-26 15:36:26 -08:00
LG8n: Build Required libs for QPR3
* And Patch libcamera_metadata for Camera provider * ref - Evilmove/android_device_spartan@55eb0b6 ObsidianMaximus/android_device_realme_sm8250-common@a0ed2f1 Change-Id: I4696adea73edc5a8cfe530df6d89c5b244009722 Signed-off-by: fjrXTR <fajarslebew31@gmail.com> Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
parent
035c860c1a
commit
44ff68f84c
|
@ -98,6 +98,7 @@ PRODUCT_PACKAGES += \
|
|||
|
||||
PRODUCT_PACKAGES += \
|
||||
libcamera_metadata.vendor \
|
||||
libcamera_metadata_shim \
|
||||
libdng_sdk.vendor \
|
||||
libexpat.vendor \
|
||||
libpng.vendor
|
||||
|
@ -421,6 +422,12 @@ PRODUCT_PACKAGES += \
|
|||
android.hardware.radio.config@1.3.vendor \
|
||||
android.hardware.radio@1.6.vendor
|
||||
|
||||
# Required for QPR3
|
||||
PRODUCT_PACKAGES += \
|
||||
libjsoncpp.vendor \
|
||||
libsqlite.vendor \
|
||||
libdumpstateutil.vendor
|
||||
|
||||
# Secure Element
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.secure_element@1.2.vendor
|
||||
|
|
|
@ -107,6 +107,7 @@ function blob_fixup {
|
|||
;;
|
||||
vendor/lib64/hw/mt6789/android.hardware.camera.provider@2.6-impl-mediatek.so)
|
||||
"${PATCHELF}" --replace-needed "libutils.so" "libutils-v32.so" "${2}"
|
||||
grep -q libcamera_metadata_shim.so "${2}" || "${PATCHELF}" --add-needed libcamera_metadata_shim.so "${2}"
|
||||
;;
|
||||
vendor/bin/hw/vendor.mediatek.hardware.mtkpower@1.0-service | vendor/lib64/android.hardware.power-service-mediatek.so)
|
||||
"${PATCHELF}" --replace-needed "android.hardware.power-V2-ndk_platform.so" "android.hardware.power-V2-ndk.so" "$2"
|
||||
|
|
Loading…
Reference in a new issue