| 1 |
static_library("Initialization") { |
| 2 |
output_name = "lldbInitialization" |
| 3 |
configs += [ "//llvm/utils/gn/build:lldb_code" ] |
| 4 |
deps = [ |
| 5 |
"//lldb/source/Core", |
| 6 |
"//lldb/source/Host", |
| 7 |
"//lldb/source/Plugins/Process/gdb-remote", |
| 8 |
"//llvm/lib/Support", |
| 9 |
] |
| 10 |
|
| 11 |
if (current_os == "linux" || current_os == "android") { |
| 12 |
deps += [ "//lldb/source/Plugins/Process/POSIX" ] |
| 13 |
} else if (current_os == "win") { |
| 14 |
deps += [ "//lldb/source/Plugins/Process/Windows/Common" ] |
| 15 |
} |
| 16 |
|
| 17 |
# SystemInitializerCommon.cpp includes headers from Plugins/Process/.... |
| 18 |
include_dirs = [ ".." ] |
| 19 |
sources = [ |
| 20 |
"SystemInitializer.cpp", |
| 21 |
"SystemInitializerCommon.cpp", |
| 22 |
"SystemLifetimeManager.cpp", |
| 23 |
] |
| 24 |
} |