Closed Bug 1234009 Opened 9 years ago Closed 9 years ago

Use zopfli for compressing APK and omni.ja

Categories

(Firefox Build System :: Android Studio and Gradle Integration, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1173894

People

(Reporter: catlee, Unassigned)

References

Details

zopfli [1] is a deflate compatible compression algorithm that produces superior results to zip / gzip.

It's possible to use this algorithm to further compress zip files, using utilities like advzip [2]. Fennec's omni.ja shrinks from 7.52MB to 7.14MB when compressed with advzip. The whole APK shrinks from 34.1MB to 33.2MB, (assuming omni.ja and classes.dex are explicitly stored without compression)

[1] https://github.com/google/zopfli
[2] http://www.advancemame.it/comp-readme
See Also: → 1234008
Blocks: fatfennec
yep
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Product: Firefox for Android → Firefox Build System
You need to log in before you can comment on or make changes to this bug.