[llvm] bdc6691 - [gn] port 2b05fa8f0be7 (InterpTests)

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 12 05:39:40 PDT 2023


Author: Nico Weber
Date: 2023-10-12T08:39:33-04:00
New Revision: bdc66912a81af9b4b488cdc4cca97bbda2990a39

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

LOG: [gn] port 2b05fa8f0be7 (InterpTests)

Added: 
    llvm/utils/gn/secondary/clang/unittests/AST/Interp/BUILD.gn

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

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/secondary/clang/unittests/AST/Interp/BUILD.gn b/llvm/utils/gn/secondary/clang/unittests/AST/Interp/BUILD.gn
new file mode 100644
index 000000000000000..dd47a3d2d34598a
--- /dev/null
+++ b/llvm/utils/gn/secondary/clang/unittests/AST/Interp/BUILD.gn
@@ -0,0 +1,13 @@
+import("//third-party/unittest/unittest.gni")
+
+unittest("InterpTests") {
+  configs += [ "//llvm/utils/gn/build:clang_code" ]
+  deps = [
+    "//clang/lib/AST",
+    "//clang/lib/Basic",
+    "//clang/lib/Frontend",
+    "//clang/lib/Testing",
+    "//clang/lib/Tooling",
+  ]
+  sources = [ "Descriptor.cpp" ]
+}

diff  --git a/llvm/utils/gn/secondary/clang/unittests/BUILD.gn b/llvm/utils/gn/secondary/clang/unittests/BUILD.gn
index f438103902eb86d..b60c5264d60cce3 100644
--- a/llvm/utils/gn/secondary/clang/unittests/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/unittests/BUILD.gn
@@ -3,6 +3,7 @@ import("//clang/lib/StaticAnalyzer/Frontend/enable.gni")
 group("unittests") {
   deps = [
     "AST:ASTTests",
+    "AST/Interp:InterpTests",
     "ASTMatchers:ASTMatchersTests",
     "ASTMatchers/Dynamic:DynamicASTMatchersTests",
     "Basic:BasicTests",


        


More information about the llvm-commits mailing list