Bug 487559. Don't build tests if tests are disabled. r=ted
authorHiroyuki Ikezoe <ikezoe@clear-code.com>
Wed, 13 May 2009 22:17:45 +1200
changeset 28298 ed499003e5771bcfbac8f8698e1d8f2f0ea1794f
parent 28297 8836a87bcdb9a51613c1f2631a9e8c07009bcf92
child 28299 e50fc11c203a1df41f454ba65ca35b206f2b095b
push idunknown
push userunknown
push dateunknown
reviewersted
bugs487559
milestone1.9.2a1pre
Bug 487559. Don't build tests if tests are disabled. r=ted
toolkit/mozapps/downloads/Makefile.in
--- a/toolkit/mozapps/downloads/Makefile.in
+++ b/toolkit/mozapps/downloads/Makefile.in
@@ -38,14 +38,17 @@
 DEPTH   = ../../..
 topsrcdir = @top_srcdir@
 srcdir    = @srcdir@
 VPATH   = @srcdir@
 
 include $(topsrcdir)/config/config.mk
 
 ifndef SUITE_USING_XPFE_DM
-DIRS = src tests
+DIRS = src
+ifdef ENABLE_TESTS
+DIRS += tests
+endif
 endif
 
 include $(topsrcdir)/config/rules.mk