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