Skip to content

Commit

Permalink
[android] Bump default API level to 21. (#1134)
Browse files Browse the repository at this point in the history
NDK r26 has dropped support for API levels 19 and 20.
This only affects armv7 and x86, 64-bit architectures already required API level 21 or higher.
https://github.com/android/ndk/wiki/Changelog-r26#announcements
  • Loading branch information
Apprentice-Alchemist committed Jul 26, 2024
1 parent d6ebd3c commit 7665c67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions toolchain/android-toolchain-clang.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<!-- Set architecture -->
<section if="HXCPP_X86">
<set name="ARCH" value="-x86" />
<set name="PLATFORM_NUMBER" value="19" unless="PLATFORM_NUMBER" />
<set name="PLATFORM_NUMBER" value="21" unless="PLATFORM_NUMBER" />
<set name="ABITRIPLE" value="i686-linux-android" />
</section>

Expand All @@ -15,7 +15,7 @@

<section if="HXCPP_ARMV7">
<set name="ARCH" value="-v7" />
<set name="PLATFORM_NUMBER" value="19" unless="PLATFORM_NUMBER" />
<set name="PLATFORM_NUMBER" value="21" unless="PLATFORM_NUMBER" />
<set name="ABITRIPLE" value="armv7a-linux-androideabi" />
<set name="EXEPREFIX" value="arm-linux-androideabi" />
</section>
Expand Down

0 comments on commit 7665c67

Please sign in to comment.