[New-bugs-announce] [issue30386] Add a build infrastructure for Android

Xavier de Gaye report at bugs.python.org
Wed May 17 09:57:53 EDT 2017


New submission from Xavier de Gaye:

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

----------
components: Cross-Build
messages: 293852
nosy: Alex.Willmer, haypo, martin.panter, ncoghlan, xdegaye
priority: normal
severity: normal
stage: patch review
status: open
title: Add a build infrastructure for Android
type: enhancement
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30386>
_______________________________________


More information about the New-bugs-announce mailing list