gecko-dev/mobile
Nick Alexander 1e0374da73 Bug 1255914 - Part 1: Proguard (minify) Gradle builds in automation. r=sebastian
moz.build achieves better results than Gradle, and I can't fully
explain why that is.  At first I thought it was due to
-optimizationpasses, which is 6 for MOZILLA_OFFICIAL; however, it's
not -- I see no change (let alone an improvement), when I set the
number of passes to 1, 6, 10, or 100.  I think there are two things at
play.  First, moz.build strips debugging information from "libraries",
which are broadly the Google support libraries.  I don't think it's
possible to strip debug information in this fine-grained manner using
Gradle.  Second, I think the Gradle build might be including more code
than the moz.build configuration (see the follow-up patch removing
multidex support), but I can't determine what's actually different.

After APK compression, I see less than a 50kb regression in APK size
between Gradle and moz.build outputs, which I deem reasonable.

MozReview-Commit-ID: 4q4Zye2wnOF

--HG--
extra : rebase_source : dfc0f983f56ceb5907f9aafcb37d2ac63d50988b
2016-11-21 11:58:57 -08:00
..
android Bug 1255914 - Part 1: Proguard (minify) Gradle builds in automation. r=sebastian 2016-11-21 11:58:57 -08:00
locales Bug 1285281 - Update Qwant icon to our guidelines. r=florian 2016-07-18 13:57:59 -05:00