| 1 |
action("HTMLForestResources") { |
| 2 |
script = "bundle_resources.py" |
| 3 |
inputs = [ |
| 4 |
"HTMLForest.css", |
| 5 |
"HTMLForest.js", |
| 6 |
"HTMLForest.html", |
| 7 |
] |
| 8 |
outputs = [ "$target_gen_dir/HTMLForestResources.inc" ] |
| 9 |
args = |
| 10 |
rebase_path(outputs, root_build_dir) + rebase_path(inputs, root_build_dir) |
| 11 |
} |
| 12 |
|
| 13 |
executable("clang-pseudo") { |
| 14 |
configs += [ "//llvm/utils/gn/build:clang_code" ] |
| 15 |
deps = [ |
| 16 |
":HTMLForestResources", |
| 17 |
"//clang-tools-extra/pseudo/lib", |
| 18 |
"//clang-tools-extra/pseudo/lib/cli", |
| 19 |
"//clang/lib/Basic", |
| 20 |
"//llvm/lib/Support", |
| 21 |
] |
| 22 |
include_dirs = [ |
| 23 |
"../include", |
| 24 |
|
| 25 |
# To pick up HTMLForestResources.inc: |
| 26 |
target_gen_dir, |
| 27 |
] |
| 28 |
sources = [ |
| 29 |
"ClangPseudo.cpp", |
| 30 |
"HTMLForest.cpp", |
| 31 |
] |
| 32 |
} |