mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-19 09:22:52 +00:00
Bug 318041 part 0 - add configure flag --with-embedding-profile=default|basic|minimal to define supported configuration sets, r=dougt
This commit is contained in:
parent
3b506b4915
commit
7d93ac03ea
@ -590,3 +590,7 @@ VISIBILITY_FLAGS = @VISIBILITY_FLAGS@
|
||||
WRAP_SYSTEM_INCLUDES = @WRAP_SYSTEM_INCLUDES@
|
||||
|
||||
MOZ_V1_STRING_ABI = @MOZ_V1_STRING_ABI@
|
||||
|
||||
MOZ_EMBEDDING_LEVEL_DEFAULT = @MOZ_EMBEDDING_LEVEL_DEFAULT@
|
||||
MOZ_EMBEDDING_LEVEL_BASIC = @MOZ_EMBEDDING_LEVEL_BASIC@
|
||||
MOZ_EMBEDDING_LEVEL_MINIMAL = @MOZ_EMBEDDING_LEVEL_MINIMAL@
|
||||
|
175
configure.in
175
configure.in
@ -4355,7 +4355,7 @@ case "$target_os" in
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
MOZ_ARG_ENABLE_STRING(application,
|
||||
[ --enable-application=APP
|
||||
Options include:
|
||||
@ -4373,6 +4373,139 @@ MOZ_ARG_ENABLE_STRING(application,
|
||||
xpcom/xpconnect or to manually drive a build)],
|
||||
[ MOZ_BUILD_APP=$enableval ] )
|
||||
|
||||
case "$MOZ_BUILD_APP" in
|
||||
minimo)
|
||||
MOZ_EMBEDDING_PROFILE=basic
|
||||
;;
|
||||
|
||||
*)
|
||||
MOZ_EMBEDDING_PROFILE=default
|
||||
;;
|
||||
esac
|
||||
|
||||
MOZ_ARG_WITH_STRING(embedding-profile,
|
||||
[ --with-embedding-profile=default|basic|minimal
|
||||
see http://wiki.mozilla.org/Gecko:Small_Device_Support],
|
||||
[ MOZ_EMBEDDING_PROFILE=$withval ])
|
||||
|
||||
case "$MOZ_EMBEDDING_PROFILE" in
|
||||
default)
|
||||
MOZ_EMBEDDING_LEVEL_DEFAULT=1
|
||||
MOZ_EMBEDDING_LEVEL_BASIC=1
|
||||
MOZ_EMBEDDING_LEVEL_MINIMAL=1
|
||||
AC_DEFINE(MOZ_EMBEDDING_LEVEL_DEFAULT)
|
||||
AC_DEFINE(MOZ_EMBEDDING_LEVEL_BASIC)
|
||||
AC_DEFINE(MOZ_EMBEDDING_LEVEL_MINIMAL)
|
||||
;;
|
||||
|
||||
basic)
|
||||
MOZ_EMBEDDING_LEVEL_DEFAULT=
|
||||
MOZ_EMBEDDING_LEVEL_BASIC=1
|
||||
MOZ_EMBEDDING_LEVEL_MINIMAL=1
|
||||
AC_DEFINE(MOZ_EMBEDDING_LEVEL_BASIC)
|
||||
AC_DEFINE(MOZ_EMBEDDING_LEVEL_MINIMAL)
|
||||
ENABLE_TESTS=
|
||||
MINIMO=1
|
||||
MOZ_ACTIVEX_SCRIPTING_SUPPORT=
|
||||
MOZ_COMPOSER=
|
||||
MOZ_ENABLE_CANVAS=
|
||||
MOZ_ENABLE_POSTSCRIPT=
|
||||
MOZ_EXTENSIONS_DEFAULT=" cookie spatialnavigation permissions"
|
||||
MOZ_IMG_DECODERS_DEFAULT="png gif jpeg"
|
||||
MOZ_IMG_ENCODERS_DEFAULT=
|
||||
MOZ_IMG_ENCODERS=
|
||||
MOZ_INSTALLER=
|
||||
MOZ_JSDEBUGGER=
|
||||
MOZ_LDAP_XPCOM=
|
||||
MOZ_MAIL_NEWS=
|
||||
MOZ_MATHML=
|
||||
MOZ_AUTH_EXTENSION=
|
||||
MOZ_NO_ACTIVEX_SUPPORT=1
|
||||
MOZ_NO_XPCOM_OBSOLETE=1
|
||||
MOZ_NO_FAST_LOAD=1
|
||||
MOZ_OJI=
|
||||
MOZ_PLAINTEXT_EDITOR_ONLY=1
|
||||
# MOZ_PLUGINS=
|
||||
MOZ_PREF_EXTENSIONS=
|
||||
MOZ_PROFILELOCKING=
|
||||
MOZ_PROFILESHARING=
|
||||
MOZ_SINGLE_PROFILE=1
|
||||
MOZ_SVG=
|
||||
MOZ_UNIVERSALCHARDET=
|
||||
MOZ_UPDATER=
|
||||
MOZ_USE_NATIVE_UCONV=1
|
||||
MOZ_V1_STRING_ABI=
|
||||
MOZ_VIEW_SOURCE=
|
||||
MOZ_XPFE_COMPONENTS=
|
||||
MOZ_XPINSTALL=
|
||||
MOZ_XTF=
|
||||
MOZ_XUL_APP=1
|
||||
NECKO_DISK_CACHE=
|
||||
NECKO_PROTOCOLS_DEFAULT="about data http file res"
|
||||
NECKO_SMALL_BUFFERS=1
|
||||
NS_DISABLE_LOGGING=1
|
||||
NS_PRINTING=
|
||||
JS_STATIC_BUILD=1
|
||||
;;
|
||||
|
||||
minimal)
|
||||
MOZ_EMBEDDING_LEVEL_DEFAULT=
|
||||
MOZ_EMBEDDING_LEVEL_BASIC=
|
||||
MOZ_EMBEDDING_LEVEL_MINIMAL=1
|
||||
AC_DEFINE(MOZ_EMBEDDING_LEVEL_MINIMAL)
|
||||
ENABLE_TESTS=
|
||||
MOZ_ACTIVEX_SCRIPTING_SUPPORT=
|
||||
MOZ_COMPOSER=
|
||||
MOZ_ENABLE_CANVAS=
|
||||
MOZ_ENABLE_POSTSCRIPT=
|
||||
MOZ_EXTENSIONS_DEFAULT=" cookie spatialnavigation permissions"
|
||||
MOZ_IMG_DECODERS_DEFAULT="png gif jpeg"
|
||||
MOZ_IMG_ENCODERS_DEFAULT=
|
||||
MOZ_IMG_ENCODERS=
|
||||
MOZ_INSTALLER=
|
||||
MOZ_JSDEBUGGER=
|
||||
MOZ_LDAP_XPCOM=
|
||||
MOZ_MAIL_NEWS=
|
||||
MOZ_MATHML=
|
||||
MOZ_AUTH_EXTENSION=
|
||||
MOZ_NO_ACTIVEX_SUPPORT=1
|
||||
MOZ_NO_XPCOM_OBSOLETE=1
|
||||
MOZ_NO_FAST_LOAD=1
|
||||
MOZ_OJI=
|
||||
MOZ_PLAINTEXT_EDITOR_ONLY=1
|
||||
MOZ_PLUGINS=
|
||||
MOZ_PREF_EXTENSIONS=
|
||||
MOZ_PROFILELOCKING=
|
||||
MOZ_PROFILESHARING=
|
||||
MOZ_SINGLE_PROFILE=1
|
||||
MOZ_SVG=
|
||||
MOZ_UNIVERSALCHARDET=
|
||||
MOZ_UPDATER=
|
||||
MOZ_USE_NATIVE_UCONV=1
|
||||
MOZ_V1_STRING_ABI=
|
||||
MOZ_VIEW_SOURCE=
|
||||
MOZ_XPFE_COMPONENTS=
|
||||
MOZ_XPINSTALL=
|
||||
MOZ_XTF=
|
||||
MOZ_XUL=
|
||||
MOZ_XUL_APP=1
|
||||
NECKO_DISK_CACHE=
|
||||
NECKO_PROTOCOLS_DEFAULT="about data http file res"
|
||||
NECKO_SMALL_BUFFERS=1
|
||||
NS_DISABLE_LOGGING=1
|
||||
NS_PRINTING=
|
||||
JS_STATIC_BUILD=1
|
||||
;;
|
||||
|
||||
*)
|
||||
AC_MSG_ERROR([Unrecognized value: --with-embedding-profile=$MOZ_EMBEDDING_PROFILE])
|
||||
;;
|
||||
esac
|
||||
|
||||
AC_SUBST(MOZ_EMBEDDING_LEVEL_DEFAULT)
|
||||
AC_SUBST(MOZ_EMBEDDING_LEVEL_BASIC)
|
||||
AC_SUBST(MOZ_EMBEDDING_LEVEL_MINIMAL)
|
||||
|
||||
case "$MOZ_BUILD_APP" in
|
||||
suite)
|
||||
MOZ_APP_NAME=seamonkey
|
||||
@ -4404,48 +4537,8 @@ minimo)
|
||||
MOZ_APP_DISPLAYNAME=minimo
|
||||
ACCESSIBILITY=
|
||||
AC_DEFINE(MINIMO)
|
||||
ENABLE_TESTS=
|
||||
MINIMO=1
|
||||
MOZ_ACTIVEX_SCRIPTING_SUPPORT=
|
||||
MOZ_APP_VERSION=`cat $topsrcdir/minimo/config/version.txt`
|
||||
MOZ_COMPOSER=
|
||||
MOZ_ENABLE_CANVAS=
|
||||
MOZ_ENABLE_POSTSCRIPT=
|
||||
MOZ_EXTENSIONS_DEFAULT=" cookie xml-rpc spatialnavigation permissions"
|
||||
MOZ_IMG_DECODERS_DEFAULT="png gif jpeg"
|
||||
MOZ_IMG_ENCODERS_DEFAULT=
|
||||
MOZ_IMG_ENCODERS=
|
||||
MOZ_INSTALLER=
|
||||
MOZ_JSDEBUGGER=
|
||||
MOZ_LDAP_XPCOM=
|
||||
MOZ_MAIL_NEWS=
|
||||
MOZ_MATHML=
|
||||
MOZ_AUTH_EXTENSION=
|
||||
MOZ_NO_ACTIVEX_SUPPORT=1
|
||||
MOZ_NO_XPCOM_OBSOLETE=1
|
||||
MOZ_NO_FAST_LOAD=1
|
||||
MOZ_OJI=
|
||||
MOZ_PLAINTEXT_EDITOR_ONLY=1
|
||||
MOZ_PREF_EXTENSIONS=
|
||||
MOZ_PROFILELOCKING=
|
||||
MOZ_PROFILESHARING=
|
||||
MOZ_SINGLE_PROFILE=1
|
||||
MOZ_SVG=
|
||||
MOZ_UNIVERSALCHARDET=
|
||||
MOZ_UPDATER=
|
||||
MOZ_USE_NATIVE_UCONV=1
|
||||
MOZ_V1_STRING_ABI=
|
||||
MOZ_VIEW_SOURCE=
|
||||
MOZ_XPFE_COMPONENTS=
|
||||
MOZ_XPINSTALL=
|
||||
MOZ_XTF=
|
||||
MOZ_XUL_APP=1
|
||||
NECKO_DISK_CACHE=
|
||||
NECKO_PROTOCOLS_DEFAULT="about data http file res"
|
||||
NECKO_SMALL_BUFFERS=1
|
||||
NS_DISABLE_LOGGING=1
|
||||
NS_PRINTING=
|
||||
JS_STATIC_BUILD=1
|
||||
;;
|
||||
|
||||
mail)
|
||||
|
Loading…
x
Reference in New Issue
Block a user