Repository navigation
Normalise feature set of Android build script with other platform builders #146450
Copy link
Copy link
Closed
Labels
OS-androidbuildThe build process and cross-buildThe build process and cross-buildtype-featureA feature request or enhancementA feature request or enhancement
Description
Activity
- addedtype-featureA feature request or enhancementA feature request or enhancementbuildThe build process and cross-buildThe build process and cross-build
on 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.- Configurable Directories: Introduce CLI flags (and environment variable fallbacks, if applicable) for configuring both the download cache folder and the
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.
@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.
- added a commit that references this issue
on Apr 4, 2026 - added a commit that references this issue
on Apr 12, 2026
Metadata
Metadata
Assignees
Labels
OS-androidbuildThe build process and cross-buildThe build process and cross-buildtype-featureA feature request or enhancementA feature request or enhancement
The Android build script has a couple of minor differences to the iOS and Emscripten build scripts that are relatively easy to accomodate:
buildtarget only allows you to to specify a host, notbuildorhostsorallcleantarget 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 thecleancommand)cross-builddirectory isn't configurable.We should aim for feature parity and consistency of UI between these scripts, wherever possible.
Linked PRs