mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 23:23:33 +00:00
Bug 1135654 - part 4 - remove libs:: rule for installing Valgrind suppressions in favor of INSTALL_TARGETS; r=mshal
This commit is contained in:
parent
e4206bd308
commit
ba7d45b74a
@ -69,6 +69,19 @@ MOZTT_FILES = $(patsubst external/moztt/%,$(MOZTTDIR)/%,$(filter external/moztt/
|
||||
INSTALL_TARGETS += MOZTT
|
||||
endif
|
||||
|
||||
ifdef MOZ_VALGRIND
|
||||
_VALGRIND_DIR = $(DEPTH)/_valgrind
|
||||
GARBAGE_DIRS += $(_VALGRIND_DIR)
|
||||
|
||||
_VALGRIND_FILES = \
|
||||
$(topsrcdir)/build/valgrind/cross-architecture.sup \
|
||||
$(topsrcdir)/build/valgrind/i386-redhat-linux-gnu.sup \
|
||||
$(topsrcdir)/build/valgrind/x86_64-redhat-linux-gnu.sup \
|
||||
$(NULL)
|
||||
_VALGRIND_DEST = $(_VALGRIND_DIR)
|
||||
INSTALL_TARGETS += _VALGRIND
|
||||
endif
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
TARGET_DEPTH = ..
|
||||
@ -87,20 +100,6 @@ endif
|
||||
|
||||
libs:: automation.py
|
||||
|
||||
ifdef MOZ_VALGRIND
|
||||
_VALGRIND_DIR = $(DEPTH)/_valgrind
|
||||
GARBAGE_DIRS += $(_VALGRIND_DIR)
|
||||
|
||||
_VALGRIND_FILES = \
|
||||
$(topsrcdir)/build/valgrind/cross-architecture.sup \
|
||||
$(topsrcdir)/build/valgrind/i386-redhat-linux-gnu.sup \
|
||||
$(topsrcdir)/build/valgrind/x86_64-redhat-linux-gnu.sup \
|
||||
$(NULL)
|
||||
|
||||
libs:: $(_VALGRIND_FILES)
|
||||
$(INSTALL) $^ $(_VALGRIND_DIR)
|
||||
endif
|
||||
|
||||
ifdef ENABLE_TESTS
|
||||
GARBAGE += $(srcdir)/automationutils.pyc
|
||||
endif # ENABLE_TESTS
|
||||
|
Loading…
x
Reference in New Issue
Block a user