Bug 699222 - Part 1: Add MOZ_B2G_RIL (--enable-b2g-ril) configure flag. r=khuey

This commit is contained in:
Kyle Machulis 2011-12-05 15:58:26 +08:00
parent 4c37200fc4
commit c9143bdf42
2 changed files with 15 additions and 0 deletions

View File

@ -289,6 +289,8 @@ MOZ_GIO_LIBS = @MOZ_GIO_LIBS@
MOZ_NATIVE_NSPR = @MOZ_NATIVE_NSPR@
MOZ_NATIVE_NSS = @MOZ_NATIVE_NSS@
MOZ_B2G_RIL = @MOZ_B2G_RIL@
BUILD_CTYPES = @BUILD_CTYPES@
COMPILE_ENVIRONMENT = @COMPILE_ENVIRONMENT@

View File

@ -4981,6 +4981,7 @@ cairo-gonk)
TK_LIBS='$(MOZ_CAIRO_LIBS)'
MOZ_WEBGL=1
MOZ_PDF_PRINTING=1
MOZ_B2G_RIL=1
;;
esac
@ -7573,6 +7574,18 @@ MOZ_ARG_ENABLE_BOOL(quantify,
MOZ_QUANTIFY=1,
MOZ_QUANTIFY= )
dnl ========================================================
dnl = Enable Radio Interface for B2G (Gonk usually)
dnl ========================================================
MOZ_ARG_ENABLE_BOOL(b2g-ril,
[ --enable-b2g-ril Set compile flags necessary for testing B2G Radio Interface Layer via network sockets ],
MOZ_B2G_RIL=1,
MOZ_B2G_RIL= )
if test -n "$MOZ_B2G_RIL"; then
AC_DEFINE(MOZ_B2G_RIL)
fi
AC_SUBST(MOZ_B2G_RIL)
dnl ========================================================
dnl = Support for demangling undefined symbols
dnl ========================================================