[gn] port c4f7cc867299 (CoroTests)
authorNico Weber <thakis@chromium.org>
Mon, 13 Feb 2023 13:03:00 +0000 (08:03 -0500)
committerNico Weber <thakis@chromium.org>
Mon, 13 Feb 2023 13:04:42 +0000 (08:04 -0500)
llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
llvm/utils/gn/secondary/llvm/unittests/Transforms/Coroutines/BUILD.gn [new file with mode: 0644]

index 2d4e5b9..36c5eb9 100644 (file)
@@ -49,6 +49,7 @@ group("unittests") {
     "Testing/ADT:TestingADTTests",
     "Testing/Support:TestingSupportTests",
     "TextAPI:TextAPITests",
+    "Transforms/Coroutines:CoroTests",
     "Transforms/IPO:IPOTests",
     "Transforms/Scalar:ScalarTests",
     "Transforms/Utils:UtilsTests",
diff --git a/llvm/utils/gn/secondary/llvm/unittests/Transforms/Coroutines/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/Transforms/Coroutines/BUILD.gn
new file mode 100644 (file)
index 0000000..5d00464
--- /dev/null
@@ -0,0 +1,16 @@
+import("//third-party/unittest/unittest.gni")
+
+unittest("CoroTests") {
+  deps = [
+    "//llvm/lib/Analysis",
+    "//llvm/lib/AsmParser",
+    "//llvm/lib/IR",
+    "//llvm/lib/Passes",
+    "//llvm/lib/Support",
+    "//llvm/lib/TargetParser",
+    "//llvm/lib/Testing/Support",
+    "//llvm/lib/Transforms/Coroutines",
+    "//llvm/lib/Transforms/Utils",
+  ]
+  sources = [ "ExtraRematTest.cpp" ]
+}