xref: /llvm-project/llvm/utils/gn/secondary/clang/lib/Analysis/FlowSensitive/BUILD.gn (revision 54665f5252695922dd000f311f82af717f1df0c6)
1action("HTMLLogger") {
2  script = "//clang/utils/bundle_resources.py"
3  outputs = [ "$target_gen_dir/HTMLLogger.inc" ]
4  inputs = [
5    "HTMLLogger.html",
6    "HTMLLogger.css",
7    "HTMLLogger.js",
8  ]
9  args =
10      rebase_path(outputs, root_build_dir) + rebase_path(inputs, root_build_dir)
11}
12
13static_library("FlowSensitive") {
14  output_name = "clangAnalysisFlowSensitive"
15  configs += [ "//llvm/utils/gn/build:clang_code" ]
16  deps = [
17    ":HTMLLogger",
18    "//clang/lib/AST",
19    "//clang/lib/Analysis",
20  ]
21  include_dirs = [
22    # To pick up HTMLLogger.inc:
23    target_gen_dir,
24  ]
25  sources = [
26    "ASTOps.cpp",
27    "AdornedCFG.cpp",
28    "Arena.cpp",
29    "CNFFormula.cpp",
30    "DataflowAnalysisContext.cpp",
31    "DataflowEnvironment.cpp",
32    "DebugSupport.cpp",
33    "Formula.cpp",
34    "HTMLLogger.cpp",
35    "Logger.cpp",
36    "RecordOps.cpp",
37    "SimplifyConstraints.cpp",
38    "SmartPointerAccessorCaching.cpp",
39    "Transfer.cpp",
40    "TypeErasedDataflowAnalysis.cpp",
41    "Value.cpp",
42    "WatchedLiteralsSolver.cpp",
43  ]
44}
45