Skip to content

Allow supplying ABI from command line override - #3902

Open
pljones wants to merge 1 commit into
jamulussoftware:mainfrom
pljones:bugfix/android-allow-command-line-abi
Open

Allow supplying ABI from command line override#3902
pljones wants to merge 1 commit into
jamulussoftware:mainfrom
pljones:bugfix/android-allow-command-line-abi

Conversation

@pljones

@pljones pljones commented Aug 15, 2026

Copy link
Copy Markdown
Collaborator

Short description of changes

When I'm doing a build locally, rather than have to build all the android platforms, it's useful to be able to specify which ABI to target. Currently, Jamulus.pro prevents this by directly setting the ABIs to build.

This small change first checks whether any target is set and only sets it to the default list if it's empty.

CHANGELOG: SKIP

Context: Fixes an issue?

Useful enhancement to local build tooling.

Does this change need documentation? What needs to be documented and how?

No.

Status of this Pull Request

Tested locally.

What is missing until this pull request can be merged?

Confirmation I'm not missing something.

Checklist

  • I've verified that this Pull Request follows the general code principles
  • I tested my code and it does what I want
  • My code follows the style guide
  • I waited some time after this Pull Request was opened and all GitHub checks completed without errors.
  • I've filled all the content above

AUTOBUILD: Please build all targets

@pljones
pljones requested a lite review from Copilot August 15, 2026 14:58
@pljones pljones self-assigned this Aug 15, 2026
@pljones pljones added refactoring Non-behavioural changes, Code cleanup tooling Changes to the automated build system labels Aug 15, 2026
@pljones
pljones requested a review from softins August 15, 2026 14:58

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Android qmake configuration so developers can override the Android ABI list from the command line (e.g., to build a single ABI locally) while keeping the existing “build all ABIs” behavior as the default.

Changes:

  • Only assigns the default ANDROID_ABIS list when ANDROID_ABIS is empty.
  • Preserves existing Android version name/code settings and downstream uses of ANDROID_ABIS (e.g., distclean per-ABI directories).

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@ann0see ann0see left a comment

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.

Can't test this, but I'd say it is fine.

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

Labels

refactoring Non-behavioural changes, Code cleanup tooling Changes to the automated build system

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants