From 84c1e5249110bd23d8c9cf015446cce9716fd4c5 Mon Sep 17 00:00:00 2001 From: Jabiyeff Date: Sun, 24 Jul 2022 05:04:44 +0000 Subject: veux: Strip size of com.qti.node.mialgocontrol.so * Size decreased from 148 mb to 12 mb. Signed-off-by: Jabiyeff Change-Id: If680f2b0511f9e348973ea2a98f9f832745f6d79 --- extract-files.sh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'extract-files.sh') diff --git a/extract-files.sh b/extract-files.sh index ababc8f..96e4a74 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -49,10 +49,18 @@ if [ -z "${SRC}" ]; then SRC="adb" fi -# Initialize the helper for common device +function blob_fixup() { + case "${1}" in + vendor/lib64/camera/components/com.qti.node.mialgocontrol.so) + llvm-strip --strip-debug "${2}" + ;; + esac +} + +# Initialize the helper setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" true "${CLEAN_VENDOR}" extract "${MY_DIR}/proprietary-files.txt" "${SRC}" \ "${KANG}" --section "${SECTION}" -"${MY_DIR}/setup-makefiles.sh" \ No newline at end of file +"${MY_DIR}/setup-makefiles.sh" -- cgit v1.2.3