You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Normalise feature set of Android build script with other platform builders #146450
The Android build script has a couple of minor differences to the iOS and Emscripten build scripts that are relatively easy to accomodate:
The build target only allows you to to specify a host, not build or hosts or all
The clean target doesn't have allow you to specify a host at all, so you can't delete all host builds without also deleting the build python, or clean a single host (at least, not with the clean command)
The cache folder for downloads isn't configurable
The cross-build directory isn't configurable.
We should aim for feature parity and consistency of UI between these scripts, wherever possible.
Hi @freakboy3742, I would love to work on this issue!
To achieve feature parity and UI consistency with the iOS and Emscripten build scripts, here is my proposed approach:
build target: Update the argument parsing logic in the Android build script to accept build, hosts, and all as valid targets alongside specific hosts.
clean target: Modify the clean command to accept an optional host argument, allowing users to selectively clean specific host builds, all host builds, or the build python without wiping everything.
Configurable Directories: Introduce CLI flags (and environment variable fallbacks, if applicable) for configuring both the download cache folder and the cross-build directory. I will review the iOS and Emscripten build scripts first to ensure the argument naming conventions exactly match.
If this approach looks good to you, could you please assign this issue to me? I'll get started on a PR right away.
@akanil18 The issue is already assigned to me, and there's already an open PR.
I would also note that this has all the hallmarks of an AI-generated response that is only repeating the information that is in the original ticket. This sort of comment isn't helpful, as it doesn't add anything to the conversation.
Activity
akanil18 commentedon Mar 26, 2026
Hi @freakboy3742, I would love to work on this issue!
To achieve feature parity and UI consistency with the iOS and Emscripten build scripts, here is my proposed approach:
buildtarget: Update the argument parsing logic in the Android build script to acceptbuild,hosts, andallas valid targets alongside specific hosts.cleantarget: Modify thecleancommand to accept an optional host argument, allowing users to selectively clean specific host builds, all host builds, or the build python without wiping everything.cross-builddirectory. I will review the iOS and Emscripten build scripts first to ensure the argument naming conventions exactly match.If this approach looks good to you, could you please assign this issue to me? I'll get started on a PR right away.
freakboy3742 commentedon Mar 26, 2026
@akanil18 The issue is already assigned to me, and there's already an open PR.
I would also note that this has all the hallmarks of an AI-generated response that is only repeating the information that is in the original ticket. This sort of comment isn't helpful, as it doesn't add anything to the conversation.
gh-146450: Normalise feature set of Android build script with other p…
pythongh-146450: Normalise feature set of Android build script with o…
pythongh-146450: Normalise feature set of Android build script with o…
[3.14] gh-146450: Normalise feature set of Android build script with …
[3.13] gh-146450: Normalise feature set of Android build script with …
gh-146450: Ensure Android gradle build uses custom cross-build dir (#…
pythongh-146450: Ensure Android gradle build uses custom cross-build …
pythongh-146450: Ensure Android gradle build uses custom cross-build …
[3.13] gh-146450: Ensure Android gradle build uses custom cross-build…
[3.14] gh-146450: Ensure Android gradle build uses custom cross-build…
Revert "pythongh-146450: Ensure Android gradle build uses custom cros…
pythongh-146450: Normalise feature set of Android build script with o…
pythongh-146450: Ensure Android gradle build uses custom cross-build …