[llvm] 9b65641 - [gn build] (manually) port 20e05b9f0ebe (ClangPseudoTests)
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 3 07:56:01 PST 2022
Author: Nico Weber
Date: 2022-02-03T10:55:53-05:00
New Revision: 9b65641d5e8cf67662e0c50502964e1cead9f95a
URL: https://github.com/llvm/llvm-project/commit/9b65641d5e8cf67662e0c50502964e1cead9f95a
DIFF: https://github.com/llvm/llvm-project/commit/9b65641d5e8cf67662e0c50502964e1cead9f95a.diff
LOG: [gn build] (manually) port 20e05b9f0ebe (ClangPseudoTests)
Added:
llvm/utils/gn/secondary/clang/lib/Tooling/Syntax/Pseudo/BUILD.gn
llvm/utils/gn/secondary/clang/unittests/Tooling/Syntax/Pseudo/BUILD.gn
Modified:
llvm/utils/gn/secondary/clang/unittests/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/clang/lib/Tooling/Syntax/Pseudo/BUILD.gn b/llvm/utils/gn/secondary/clang/lib/Tooling/Syntax/Pseudo/BUILD.gn
new file mode 100644
index 0000000000000..b1713ed936b1a
--- /dev/null
+++ b/llvm/utils/gn/secondary/clang/lib/Tooling/Syntax/Pseudo/BUILD.gn
@@ -0,0 +1,13 @@
+static_library("Pseudo") {
+ output_name = "clangToolingSyntaxPseudo"
+ configs += [ "//llvm/utils/gn/build:clang_code" ]
+ deps = [
+ "//clang/lib/Basic",
+ "//clang/lib/Lex",
+ "//llvm/lib/Support",
+ ]
+ sources = [
+ "Grammar.cpp",
+ "GrammarBNF.cpp",
+ ]
+}
diff --git a/llvm/utils/gn/secondary/clang/unittests/BUILD.gn b/llvm/utils/gn/secondary/clang/unittests/BUILD.gn
index 5521995270c38..d33e5d7b4cae2 100644
--- a/llvm/utils/gn/secondary/clang/unittests/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/unittests/BUILD.gn
@@ -21,6 +21,7 @@ group("unittests") {
"Serialization:SerializationTests",
"Tooling:ToolingTests",
"Tooling/Syntax:SyntaxTests",
+ "Tooling/Syntax/Pseudo:ClangPseudoTests",
]
if (clang_enable_static_analyzer) {
deps += [
diff --git a/llvm/utils/gn/secondary/clang/unittests/Tooling/Syntax/Pseudo/BUILD.gn b/llvm/utils/gn/secondary/clang/unittests/Tooling/Syntax/Pseudo/BUILD.gn
new file mode 100644
index 0000000000000..0082011192179
--- /dev/null
+++ b/llvm/utils/gn/secondary/clang/unittests/Tooling/Syntax/Pseudo/BUILD.gn
@@ -0,0 +1,14 @@
+import("//llvm/utils/unittest/unittest.gni")
+
+unittest("ClangPseudoTests") {
+ configs += [ "//llvm/utils/gn/build:clang_code" ]
+ deps = [
+ "//clang/lib/Basic",
+ "//clang/lib/Lex",
+ "//clang/lib/Testing",
+ "//clang/lib/Tooling/Syntax/Pseudo",
+ "//llvm/lib/Support",
+ "//llvm/lib/Testing/Support",
+ ]
+ sources = [ "GrammarTests.cpp" ]
+}
More information about the llvm-commits
mailing list