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