Merge "Build in support for Clang static analysis framework."
diff --git a/lib/FrontendTool/Android.mk b/lib/FrontendTool/Android.mk
index 2496f6b..5816095 100644
--- a/lib/FrontendTool/Android.mk
+++ b/lib/FrontendTool/Android.mk
@@ -17,6 +17,9 @@
 clang_frontend_tool_SRC_FILES := \
   ExecuteCompilerInvocation.cpp
 
+LOCAL_CFLAGS += -DCLANG_ENABLE_STATIC_ANALYZER
+LOCAL_CFLAGS += -DCLANG_ENABLE_REWRITER
+
 LOCAL_SRC_FILES := $(clang_frontend_tool_SRC_FILES)
 
 include $(CLANG_HOST_BUILD_MK)