Bug 1255926 - Exclude GCM and Push files from Gradle configuration when !MOZ_ANDROID_GCM. r=bustage

MozReview-Commit-ID: Cs2dOZy0UUb

--HG--
extra : rebase_source : c9f5c82c4fe94dfe8bbaf6c700984c2c21f5716c
This commit is contained in:
Nick Alexander 2016-03-12 16:16:01 -08:00
parent fadd2e59b8
commit 2b40aea31a

View File

@ -101,6 +101,11 @@ android {
exclude 'org/mozilla/gecko/adjust/AdjustHelper.java'
}
if (!mozconfig.substs.MOZ_ANDROID_GCM) {
exclude 'org/mozilla/gecko/gcm/**/*.java'
exclude 'org/mozilla/gecko/push/**/*.java'
}
srcDir "${project.buildDir}/generated/source/preprocessed_code" // See syncPreprocessedCode.
}