зеркало из https://github.com/mozilla/gecko-dev.git
Added BRPROF into the build, --disable-brprof to disable it.
This commit is contained in:
Родитель
b034a8fa51
Коммит
63fd4df6aa
|
@ -35,6 +35,7 @@ MOZILLA_GPROF = @MOZILLA_GPROF@
|
|||
BUILD_PROFILE = @MOZILLA_GPROF@
|
||||
MOZ_MAIL_NEWS = @MOZ_MAIL_NEWS@
|
||||
MOZ_EDITOR = @MOZ_EDITOR@
|
||||
MOZ_BRPROF = @MOZ_BRPROF@
|
||||
UNIX_SKIP_ASSERTS = @UNIX_SKIP_ASSERTS@
|
||||
NO_UNIX_ASYNC_DNS = @NO_UNIX_ASYNC_DNS@
|
||||
NO_SHARED_LIB = @NO_SHARED_LIB@
|
||||
|
|
|
@ -739,6 +739,12 @@ MOZ_ARG_ENABLE_BOOL(tests,
|
|||
[ --enable-tests Enable test stubs],
|
||||
ENABLE_TESTS=1)
|
||||
|
||||
dnl Build browsing profile by default
|
||||
MOZ_BRPROF=1
|
||||
MOZ_ARG_DISABLE_BOOL(brprof,
|
||||
[ --disable-brprof Disable browsing profile cookie],
|
||||
[MOZ_BRPROF= ] )
|
||||
|
||||
useRhapsody=`echo $target_os | egrep "^Rhapsody"`
|
||||
MOZ_ARG_ENABLE_STRING(toolkit,
|
||||
[ --enable-toolkit=\$val Enable \$val fe (defaults to gtk)],
|
||||
|
@ -941,6 +947,7 @@ AC_SUBST(MOZ_BUILD_XPFE)
|
|||
AC_SUBST(MOZ_BUILD_NSPR)
|
||||
dnl AC_SUBST(MOZ_LDAP)
|
||||
AC_SUBST(MOZ_EDITOR)
|
||||
AC_SUBST(MOZ_BRPROF)
|
||||
|
||||
dnl Remove this once clipboard is working.
|
||||
AC_SUBST(NEW_CLIPBOARD_SUPPORT)
|
||||
|
|
|
@ -30,6 +30,10 @@ CSRCS = \
|
|||
mkaccess.c \
|
||||
$(NULL)
|
||||
|
||||
ifdef MOZ_BRPROF
|
||||
CPPSRCS += nsGetBrowsingProfile.cpp
|
||||
endif
|
||||
|
||||
EXPORTS = mkaccess.h httpurl.h httpauth.h cookies.h
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
|
Загрузка…
Ссылка в новой задаче