1LOCAL_PATH:= $(call my-dir) 2 3clang_static_analyzer_frontend_C_INCLUDES := \ 4 $(CLANG_ROOT_PATH)/lib/StaticAnalyzer/Checkers 5 6clang_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 18clang_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# ===================================================== 27include $(CLEAR_VARS) 28include $(CLEAR_TBLGEN_VARS) 29 30TBLGEN_TABLES := $(clang_static_analyzer_frontend_TBLGEN_TABLES) 31 32LOCAL_SRC_FILES := $(clang_static_analyzer_frontend_SRC_FILES) 33 34LOCAL_C_INCLUDES := $(clang_static_analyzer_frontend_C_INCLUDES) 35 36LOCAL_MODULE:= libclangStaticAnalyzerFrontend 37 38LOCAL_MODULE_TAGS := optional 39 40include $(CLANG_HOST_BUILD_MK) 41include $(CLANG_TBLGEN_RULES_MK) 42include $(CLANG_VERSION_INC_MK) 43include $(BUILD_HOST_STATIC_LIBRARY) 44