• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1LOCAL_PATH:= $(call my-dir)
2
3clang_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
12clang_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  CommonBugCategories.cpp \
27  ConstraintManager.cpp \
28  CoreEngine.cpp \
29  Environment.cpp \
30  ExplodedGraph.cpp \
31  ExprEngine.cpp \
32  ExprEngineC.cpp \
33  ExprEngineCXX.cpp \
34  ExprEngineCallAndReturn.cpp \
35  ExprEngineObjC.cpp \
36  FunctionSummary.cpp \
37  HTMLDiagnostics.cpp \
38  MemRegion.cpp \
39  PathDiagnostic.cpp \
40  PlistDiagnostics.cpp \
41  ProgramState.cpp \
42  RangeConstraintManager.cpp \
43  RegionStore.cpp \
44  SValBuilder.cpp \
45  SVals.cpp \
46  SimpleConstraintManager.cpp \
47  SimpleSValBuilder.cpp \
48  Store.cpp \
49  SubEngine.cpp \
50  SymbolManager.cpp
51
52# For the host only
53# =====================================================
54include $(CLEAR_VARS)
55include $(CLEAR_TBLGEN_VARS)
56
57TBLGEN_TABLES := $(clang_static_analyzer_core_TBLGEN_TABLES)
58
59LOCAL_SRC_FILES := $(clang_static_analyzer_core_SRC_FILES)
60
61LOCAL_MODULE:= libclangStaticAnalyzerCore
62
63LOCAL_MODULE_TAGS := optional
64
65include $(CLANG_HOST_BUILD_MK)
66include $(CLANG_TBLGEN_RULES_MK)
67include $(CLANG_VERSION_INC_MK)
68include $(BUILD_HOST_STATIC_LIBRARY)
69