| 1 |
action("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 |
|
| 13 |
static_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 |
"FormulaSerialization.cpp", |
| 35 |
"HTMLLogger.cpp", |
| 36 |
"Logger.cpp", |
| 37 |
"RecordOps.cpp", |
| 38 |
"SimplifyConstraints.cpp", |
| 39 |
"SmartPointerAccessorCaching.cpp", |
| 40 |
"Transfer.cpp", |
| 41 |
"TypeErasedDataflowAnalysis.cpp", |
| 42 |
"Value.cpp", |
| 43 |
"WatchedLiteralsSolver.cpp", |
| 44 |
] |
| 45 |
} |