41 lines · plain
1import("//lldb/utils/TableGen/lldb_tablegen.gni")2 3lldb_tablegen("SymbolFilePDBProperties") {4 args = [ "-gen-lldb-property-defs" ]5}6 7lldb_tablegen("SymbolFilePDBPropertiesEnum") {8 args = [ "-gen-lldb-property-enum-defs" ]9 td_file = "SymbolFilePDBProperties.td"10}11 12static_library("PDB") {13 output_name = "lldbPluginSymbolFilePDB"14 configs += [15 "//llvm/utils/gn/build:clang_code",16 "//llvm/utils/gn/build:lldb_code",17 ]18 deps = [19 ":SymbolFilePDBProperties",20 ":SymbolFilePDBPropertiesEnum",21 "//clang/lib/AST",22 "//clang/lib/Lex",23 "//lldb/source/Core",24 "//lldb/source/Plugins/SymbolFile/NativePDB",25 "//lldb/source/Symbol",26 "//lldb/source/Utility",27 28 #"//lldb/source/Plugins/TypeSystem/Clang", # Dependency cycle.29 "//llvm/lib/DebugInfo/PDB",30 "//llvm/lib/Support",31 ]32 33 # Reaches into Plugins/ExpressionParser/Clang.34 include_dirs = [ "//lldb/source" ]35 sources = [36 "PDBASTParser.cpp",37 "PDBLocationToDWARFExpression.cpp",38 "SymbolFilePDB.cpp",39 ]40}41