Hi folks,

I just pushed Bug 1242284 [1], which adds three "product flavors" [2] to
the Gradle build configuration.  You can choose your flavor in the IDE
using Tools > Build Variants [3].

If you're developing on an Android SDK 21+ device, you want "local".
You'll get a faster DEX-to-APK-to-device cycle, although my testing
suggests it's not *that* much faster.

If you're developing on an Android SDK <21 device, you want "localOld".
This is essentially what we had before.

If you're ahead of me, and hacking on Gradle in automation, you want
"automation" :)

I expect to add more product flavors to address Bug 1236896 [4] sometime
soon -- patches welcome.

Please file fallout against [1].

Best,
Nick

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1242284
[2]
http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Product-flavors
[3]
http://developer.android.com/tools/building/configuring-gradle.html#workBuildVariants
[4] https://bugzilla.mozilla.org/show_bug.cgi?id=1236896
_______________________________________________
mobile-firefox-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/mobile-firefox-dev

Reply via email to