Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: exit on unsupported host OS for Android #52882

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

VoltrexKeyva
Copy link
Member

The Android configure script throws an unhelpful error message telling the user that toolchain_path is not defined when the script is run on an unsupported host OS, exit with a more helpful message instead while listing the supported host OSes.

@VoltrexKeyva VoltrexKeyva added build Issues and PRs related to build files or the CI. android Issues and PRs related to the android platform. labels May 8, 2024
@lpinca
Copy link
Member

lpinca commented May 11, 2024

Wouldn't it be better to fix it here

if platform.system() == "Windows":
print("android-configure is not supported on Windows yet.")
sys.exit(1)

The Android configure script throws an unhelpful error message telling
the user that `toolchain_path` is not defined when the script is run on
an unsupported host OS, exit with a more helpful message instead while
listing the supported host OSes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android Issues and PRs related to the android platform. build Issues and PRs related to build files or the CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants