mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_stone
synced 2026-01-27 11:33:32 +00:00
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:
@@ -127,6 +127,9 @@ PRODUCT_PACKAGES += \
|
||||
libion.vendor \
|
||||
libgui_vendor
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
libpiex_shim
|
||||
|
||||
# Consumer IR
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.ir@1.0-impl \
|
||||
|
||||
@@ -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}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user