1 LOCAL_PATH:= $(call my-dir) 2 3 clang_static_analyzer_core_TBLGEN_TABLES := \ 4 AttrList.inc \ 5 Attrs.inc \ 6 CommentCommandList.inc \ 7 CommentNodes.inc \ 8 DeclNodes.inc \ 9 DiagnosticCommonKinds.inc \ 10 DiagnosticFrontendKinds.inc \ 11 StmtNodes.inc 12 13 clang_static_analyzer_core_SRC_FILES := \ 14 AnalysisManager.cpp \ 15 AnalyzerOptions.cpp \ 16 APSIntType.cpp \ 17 BasicValueFactory.cpp \ 18 BlockCounter.cpp \ 19 BugReporter.cpp \ 20 BugReporterVisitors.cpp \ 21 CallEvent.cpp \ 22 CheckerContext.cpp \ 23 Checker.cpp \ 24 CheckerHelpers.cpp \ 25 CheckerManager.cpp \ 26 CheckerRegistry.cpp \ 27 CommonBugCategories.cpp \ 28 ConstraintManager.cpp \ 29 CoreEngine.cpp \ 30 DynamicTypeMap.cpp \ 31 Environment.cpp \ 32 ExplodedGraph.cpp \ 33 ExprEngineCallAndReturn.cpp \ 34 ExprEngineC.cpp \ 35 ExprEngine.cpp \ 36 ExprEngineCXX.cpp \ 37 ExprEngineObjC.cpp \ 38 FunctionSummary.cpp \ 39 HTMLDiagnostics.cpp \ 40 IssueHash.cpp \ 41 LoopWidening.cpp \ 42 MemRegion.cpp \ 43 PathDiagnostic.cpp \ 44 PlistDiagnostics.cpp \ 45 ProgramState.cpp \ 46 RangeConstraintManager.cpp \ 47 RegionStore.cpp \ 48 SimpleConstraintManager.cpp \ 49 SimpleSValBuilder.cpp \ 50 Store.cpp \ 51 SubEngine.cpp \ 52 SValBuilder.cpp \ 53 SVals.cpp \ 54 SymbolManager.cpp 55 56 # For the host only 57 # ===================================================== 58 include $(CLEAR_VARS) 59 include $(CLEAR_TBLGEN_VARS) 60 61 TBLGEN_TABLES := $(clang_static_analyzer_core_TBLGEN_TABLES) 62 63 LOCAL_SRC_FILES := $(clang_static_analyzer_core_SRC_FILES) 64 65 LOCAL_MODULE:= libclangStaticAnalyzerCore 66 67 LOCAL_MODULE_TAGS := optional 68 69 include $(CLANG_HOST_BUILD_MK) 70 include $(CLANG_TBLGEN_RULES_MK) 71 include $(CLANG_VERSION_INC_MK) 72 include $(BUILD_HOST_STATIC_LIBRARY) 73