[LLDB] Always remove debugserver from LLVM_DISTRIBUTION_COMPONENTS
authorJonas Devlieghere <jonas@devlieghere.com>
Tue, 12 Nov 2019 20:57:00 +0000 (12:57 -0800)
committerJonas Devlieghere <jonas@devlieghere.com>
Tue, 12 Nov 2019 20:58:26 +0000 (12:58 -0800)
commitfbb228c7d222b991bed20d674e3b43143848fb95
tree3e94576c7f88ca40eb34833ccc67edb833e48381
parent9b1e86f0cb4768a7c09b58888a86dd4be60de02e
[LLDB] Always remove debugserver from LLVM_DISTRIBUTION_COMPONENTS

Centralize the logic to remove debugserver from
LLVM_DISTRIBUTION_COMPONENTS when LLDB_USE_SYSTEM_DEBUGSERVER is
enabled. Now this happens regardless of whether the tests are enabled.
lldb/cmake/modules/LLDBConfig.cmake
lldb/test/API/CMakeLists.txt