[llvm] r356845 - gn build: Add build files for modularize and pp-trace
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 23 16:16:41 PDT 2019
Author: nico
Date: Sat Mar 23 16:16:41 2019
New Revision: 356845
URL: http://llvm.org/viewvc/llvm-project?rev=356845&view=rev
Log:
gn build: Add build files for modularize and pp-trace
Differential Revision: https://reviews.llvm.org/D59701
Added:
llvm/trunk/utils/gn/secondary/clang-tools-extra/modularize/
llvm/trunk/utils/gn/secondary/clang-tools-extra/modularize/BUILD.gn
llvm/trunk/utils/gn/secondary/clang-tools-extra/pp-trace/
llvm/trunk/utils/gn/secondary/clang-tools-extra/pp-trace/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=356845&r1=356844&r2=356845&view=diff
==============================================================================
--- llvm/trunk/utils/gn/secondary/BUILD.gn (original)
+++ llvm/trunk/utils/gn/secondary/BUILD.gn Sat Mar 23 16:16:41 2019
@@ -11,6 +11,8 @@ group("default") {
"//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",
Added: llvm/trunk/utils/gn/secondary/clang-tools-extra/modularize/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/clang-tools-extra/modularize/BUILD.gn?rev=356845&view=auto
==============================================================================
--- llvm/trunk/utils/gn/secondary/clang-tools-extra/modularize/BUILD.gn (added)
+++ llvm/trunk/utils/gn/secondary/clang-tools-extra/modularize/BUILD.gn Sat Mar 23 16:16:41 2019
@@ -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",
+ ]
+}
Added: llvm/trunk/utils/gn/secondary/clang-tools-extra/pp-trace/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/clang-tools-extra/pp-trace/BUILD.gn?rev=356845&view=auto
==============================================================================
--- llvm/trunk/utils/gn/secondary/clang-tools-extra/pp-trace/BUILD.gn (added)
+++ llvm/trunk/utils/gn/secondary/clang-tools-extra/pp-trace/BUILD.gn Sat Mar 23 16:16:41 2019
@@ -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",
+ ]
+}
More information about the llvm-commits
mailing list