Bug 1387207 - Exclude code of GeckoHLS-related components if ExoPlayer source code is not included. r=nalexander
authorKilik Kuo <kikuo@mozilla.com>
Fri, 04 Aug 2017 14:11:43 +0800
changeset 373294 87b6d99a490bfe892b84883e391ea3a5d35a38ab
parent 373293 e85bed50a2ac1ebe1baf8d9104018f766e134e29
child 373295 d79b9e6b0d037e1869563d303430bdf7ce53be6a
push id48204
push userkikuo@mozilla.com
push dateTue, 08 Aug 2017 04:11:58 +0000
treeherderautoland@87b6d99a490b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnalexander
bugs1387207
milestone57.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1387207 - Exclude code of GeckoHLS-related components if ExoPlayer source code is not included. r=nalexander MozReview-Commit-ID: CfIrjDzmCjM
mobile/android/geckoview/build.gradle
--- a/mobile/android/geckoview/build.gradle
+++ b/mobile/android/geckoview/build.gradle
@@ -71,16 +71,21 @@ android {
 
     sourceSets {
         main {
             java {
                 srcDir "${topsrcdir}/mobile/android/geckoview/src/thirdparty/java"
 
                 if (!mozconfig.substs.MOZ_ANDROID_HLS_SUPPORT) {
                     exclude 'com/google/android/exoplayer2/**'
+                    exclude 'org/mozilla/gecko/media/GeckoHlsAudioRenderer.java'
+                    exclude 'org/mozilla/gecko/media/GeckoHlsPlayer.java'
+                    exclude 'org/mozilla/gecko/media/GeckoHlsRendererBase.java'
+                    exclude 'org/mozilla/gecko/media/GeckoHlsVideoRenderer.java'
+                    exclude 'org/mozilla/gecko/media/Utils.java'
                 }
 
                 if (mozconfig.substs.MOZ_WEBRTC) {
                     srcDir "${topsrcdir}/media/webrtc/trunk/webrtc/base/java/src"
                     srcDir "${topsrcdir}/media/webrtc/trunk/webrtc/modules/audio_device/android/java/src"
                     srcDir "${topsrcdir}/media/webrtc/trunk/webrtc/modules/video_capture/android/java/src"
                 }