Move MOZ_AV1 back to ac configure for everyone to use.
This commit is contained in:
parent
5238c91b97
commit
a2342e6629
|
@ -157,6 +157,7 @@ def old_configure_options(*options):
|
|||
'--enable-accessibility',
|
||||
'--enable-address-sanitizer',
|
||||
'--enable-alsa',
|
||||
'--enable-av1',
|
||||
'--enable-b2g-bt',
|
||||
'--enable-b2g-camera',
|
||||
'--enable-b2g-ril',
|
||||
|
|
|
@ -2121,6 +2121,7 @@ if test "$MOZ_IOS"; then
|
|||
MOZ_AUTH_EXTENSION=
|
||||
fi
|
||||
MOZ_RAW=
|
||||
MOZ_AV1=
|
||||
MOZ_VORBIS=
|
||||
MOZ_TREMOR=
|
||||
MOZ_SAMPLE_TYPE_FLOAT32=
|
||||
|
@ -2802,6 +2803,20 @@ fi
|
|||
|
||||
AC_SUBST(MOZ_RAW)
|
||||
|
||||
dnl ========================================================
|
||||
dnl = Enable Libaom AV1 Codec
|
||||
dnl ========================================================
|
||||
MOZ_ARG_ENABLE_BOOL(av1,
|
||||
[ --enable-av1 Enable libaom for av1 video support],
|
||||
MOZ_AV1=1,
|
||||
MOZ_AV1=)
|
||||
|
||||
if test -n "$MOZ_AV1"; then
|
||||
AC_DEFINE(MOZ_AV1)
|
||||
fi
|
||||
|
||||
AC_SUBST(MOZ_AV1)
|
||||
|
||||
dnl ========================================================
|
||||
dnl = Apple platform decoder support
|
||||
dnl ========================================================
|
||||
|
|
|
@ -371,20 +371,6 @@ set_config('MOZ_FMP4', fmp4)
|
|||
set_define('MOZ_FMP4', fmp4)
|
||||
add_old_configure_assignment('MOZ_FMP4', fmp4)
|
||||
|
||||
# Libaom AV1 Video Codec Support
|
||||
# ==============================================================
|
||||
option('--enable-av1',
|
||||
help='Enable libaom for av1 video support')
|
||||
|
||||
@depends('--enable-av1')
|
||||
def av1(value):
|
||||
enabled = bool(value)
|
||||
if enabled:
|
||||
return True
|
||||
|
||||
set_config('MOZ_AV1', av1)
|
||||
set_define('MOZ_AV1', av1)
|
||||
|
||||
# Miscellaneous
|
||||
# ==============================================================
|
||||
option(name='--enable-chrome-format',
|
||||
|
|
Loading…
Reference in New Issue