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