[gn build] port 27d8eedd5a3c (ClangSupportTests)
authorNico Weber <thakis@chromium.org>
Sat, 22 Oct 2022 00:22:38 +0000 (20:22 -0400)
committerNico Weber <thakis@chromium.org>
Sat, 22 Oct 2022 00:22:38 +0000 (20:22 -0400)
llvm/utils/gn/secondary/clang/unittests/BUILD.gn
llvm/utils/gn/secondary/clang/unittests/Support/BUILD.gn [new file with mode: 0644]

index 5521995..f438103 100644 (file)
@@ -19,6 +19,7 @@ group("unittests") {
     "Rewrite:RewriteTests",
     "Sema:SemaTests",
     "Serialization:SerializationTests",
+    "Support:ClangSupportTests",
     "Tooling:ToolingTests",
     "Tooling/Syntax:SyntaxTests",
   ]
diff --git a/llvm/utils/gn/secondary/clang/unittests/Support/BUILD.gn b/llvm/utils/gn/secondary/clang/unittests/Support/BUILD.gn
new file mode 100644 (file)
index 0000000..fe6262e
--- /dev/null
@@ -0,0 +1,10 @@
+import("//llvm/utils/unittest/unittest.gni")
+
+unittest("ClangSupportTests") {
+  configs += [ "//llvm/utils/gn/build:clang_code" ]
+  deps = [
+    "//clang/lib/Frontend",
+    "//llvm/lib/Support",
+  ]
+  sources = [ "TimeProfilerTest.cpp" ]
+}