mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_sm6250-common.git
synced 2025-07-02 15:59:52 +09:00
sm6250-common: Get rid of megvii dependencies in camera.qcom.so
Change-Id: I97058c320d06819a468ebe38e2704360e9aa91db Signed-off-by: Arian <arian.kulmer@web.de>
This commit is contained in:
@ -49,6 +49,16 @@ if [ -z "${SRC}" ]; then
|
||||
SRC="adb"
|
||||
fi
|
||||
|
||||
function blob_fixup() {
|
||||
case "${1}" in
|
||||
vendor/lib64/hw/camera.qcom.so)
|
||||
patchelf --remove-needed "libMegviiFacepp-0.5.2.so" "${2}"
|
||||
patchelf --remove-needed "libmegface.so" "${2}"
|
||||
patchelf --add-needed "libshim_megvii.so" "${2}"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
# Initialize the helper for common device
|
||||
setup_vendor "${DEVICE_COMMON}" "${VENDOR}" "${LINEAGE_ROOT}" true "${CLEAN_VENDOR}"
|
||||
|
||||
|
Reference in New Issue
Block a user