Debian Codegraph @

llvm/utils/gn/secondary/clang-tools-extra/clang-doc/tool/BUILD.gn

raw
1 copy("assets") {
2 sources = [
3 "../assets/alias-template.mustache",
4 "../assets/clang-doc-default-stylesheet.css",
5 "../assets/clang-doc-mustache.css",
6 "../assets/class-template.mustache",
7 "../assets/comment-template.mustache",
8 "../assets/enum-template.mustache",
9 "../assets/function-template.mustache",
10 "../assets/head-template.mustache",
11 "../assets/index-template.mustache",
12 "../assets/index.js",
13 "../assets/mustache-index.js",
14 "../assets/namespace-template.mustache",
15 "../assets/navbar-template.mustache",
16 "../assets/template.mustache",
17 ]
18 outputs = [ "$root_build_dir/share/clang-doc/{{source_file_part}}" ]
19 }
20
21 executable("clang-doc") {
22 configs += [ "//llvm/utils/gn/build:clang_code" ]
23 deps = [
24 ":assets",
25 "//clang-tools-extra/clang-doc",
26 "//clang/lib/AST",
27 "//clang/lib/ASTMatchers",
28 "//clang/lib/Basic",
29 "//clang/lib/Frontend",
30 "//clang/lib/Tooling",
31 "//clang/lib/Tooling/Core",
32 ]
33 include_dirs = [ ".." ]
34 sources = [ "ClangDocMain.cpp" ]
35 }