Bug 1135654 - part 1 - move backtrace conversion scripts to FINAL_TARGET_FILES; r=mshal
authorNathan Froyd <froydnj@mozilla.com>
Fri, 20 Feb 2015 13:26:59 -0500
changeset 260900 ba350d5576dfff9b65d8053399920fba018b17ca
parent 260899 1a8fca17a4fab911cf9e0594a9f022295cd24700
child 260901 45bd6da5c8f72b8c9973e912afa8c64505698867
push id830
push userraliiev@mozilla.com
push dateFri, 19 Jun 2015 19:24:37 +0000
treeherdermozilla-release@932614382a68 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmshal
bugs1135654
milestone39.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1135654 - part 1 - move backtrace conversion scripts to FINAL_TARGET_FILES; r=mshal
build/Makefile.in
build/moz.build
--- a/build/Makefile.in
+++ b/build/Makefile.in
@@ -108,32 +108,11 @@ GARBAGE_DIRS += $(_VALGRIND_DIR)
 		$(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
 
-ifneq (,$(ENABLE_TESTS)$(MOZ_DMD))
-libs:: $(topsrcdir)/tools/rb/fix_stack_using_bpsyms.py
-	$(INSTALL) $< $(DIST)/bin
-
-ifeq ($(OS_ARCH),Darwin)
-libs:: $(topsrcdir)/tools/rb/fix_macosx_stack.py
-	$(INSTALL) $< $(DIST)/bin
-endif
-
-ifeq ($(OS_ARCH),Linux)
-libs:: $(topsrcdir)/tools/rb/fix_linux_stack.py
-	$(INSTALL) $< $(DIST)/bin
-endif
-endif # ENABLE_TESTS or MOZ_DMD
-
 ifdef ENABLE_TESTS
 GARBAGE += $(srcdir)/automationutils.pyc
 endif # ENABLE_TESTS
-
-ifdef MOZ_DMD
-libs:: $(topsrcdir)/memory/replace/dmd/dmd.py
-	$(INSTALL) $< $(DIST)/bin
-endif
-
--- a/build/moz.build
+++ b/build/moz.build
@@ -43,8 +43,19 @@ for var in ('MOZ_CRASHREPORTER', 'MOZ_PR
             'MOZ_APP_STATIC_INI'):
     if CONFIG[var]:
         DEFINES[var] = True
 
 if CONFIG['MOZ_BUILD_APP'] == 'browser':
     PYTHON_UNIT_TESTS += [
         'compare-mozconfig/compare-mozconfigs-wrapper.py',
     ]
+
+if CONFIG['ENABLE_TESTS'] or CONFIG['MOZ_DMD']:
+    tools_dir = TOPSRCDIR + '/tools/rb/'
+    FINAL_TARGET_FILES += [tools_dir + 'fix_stack_using_bpsyms.py']
+    if CONFIG['OS_ARCH'] == 'Darwin':
+        FINAL_TARGET_FILES += [tools_dir + 'fix_macosx_stack.py']
+    if CONFIG['OS_ARCH'] == 'Linux':
+        FINAL_TARGET_FILES += [tools_dir + 'fix_linux_stack.py']
+
+if CONFIG['MOZ_DMD']:
+    FINAL_TARGET_FILES += [TOPSRCDIR + '/memory/replace/dmd/dmd.py']