opticharger: 2-pass crushing & 9patch lossy support

* Perform two-pass crushing (lossy & lossless). This is recommended
  by the pngquant author for maximum space savings.
* Add support for 9patch crushing (lossy/pngquant only)

Change-Id: Ia1b8bf021a67c3b16e01c624d819598cd9acba5a
apns: Add type default for Sprint.

Change-Id: I9e5c5702a47a1497120bb808b2d1c6585dde538b
Merge "opticharger: 2-pass crushing & 9patch lossy support" into cm-11.0
Squashed revert of mms and spn-specific overlays

In theory, could have been a good idea, but ultimately just leads to
headaches for device maintainers that need to overlay any of these.

Revert "overlay: remove Verizon specific eri.xml"

This reverts commit 5f92da62c686c12c00fc9f7948654816c586f838.

Revert "Add Japanese APNs/eri for au, docomo MVNO, EMOBILE and SoftBank"

This reverts commit eeeb0888d437ac0147cfe4b81aba264cf0d00b70.

Revert "Add apns/eri for Boost Mobile"

This reverts commit b207e2eda31e10a45a20774c61dc350975095d1b.

Revert "add more vzw eri's"

This reverts commit 82e10af192daaacf9e819253264a09a7051d0e06.

Revert "multi-carrier overlays: Add eri and config for US Cellular"

This reverts commit 1af75f1ba7abb351ec1113eeceaa00389a119e3b.

Revert "Multi-carrier overlays: Fix Mms"

This reverts commit f8b0737a435d211b01baf5df3feb9f98039884e2.

Revert "Generic multi-carrier overlays based on hammerhead"

This reverts commit 6f5758c9c33d1be82f76e32a8d83b427204436d1.

Change-Id: I3495a89ce405362dc558f7ec7f0e61adea9fa507
Re-add apns from squashed revert

apns re-added from:
- Add apns/eri for Boost Mobile
- Add Japanese APNs/eri for au, docomo MVNO, EMOBILE and SoftBank

Change-Id: I2e0091cc4ed1a5c6957792940aba13b801bf7335
Merge remote-tracking branch 'cm/cm-11.0' into cm-11.0
Revert "opticharger: 2-pass crushing & 9patch lossy support"

This reverts commit 53492913d434da44f3071faedbc9c00d145c8fa1.

Revert "squisher: update & enhance for cm-11.0"

This reverts commit f66953456afe3e7d18a2a97ef087f6821e276ab5.

Revert "Revert "get rid of otapackage tools""

This reverts commit 8d9f072888d6f9e7555d5a9b74bd9294c4dde353.

Remove opticharger

Change-Id: I5c85cd5c77a7e6f3c1b2e63e98c21767842b5428
Bring back squisher

Some devices could benefit from the size reduction from running
squisher, so bring back a revised version as an optional part of the
build process.

This version of squisher no longer handles the process of making
release OTAs, instead operating on $OUT/system before system images and
OTAs are created.  This has the advantage of avoiding having to unzip a
just-packed OTA to optimize it before repacking it.

Change-Id: I288f694fd1bf26782e05dcfa797a0569d9fdf9cb
opticharger: add pngquant lossy compression

Note: requires recent version of pngquant that supports 9patch files.
Reference: https://github.com/pornel/pngquant/issues/37

Change-Id: I55750dd6f918d881cf97136dea24a9ae96043459
VendorCM : Add density bucket for xhdpi

Add missing density buckets for devices such
as the nexus 5.

Change-Id: If759e5f061fe7f199db0688889db9559538dad84
Merge remote-tracking branch 'cm/cm-11.0' into cm-11.0
VendorCM : Add default wallpaper density bucket for hdpi

Change-Id: Ia49dc5a6ee52458347ee2b4e1b3cb7b562ab6a8c
Merge remote-tracking branch 'cm/cm-11.0' into cm-11.0
Revert "Add SELinux filesystem relabeling to init"

This reverts commit d2d1a7ffb1f5e831ed654379496f0efe88159a66.

Revert "selinuxrelabel: Remove attempts to relabel /system"

This reverts commit cae5f245304fe11e86323aa7f6f4c25e898bf36b.

Revert "Recheck /data for selinux labeling"

This reverts commit c4dcb16ca9f51341fdd81a61fb3c00861344c030.

Revert "selinuxrelabel: Add a check for dalvik-cache"

This reverts commit c7e92306143a7b11b570ea110bc467d881a2528d.

Revert "selinuxrelabel: Need to check in priv-app now"

This reverts commit 3013c99acb51f8c2aa1156930e864cfdbcc22135.

Revert "selinux: When adding userdata labels, do cache too"

This reverts commit 8994907baf46dc1ddd78467ec57ff78639c01937.

Revert "selinux: Use a more reliable sentinel to flag /data labelling"

This reverts commit b52874de531340af02ac8e664d828dcd02d2d860.

Change-Id: I7779aaca3b0751ed74d525292681817182a0aa7f
Merge remote-tracking branch 'cm/cm-11.0' into cm-11.0
Update tiny.mk

Change-Id: I84bcc08832e398d75ed0fca65a8e9298bc3e3fe2
apns-conf: fix NetCom (Norwegian)

Change-Id: Ia6d71e1a5320e4645f90b77f93c59b4a1e4cb7f0
opticharger: disable 9patch crushing

This seems to be causing issues with the Gallery app on LG p500,
so disable until the problem can be resolved in pngquant.

Change-Id: I24e768c3a72389ae1bb47df86b92585d7da138fd
squisher: support removing files on custom extras list

Delete files defined in custom squisher extras
list. Place a list of files to remove as
device/$VENDOR/$DEVICE/squisher-extras.txt.

Change-Id: Iaedbdbada70b2c268f2f5ab0603f727d935ec013
Merge remote-tracking branch 'cm/cm-11.0' into cm-11.0