From bcadb5a3d1b17a581c4ac991f129eb8441a81c48 Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Thu, 21 Jun 2018 14:09:15 +0000 Subject: ScriptInterpreterPython cleanup Instead of #ifdef-ing the contents of all files in the plugin for all non-python builds, just disable the plugin at the cmake level. Also, remove spurious extra linking of the Python plugin in liblldb. This plugin is already included as a part of LLDB_ALL_PLUGINS variable. llvm-svn: 335236 --- lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h') diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h index beeb6478236..c818cbbd8b5 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h +++ b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h @@ -10,8 +10,6 @@ #ifndef LLDB_PLUGINS_SCRIPTINTERPRETER_PYTHON_PYTHONDATAOBJECTS_H #define LLDB_PLUGINS_SCRIPTINTERPRETER_PYTHON_PYTHONDATAOBJECTS_H -#ifndef LLDB_DISABLE_PYTHON - // LLDB Python header must be included first #include "lldb-python.h" @@ -470,5 +468,3 @@ public: } // namespace lldb_private #endif - -#endif // LLDB_PLUGINS_SCRIPTINTERPRETER_PYTHON_PYTHONDATAOBJECTS_H -- cgit v1.2.3