Bug 1192226 - Enable libvpx size limit in update.py. r=rillian, a=lizzard
Bounds match those in VideoUtils.h.
--- a/media/libvpx/update.py
+++ b/media/libvpx/update.py
@@ -353,16 +353,17 @@ def prepare_upstream(prefix, commit=None
for target in PLATFORMS:
target_objdir = os.path.join(prefix, 'objdir', target)
os.makedirs(target_objdir)
os.chdir(target_objdir)
configure = ['../../configure', '--target=%s' % target,
'--disable-examples', '--disable-install-docs',
'--enable-multi-res-encoding',
+ '--size-limit=4000x3000'
]
if 'darwin9' in target:
configure += ['--enable-pic']
if 'linux' in target:
configure += ['--enable-pic']
configure += ['--disable-avx2']
# x86inc.asm is not compatible with pic 32bit builds