Commit graph

6 commits

Author SHA1 Message Date
Evan McClain
f199486460 Use pngcrush -brute by default.
But fallback to optipng -o7 and then pngout.

This saves ~2M in final .zip size at a cost of ~5 min of build time on
my laptop.

Change-Id: Ic56f677bdc8250f4088f4dbfbfd555ceed5616c2
Signed-off-by: Evan McClain <aeroevan@gmail.com>
2011-10-29 15:17:52 -04:00
Ladios Jonquil
1f76513897 tools: Fix for $LOGNAME missing in Ubuntu 11.10, using $USER instead
Change-Id: I824fc6ca27c2a2308e977a14585afc6dd4996f56
2011-09-25 02:16:41 +08:00
Christopher Lais
c557d07d8d opticharger: fix PinyinIME
aapt's -0 option is for extensions only, not directories, and PinyinIME
needs .dat to be excluded.  Nothing else in CM7 uses a .dat file, so
this shouldn't increase the .apk size more than is needed.

Also adding .dict, which isn't strictly required, but LatinIME wants it.
Nothing in CM7 but LatinIME uses .dict.

Change-Id: I7ce1b2cbc2b32c734978488aac2f4f6c43562cc1
2011-01-05 15:14:21 -06:00
Steve Kondik
47ce7ecc75 Use unique temporary directories in opticharger 2010-08-22 00:08:06 -04:00
Pat Thoyts
0e7f64ef60 Make opticharger less verbose and clean up after itself.
The verbose output of opticharger can obscure warning messages about missing
tools so this patch reduces the noise.
The script leaves droppings in /tmp so clean this up on exit using a trap.

Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
2010-07-11 02:37:52 -04:00
Steve Kondik
ae76c84593 Add CM tools. 2010-06-28 11:47:56 -04:00