gn build: (manually) merge d23c61490c
authorNico Weber <thakis@chromium.org>
Thu, 12 Dec 2019 01:41:18 +0000 (20:41 -0500)
committerNico Weber <thakis@chromium.org>
Thu, 12 Dec 2019 01:41:18 +0000 (20:41 -0500)
llvm/utils/gn/secondary/llvm/lib/Frontend/OpenMP/BUILD.gn
llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
llvm/utils/gn/secondary/llvm/unittests/Frontend/BUILD.gn [new file with mode: 0644]

index a57ae7e..f99f206 100644 (file)
@@ -3,5 +3,6 @@ static_library("OpenMP") {
 
   sources = [
     "OMPConstants.cpp",
+    "OMPIRBuilder.cpp",
   ]
 }
index 19c9478..7f41b6c 100644 (file)
@@ -20,6 +20,7 @@ group("unittests") {
     "ExecutionEngine/JITLink:JITLinkTests",
     "ExecutionEngine/MCJIT:MCJITTests",
     "ExecutionEngine/Orc:OrcJITTests",
+    "Frontend:LLVMFrontendTests",
     "FuzzMutate:FuzzMutateTests",
     "IR:IRTests",
     "LineEditor:LineEditorTests",
diff --git a/llvm/utils/gn/secondary/llvm/unittests/Frontend/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/Frontend/BUILD.gn
new file mode 100644 (file)
index 0000000..bf37b9f
--- /dev/null
@@ -0,0 +1,15 @@
+import("//llvm/utils/unittest/unittest.gni")
+
+unittest("LLVMFrontendTests") {
+  deps = [
+    "//llvm/lib/Analysis",
+    "//llvm/lib/IR",
+    "//llvm/lib/Frontend/OpenMP",
+    "//llvm/lib/Passes",
+    "//llvm/lib/Support",
+    "//llvm/lib/Testing/Support",
+  ]
+  sources = [
+    "OpenMPIRBuilderTest.cpp",
+  ]
+}