Skip to content

Change Android ndk_platform option to android_ndk_api#57

Merged
DanielaOrtner merged 1 commit into
RebelToolbox:mainfrom
madmiraal:improve-ndk_api-option
May 15, 2024
Merged

Change Android ndk_platform option to android_ndk_api#57
DanielaOrtner merged 1 commit into
RebelToolbox:mainfrom
madmiraal:improve-ndk_api-option

Conversation

@madmiraal
Copy link
Copy Markdown
Contributor

Currently, the Android build has an ndk_platform option to specify the minimum Android API that the build should support. Not only is the option name confusing (it affects the Android API not the NDK platform) it requires the inclusion of the word "android" in the value.

This PR changes the name of the option to the more descriptive android_ndk_api, it also uses an integer for the minimum API level supported.

In addition, this PR also removes the ignored ANDROID_SDK_ROOT SCons option and includes a general clean up of android/detect.py.

- Uses an integer for the Android NDK API target instead of "android-<api>".
- Removes the ignored ANDROID_SDK_ROOT SCons option.
- Includes a general clean up of android/detect.py.
@DanielaOrtner DanielaOrtner self-requested a review May 15, 2024 11:35
Copy link
Copy Markdown
Contributor

@DanielaOrtner DanielaOrtner left a comment

Choose a reason for hiding this comment

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

Good work. This change makes it so much clearer.

@DanielaOrtner DanielaOrtner merged commit 3e3eed8 into RebelToolbox:main May 15, 2024
@madmiraal madmiraal deleted the improve-ndk_api-option branch May 16, 2024 07:49
@madmiraal madmiraal added PR Type: Enhancement Your current game will work better. and removed enhancement labels May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR Type: Enhancement Your current game will work better.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants