Bug 1419581 - Pre: Add missing excludes when building without MOZ_NATIVE_DEVICES. r=nalexander draft
authorNick Alexander <nalexander@mozilla.com>
Thu, 04 Jan 2018 14:49:58 -0800
changeset 747335 0ab618268eb680ca7dc0eb9911dc05e7e9b1ac77
parent 724404 32b850fa28ae1c29039cb7ddcdfd71b324762c05
child 747336 ce7c1585529e61491a0133633b976b27083c2372
push id96881
push usernalexander@mozilla.com
push dateThu, 25 Jan 2018 22:25:52 +0000
reviewersnalexander
bugs1419581
milestone60.0a1
Bug 1419581 - Pre: Add missing excludes when building without MOZ_NATIVE_DEVICES. r=nalexander MozReview-Commit-ID: BXNFBEs2017
mobile/android/app/build.gradle
--- a/mobile/android/app/build.gradle
+++ b/mobile/android/app/build.gradle
@@ -139,16 +139,18 @@ android {
                 }
 
                 if (!mozconfig.substs.MOZ_NATIVE_DEVICES) {
                     exclude 'org/mozilla/gecko/ChromeCastDisplay.java'
                     exclude 'org/mozilla/gecko/ChromeCastPlayer.java'
                     exclude 'org/mozilla/gecko/GeckoMediaPlayer.java'
                     exclude 'org/mozilla/gecko/GeckoPresentationDisplay.java'
                     exclude 'org/mozilla/gecko/MediaPlayerManager.java'
+                    exclude 'org/mozilla/gecko/PresentationMediaPlayerManager.java'
+                    exclude 'org/mozilla/gecko/RemotePresentationService.java'
                 }
 
                 if (mozconfig.substs.MOZ_INSTALL_TRACKING) {
                     exclude 'org/mozilla/gecko/adjust/StubAdjustHelper.java'
                 } else {
                     exclude 'org/mozilla/gecko/adjust/AdjustHelper.java'
                 }