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 StmtNodes.inc 11 12 clang_static_analyzer_core_SRC_FILES := \ 13 AnalysisManager.cpp \ 14 AnalyzerOptions.cpp \ 15 APSIntType.cpp \ 16 BasicValueFactory.cpp \ 17 BlockCounter.cpp \ 18 BugReporter.cpp \ 19 BugReporterVisitors.cpp \ 20 CallEvent.cpp \ 21 Checker.cpp \ 22 CheckerContext.cpp \ 23 CheckerHelpers.cpp \ 24 CheckerManager.cpp \ 25 CheckerRegistry.cpp \ 26 ConstraintManager.cpp \ 27 CoreEngine.cpp \ 28 Environment.cpp \ 29 ExplodedGraph.cpp \ 30 ExprEngine.cpp \ 31 ExprEngineC.cpp \ 32 ExprEngineCXX.cpp \ 33 ExprEngineCallAndReturn.cpp \ 34 ExprEngineObjC.cpp \ 35 FunctionSummary.cpp \ 36 HTMLDiagnostics.cpp \ 37 MemRegion.cpp \ 38 PathDiagnostic.cpp \ 39 PlistDiagnostics.cpp \ 40 ProgramState.cpp \ 41 RangeConstraintManager.cpp \ 42 RegionStore.cpp \ 43 SValBuilder.cpp \ 44 SVals.cpp \ 45 SimpleConstraintManager.cpp \ 46 SimpleSValBuilder.cpp \ 47 Store.cpp \ 48 SubEngine.cpp \ 49 SymbolManager.cpp \ 50 TextPathDiagnostics.cpp 51 52 # For the host only 53 # ===================================================== 54 include $(CLEAR_VARS) 55 include $(CLEAR_TBLGEN_VARS) 56 57 TBLGEN_TABLES := $(clang_static_analyzer_core_TBLGEN_TABLES) 58 59 LOCAL_SRC_FILES := $(clang_static_analyzer_core_SRC_FILES) 60 61 LOCAL_MODULE:= libclangStaticAnalyzerCore 62 63 LOCAL_MODULE_TAGS := optional 64 65 include $(CLANG_HOST_BUILD_MK) 66 include $(CLANG_TBLGEN_RULES_MK) 67 include $(CLANG_VERSION_INC_MK) 68 include $(BUILD_HOST_STATIC_LIBRARY) 69