mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-22 13:46: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
07c8117b82
commit
c1bde76782
|
@ -98,6 +98,7 @@ PRODUCT_PACKAGES += \
|
||||||
|
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
libcamera_metadata.vendor \
|
libcamera_metadata.vendor \
|
||||||
|
libcamera_metadata_shim \
|
||||||
libdng_sdk.vendor \
|
libdng_sdk.vendor \
|
||||||
libexpat.vendor \
|
libexpat.vendor \
|
||||||
libpng.vendor
|
libpng.vendor
|
||||||
|
@ -421,6 +422,12 @@ PRODUCT_PACKAGES += \
|
||||||
android.hardware.radio.config@1.3.vendor \
|
android.hardware.radio.config@1.3.vendor \
|
||||||
android.hardware.radio@1.6.vendor
|
android.hardware.radio@1.6.vendor
|
||||||
|
|
||||||
|
# Required for QPR3
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
libjsoncpp.vendor \
|
||||||
|
libsqlite.vendor \
|
||||||
|
libdumpstateutil.vendor
|
||||||
|
|
||||||
# Secure Element
|
# Secure Element
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.secure_element@1.2.vendor
|
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)
|
vendor/lib64/hw/mt6789/android.hardware.camera.provider@2.6-impl-mediatek.so)
|
||||||
"${PATCHELF}" --replace-needed "libutils.so" "libutils-v32.so" "${2}"
|
"${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)
|
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"
|
"${PATCHELF}" --replace-needed "android.hardware.power-V2-ndk_platform.so" "android.hardware.power-V2-ndk.so" "$2"
|
||||||
|
|
Loading…
Reference in a new issue