aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2018-06-21 14:09:15 +0000
committerPavel Labath <labath@google.com>2018-06-21 14:09:15 +0000
commitbcadb5a3d1b17a581c4ac991f129eb8441a81c48 (patch)
tree9d44f24054f27b8b0cedfaa2a2893ea8b8523779 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
parent30f2e61b97effae7dade5f617482b16b778629b9 (diff)
downloadllvm-bcadb5a3d1b17a581c4ac991f129eb8441a81c48.zip
llvm-bcadb5a3d1b17a581c4ac991f129eb8441a81c48.tar.gz
llvm-bcadb5a3d1b17a581c4ac991f129eb8441a81c48.tar.bz2
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
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
-rw-r--r--lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
index 628b71f..527853b 100644
--- a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
+++ b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
@@ -10,12 +10,6 @@
#ifndef LLDB_PLUGINS_SCRIPTINTERPRETER_PYTHON_SCRIPTINTERPRETERPYTHON_H
#define LLDB_PLUGINS_SCRIPTINTERPRETER_PYTHON_SCRIPTINTERPRETERPYTHON_H
-#ifdef LLDB_DISABLE_PYTHON
-
-// Python is disabled in this build
-
-#else
-
// C Includes
// C++ Includes
#include <memory>
@@ -571,6 +565,4 @@ protected:
} // namespace lldb_private
-#endif // LLDB_DISABLE_PYTHON
-
#endif // LLDB_PLUGINS_SCRIPTINTERPRETER_PYTHON_SCRIPTINTERPRETERPYTHON_H