[PATCH] D59701: gn build: Add build files for modularize and pp-trace
Nico Weber via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 22 09:49:05 PDT 2019
thakis created this revision.
thakis added a reviewer: mbonadei.
Herald added a project: LLVM.
https://reviews.llvm.org/D59701
Files:
llvm/utils/gn/secondary/BUILD.gn
llvm/utils/gn/secondary/clang-tools-extra/modularize/BUILD.gn
llvm/utils/gn/secondary/clang-tools-extra/pp-trace/BUILD.gn
Index: llvm/utils/gn/secondary/clang-tools-extra/pp-trace/BUILD.gn
===================================================================
--- /dev/null
+++ llvm/utils/gn/secondary/clang-tools-extra/pp-trace/BUILD.gn
@@ -0,0 +1,16 @@
+executable("pp-trace") {
+ configs += [ "//llvm/utils/gn/build:clang_code" ]
+ deps = [
+ "//clang/lib/AST",
+ "//clang/lib/Basic",
+ "//clang/lib/Frontend",
+ "//clang/lib/Lex",
+ "//clang/lib/Serialization",
+ "//clang/lib/Tooling",
+ "//llvm/lib/Support",
+ ]
+ sources = [
+ "PPTrace.cpp",
+ "PPCallbacksTracker.cpp",
+ ]
+}
Index: llvm/utils/gn/secondary/clang-tools-extra/modularize/BUILD.gn
===================================================================
--- /dev/null
+++ llvm/utils/gn/secondary/clang-tools-extra/modularize/BUILD.gn
@@ -0,0 +1,21 @@
+executable("modularize") {
+ configs += [ "//llvm/utils/gn/build:clang_code" ]
+ deps = [
+ "//clang/lib/AST",
+ "//clang/lib/Basic",
+ "//clang/lib/Driver",
+ "//clang/lib/Frontend",
+ "//clang/lib/Lex",
+ "//clang/lib/Serialization",
+ "//clang/lib/Tooling",
+ "//llvm/lib/Option",
+ "//llvm/lib/Support",
+ ]
+ sources = [
+ "Modularize.cpp",
+ "ModuleAssistant.cpp",
+ "ModularizeUtilities.cpp",
+ "CoverageChecker.cpp",
+ "PreprocessorTracker.cpp",
+ ]
+}
Index: llvm/utils/gn/secondary/BUILD.gn
===================================================================
--- llvm/utils/gn/secondary/BUILD.gn
+++ llvm/utils/gn/secondary/BUILD.gn
@@ -11,6 +11,8 @@
"//clang-tools-extra/clang-query/tool:clang-query",
"//clang-tools-extra/clang-reorder-fields/tool:clang-reorder-fields",
"//clang-tools-extra/clang-tidy/tool:clang-tidy",
+ "//clang-tools-extra/modularize",
+ "//clang-tools-extra/pp-trace",
"//clang/test",
"//lld/test",
"//llvm/test",
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59701.191899.patch
Type: text/x-patch
Size: 1858 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190322/d03a82e5/attachment.bin>
More information about the llvm-commits
mailing list