system: perf: Zipalign QXPerformance.jar

cf09742efd

Change-Id: Ida118b2cedfde37096d3da7b6507357d21aec463
This commit is contained in:
Adithya R 2022-02-22 17:53:07 +05:30 committed by Juhyung Park
parent f4e58c414b
commit b3a9a20af2
1 changed files with 10 additions and 0 deletions

View File

@ -51,6 +51,16 @@ if [ -z "${SRC}" ]; then
SRC="adb"
fi
function blob_fixup() {
case "${1}" in
system/framework/QXPerformance.jar)
mv "${2}" "${2}.tmp"
zipalign -p -f 4 "${2}.tmp" "${2}"
rm "${2}.tmp"
;;
esac
}
# Initialize the helper
setup_vendor "${COMPONENT}" "${VENDOR}" "${ANDROID_ROOT}" false "${CLEAN_VENDOR}" "" true