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 <rep...@bugs.python.org>
<http://bugs.python.org/issue30386>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to