From c88c161875beca091fe183a3b04480422b3d3885 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Wed, 13 Dec 2017 17:47:44 +0100 Subject: Remove unnecessary front-end features and pres when not building EME. Tag #26. --- mobile/android/app/mobile.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'mobile') diff --git a/mobile/android/app/mobile.js b/mobile/android/app/mobile.js index 2a64297c4..9a28bd716 100644 --- a/mobile/android/app/mobile.js +++ b/mobile/android/app/mobile.js @@ -627,6 +627,12 @@ pref("media.mediasource.enabled", true); pref("media.mediadrm-widevinecdm.visible", true); +#ifdef MOZ_EME +// Enable EME(Encrypted media extensions?) +pref("media.eme.enabled", false); +pref("media.eme.apiVisible", false); +#endif + // optimize images memory usage pref("image.downscale-during-decode.enabled", true); -- cgit v1.2.3 From 11a8a39f6d2e057d51559c52c1bf0ba74bbfe189 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Thu, 1 Mar 2018 14:26:41 -0500 Subject: Use MOZ_FENNEC and MOZ_XULRUNNER instead of checking MOZ_BUILD_APP in most places --- mobile/android/configure.in | 12 ++++++++++++ mobile/android/confvars.sh | 1 + 2 files changed, 13 insertions(+) create mode 100644 mobile/android/configure.in (limited to 'mobile') diff --git a/mobile/android/configure.in b/mobile/android/configure.in new file mode 100644 index 000000000..9e13f39b3 --- /dev/null +++ b/mobile/android/configure.in @@ -0,0 +1,12 @@ +dnl -*- Mode: Autoconf; tab-width: 2; indent-tabs-mode: nil; -*- +dnl vi: set tabstop=2 shiftwidth=2 expandtab: +dnl This Source Code Form is subject to the terms of the Mozilla Public +dnl License, v. 2.0. If a copy of the MPL was not distributed with this +dnl file, You can obtain one at http://mozilla.org/MPL/2.0/. + +dnl Things we need to carry from confvars.sh +AC_DEFINE(MOZ_FENNEC) +AC_SUBST(MOZ_FENNEC) + +dnl Optional parts of the build. + diff --git a/mobile/android/confvars.sh b/mobile/android/confvars.sh index f2c7ec113..c1b81c079 100644 --- a/mobile/android/confvars.sh +++ b/mobile/android/confvars.sh @@ -4,6 +4,7 @@ MOZ_APP_BASENAME=Fennec MOZ_APP_VENDOR=Mozilla +MOZ_FENNEC=1 MOZ_APP_VERSION=`cat ${_topsrcdir}/$MOZ_BUILD_APP/config/version.txt` MOZ_APP_VERSION_DISPLAY=`cat ${_topsrcdir}/$MOZ_BUILD_APP/config/version_display.txt` -- cgit v1.2.3 From 565bf7514506110a53e37ca686a222527e1ed4e4 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Tue, 13 Mar 2018 10:00:19 +0100 Subject: Remove Rust MP4 parser Part 1 for #58 --- mobile/android/confvars.sh | 2 -- 1 file changed, 2 deletions(-) (limited to 'mobile') diff --git a/mobile/android/confvars.sh b/mobile/android/confvars.sh index c1b81c079..a804afe22 100644 --- a/mobile/android/confvars.sh +++ b/mobile/android/confvars.sh @@ -31,8 +31,6 @@ MOZ_XULRUNNER= MOZ_CAPTURE=1 MOZ_RAW=1 -MOZ_RUST_MP4PARSE=1 - # use custom widget for html:select MOZ_USE_NATIVE_POPUP_WINDOWS=1 -- cgit v1.2.3