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