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