Compiler projects using llvm
static_library("Symbol") {
  output_name = "lldbSymbol"
  configs += [ "//llvm/utils/gn/build:lldb_code" ]
  deps = [
    "//lldb/source/Core",
    "//lldb/source/Expression",
    "//lldb/source/Host",

    #"//lldb/source/Target", # FIXME: Dependency cycle.
    "//lldb/source/Utility",
    "//llvm/lib/Support",
  ]
  include_dirs = [ ".." ]  # FIXME: Reaches into Utility and Host internals.
  sources = [
    "ArmUnwindInfo.cpp",
    "Block.cpp",
    "CompactUnwindInfo.cpp",
    "CompileUnit.cpp",
    "CompilerDecl.cpp",
    "CompilerDeclContext.cpp",
    "CompilerType.cpp",
    "DWARFCallFrameInfo.cpp",
    "DebugMacros.cpp",
    "DeclVendor.cpp",
    "FuncUnwinders.cpp",
    "Function.cpp",
    "LineEntry.cpp",
    "LineTable.cpp",
    "LocateSymbolFile.cpp",
    "ObjectFile.cpp",
    "PostfixExpression.cpp",
    "Symbol.cpp",
    "SymbolContext.cpp",
    "SymbolFile.cpp",
    "SymbolFileOnDemand.cpp",
    "SymbolVendor.cpp",
    "Symtab.cpp",
    "Type.cpp",
    "TypeList.cpp",
    "TypeMap.cpp",
    "TypeSystem.cpp",
    "UnwindPlan.cpp",
    "UnwindTable.cpp",
    "Variable.cpp",
    "VariableList.cpp",
  ]
  if (current_os == "mac") {
    sources += [ "LocateSymbolFileMacOSX.cpp" ]
  }
}