[gn build] (manually) port 0609f257dc2e2c3
authorNico Weber <thakis@chromium.org>
Thu, 4 Feb 2021 11:52:22 +0000 (06:52 -0500)
committerNico Weber <thakis@chromium.org>
Thu, 4 Feb 2021 11:52:55 +0000 (06:52 -0500)
llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
llvm/utils/gn/secondary/llvm/unittests/tools/llvm-profgen/BUILD.gn [new file with mode: 0644]

index ae233fd..4942f4b 100644 (file)
@@ -46,6 +46,7 @@ group("unittests") {
     "XRay:XRayTests",
     "tools/llvm-cfi-verify:CFIVerifyTests",
     "tools/llvm-exegesis:LLVMExegesisTests",
+    "tools/llvm-profgen:LLVMProfgenTests",
   ]
 
   # Target-dependent unit tests.
diff --git a/llvm/utils/gn/secondary/llvm/unittests/tools/llvm-profgen/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/tools/llvm-profgen/BUILD.gn
new file mode 100644 (file)
index 0000000..5d1e724
--- /dev/null
@@ -0,0 +1,6 @@
+import("//llvm/utils/unittest/unittest.gni")
+
+unittest("LLVMProfgenTests") {
+  deps = [ "//llvm/lib/Testing/Support" ]
+  sources = [ "ContextCompressionTest.cpp" ]
+}