build: Add option to compress precompiled odex with gzip

To reduce /system size, we add the option to compress odex files

Run make with WITH_DEXPREOPT_COMP=true to get odex compressed.

This patch needs to be supported by frameworks/native/cmds/installd

Change-Id: I8c4e6a30c49a1433f8af61a84ece85c92004da62
Depends-Change-Id: Ifa61af39c5644529699c17d6c19ef03742989afd
Signed-off-by: Julien Delayen <julien.delayen@intel.com>
Signed-off-by: Yevgeny Rouban <yevgeny.y.rouban@intel.com>
3 files changed