Bug 1667948 - Don't break fat .aar creation if MOZ_ANDROID_FAT_AAR_ARCHITECTURES is set r=nalexander

Differential Revision: https://phabricator.services.mozilla.com/D92551
This commit is contained in:
Georg Koppen 2020-10-06 16:13:36 +00:00
Родитель 067cafe63f
Коммит ef16182aa2
1 изменённых файлов: 2 добавлений и 0 удалений

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

@ -189,6 +189,8 @@ ext.configureVariantWithGeckoBinaries = { variant ->
def shouldUpdateGenerationID = {
if (mozconfig.substs.MOZILLA_OFFICIAL) {
return false
} else if (mozconfig.substs.MOZ_ANDROID_FAT_AAR_ARCHITECTURES) {
return false
} else if (ext.getNDKDirectory() == null) {
logger.warn("Could not determine Android NDK directory.")
logger.warn("Set `ndk.dir` in `${project.topsrcdir}/local.properties` to avoid startup crashes when using `substitute-local-geckoview.gradle`.")