Backed out changeset 55ca661e2723 (bug 1295853) for missing a review comment a=backout
authorWes Kocher <wkocher@mozilla.com>
Thu, 25 Aug 2016 16:04:49 -0700
changeset 311240 0ce4690fbbed225af9f20e1677a154b829170b1b
parent 311239 8f30fd1bbbe188ab2dc8977d0442fd7393f10af8
child 311241 953617804cb1f8c069a0a07d3f0897139d08c6be
push id30605
push userryanvm@gmail.com
push dateFri, 26 Aug 2016 13:25:05 +0000
treeherdermozilla-central@717ef7ea17e8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbackout
bugs1295853
milestone51.0a1
backs out55ca661e2723dcc13c3f36f29d41c02c4d4b1d7b
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
Backed out changeset 55ca661e2723 (bug 1295853) for missing a review comment a=backout
toolkit/moz.configure
--- a/toolkit/moz.configure
+++ b/toolkit/moz.configure
@@ -351,28 +351,16 @@ def eme_default(build_project, help):
         return 'widevine'
 
 option('--enable-eme',
        nargs='*',
        choices=('adobe','widevine',),
        default=eme_default,
        help='Enable support for Encrypted Media Extensions')
 
-@depends('--enable-eme', target)
-def enable_eme(value, target):
-    # Widevine EME by default enabled on desktop Windows, MacOS and Linux,
-    # x86 and x64 builds.
-    if (target.kernel in ('Darwin', 'WINNT', 'Linux') and
-        target.os not in ('Android', 'iOS') and
-        target.cpu in ('x86', 'x86_64')):
-        return value
-    elif value and value.origin != 'default':
-        die('%s is not supported on %s' % (value.format('--enable-eme'), target.alias))
-    return value
-
 @depends('--enable-eme', fmp4)
 def eme(value, fmp4):
     enabled = bool(value)
     if value.origin == 'default':
         enabled = enabled or fmp4
     if enabled and not fmp4:
         die('Encrypted Media Extension support requires '
             'Fragmented MP4 support')