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 CommentNodes.inc \ 12 DeclNodes.inc \ 13 DiagnosticCommonKinds.inc \ 14 DiagnosticAnalysisKinds.inc \ 15 StmtNodes.inc 16 17clang_analysis_SRC_FILES := \ 18 AnalysisDeclContext.cpp \ 19 CallGraph.cpp \ 20 CFG.cpp \ 21 CFGReachabilityAnalysis.cpp \ 22 CFGStmtMap.cpp \ 23 CocoaConventions.cpp \ 24 Dominators.cpp \ 25 FormatString.cpp \ 26 LiveVariables.cpp \ 27 PostOrderCFGView.cpp \ 28 PrintfFormatString.cpp \ 29 ProgramPoint.cpp \ 30 PseudoConstantAnalysis.cpp \ 31 ReachableCode.cpp \ 32 ScanfFormatString.cpp \ 33 ThreadSafety.cpp \ 34 UninitializedValues.cpp 35 36 37LOCAL_SRC_FILES := $(clang_analysis_SRC_FILES) 38 39LOCAL_MODULE:= libclangAnalysis 40LOCAL_MODULE_TAGS := optional 41 42LOCAL_MODULE_TAGS := optional 43 44include $(CLANG_HOST_BUILD_MK) 45include $(CLANG_TBLGEN_RULES_MK) 46include $(BUILD_HOST_STATIC_LIBRARY) 47