Home | History | Annotate | Download | only in FrontendTool
      1 LOCAL_PATH:= $(call my-dir)
      2 
      3 # For the host only
      4 # =====================================================
      5 include $(CLEAR_VARS)
      6 include $(CLEAR_TBLGEN_VARS)
      7 
      8 LOCAL_MODULE:= libclangFrontendTool
      9 
     10 LOCAL_MODULE_TAGS := optional
     11 
     12 TBLGEN_TABLES := \
     13   DeclNodes.inc \
     14   DiagnosticCommonKinds.inc \
     15   DiagnosticFrontendKinds.inc \
     16   CC1Options.inc \
     17   CommentCommandList.inc \
     18   StmtNodes.inc
     19 
     20 clang_frontend_tool_SRC_FILES := \
     21   ExecuteCompilerInvocation.cpp
     22 
     23 LOCAL_CFLAGS += -DCLANG_ENABLE_STATIC_ANALYZER
     24 LOCAL_CFLAGS += -DCLANG_ENABLE_REWRITER
     25 
     26 LOCAL_SRC_FILES := $(clang_frontend_tool_SRC_FILES)
     27 
     28 include $(CLANG_HOST_BUILD_MK)
     29 include $(CLANG_TBLGEN_RULES_MK)
     30 include $(BUILD_HOST_STATIC_LIBRARY)
     31