Bug 1285511 - Improve existing build flavor comments. r=sebastian

MozReview-Commit-ID: CRPqN07Pe9V

--HG--
extra : rebase_source : d9631679e44acea4d31ab547633e0729768f987a
This commit is contained in:
Michael Comella 2016-07-20 15:48:53 -07:00
Родитель b2d3f9f479
Коммит 482b771abe
1 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -45,10 +45,9 @@ android {
} }
productFlavors { productFlavors {
// For fast local development. If you have an API 21 device, you should // For API 21+ - with multi dex, this will be faster for local development.
// use this.
local { local {
// Setting `minSdkVersion 21` allows the Android gradle plugin to // For multi dex, setting `minSdkVersion 21` allows the Android gradle plugin to
// pre-DEX each module and produce an APK that can be tested on // pre-DEX each module and produce an APK that can be tested on
// Android Lollipop without time consuming DEX merging processes. // Android Lollipop without time consuming DEX merging processes.
minSdkVersion 21 minSdkVersion 21
@ -57,8 +56,9 @@ android {
multiDexEnabled true multiDexEnabled true
} }
} }
// For local development on older devices. Use this only if you only // For API < 21 - does not support multi dex because local development
// have a pre-API 21 device, or if you want to test API-specific things. // is slow in that case. Most builds will not require multi dex so this
// should not be an issue.
localOld { localOld {
} }
// Automation builds. // Automation builds.