Bug 781831 - Build media and omx plugins by default on Android - r=khuey

--HG--
extra : rebase_source : 1d4105e4e1b3d22e590eb4ff703a05c75dcc78c9
This commit is contained in:
Chris Double 2012-08-20 12:09:22 +12:00
parent 0b62b1a805
commit 25a0c7db31

View File

@ -5273,8 +5273,13 @@ if test -n "$MOZ_WEBM"; then
fi;
dnl ========================================================
dnl = Disable media plugin support
dnl = Enable media plugin support
dnl ========================================================
if test "$OS_TARGET" = Android -a x"$MOZ_WIDGET_TOOLKIT" != x"gonk"; then
dnl Enable support on android by default
MOZ_MEDIA_PLUGINS=1
fi
MOZ_ARG_ENABLE_BOOL(media-plugins,
[ --enable-media-plugins Enable support for media plugins],
MOZ_MEDIA_PLUGINS=1,
@ -5299,6 +5304,11 @@ fi
dnl ========================================================
dnl = Enable building OMX media plugin (B2G or Android)
dnl ========================================================
if test "$OS_TARGET" = Android -a x"$MOZ_WIDGET_TOOLKIT" != x"gonk"; then
dnl Enable support on android by default
MOZ_OMX_PLUGIN=1
fi
MOZ_ARG_ENABLE_BOOL(omx-plugin,
[ --enable-omx-plugin Enable building OMX plugin (B2G)],
MOZ_OMX_PLUGIN=1,