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

MozReview-Commit-ID: Cs2dOZy0UUb
This commit is contained in:
Nick Alexander 2016-03-12 16:19:21 -08:00
parent 6a94d4d89a
commit 0412ff8793

View File

@ -100,6 +100,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.
}