forked from OSchip/llvm-project
[gn build] (manually) port c91ce94144
(HTMLForestResources.inc)
This commit is contained in:
parent
9d1ea1774c
commit
374db8fc2e
|
@ -1,11 +1,32 @@
|
|||
action("HTMLForestResources") {
|
||||
script = "bundle_resources.py"
|
||||
inputs = [
|
||||
"HTMLForest.css",
|
||||
"HTMLForest.js",
|
||||
"HTMLForest.html",
|
||||
]
|
||||
outputs = [ "$target_gen_dir/HTMLForestResources.inc" ]
|
||||
args =
|
||||
rebase_path(outputs, root_build_dir) + rebase_path(inputs, root_build_dir)
|
||||
}
|
||||
|
||||
executable("clang-pseudo") {
|
||||
configs += [ "//llvm/utils/gn/build:clang_code" ]
|
||||
deps = [
|
||||
":HTMLForestResources",
|
||||
"//clang-tools-extra/pseudo/lib",
|
||||
"//clang-tools-extra/pseudo/lib/cli",
|
||||
"//clang/lib/Basic",
|
||||
"//llvm/lib/Support",
|
||||
]
|
||||
include_dirs = [ "../include" ]
|
||||
sources = [ "ClangPseudo.cpp" ]
|
||||
include_dirs = [
|
||||
"../include",
|
||||
|
||||
# To pick up HTMLForestResources.inc:
|
||||
target_gen_dir,
|
||||
]
|
||||
sources = [
|
||||
"ClangPseudo.cpp",
|
||||
"HTMLForest.cpp",
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue