Remove some OS-specific plugins from lldb-server dependencies
authorPavel Labath <labath@google.com>
Tue, 29 Nov 2016 17:45:25 +0000 (17:45 +0000)
committerPavel Labath <labath@google.com>
Tue, 29 Nov 2016 17:45:25 +0000 (17:45 +0000)
I don't believe the code in those plugins could be in any way useful for
lldb-server, but I can't be sure if this will break some transitive dependencies.
Builtbots should be able to tell us that.

llvm-svn: 288169

lldb/tools/lldb-server/CMakeLists.txt

index a344f0a..a464632 100644 (file)
@@ -72,16 +72,6 @@ set( LLDB_USED_LIBS
   lldbPluginExpressionParserGo
   )
 
-# Windows-only libraries
-if ( CMAKE_SYSTEM_NAME MATCHES "Windows" )
-  list(APPEND LLDB_USED_LIBS
-    lldbPluginProcessWindows
-    lldbPluginProcessWindowsCommon
-    Ws2_32
-    Rpcrt4
-    )
-endif ()
-
 # Linux-only libraries
 if ( CMAKE_SYSTEM_NAME MATCHES "Linux" )
   list(APPEND LLDB_USED_LIBS
@@ -90,29 +80,10 @@ if ( CMAKE_SYSTEM_NAME MATCHES "Linux" )
    )
 endif ()
 
-# FreeBSD-only libraries
-if ( CMAKE_SYSTEM_NAME MATCHES "FreeBSD" )
-  list(APPEND LLDB_USED_LIBS
-    lldbPluginProcessFreeBSD
-    lldbPluginProcessPOSIX
-    )
-endif ()
-
-# NetBSD-only libraries
-if ( CMAKE_SYSTEM_NAME MATCHES "NetBSD" )
-  list(APPEND LLDB_USED_LIBS
-    lldbPluginProcessPOSIX
-    )
-endif ()
-
 # Darwin-only libraries
 if ( CMAKE_SYSTEM_NAME MATCHES "Darwin" )
   list(APPEND LLDB_USED_LIBS
-    lldbPluginDynamicLoaderDarwinKernel
     lldbPluginObjectFileMachO
-    lldbPluginProcessMachCore
-    lldbPluginProcessMacOSXKernel
-    lldbPluginSymbolVendorMacOSX
     )
 endif()