summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/modules
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2016-12-05 11:15:36 +0000
committerPavel Labath <labath@google.com>2016-12-05 11:15:36 +0000
commit7a6252158e2fa1f3dfd0a4c846db0c6365d3f3ea (patch)
tree647c9f59f36e4d739c8bb3509b0e953a65cd6543 /lldb/scripts/Python/modules
parent4cb4b36aa2537fd7115d4bf67b4d4b94cd1c0b94 (diff)
downloadbcm5719-llvm-7a6252158e2fa1f3dfd0a4c846db0c6365d3f3ea.tar.gz
bcm5719-llvm-7a6252158e2fa1f3dfd0a4c846db0c6365d3f3ea.zip
Clean up some use of __ANDROID_NDK__ in the cmake files
Rationale: scripts/Python/modules: android is excluded at a higher level, so no point in checking here tools/lldb-mi: lldb-mi builds fine (with some cosmetic tweaks) on android, and there is no reason it shouldn't. tools/lldb-server: LLDB_DISABLE_LIBEDIT/CURSES already take the platform into account, so there is no point in checking again. I am reasonably confident this should not break the build on any platform, but I'll keep an eye out on the bots. llvm-svn: 288661
Diffstat (limited to 'lldb/scripts/Python/modules')
-rw-r--r--lldb/scripts/Python/modules/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/scripts/Python/modules/CMakeLists.txt b/lldb/scripts/Python/modules/CMakeLists.txt
index 396d447ff26..01ab5771bda 100644
--- a/lldb/scripts/Python/modules/CMakeLists.txt
+++ b/lldb/scripts/Python/modules/CMakeLists.txt
@@ -6,6 +6,6 @@ if (CXX_SUPPORTS_NO_MACRO_REDEFINED)
endif ()
# build the Python readline suppression module only on Linux
-if (CMAKE_SYSTEM_NAME MATCHES "Linux" AND NOT __ANDROID_NDK__)
+if (CMAKE_SYSTEM_NAME MATCHES "Linux")
add_subdirectory(readline)
endif()
OpenPOWER on IntegriCloud