Author xdegaye
Recipients Alex.Willmer, haypo, martin.panter, ncoghlan, xdegaye
Date 2017-05-17.13:57:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1495029473.85.0.224153889861.issue30386@psf.upfronthosting.co.za>
In-reply-to
Content
This PR adds a build infrastructure for Android on linux that allows a developer to check that source code changes do not break the existing state of this support by testing the changes on Android with a simple command. For example after a change to the socket module:
    $ /path/to/python_src/Android/makesetup && make python PYTHON_ARGS="-m test test_socket"

The README in the PR describes how to install the Android NDK and SDK, how to cross-compile Python, how to run python interactively or to run the Python test suite on the emulator, how to debug python on the emulator with gdb.

This build system has been tested with android-ndk-r13 and android-ndk-r14 which is the latest stable release of the NDK.  UnifiedHeaders [1] introduced in android-ndk-r14 is not yet used by this version of the build system.

[1] https://android.googlesource.com/platform/ndk.git/+/master/docs/UnifiedHeaders.md
History
Date User Action Args
2017-05-17 13:57:53xdegayesetrecipients: + xdegaye, ncoghlan, haypo, martin.panter, Alex.Willmer
2017-05-17 13:57:53xdegayesetmessageid: <1495029473.85.0.224153889861.issue30386@psf.upfronthosting.co.za>
2017-05-17 13:57:53xdegayelinkissue30386 messages
2017-05-17 13:57:53xdegayecreate