bootanim: Use a for loop to make part# folders
Change-Id: Iec90f3521e589de4e8352c0349e1a0751d65d989
This commit is contained in:
parent
f5897a1be6
commit
3521fa5a3b
@ -19,9 +19,10 @@ fi
|
|||||||
|
|
||||||
RESOLUTION=""$IMAGESIZE"x"$IMAGESIZE""
|
RESOLUTION=""$IMAGESIZE"x"$IMAGESIZE""
|
||||||
|
|
||||||
mkdir -p $ANDROID_PRODUCT_OUT/obj/BOOTANIMATION/bootanimation/part0
|
for part_cnt in 0 1 2
|
||||||
mkdir -p $ANDROID_PRODUCT_OUT/obj/BOOTANIMATION/bootanimation/part1
|
do
|
||||||
mkdir -p $ANDROID_PRODUCT_OUT/obj/BOOTANIMATION/bootanimation/part2
|
mkdir -p $ANDROID_PRODUCT_OUT/obj/BOOTANIMATION/bootanimation/part$part_cnt
|
||||||
|
done
|
||||||
tar xfp "vendor/cm/bootanimation/bootanimation.tar" --to-command="convert - -resize '$RESOLUTION' \"png8:$OUT/bootanimation/\$TAR_FILENAME\""
|
tar xfp "vendor/cm/bootanimation/bootanimation.tar" --to-command="convert - -resize '$RESOLUTION' \"png8:$OUT/bootanimation/\$TAR_FILENAME\""
|
||||||
|
|
||||||
# Create desc.txt
|
# Create desc.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user