Specify the dependencies of lldb-server manually
authorPavel Labath <labath@google.com>
Tue, 29 Nov 2016 16:40:57 +0000 (16:40 +0000)
committerPavel Labath <labath@google.com>
Tue, 29 Nov 2016 16:40:57 +0000 (16:40 +0000)
commit393982ef0cde8d655a5ef36792e28efd300a172f
treecf972a26af14402523a347ab2b3a798208fd8e36
parent9d03c03858e99525969edade670a8f8ccb706d64
Specify the dependencies of lldb-server manually

Summary:
This basically just inlines the LLDBDependencies.cmake file into lldb-server
CMakeLists.txt. The reason is that most of these dependencies are not actually
necessary for lldb-server (some of them can't be removed because of
cross-dependencies, but most of the plugins can). I intend to start cleaning
these up in follow-up commits, but I want to do this first, so the subsequent
ones can be easily reverted if they don't build in some configurations.

When I cleaned these up locally, I was able to get a 30%--50% improvement in
lldb-server size.

Reviewers: zturner, beanz, tfiala

Subscribers: danalbert, srhines, lldb-commits, mgorny

Differential Revision: https://reviews.llvm.org/D26975

llvm-svn: 288159
lldb/tools/lldb-server/CMakeLists.txt