gms: Split blobs going over 100MB
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
This commit is contained in:
parent
62ab226a9f
commit
5a622d70e6
|
@ -0,0 +1,6 @@
|
||||||
|
proprietary/product/priv-app/Messages/Messages.apk
|
||||||
|
proprietary/product/priv-app/GmsCore/GmsCore.apk
|
||||||
|
proprietary/product/priv-app/Velvet/Velvet.apk
|
||||||
|
proprietary/product/app/TrichromeLibrary64/TrichromeLibrary64.apk
|
||||||
|
proprietary/product/app/Gmail2/Gmail2.apk
|
||||||
|
proprietary/product/app/Photos/Photos.apk
|
|
@ -53,6 +53,14 @@ if [ -z "${SRC}" ]; then
|
||||||
SRC="adb"
|
SRC="adb"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
function blob_fixup() {
|
||||||
|
case "${1}" in
|
||||||
|
product/priv-app/Messages/Messages.apk | product/priv-app/GmsCore/GmsCore.apk | product/priv-app/Velvet/Velvet.apk | product/app/TrichromeLibrary64/TrichromeLibrary64.apk | product/app/Gmail2/Gmail2.apk | product/app/Photos/Photos.apk )
|
||||||
|
split --bytes=49M -d "$2" "$2".part
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
# Initialize the helper.
|
# Initialize the helper.
|
||||||
setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" false "${CLEAN_VENDOR}"
|
setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" false "${CLEAN_VENDOR}"
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
# Merge GMS blobs
|
||||||
|
cat vendor/google/gms/proprietary/product/priv-app/Messages/Messages.apk.part* > vendor/google/gms/proprietary/product/priv-app/Messages/Messages.apk
|
||||||
|
cat vendor/google/gms/proprietary/product/priv-app/GmsCore/GmsCore.apk.part* > vendor/google/gms/proprietary/product/priv-app/GmsCore/GmsCore.apk
|
||||||
|
cat vendor/google/gms/proprietary/product/priv-app/Velvet/Velvet.apk.part* > vendor/google/gms/proprietary/product/priv-app/Velvet/Velvet.apk
|
||||||
|
cat vendor/google/gms/proprietary/product/app/TrichromeLibrary64/TrichromeLibrary64.apk.part* > vendor/google/gms/proprietary/product/app/TrichromeLibrary64/TrichromeLibrary64.apk
|
||||||
|
cat vendor/google/gms/proprietary/product/app/Gmail2/Gmail2.apk.part* > vendor/google/gms/proprietary/product/app/Gmail2/Gmail2.apk
|
||||||
|
cat vendor/google/gms/proprietary/product/app/Photos/Photos.apk.part* > vendor/google/gms/proprietary/product/app/Photos/Photos.apk
|
Loading…
Reference in New Issue