Bug 1289634 - Remove Widevine from Mozilla official mozconfigs, since it's enabled by default now. r?glandium draft
authorChris Pearce <cpearce@mozilla.com>
Mon, 01 Aug 2016 16:13:45 +1200
changeset 397027 9896c6f8cb78975565ff0741a1de809c9a49668f
parent 397026 a5bbaa0fcfdca2b7e3dae954d1f28185bda289d7
child 397028 483fa8a7d332af10c3cc28cfcf4546633ec2b076
push id25183
push userbmo:cpearce@mozilla.com
push dateFri, 05 Aug 2016 02:52:22 +0000
reviewersglandium
bugs1289634
milestone50.0a1
Bug 1289634 - Remove Widevine from Mozilla official mozconfigs, since it's enabled by default now. r?glandium MozReview-Commit-ID: F5NhvhUPz2G
browser/config/mozconfigs/macosx-universal/common-opt
browser/config/mozconfigs/win32/common-opt
browser/config/mozconfigs/win64/common-opt
--- a/browser/config/mozconfigs/macosx-universal/common-opt
+++ b/browser/config/mozconfigs/macosx-universal/common-opt
@@ -13,15 +13,10 @@ ac_add_options --with-mozilla-api-keyfil
 # Needed to enable breakpad in application.ini
 export MOZILLA_OFFICIAL=1
 
 export MOZ_TELEMETRY_REPORTING=1
 
 # Treat warnings as errors (modulo ALLOW_COMPILER_WARNINGS).
 ac_add_options --enable-warnings-as-errors
 
-# Enable Widevine CDMs on MacOSX in Mozilla builds.
-# Enabled here on the assumption that downstream vendors will not be using
-# these build configs.
-ac_add_options --enable-eme=widevine
-
 # Package js shell.
 export MOZ_PACKAGE_JSSHELL=1
--- a/browser/config/mozconfigs/win32/common-opt
+++ b/browser/config/mozconfigs/win32/common-opt
@@ -26,15 +26,17 @@ export MOZILLA_OFFICIAL=1
 
 export MOZ_TELEMETRY_REPORTING=1
 
 . $topsrcdir/build/win32/mozconfig.vs-latest
 
 # Treat warnings as errors (modulo ALLOW_COMPILER_WARNINGS).
 ac_add_options --enable-warnings-as-errors
 
-# Enable Adobe Primetime and Widevine CDMs on 32-bit Windows in Mozilla builds.
+# Enable Adobe Primetime CDM on 32-bit Windows in Mozilla builds.
 # Enabled here on the assumption that downstream vendors will not be using
 # these build configs.
-ac_add_options --enable-eme=adobe,widevine
+# Note: Widevine is automatically enabled by the build, and can be
+# disabled with -widevine.
+ac_add_options --enable-eme=+adobe
 
 # Package js shell.
 export MOZ_PACKAGE_JSSHELL=1
--- a/browser/config/mozconfigs/win64/common-opt
+++ b/browser/config/mozconfigs/win64/common-opt
@@ -24,15 +24,17 @@ export MOZILLA_OFFICIAL=1
 
 export MOZ_TELEMETRY_REPORTING=1
 
 # Treat warnings as errors (modulo ALLOW_COMPILER_WARNINGS).
 ac_add_options --enable-warnings-as-errors
 
 . $topsrcdir/build/win64/mozconfig.vs-latest
 
-# Enable Adobe Primetime and Widevine CDMs on 64-bit Windows in Mozilla builds.
+# Enable Adobe Primetime CDM on 64-bit Windows in Mozilla builds.
 # Enabled here on the assumption that downstream vendors will not be using
 # these build configs.
-ac_add_options --enable-eme=adobe,widevine
+# Note: Widevine is automatically enabled by the build, and can be
+# disabled with -widevine.
+ac_add_options --enable-eme=+adobe
 
 # Package js shell.
 export MOZ_PACKAGE_JSSHELL=1