Bug 665407 - Disable sutagent if not building tests. r=ctalbert
authorDoug Turner <dougt@dougt.org>
Tue, 28 Jun 2011 20:51:30 -0700
changeset 71955 7a21b3d1e202efe2fb64cf207eb6e39e338d3c74
parent 71954 7fff9bc0c776c712d473788524a3514f566a7ab9
child 71956 85e5b0ed70813cac1ef40253a892e861541af3db
child 71969 981ccfb8c1ae3d9d6c5c4d840203c777a8e1e44d
push id302
push userdougt@mozilla.com
push dateWed, 29 Jun 2011 03:54:12 +0000
treeherdermozilla-inbound@7a21b3d1e202 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersctalbert
bugs665407
milestone7.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 665407 - Disable sutagent if not building tests. r=ctalbert
build/Makefile.in
--- a/build/Makefile.in
+++ b/build/Makefile.in
@@ -50,23 +50,25 @@ DIRS		= unix
 endif
 
 ifeq (WINNT,$(OS_ARCH))
 DIRS = win32
 endif
 
 DIRS += pgo
 
+ifdef ENABLE_TESTS
 ifeq (Android,$(OS_TARGET))
   DIRS += mobile/sutagent/android \
           mobile/sutagent/android/watcher \
           mobile/sutagent/android/ffxcp \
           mobile/sutagent/android/fencp \
           $(NULL)
 endif
+endif
 
 include $(topsrcdir)/config/rules.mk
 
 # we install to _leaktest/
 TARGET_DEPTH = ..
 include $(srcdir)/automation-build.mk
 
 _LEAKTEST_DIR = $(DEPTH)/_leaktest