зеркало из https://github.com/mozilla/pjs.git
Bug 672046 - Valgrind suppression files are still generated in objdir even when building without --enable-valgrind; r=ted
This commit is contained in:
Родитель
da977130f3
Коммит
9d9a2104ff
|
@ -102,6 +102,7 @@ GARBAGE += leaktest.py
|
||||||
libs:: $(_LEAKTEST_FILES)
|
libs:: $(_LEAKTEST_FILES)
|
||||||
$(INSTALL) $^ $(_LEAKTEST_DIR)
|
$(INSTALL) $^ $(_LEAKTEST_DIR)
|
||||||
|
|
||||||
|
ifdef MOZ_VALGRIND
|
||||||
_VALGRIND_DIR = $(DEPTH)/_valgrind
|
_VALGRIND_DIR = $(DEPTH)/_valgrind
|
||||||
GARBAGE_DIRS += $(_VALGRIND_DIR)
|
GARBAGE_DIRS += $(_VALGRIND_DIR)
|
||||||
|
|
||||||
|
@ -112,6 +113,7 @@ _VALGRIND_FILES = \
|
||||||
|
|
||||||
libs:: $(_VALGRIND_FILES)
|
libs:: $(_VALGRIND_FILES)
|
||||||
$(INSTALL) $^ $(_VALGRIND_DIR)
|
$(INSTALL) $^ $(_VALGRIND_DIR)
|
||||||
|
endif
|
||||||
|
|
||||||
ifdef ENABLE_TESTS
|
ifdef ENABLE_TESTS
|
||||||
libs:: $(topsrcdir)/tools/rb/fix_stack_using_bpsyms.py
|
libs:: $(topsrcdir)/tools/rb/fix_stack_using_bpsyms.py
|
||||||
|
|
|
@ -1827,7 +1827,9 @@ if test -n "$MOZ_VALGRIND"; then
|
||||||
AC_MSG_ERROR(
|
AC_MSG_ERROR(
|
||||||
[--enable-valgrind specified but Valgrind is not installed]))
|
[--enable-valgrind specified but Valgrind is not installed]))
|
||||||
AC_DEFINE(MOZ_VALGRIND)
|
AC_DEFINE(MOZ_VALGRIND)
|
||||||
|
MOZ_VALGRIND=1
|
||||||
fi
|
fi
|
||||||
|
AC_SUBST(MOZ_VALGRIND)
|
||||||
|
|
||||||
dnl ========================================================
|
dnl ========================================================
|
||||||
dnl jprof
|
dnl jprof
|
||||||
|
|
|
@ -4991,7 +4991,9 @@ if test -n "$MOZ_VALGRIND"; then
|
||||||
AC_MSG_ERROR(
|
AC_MSG_ERROR(
|
||||||
[--enable-valgrind specified but Valgrind is not installed]))
|
[--enable-valgrind specified but Valgrind is not installed]))
|
||||||
AC_DEFINE(MOZ_VALGRIND)
|
AC_DEFINE(MOZ_VALGRIND)
|
||||||
|
MOZ_VALGRIND=1
|
||||||
fi
|
fi
|
||||||
|
AC_SUBST(MOZ_VALGRIND)
|
||||||
|
|
||||||
dnl ========================================================
|
dnl ========================================================
|
||||||
dnl jprof
|
dnl jprof
|
||||||
|
|
Загрузка…
Ссылка в новой задаче