configure: move MOZ_GMP define block after MOZ_EME

This commit is contained in:
roytam1 2023-09-14 12:17:20 +08:00
commit f5cacdadbf

View file

@ -2811,24 +2811,6 @@ else
AC_SUBST(MOZ_SAMPLE_TYPE_FLOAT32)
fi
dnl ========================================================
dnl = Enable Gecko Media Plugins
dnl ========================================================
if test -n "$MOZ_EME"; then
MOZ_GMP=1
fi
if test -n "$MOZ_WEBRTC"; then
MOZ_GMP=1
fi
if test -n "$MOZ_GMP"; then
AC_DEFINE(MOZ_GMP)
fi
AC_SUBST(MOZ_GMP)
dnl ========================================================
dnl = Enable Raw Codecs
dnl ========================================================
@ -2915,6 +2897,24 @@ if test -n "$MOZ_EME"; then
AC_DEFINE(MOZ_EME)
fi
dnl ========================================================
dnl = Enable Gecko Media Plugins
dnl ========================================================
if test -n "$MOZ_EME"; then
MOZ_GMP=1
fi
if test -n "$MOZ_WEBRTC"; then
MOZ_GMP=1
fi
if test -n "$MOZ_GMP"; then
AC_DEFINE(MOZ_GMP)
fi
AC_SUBST(MOZ_GMP)
MOZ_LIBVPX_CFLAGS=
MOZ_LIBVPX_LIBS=