OSDN Git Service

gn build: Merge r353590
[android-x86/external-llvm.git] / utils / gn / secondary / clang / lib / StaticAnalyzer / Core / BUILD.gn
1 static_library("Core") {
2   output_name = "clangStaticAnalyzerCore"
3   configs += [ "//llvm/utils/gn/build:clang_code" ]
4   deps = [
5     "//clang/include/clang/Config",
6     "//clang/lib/AST",
7     "//clang/lib/ASTMatchers",
8     "//clang/lib/Analysis",
9     "//clang/lib/Basic",
10     "//clang/lib/CrossTU",
11     "//clang/lib/Lex",
12     "//clang/lib/Rewrite",
13     "//llvm/lib/Support",
14   ]
15   sources = [
16     "APSIntType.cpp",
17     "AnalysisManager.cpp",
18     "AnalyzerOptions.cpp",
19     "BasicValueFactory.cpp",
20     "BlockCounter.cpp",
21     "BugReporter.cpp",
22     "BugReporterVisitors.cpp",
23     "CallEvent.cpp",
24     "Checker.cpp",
25     "CheckerContext.cpp",
26     "CheckerHelpers.cpp",
27     "CheckerManager.cpp",
28     "CommonBugCategories.cpp",
29     "ConstraintManager.cpp",
30     "CoreEngine.cpp",
31     "DynamicTypeMap.cpp",
32     "Environment.cpp",
33     "ExplodedGraph.cpp",
34     "ExprEngine.cpp",
35     "ExprEngineC.cpp",
36     "ExprEngineCXX.cpp",
37     "ExprEngineCallAndReturn.cpp",
38     "ExprEngineObjC.cpp",
39     "FunctionSummary.cpp",
40     "HTMLDiagnostics.cpp",
41     "IssueHash.cpp",
42     "LoopUnrolling.cpp",
43     "LoopWidening.cpp",
44     "MemRegion.cpp",
45     "PathDiagnostic.cpp",
46     "PlistDiagnostics.cpp",
47     "ProgramState.cpp",
48     "RangeConstraintManager.cpp",
49     "RangedConstraintManager.cpp",
50     "RegionStore.cpp",
51     "SValBuilder.cpp",
52     "SVals.cpp",
53     "SarifDiagnostics.cpp",
54     "SimpleConstraintManager.cpp",
55     "SimpleSValBuilder.cpp",
56     "Store.cpp",
57     "SubEngine.cpp",
58     "SymbolManager.cpp",
59     "TaintManager.cpp",
60     "WorkList.cpp",
61     "Z3ConstraintManager.cpp",
62   ]
63
64   # FIXME: clang/Config/BUILD.gn currently always sets CLANG_ANALYZER_WITH_Z3
65   # to false. If that changes we need to link to Z3 libs here.
66 }