Bug 1341990 - Part 0: Add a feature flag to control source code build time coverage for ExoPlayer.
A feature flag named MOZ_ANDROID_HLS_SUPPORT is added.
HLS (HTTP Live Streaming) is supported on different browsers on mobile devices.
By integrating ExoPlayer's components into Fennec, we're able to play media via HLS on Fennec.
MozReview-Commit-ID: Igubn98UPjh
--- a/mobile/android/moz.configure
+++ b/mobile/android/moz.configure
@@ -67,16 +67,20 @@ project_flag('MOZ_ANDROID_CUSTOM_TABS',
# Enable the Switchboard A/B framework code.
# Note: The framework is always included in the app. This flag controls
# usage of the framework.
project_flag('MOZ_SWITCHBOARD',
help='Include Switchboard A/B framework on Android',
default=True)
+project_flag('MOZ_ANDROID_HLS_SUPPORT',
+ help='Enable HLS (HTTP Live Streaming) support (currently using the ExoPlayer library)',
+ default=milestone.is_nightly)
+
option(env='MOZ_ANDROID_ACTIVITY_STREAM',
help='Enable Activity Stream on Android (replacing the default HomePager)',
default=False)
set_config('MOZ_ANDROID_ACTIVITY_STREAM',
depends_if('MOZ_ANDROID_ACTIVITY_STREAM')(lambda _: True))
option(env='MOZ_ANDROID_PACKAGE_INSTALL_BOUNCER',