Home | History | Annotate | Download | only in Frontend
      1 LOCAL_PATH:= $(call my-dir)
      2 
      3 clang_static_analyzer_frontend_C_INCLUDES := \
      4   $(CLANG_ROOT_PATH)/lib/StaticAnalyzer/Checkers
      5 
      6 clang_static_analyzer_frontend_TBLGEN_TABLES := \
      7   AttrList.inc \
      8   Attrs.inc \
      9   DeclNodes.inc \
     10   DiagnosticCommonKinds.inc \
     11   DiagnosticFrontendKinds.inc \
     12   StmtNodes.inc
     13 
     14 clang_static_analyzer_frontend_SRC_FILES := \
     15   AnalysisConsumer.cpp \
     16   CheckerRegistration.cpp \
     17   FrontendActions.cpp
     18 
     19 # For the host only
     20 # =====================================================
     21 include $(CLEAR_VARS)
     22 include $(CLEAR_TBLGEN_VARS)
     23 
     24 TBLGEN_TABLES := $(clang_static_analyzer_frontend_TBLGEN_TABLES)
     25 
     26 LOCAL_SRC_FILES := $(clang_static_analyzer_frontend_SRC_FILES)
     27 
     28 LOCAL_C_INCLUDES := $(clang_static_analyzer_frontend_C_INCLUDES)
     29 
     30 LOCAL_MODULE:= libclangStaticAnalyzerFrontend
     31 
     32 LOCAL_MODULE_TAGS := optional
     33 
     34 include $(CLANG_HOST_BUILD_MK)
     35 include $(CLANG_TBLGEN_RULES_MK)
     36 include $(CLANG_VERSION_INC_MK)
     37 include $(BUILD_HOST_STATIC_LIBRARY)
     38