1import("//llvm/utils/TableGen/tablegen.gni") 2 3tablegen("DarwinLdOptions") { 4 visibility = [ ":Driver" ] 5 args = [ "-gen-opt-parser-defs" ] 6} 7 8static_library("Driver") { 9 output_name = "lldDriver" 10 configs += [ "//llvm/utils/gn/build:lld_code" ] 11 deps = [ 12 ":DarwinLdOptions", 13 "//lld/Common", 14 "//lld/lib/Core", 15 "//lld/lib/ReaderWriter", 16 "//lld/lib/ReaderWriter/MachO", 17 "//lld/lib/ReaderWriter/YAML", 18 "//llvm/lib/Option", 19 "//llvm/lib/Support", 20 ] 21 sources = [ "DarwinLdDriver.cpp" ] 22} 23