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