This is an archive of the discontinued LLVM Phabricator instance.

[cmake] Make lldb build with the android ndk toolchain file
ClosedPublic

Authored by labath on Jan 16 2017, 9:30 AM.

Details

Summary

The NDK cmake toolchain file defines CMAKE_SYSTEM_NAME=Android, so switch the
build to use that. I have also updated the in-tree toolchain file to do that
(instead of defining ANDROID_NDK), so it can still be used to build.
After migrating the last bits of non-toolchainy bits out of the in-tree
toolchain, I intend to delete it.

Diff Detail

Repository
rL LLVM

Event Timeline

labath updated this revision to Diff 84571.Jan 16 2017, 9:30 AM
labath retitled this revision from to [cmake] Make lldb build with the android ndk toolchain file.
labath updated this object.
labath added reviewers: tberghammer, danalbert.
labath added a subscriber: lldb-commits.
This revision is now accepted and ready to land.Jan 17 2017, 3:29 AM
This revision was automatically updated to reflect the committed changes.