Bug 1445683 - Disable av1 on win32; r=chmanchester

We get intermittent OOMs building aom with MSVC on win32. The PGO builds are
definitely a problem, but it may affect other builds as well. The plan for now
is to stop supporting AV1 on win32 until we switch to clang, which hopefully
is not too far away.

--HG--
extra : rebase_source : e2a754dc635d003c39cfa51b044d68a2a4a2f592
This commit is contained in:
Dan Minor 2018-07-12 15:57:11 -04:00
Родитель b83fc6c040
Коммит 1bc5249654
1 изменённых файлов: 5 добавлений и 2 удалений

Просмотреть файл

@ -396,8 +396,11 @@ option('--enable-av1',
@depends('--enable-av1', target, milestone)
def av1(value, target, milestone):
enabled = bool(value)
if value.origin == 'default' and milestone.is_nightly:
enabled = target.os != 'Android'
if value.origin == 'default':
if target.os == 'WINNT' and target.cpu == 'x86':
enabled = False
elif milestone.is_nightly:
enabled = target.os != 'Android'
if enabled:
return True