[lldb/CMake] Rename LLDB_DISABLE_PYTHON to LLDB_ENABLE_PYTHON

This matches the naming scheme used by LLVM and all the other optional
dependencies in LLDB.

Differential revision: https://reviews.llvm.org/D71482
This commit is contained in:
Jonas Devlieghere
2019-12-13 10:37:33 -08:00
parent 9cb7a1be2a
commit 4e26cf2cfb
29 changed files with 87 additions and 96 deletions

View File

@@ -11,11 +11,7 @@
#include "lldb/Host/Config.h"
#ifdef LLDB_DISABLE_PYTHON
// Python is disabled in this build
#else
#if LLDB_ENABLE_PYTHON
#include "lldb/Breakpoint/BreakpointOptions.h"
#include "lldb/Core/IOHandler.h"
@@ -62,5 +58,5 @@ protected:
};
} // namespace lldb_private
#endif // LLDB_DISABLE_PYTHON
#endif // LLDB_ENABLE_PYTHON
#endif // LLDB_PLUGINS_SCRIPTINTERPRETER_PYTHON_SCRIPTINTERPRETERPYTHON_H