[llvm] r356199 - gn build: Add build files for clang-doc
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 14 13:41:19 PDT 2019
Author: nico
Date: Thu Mar 14 13:41:19 2019
New Revision: 356199
URL: http://llvm.org/viewvc/llvm-project?rev=356199&view=rev
Log:
gn build: Add build files for clang-doc
Differential Revision: https://reviews.llvm.org/D59379
Added:
llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-doc/
llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-doc/BUILD.gn
llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-doc/tool/
llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-doc/tool/BUILD.gn
Modified:
llvm/trunk/utils/gn/secondary/BUILD.gn
Modified: llvm/trunk/utils/gn/secondary/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/BUILD.gn?rev=356199&r1=356198&r2=356199&view=diff
==============================================================================
--- llvm/trunk/utils/gn/secondary/BUILD.gn (original)
+++ llvm/trunk/utils/gn/secondary/BUILD.gn Thu Mar 14 13:41:19 2019
@@ -5,6 +5,7 @@ import("//llvm/utils/gn/build/toolchain/
group("default") {
deps = [
"//clang-tools-extra/clang-apply-replacements/tool:clang-apply-replacements",
+ "//clang-tools-extra/clang-doc/tool:clang-doc",
"//clang-tools-extra/clang-tidy/tool:clang-tidy",
"//clang/test",
"//lld/test",
Added: llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-doc/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-doc/BUILD.gn?rev=356199&view=auto
==============================================================================
--- llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-doc/BUILD.gn (added)
+++ llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-doc/BUILD.gn Thu Mar 14 13:41:19 2019
@@ -0,0 +1,29 @@
+static_library("clang-doc") {
+ output_name = "clangDoc"
+ configs += [ "//llvm/utils/gn/build:clang_code" ]
+ deps = [
+ "//clang/lib/AST",
+ "//clang/lib/ASTMatchers",
+ "//clang/lib/Analysis",
+ "//clang/lib/Basic",
+ "//clang/lib/Frontend",
+ "//clang/lib/Index",
+ "//clang/lib/Lex",
+ "//clang/lib/Tooling",
+ "//clang/lib/Tooling/Core",
+ "//llvm/lib/Bitcode/Reader",
+ "//llvm/lib/Bitcode/Writer",
+ "//llvm/lib/Support",
+ ]
+ sources = [
+ "BitcodeReader.cpp",
+ "BitcodeWriter.cpp",
+ "ClangDoc.cpp",
+ "Generators.cpp",
+ "MDGenerator.cpp",
+ "Mapper.cpp",
+ "Representation.cpp",
+ "Serialize.cpp",
+ "YAMLGenerator.cpp",
+ ]
+}
Added: llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-doc/tool/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-doc/tool/BUILD.gn?rev=356199&view=auto
==============================================================================
--- llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-doc/tool/BUILD.gn (added)
+++ llvm/trunk/utils/gn/secondary/clang-tools-extra/clang-doc/tool/BUILD.gn Thu Mar 14 13:41:19 2019
@@ -0,0 +1,16 @@
+executable("clang-doc") {
+ configs += [ "//llvm/utils/gn/build:clang_code" ]
+ deps = [
+ "//clang-tools-extra/clang-doc",
+ "//clang/lib/AST",
+ "//clang/lib/ASTMatchers",
+ "//clang/lib/Basic",
+ "//clang/lib/Frontend",
+ "//clang/lib/Tooling",
+ "//clang/lib/Tooling/Core",
+ ]
+ include_dirs = [ ".." ]
+ sources = [
+ "ClangDocMain.cpp",
+ ]
+}
More information about the llvm-commits
mailing list