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 AttrParsedAttrList.inc \ 10 AttrVisitor.inc \ 11 CommentCommandList.inc \ 12 CommentNodes.inc \ 13 DeclNodes.inc \ 14 DiagnosticCommonKinds.inc \ 15 DiagnosticFrontendKinds.inc \ 16 StmtNodes.inc 17 18 clang_static_analyzer_frontend_SRC_FILES := \ 19 AnalysisConsumer.cpp \ 20 CheckerRegistration.cpp \ 21 FrontendActions.cpp \ 22 ModelConsumer.cpp \ 23 ModelInjector.cpp 24 25 # For the host only 26 # ===================================================== 27 include $(CLEAR_VARS) 28 include $(CLEAR_TBLGEN_VARS) 29 30 TBLGEN_TABLES := $(clang_static_analyzer_frontend_TBLGEN_TABLES) 31 32 LOCAL_SRC_FILES := $(clang_static_analyzer_frontend_SRC_FILES) 33 34 LOCAL_C_INCLUDES := $(clang_static_analyzer_frontend_C_INCLUDES) 35 36 LOCAL_MODULE:= libclangStaticAnalyzerFrontend 37 38 LOCAL_MODULE_TAGS := optional 39 40 include $(CLANG_HOST_BUILD_MK) 41 include $(CLANG_TBLGEN_RULES_MK) 42 include $(CLANG_VERSION_INC_MK) 43 include $(BUILD_HOST_STATIC_LIBRARY) 44