Use a variable to stop us from building clang testing tools.
authorBill Wendling <isanbard@gmail.com>
Thu, 27 Sep 2012 00:11:09 +0000 (00:11 +0000)
committerBill Wendling <isanbard@gmail.com>
Thu, 27 Sep 2012 00:11:09 +0000 (00:11 +0000)
<rdar://problem/11202465>

llvm-svn: 164739

clang/tools/Makefile

index e7aa2fa..f271e13 100644 (file)
@@ -14,6 +14,10 @@ include $(CLANG_LEVEL)/../../Makefile.config
 DIRS := driver libclang c-index-test arcmt-test c-arcmt-test diagtool \
         clang-check
 
+ifeq ($(CLANG_NO_TEST_TOOLS),YES)
+DIRS := driver libclang
+endif
+
 # Recurse into the extra repository of tools if present.
 OPTIONAL_DIRS := extra