Bug 464394 - Define MOZ_GFX_OPTIMIZE_MOBILE on WINCE. r=ted

This commit is contained in:
Doug Turner 2009-01-28 15:35:02 -08:00
Родитель 3b1c2b6b8e
Коммит fb01022ad6
2 изменённых файлов: 18 добавлений и 2 удалений

Просмотреть файл

@ -79,6 +79,8 @@ MOZ_CHROME_FILE_FORMAT = @MOZ_CHROME_FILE_FORMAT@
MOZ_WIDGET_TOOLKIT = @MOZ_WIDGET_TOOLKIT@ MOZ_WIDGET_TOOLKIT = @MOZ_WIDGET_TOOLKIT@
MOZ_GFX_TOOLKIT = @MOZ_GFX_TOOLKIT@ MOZ_GFX_TOOLKIT = @MOZ_GFX_TOOLKIT@
MOZ_GFX_OPTIMIZE_MOBILE = @MOZ_GFX_OPTIMIZE_MOBILE@
MOZ_DFB = @MOZ_DFB@ MOZ_DFB = @MOZ_DFB@
MOZ_X11 = @MOZ_X11@ MOZ_X11 = @MOZ_X11@

Просмотреть файл

@ -1989,6 +1989,8 @@ case "$target" in
USE_SHORT_LIBNAME=1 USE_SHORT_LIBNAME=1
MOZ_ENABLE_POSTSCRIPT= MOZ_ENABLE_POSTSCRIPT=
MOZ_USER_DIR="Mozilla" MOZ_USER_DIR="Mozilla"
MOZ_GFX_OPTIMIZE_MOBILE=1
;; ;;
@ -6155,8 +6157,7 @@ if test $NS_OSSO; then
AC_MSG_ERROR([DBus is required when building for OSSO]) AC_MSG_ERROR([DBus is required when building for OSSO])
fi fi
AC_DEFINE(NS_OSSO) AC_DEFINE(NS_OSSO)
dnl XXX this should go somewhere else; it's not just for OSSO MOZ_GFX_OPTIMIZE_MOBILE=1
AC_DEFINE(MOZ_GFX_OPTIMIZE_MOBILE)
fi fi
AC_SUBST(LIBOSSO_CFLAGS) AC_SUBST(LIBOSSO_CFLAGS)
AC_SUBST(LIBOSSO_LIBS) AC_SUBST(LIBOSSO_LIBS)
@ -6258,6 +6259,19 @@ if test -n "$MOZ_DEBUG"; then
CFLAGS=$_SAVE_CFLAGS CFLAGS=$_SAVE_CFLAGS
fi fi
dnl ========================================================
dnl enable mobile optimizations
dnl ========================================================
MOZ_ARG_ENABLE_BOOL(mobile-optimize,
[ --enable-mobile-optimize Enable mobile optimizations],
MOZ_GFX_OPTIMIZE_MOBILE=1)
AC_SUBST(MOZ_GFX_OPTIMIZE_MOBILE)
if test "$MOZ_GFX_OPTIMIZE_MOBILE"; then
AC_DEFINE(MOZ_GFX_OPTIMIZE_MOBILE)
fi
dnl ======================================================== dnl ========================================================
dnl = Enable code optimization. ON by default. dnl = Enable code optimization. ON by default.
dnl ======================================================== dnl ========================================================