Revert "configure: move MOZ_GMP define block after MOZ_EME"

This reverts commit f5cacdadbf.
This commit is contained in:
roytam1 2023-09-18 20:49:36 +08:00
commit 7e50abda7d

View file

@ -2811,6 +2811,24 @@ 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 ========================================================
@ -2897,24 +2915,6 @@ 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=