[llvm] 7d77b05 - [gn build] (manually) port 0e265e31578
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Fri May 29 16:49:24 PDT 2020
Author: Nico Weber
Date: 2020-05-29T19:49:11-04:00
New Revision: 7d77b0545dd850f59209c47ea03cde048673b8dd
URL: https://github.com/llvm/llvm-project/commit/7d77b0545dd850f59209c47ea03cde048673b8dd
DIFF: https://github.com/llvm/llvm-project/commit/7d77b0545dd850f59209c47ea03cde048673b8dd.diff
LOG: [gn build] (manually) port 0e265e31578
Added:
llvm/utils/gn/secondary/clang/lib/Testing/BUILD.gn
Modified:
llvm/utils/gn/secondary/clang/unittests/AST/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/clang/lib/Testing/BUILD.gn b/llvm/utils/gn/secondary/clang/lib/Testing/BUILD.gn
new file mode 100644
index 000000000000..2a00a2248bab
--- /dev/null
+++ b/llvm/utils/gn/secondary/clang/lib/Testing/BUILD.gn
@@ -0,0 +1,11 @@
+static_library("Testing") {
+ output_name = "clangTesting"
+ configs += [ "//llvm/utils/gn/build:clang_code" ]
+ deps = [
+ "//llvm/lib/Support",
+ ]
+ sources = [
+ # Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
+ "CommandLineArgs.cpp",
+ ]
+}
diff --git a/llvm/utils/gn/secondary/clang/unittests/AST/BUILD.gn b/llvm/utils/gn/secondary/clang/unittests/AST/BUILD.gn
index 47f8e952256b..f25ead00165c 100644
--- a/llvm/utils/gn/secondary/clang/unittests/AST/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/unittests/AST/BUILD.gn
@@ -8,6 +8,7 @@ unittest("ASTTests") {
"//clang/lib/Analysis",
"//clang/lib/Basic",
"//clang/lib/Frontend",
+ "//clang/lib/Testing",
"//clang/lib/Tooling",
"//llvm/lib/Support",
"//llvm/lib/Testing/Support",
@@ -30,7 +31,6 @@ unittest("ASTTests") {
"DeclTest.cpp",
"EvaluateAsRValueTest.cpp",
"ExternalASTSourceTest.cpp",
- "Language.cpp",
"NamedDeclPrinterTest.cpp",
"RecursiveASTVisitorTest.cpp",
"SizelessTypesTest.cpp",
More information about the llvm-commits
mailing list