Bug 1478005 - Enable AV1 for non-Nightly builds; r=drno
authorDan Minor <dminor@mozilla.com>
Wed, 25 Jul 2018 10:54:55 -0400
changeset 428660 5ada255f20ab023391cd961d6a49bfca954052a8
parent 428659 d837831ad47c9315b68def0c0b9478d619588f8c
child 428661 13baffe17d22419146e4a8e42712f0cd679fc26e
push id34339
push userdluca@mozilla.com
push dateFri, 27 Jul 2018 10:20:10 +0000
treeherdermozilla-central@87bcafe428a4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdrno
bugs1478005
milestone63.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 1478005 - Enable AV1 for non-Nightly builds; r=drno Summary: AV1 is still preffed off by default and is still disabled for Android and 32 bit Windows. Reviewers: drno Tags: #secure-revision Bug #: 1478005 Differential Revision: https://phabricator.services.mozilla.com/D2362
toolkit/moz.configure
--- a/toolkit/moz.configure
+++ b/toolkit/moz.configure
@@ -388,23 +388,23 @@ set_config('MOZ_FFMPEG', ffmpeg)
 set_define('MOZ_FFMPEG', ffmpeg)
 imply_option('--enable-fmp4', ffmpeg, '--enable-ffmpeg')
 
 # Libaom AV1 Video Codec Support
 # ==============================================================
 option('--enable-av1',
         help='Enable libaom for av1 video support')
 
-@depends('--enable-av1', target, milestone)
-def av1(value, target, milestone):
+@depends('--enable-av1', target)
+def av1(value, target):
     enabled = bool(value)
     if value.origin == 'default':
         if target.os == 'WINNT' and target.cpu == 'x86':
             enabled = False
-        elif milestone.is_nightly:
+        else:
             enabled = target.os != 'Android'
     if enabled:
         return True
 
 set_config('MOZ_AV1', av1)
 set_define('MOZ_AV1', av1)
 
 # Built-in fragmented MP4 support.