Skip to content

Commit 3ba7599

Browse files
committed
[gn] port ade28a7 (clang-doc asset copy to share/clang)
1 parent f5b93ae commit 3ba7599

File tree

1 file changed

+9
-0
lines changed
  • llvm/utils/gn/secondary/clang-tools-extra/clang-doc/tool

1 file changed

+9
-0
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
1+
copy("assets") {
2+
sources = [
3+
"../assets/index.js",
4+
"../assets/clang-doc-default-stylesheet.css",
5+
]
6+
outputs = [ "$root_build_dir/share/clang/{{source_file_part}}" ]
7+
}
8+
19
executable("clang-doc") {
210
configs += [ "//llvm/utils/gn/build:clang_code" ]
311
deps = [
12+
":assets",
413
"//clang-tools-extra/clang-doc",
514
"//clang/lib/AST",
615
"//clang/lib/ASTMatchers",

0 commit comments

Comments
 (0)