From c886e2be1ee4c57ef9f3a75509b4f2299ad9f61b Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Thu, 2 Apr 2020 12:36:06 -0400 Subject: [PATCH] Revert "[gn build] Port 03f43b3aca36" This reverts commit 45b6364e8d74f6038e94b760f017e03740acf725, 03f43b3aca36 was reverted in af39151f3c54. --- llvm/utils/gn/secondary/lld/MachO/BUILD.gn | 36 ------------------- .../utils/gn/secondary/lld/tools/lld/BUILD.gn | 1 - 2 files changed, 37 deletions(-) delete mode 100644 llvm/utils/gn/secondary/lld/MachO/BUILD.gn diff --git a/llvm/utils/gn/secondary/lld/MachO/BUILD.gn b/llvm/utils/gn/secondary/lld/MachO/BUILD.gn deleted file mode 100644 index 52f39e67ce54..000000000000 --- a/llvm/utils/gn/secondary/lld/MachO/BUILD.gn +++ /dev/null @@ -1,36 +0,0 @@ -import("//llvm/utils/TableGen/tablegen.gni") - -tablegen("Options") { - visibility = [ ":MachO2" ] - args = [ "-gen-opt-parser-defs" ] -} - -static_library("MachO2") { - output_name = "lldMachO2" - configs += [ "//llvm/utils/gn/build:lld_code" ] - deps = [ - ":Options", - "//lld/Common", - "//llvm/lib/BinaryFormat", - "//llvm/lib/DebugInfo/DWARF", - "//llvm/lib/IR", - "//llvm/lib/LTO", - "//llvm/lib/MC", - "//llvm/lib/Object", - "//llvm/lib/Option", - "//llvm/lib/Support", - "//llvm/lib/Target:TargetsToBuild", - ] - include_dirs = [ "." ] - sources = [ - "Arch/X86_64.cpp", - "Driver.cpp", - "InputFiles.cpp", - "InputSection.cpp", - "OutputSegment.cpp", - "SymbolTable.cpp", - "Symbols.cpp", - "Target.cpp", - "Writer.cpp", - ] -} diff --git a/llvm/utils/gn/secondary/lld/tools/lld/BUILD.gn b/llvm/utils/gn/secondary/lld/tools/lld/BUILD.gn index 746def906f31..f79e2b7883a9 100644 --- a/llvm/utils/gn/secondary/lld/tools/lld/BUILD.gn +++ b/llvm/utils/gn/secondary/lld/tools/lld/BUILD.gn @@ -27,7 +27,6 @@ executable("lld") { deps = [ "//lld/COFF", "//lld/ELF", - "//lld/MachO:MachO2", "//lld/MinGW", "//lld/lib/Driver", "//lld/wasm",