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