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