xref: /llvm-project/llvm/utils/gn/secondary/lldb/source/Plugins/ObjectFile/Mach-O/BUILD.gn (revision 7484206cfd9d43416b7f5d64fcb7e9cae56625d6)
1static_library("Mach-O") {
2  output_name = "lldbPluginObjectFileMachO"
3  configs += [ "//llvm/utils/gn/build:lldb_code" ]
4  deps = [
5    "//lldb/source/Core",
6    "//lldb/source/Host",
7    "//lldb/source/Plugins/Process/Utility",
8    "//lldb/source/Symbol",
9    "//lldb/source/Target",
10    "//lldb/source/Utility",
11    "//llvm/lib/Support",
12  ]
13
14  if (current_os == "win") {
15    defines = [ "_ENABLE_EXTENDED_ALIGNED_STORAGE" ]
16  }
17
18  # Reaches into Plugins/Process/Utility.
19  include_dirs = [ "//lldb/source" ]
20  sources = [ "ObjectFileMachO.cpp" ]
21}
22