2017-03-15 23:08:49 +08:00
|
|
|
set (FILES
|
2019-05-29 07:26:32 +08:00
|
|
|
ConnectionFileDescriptorTest.cpp
|
Move FileAction, ProcessInfo and ProcessLaunchInfo from Target to Host
Summary:
These classes describe the details of the process we are about to
launch, and so they are naturally used by the launching code in the Host
module. Previously they were present in Target because that is the most
important (but by far not the only) user of the launching code.
Since the launching code has other customers, must of which do not care
about Targets, it makes sense to move these classes to the Host layer,
next to the launching code.
This move reduces the number of times that Target is included from host
to 8 (it used to be 14).
Reviewers: zturner, clayborg, jingham, davide, teemperor
Subscribers: emaste, mgorny, lldb-commits
Differential Revision: https://reviews.llvm.org/D56602
llvm-svn: 353047
2019-02-04 22:28:08 +08:00
|
|
|
FileActionTest.cpp
|
2016-11-02 00:11:14 +08:00
|
|
|
FileSystemTest.cpp
|
2017-10-31 18:56:03 +08:00
|
|
|
HostInfoTest.cpp
|
2017-06-19 20:47:50 +08:00
|
|
|
HostTest.cpp
|
2017-05-04 18:11:33 +08:00
|
|
|
MainLoopTest.cpp
|
2018-09-24 20:11:04 +08:00
|
|
|
NativeProcessProtocolTest.cpp
|
Move FileAction, ProcessInfo and ProcessLaunchInfo from Target to Host
Summary:
These classes describe the details of the process we are about to
launch, and so they are naturally used by the launching code in the Host
module. Previously they were present in Target because that is the most
important (but by far not the only) user of the launching code.
Since the launching code has other customers, must of which do not care
about Targets, it makes sense to move these classes to the Host layer,
next to the launching code.
This move reduces the number of times that Target is included from host
to 8 (it used to be 14).
Reviewers: zturner, clayborg, jingham, davide, teemperor
Subscribers: emaste, mgorny, lldb-commits
Differential Revision: https://reviews.llvm.org/D56602
llvm-svn: 353047
2019-02-04 22:28:08 +08:00
|
|
|
ProcessLaunchInfoTest.cpp
|
2015-03-18 06:51:21 +08:00
|
|
|
SocketAddressTest.cpp
|
|
|
|
SocketTest.cpp
|
2019-05-29 07:26:32 +08:00
|
|
|
SocketTestUtilities.cpp
|
2017-09-19 23:38:30 +08:00
|
|
|
TaskPoolTest.cpp
|
2017-03-15 23:08:49 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
if (CMAKE_SYSTEM_NAME MATCHES "Linux|Android")
|
|
|
|
list(APPEND FILES
|
|
|
|
linux/HostTest.cpp
|
|
|
|
linux/SupportTest.cpp
|
|
|
|
)
|
|
|
|
endif()
|
2017-02-02 06:17:00 +08:00
|
|
|
|
2017-03-15 23:08:49 +08:00
|
|
|
add_lldb_unittest(HostTests
|
|
|
|
${FILES}
|
2017-02-02 06:17:00 +08:00
|
|
|
LINK_LIBS
|
|
|
|
lldbHost
|
2018-05-12 01:54:09 +08:00
|
|
|
lldbUtilityHelpers
|
2018-09-24 20:11:04 +08:00
|
|
|
LLVMTestingSupport
|
2015-03-18 06:51:21 +08:00
|
|
|
)
|