1LOCAL_PATH:= $(call my-dir) 2 3# For the host only 4# ===================================================== 5include $(CLEAR_VARS) 6include $(CLEAR_TBLGEN_VARS) 7 8TBLGEN_TABLES := \ 9 AttrList.inc \ 10 Attrs.inc \ 11 DeclNodes.inc \ 12 DiagnosticCommonKinds.inc \ 13 DiagnosticAnalysisKinds.inc \ 14 StmtNodes.inc 15 16clang_analysis_SRC_FILES := \ 17 AnalysisContext.cpp \ 18 CFG.cpp \ 19 CFGReachabilityAnalysis.cpp \ 20 CFGStmtMap.cpp \ 21 CocoaConventions.cpp \ 22 FormatString.cpp \ 23 LiveVariables.cpp \ 24 PrintfFormatString.cpp \ 25 PseudoConstantAnalysis.cpp \ 26 ReachableCode.cpp \ 27 ScanfFormatString.cpp \ 28 UninitializedValues.cpp 29 30 31LOCAL_SRC_FILES := $(clang_analysis_SRC_FILES) 32 33LOCAL_MODULE:= libclangAnalysis 34LOCAL_MODULE_TAGS := optional 35 36LOCAL_MODULE_TAGS := optional 37 38include $(CLANG_HOST_BUILD_MK) 39include $(CLANG_TBLGEN_RULES_MK) 40include $(BUILD_HOST_STATIC_LIBRARY) 41