diff --git a/device.mk b/device.mk index 2938ee3..c5e6a7d 100644 --- a/device.mk +++ b/device.mk @@ -127,6 +127,9 @@ PRODUCT_PACKAGES += \ libion.vendor \ libgui_vendor +PRODUCT_PACKAGES += \ + libpiex_shim + # Consumer IR PRODUCT_PACKAGES += \ android.hardware.ir@1.0-impl \ diff --git a/extract-files.sh b/extract-files.sh index 9082704..1808ef1 100644 --- a/extract-files.sh +++ b/extract-files.sh @@ -49,6 +49,15 @@ if [ -z "${SRC}" ]; then SRC="adb" fi +function blob_fixup() { + case "${1}" in + vendor/lib64/camera/components/com.qti.node.mialgocontrol.so) + llvm-strip --strip-debug "${2}" + grep -q "libpiex_shim.so" "${2}" || "${PATCHELF}" --add-needed "libpiex_shim.so" "${2}" + ;; + esac +} + # Initialize the helper setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" true "${CLEAN_VENDOR}"