1LOCAL_PATH:= $(call my-dir) 2 3include $(CLEAR_TBLGEN_VARS) 4 5TBLGEN_TABLES := \ 6 AttrList.inc \ 7 Attrs.inc \ 8 AttrVisitor.inc \ 9 CommentCommandList.inc \ 10 CommentNodes.inc \ 11 DeclNodes.inc \ 12 DiagnosticCommonKinds.inc \ 13 DiagnosticAnalysisKinds.inc \ 14 StmtNodes.inc 15 16clang_analysis_SRC_FILES := \ 17 AnalysisDeclContext.cpp \ 18 BodyFarm.cpp \ 19 CallGraph.cpp \ 20 CFG.cpp \ 21 CFGReachabilityAnalysis.cpp \ 22 CFGStmtMap.cpp \ 23 CocoaConventions.cpp \ 24 CodeInjector.cpp \ 25 Consumed.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 ThreadSafetyCommon.cpp \ 37 ThreadSafety.cpp \ 38 ThreadSafetyLogical.cpp \ 39 ThreadSafetyTIL.cpp \ 40 UninitializedValues.cpp 41 42# For the host 43# ===================================================== 44include $(CLEAR_VARS) 45 46LOCAL_SRC_FILES := $(clang_analysis_SRC_FILES) 47LOCAL_MODULE:= libclangAnalysis 48LOCAL_MODULE_TAGS := optional 49 50include $(CLANG_HOST_BUILD_MK) 51include $(CLANG_TBLGEN_RULES_MK) 52include $(BUILD_HOST_STATIC_LIBRARY) 53 54# For the target 55# ===================================================== 56include $(CLEAR_VARS) 57 58LOCAL_SRC_FILES := $(clang_analysis_SRC_FILES) 59LOCAL_MODULE:= libclangAnalysis 60LOCAL_MODULE_TAGS := optional 61 62include $(CLANG_DEVICE_BUILD_MK) 63include $(CLANG_TBLGEN_RULES_MK) 64include $(BUILD_STATIC_LIBRARY) 65