[llvm] 31456ff - [gn build] Kind of port e6f44a3cd273 (DirectXTests)

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 25 17:25:55 PDT 2022


Author: Nico Weber
Date: 2022-04-25T20:25:39-04:00
New Revision: 31456ff19197a539d574934fe2a7b6ff290b3290

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

LOG: [gn build] Kind of port e6f44a3cd273 (DirectXTests)

Added: 
    llvm/utils/gn/secondary/llvm/unittests/Target/DirectX/BUILD.gn

Modified: 
    

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/secondary/llvm/unittests/Target/DirectX/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/Target/DirectX/BUILD.gn
new file mode 100644
index 0000000000000..5b211562a25f4
--- /dev/null
+++ b/llvm/utils/gn/secondary/llvm/unittests/Target/DirectX/BUILD.gn
@@ -0,0 +1,17 @@
+import("//llvm/utils/unittest/unittest.gni")
+
+# This test is currently not referenced by anything, it only exists
+# to make sync_source_lists_from_cmake.py happy.
+unittest("DirextXTests") {
+  deps = [
+    "//llvm/lib/AsmParser",
+    "//llvm/lib/IR",
+    "//llvm/lib/Support",
+    "//llvm/lib/Target",
+
+    # FIXME: If we we ever add lib/Target/DirectX to the GN build, add this dep,
+    # and make /llvm/unittests depend on DirextXTests.
+    #"//llvm/lib/Target/DirectX:LLVMDirectXCodeGen",
+  ]
+  sources = [ "PointerTypeAnalysisTests.cpp" ]
+}


        


More information about the llvm-commits mailing list