Skip to content

gh-146445: Migrate Android build tools to the Platforms folder.#148282

Open
freakboy3742 wants to merge 6 commits intopython:mainfrom
freakboy3742:android-platforms
Open

gh-146445: Migrate Android build tools to the Platforms folder.#148282
freakboy3742 wants to merge 6 commits intopython:mainfrom
freakboy3742:android-platforms

Conversation

@freakboy3742
Copy link
Copy Markdown
Contributor

@freakboy3742 freakboy3742 commented Apr 9, 2026

Moves the Android build folder into the Platforms.

For consistency with iOS and Emscripten, the entry point is now named Platforms/Android (rather than android.py), but the android.py name is preserved in the release artefact.

This should not be landed until python/buildmaster-config#699 lands.

Fixes #146445.

@freakboy3742
Copy link
Copy Markdown
Contributor Author

!buildbot android

@bedevere-bot

This comment was marked as outdated.

@freakboy3742
Copy link
Copy Markdown
Contributor Author

freakboy3742 commented Apr 10, 2026

The buildbot failure is relatively straightforward fix; but in the process of debugging the buildbot failure, I discovered that custom cross-build directories aren't being propagated to Gradle; see #148319 for the fix; that should be merged before this PR.

@freakboy3742
Copy link
Copy Markdown
Contributor Author

!buildbot android

@bedevere-bot

This comment was marked as outdated.

@mhsmith
Copy link
Copy Markdown
Member

mhsmith commented Apr 10, 2026

I've added a "Testing Python" subsection to the README to separate the Python test suite instructions from the content that's shared with third-party packages.


SCRIPT_NAME = Path(__file__).name
if SCRIPT_NAME.startswith("__"):
SCRIPT_NAME = "Python/Android"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
SCRIPT_NAME = "Python/Android"
SCRIPT_NAME = "Platforms/Android"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move Android folder to Platforms

3 participants