stone: Add libpiex_shim for com.mi.node.mialgocontrol.so

Change-Id: I9e8b125ab5dfaa325db63b02a7fcf51577ee7b0d
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
This commit is contained in:
althafvly
2022-11-19 12:45:23 +05:30
committed by Arijit78
parent 4fb6fd0086
commit 666717ef79
2 changed files with 12 additions and 0 deletions

View File

@@ -127,6 +127,9 @@ PRODUCT_PACKAGES += \
libion.vendor \
libgui_vendor
PRODUCT_PACKAGES += \
libpiex_shim
# Consumer IR
PRODUCT_PACKAGES += \
android.hardware.ir@1.0-impl \

View File

@@ -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}"