[llvm] 7b2b3fa - [gn build] Port 676755561d5a (ParseTests)

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 1 15:34:10 PDT 2025


Author: Nico Weber
Date: 2025-04-01T15:34:00-07:00
New Revision: 7b2b3faeb1d82148872720e254cc34b3e6d48b31

URL: https://github.com/llvm/llvm-project/commit/7b2b3faeb1d82148872720e254cc34b3e6d48b31
DIFF: https://github.com/llvm/llvm-project/commit/7b2b3faeb1d82148872720e254cc34b3e6d48b31.diff

LOG: [gn build] Port 676755561d5a (ParseTests)

Added: 
    llvm/utils/gn/secondary/clang/unittests/Parse/BUILD.gn

Modified: 
    llvm/utils/gn/secondary/clang/lib/Parse/BUILD.gn
    llvm/utils/gn/secondary/clang/unittests/BUILD.gn

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/secondary/clang/lib/Parse/BUILD.gn b/llvm/utils/gn/secondary/clang/lib/Parse/BUILD.gn
index 12d2cadd6c1b7..370a7ce92f090 100644
--- a/llvm/utils/gn/secondary/clang/lib/Parse/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/lib/Parse/BUILD.gn
@@ -22,6 +22,7 @@ static_library("Parse") {
     "ParseExpr.cpp",
     "ParseExprCXX.cpp",
     "ParseHLSL.cpp",
+    "ParseHLSLRootSignature.cpp",
     "ParseInit.cpp",
     "ParseObjc.cpp",
     "ParseOpenACC.cpp",

diff  --git a/llvm/utils/gn/secondary/clang/unittests/BUILD.gn b/llvm/utils/gn/secondary/clang/unittests/BUILD.gn
index 4aa844ac5a3c2..5ba8f2171eab0 100644
--- a/llvm/utils/gn/secondary/clang/unittests/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/unittests/BUILD.gn
@@ -16,6 +16,7 @@ group("unittests") {
     "InstallAPI:InstallAPITests",
     "Interpreter:ClangReplInterpreterTests",
     "Lex:LexTests",
+    "Parse:ParseTests",
     "Rewrite:RewriteTests",
     "Sema:SemaTests",
     "Serialization:SerializationTests",

diff  --git a/llvm/utils/gn/secondary/clang/unittests/Parse/BUILD.gn b/llvm/utils/gn/secondary/clang/unittests/Parse/BUILD.gn
new file mode 100644
index 0000000000000..a67f5e7fa71ef
--- /dev/null
+++ b/llvm/utils/gn/secondary/clang/unittests/Parse/BUILD.gn
@@ -0,0 +1,15 @@
+import("//third-party/unittest/unittest.gni")
+
+unittest("ParseTests") {
+  configs += [ "//llvm/utils/gn/build:clang_code" ]
+  deps = [
+    "//clang/lib/AST",
+    "//clang/lib/Basic",
+    "//clang/lib/Lex",
+    "//clang/lib/Parse",
+    "//clang/lib/Sema",
+    "//llvm/lib/Support",
+    "//llvm/lib/Testing/Support",
+  ]
+  sources = [ "ParseHLSLRootSignatureTest.cpp" ]
+}


        


More information about the llvm-commits mailing list