Thank you very much, Nicholas.

Adding MOZ_DISABLE_GECKOVIEW=1 reduced the package step to only 20 seconds even 
I have not tried to build with Gradle yet.

Cheers,
Duke

On Wednesday, February 25, 2015 at 12:48:37 PM UTC+9, Nicholas Alexander wrote:
> Hi Duke,
> 
> 
> 
> 
> On Tue, Feb 24, 2015 at 7:33 PM, Duc H. Bui <ducbu...@gmail.com> wrote:
> Hello,
> 
> I am working on Fennec on Android but the packaging step takes too long time 
> and slows down my debugging speed.
> 
> 
> 
> "./mach package" takes my machine 4 to 5 minutes to complete. On the other 
> hand, the build step is fast by reducing "./mach build" to compile the 
> modified directory.
> 
> 
> 
> This is slow, even by our slow standards, and that suggests your disk is 
> slow.  There are two things you can do to reduce your packaging speed:
> 
> 
> 1) add MOZ_DISABLE_GECKOVIEW=1 to your mozconfig, like at [1].  This stops 
> bundling up the GeckoView libraries and might also stop building some tests 
> at package time -- I can't recall the details.
> 
> 
> 2) build with Gradle and IntelliJ!  The Gradle packaging is much, much faster 
> than |mach package && mach install| for incremental builds.  Start at 
> https://wiki.mozilla.org/Mobile/Fennec/Android/IDEs#IntelliJ_or_Android_Studio_with_Gradle.
> 
> 
> Best,
> 
> Nick
> 
> [1] 
> https://dxr.mozilla.org/mozilla-central/source/mobile/android/config/mozconfigs/android-api-11/l10n-nightly#21
_______________________________________________
dev-builds mailing list
dev-builds@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-builds

Reply via email to