[gn] port 88c1242ed7e1 (begone, LLVMExegesisARMTests)
authorNico Weber <thakis@chromium.org>
Sat, 13 May 2023 15:16:23 +0000 (17:16 +0200)
committerNico Weber <thakis@chromium.org>
Sat, 13 May 2023 15:16:23 +0000 (17:16 +0200)
llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
llvm/utils/gn/secondary/llvm/unittests/tools/llvm-exegesis/ARM/BUILD.gn [deleted file]
llvm/utils/gn/secondary/llvm/unittests/tools/llvm-exegesis/X86/BUILD.gn

index f0af5ee..403e494 100644 (file)
@@ -80,10 +80,7 @@ group("unittests") {
     ]
   }
   if (llvm_build_ARM) {
-    deps += [
-      "Target/ARM:ARMTests",
-      "tools/llvm-exegesis/ARM:LLVMExegesisARMTests",
-    ]
+    deps += [ "Target/ARM:ARMTests" ]
   }
   if (llvm_build_LoongArch) {
     deps += [ "Target/LoongArch:LoongArchTests" ]
diff --git a/llvm/utils/gn/secondary/llvm/unittests/tools/llvm-exegesis/ARM/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/tools/llvm-exegesis/ARM/BUILD.gn
deleted file mode 100644 (file)
index 697d722..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-import("//third-party/unittest/unittest.gni")
-
-unittest("LLVMExegesisARMTests") {
-  deps = [
-    "//llvm/lib/DebugInfo/Symbolize",
-    "//llvm/lib/MC",
-    "//llvm/lib/MC/MCParser",
-    "//llvm/lib/Object",
-    "//llvm/lib/Support",
-    "//llvm/lib/Target/ARM",
-
-    # Exegesis reaches inside the Target/ARM tablegen internals and must
-    # depend on these Target/ARM-internal build targets.
-    "//llvm/lib/Target/ARM/MCTargetDesc",
-    "//llvm/lib/Target/ARM/Utils",
-    "//llvm/tools/llvm-exegesis/lib",
-  ]
-  include_dirs = [
-    "//llvm/lib/Target/ARM",
-    "//llvm/tools/llvm-exegesis/lib",
-  ]
-  sources = [ "AssemblerTest.cpp" ]
-}
index 37102b6..f480b90 100644 (file)
@@ -21,7 +21,6 @@ unittest("LLVMExegesisX86Tests") {
     "//llvm/tools/llvm-exegesis/lib",
   ]
   sources = [
-    "AssemblerTest.cpp",
     "BenchmarkResultTest.cpp",
     "RegisterAliasingTest.cpp",
     "SchedClassResolutionTest.cpp",