[Lldb-commits] [PATCH] D27305: Replace __ANDROID_NDK__ with simply ANDROID
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Dec 1 09:59:59 PST 2016
labath created this revision.
labath added reviewers: tberghammer, zturner.
labath added a subscriber: lldb-commits.
Herald added subscribers: mgorny, srhines, danalbert.
This replaces all the uses of the __ANDROID_NDK__ define with ANDROID. This is a
preparatory step to remove our custom android toolchain file and rely on the
standard android NDK one instead. Our toolchain file defined both ANDROID and
__ANDROID_NDK__, while the NDK one just defines ANDROID. So, make things
consistent and just use ANDROID everywhere.
I haven't yet removed the cmake variable with the same name, as we will need to
do something completely different there -- NDK toolchain defines
CMAKE_SYSTEM_NAME to Android, while our current one pretends it's linux.
https://reviews.llvm.org/D27305
Files:
cmake/platforms/Android.cmake
include/lldb/Core/RegularExpression.h
include/lldb/Host/Config.h
include/lldb/Host/Editline.h
include/lldb/Host/Host.h
include/lldb/Host/HostInfo.h
include/lldb/Host/Time.h
include/lldb/Host/linux/Personality.h
include/lldb/Host/posix/Fcntl.h
source/Host/common/Host.cpp
source/Host/common/Socket.cpp
source/Host/linux/ProcessLauncherLinux.cpp
source/Host/posix/HostInfoPosix.cpp
source/Plugins/Language/CPlusPlus/CxxStringTypes.cpp
source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp
source/Plugins/Process/Utility/RegisterContextMacOSXFrameBackchain.cpp
source/Utility/PseudoTerminal.cpp
tools/driver/Driver.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27305.79936.patch
Type: text/x-patch
Size: 9309 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20161201/8780368d/attachment-0001.bin>
More information about the lldb-commits
mailing list