1static_library("MachO") { 2 output_name = "lldMachO" 3 configs += [ "//llvm/utils/gn/build:lld_code" ] 4 deps = [ 5 "//lld/lib/Core", 6 "//lld/lib/ReaderWriter/YAML", 7 "//llvm/lib/DebugInfo/DWARF", 8 "//llvm/lib/Demangle", 9 "//llvm/lib/Object", 10 "//llvm/lib/Support", 11 ] 12 sources = [ 13 "ArchHandler.cpp", 14 "ArchHandler_arm.cpp", 15 "ArchHandler_arm64.cpp", 16 "ArchHandler_x86.cpp", 17 "ArchHandler_x86_64.cpp", 18 "CompactUnwindPass.cpp", 19 "GOTPass.cpp", 20 "LayoutPass.cpp", 21 "MachOLinkingContext.cpp", 22 "MachONormalizedFileBinaryReader.cpp", 23 "MachONormalizedFileBinaryWriter.cpp", 24 "MachONormalizedFileFromAtoms.cpp", 25 "MachONormalizedFileToAtoms.cpp", 26 "MachONormalizedFileYAML.cpp", 27 "ObjCPass.cpp", 28 "ShimPass.cpp", 29 "StubsPass.cpp", 30 "TLVPass.cpp", 31 "WriterMachO.cpp", 32 ] 33} 34