From 50fd426fd845eefe916bbeef80b509de9bdea338 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Fri, 12 Mar 2021 15:04:20 -0500 Subject: [PATCH] Revert "[gn build] (manually) port bcdd40f802a5" This reverts commit 0bd9d9aa3ce06268b565369b9e71b636792d35e0. bcdd40f802a5 was reverted in 4f9cc1512d51af607 --- llvm/utils/gn/secondary/llvm/lib/Target/targets.gni | 3 --- llvm/utils/gn/secondary/llvm/unittests/BUILD.gn | 3 --- .../gn/secondary/llvm/unittests/MC/SystemZ/BUILD.gn | 10 ---------- 3 files changed, 16 deletions(-) delete mode 100644 llvm/utils/gn/secondary/llvm/unittests/MC/SystemZ/BUILD.gn diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/targets.gni b/llvm/utils/gn/secondary/llvm/lib/Target/targets.gni index 22da518ea1fb..102040c2fa82 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Target/targets.gni +++ b/llvm/utils/gn/secondary/llvm/lib/Target/targets.gni @@ -49,7 +49,6 @@ llvm_build_ARM = false llvm_build_BPF = false llvm_build_Mips = false llvm_build_PowerPC = false -llvm_build_SystemZ = false llvm_build_WebAssembly = false llvm_build_X86 = false foreach(target, llvm_targets_to_build) { @@ -65,8 +64,6 @@ foreach(target, llvm_targets_to_build) { llvm_build_Mips = true } else if (target == "PowerPC") { llvm_build_PowerPC = true - } else if (target == "SystemZ") { - llvm_build_SystemZ = true } else if (target == "WebAssembly") { llvm_build_WebAssembly = true } else if (target == "X86") { diff --git a/llvm/utils/gn/secondary/llvm/unittests/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/BUILD.gn index 8379df1c6955..4942f4b14459 100644 --- a/llvm/utils/gn/secondary/llvm/unittests/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/unittests/BUILD.gn @@ -80,9 +80,6 @@ group("unittests") { "tools/llvm-exegesis/PowerPC:LLVMExegesisPowerPCTests", ] } - if (llvm_build_SystemZ) { - deps += [ "MC/SystemZ:SystemZAsmLexer" ] - } if (llvm_build_WebAssembly) { deps += [ "Target/WebAssembly:WebAssemblyTests" ] } diff --git a/llvm/utils/gn/secondary/llvm/unittests/MC/SystemZ/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/MC/SystemZ/BUILD.gn deleted file mode 100644 index d804446000d1..000000000000 --- a/llvm/utils/gn/secondary/llvm/unittests/MC/SystemZ/BUILD.gn +++ /dev/null @@ -1,10 +0,0 @@ -import("//llvm/utils/unittest/unittest.gni") - -unittest("SystemZAsmLexer") { - deps = [ - "//llvm/lib/MC", - "//llvm/lib/Support", - "//llvm/lib/Target/SystemZ", - ] - sources = [ "SystemZAsmLexerTest.cpp" ] -}