1 LOCAL_PATH:= $(call my-dir) 2 3 include $(CLEAR_TBLGEN_VARS) 4 5 TBLGEN_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 16 clang_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 # ===================================================== 44 include $(CLEAR_VARS) 45 46 LOCAL_SRC_FILES := $(clang_analysis_SRC_FILES) 47 LOCAL_MODULE:= libclangAnalysis 48 LOCAL_MODULE_TAGS := optional 49 50 include $(CLANG_HOST_BUILD_MK) 51 include $(CLANG_TBLGEN_RULES_MK) 52 include $(BUILD_HOST_STATIC_LIBRARY) 53 54 # For the target 55 # ===================================================== 56 include $(CLEAR_VARS) 57 58 LOCAL_SRC_FILES := $(clang_analysis_SRC_FILES) 59 LOCAL_MODULE:= libclangAnalysis 60 LOCAL_MODULE_TAGS := optional 61 62 include $(CLANG_DEVICE_BUILD_MK) 63 include $(CLANG_TBLGEN_RULES_MK) 64 include $(BUILD_STATIC_LIBRARY) 65