aboutsummaryrefslogtreecommitdiff
path: root/extract-files.sh
diff options
context:
space:
mode:
authorJabiyeff <cebiyevanar@gmail.com>2022-07-24 05:04:44 +0000
committersinanmohd <pcmsinan@gmail.com>2023-01-05 21:27:38 +0530
commit84c1e5249110bd23d8c9cf015446cce9716fd4c5 (patch)
tree389421ecd6ed6c194fe3692da41b285eda0ff844 /extract-files.sh
parentabaf05236b945446e82ed803989da5b8bb412a4e (diff)
veux: Strip size of com.qti.node.mialgocontrol.so
* Size decreased from 148 mb to 12 mb. Signed-off-by: Jabiyeff <cebiyevanar@gmail.com> Change-Id: If680f2b0511f9e348973ea2a98f9f832745f6d79
Diffstat (limited to 'extract-files.sh')
-rwxr-xr-xextract-files.sh12
1 files changed, 10 insertions, 2 deletions
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"