| 1 |
import("//lldb/utils/TableGen/lldb_tablegen.gni") |
| 2 |
|
| 3 |
lldb_tablegen("LanguageCPlusPlusProperties") { |
| 4 |
args = [ "-gen-lldb-property-defs" ] |
| 5 |
} |
| 6 |
|
| 7 |
lldb_tablegen("LanguageCPlusPlusPropertiesEnum") { |
| 8 |
args = [ "-gen-lldb-property-enum-defs" ] |
| 9 |
td_file = "LanguageCPlusPlusProperties.td" |
| 10 |
} |
| 11 |
|
| 12 |
static_library("CPlusPlus") { |
| 13 |
output_name = "lldbPluginCPlusPlusLanguage" |
| 14 |
configs += [ |
| 15 |
"//llvm/utils/gn/build:clang_code", |
| 16 |
"//llvm/utils/gn/build:lldb_code", |
| 17 |
] |
| 18 |
deps = [ |
| 19 |
":LanguageCPlusPlusProperties", |
| 20 |
":LanguageCPlusPlusPropertiesEnum", |
| 21 |
"//lldb/source/Core", |
| 22 |
"//lldb/source/DataFormatters", |
| 23 |
"//lldb/source/Host", |
| 24 |
"//lldb/source/Plugins/Language/ClangCommon", |
| 25 |
"//lldb/source/Plugins/LanguageRuntime/CPlusPlus", |
| 26 |
"//lldb/source/Plugins/TypeSystem/Clang", |
| 27 |
"//lldb/source/Symbol", |
| 28 |
"//lldb/source/Target", |
| 29 |
"//lldb/source/Utility", |
| 30 |
"//lldb/source/ValueObject", |
| 31 |
"//llvm/lib/Support", |
| 32 |
] |
| 33 |
|
| 34 |
# Reaches into Plugins/Language/ClangCommon. |
| 35 |
include_dirs = [ "//lldb/source" ] |
| 36 |
sources = [ |
| 37 |
"BlockPointer.cpp", |
| 38 |
"CPlusPlusLanguage.cpp", |
| 39 |
"CPlusPlusNameParser.cpp", |
| 40 |
"Coroutines.cpp", |
| 41 |
"CxxStringTypes.cpp", |
| 42 |
"Generic.cpp", |
| 43 |
"GenericBitset.cpp", |
| 44 |
"GenericOptional.cpp", |
| 45 |
"LibCxx.cpp", |
| 46 |
"LibCxxAtomic.cpp", |
| 47 |
"LibCxxInitializerList.cpp", |
| 48 |
"LibCxxList.cpp", |
| 49 |
"LibCxxMap.cpp", |
| 50 |
"LibCxxProxyArray.cpp", |
| 51 |
"LibCxxQueue.cpp", |
| 52 |
"LibCxxRangesRefView.cpp", |
| 53 |
"LibCxxSliceArray.cpp", |
| 54 |
"LibCxxSpan.cpp", |
| 55 |
"LibCxxTuple.cpp", |
| 56 |
"LibCxxUnorderedMap.cpp", |
| 57 |
"LibCxxValarray.cpp", |
| 58 |
"LibCxxVariant.cpp", |
| 59 |
"LibCxxVector.cpp", |
| 60 |
"LibStdcpp.cpp", |
| 61 |
"LibStdcppTuple.cpp", |
| 62 |
"LibStdcppUniquePointer.cpp", |
| 63 |
"MSVCUndecoratedNameParser.cpp", |
| 64 |
"MsvcStl.cpp", |
| 65 |
"MsvcStlSmartPointer.cpp", |
| 66 |
] |
| 67 |
} |