Skip to content

Commit

Permalink
Up Android minimum SDK to 26
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Dec 9, 2024
1 parent e431481 commit 1f2130f
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions cmake/Platform.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ endif()
if(ANDROID_ABI)
set(ANDROID_BUILD_TOOLS_VERSION "34.0.0" CACHE STRING "Android build-tools version")
set(ANDROID_TARGET_PLATFORM 34 CACHE INT "Target Android platform SDK version")
set(ANDROID_PLATFORM 23 CACHE INT "Minimum Android platform SDK version")
set(ANDROID_PLATFORM_INT 23 CACHE INT "Minimum Android platform SDK version") # Used in build.gradle.in
set(ANDROID_PLATFORM 26 CACHE INT "Minimum Android platform SDK version")
set(ANDROID_PLATFORM_INT 26 CACHE INT "Minimum Android platform SDK version") # Used in build.gradle.in
set(ANDROID_CPP_FEATURES "rtti exceptions")
endif()
2 changes: 1 addition & 1 deletion vcpkg/triplets/arm-android.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ set(VCPKG_CMAKE_SYSTEM_NAME Android)
set(VCPKG_BUILD_TYPE release)
set(VCPKG_MAKE_BUILD_TRIPLET "--host=armv7a-linux-androideabi")
set(VCPKG_CMAKE_CONFIGURE_OPTIONS -DANDROID_ABI=armeabi-v7a -DANDROID_ARM_NEON=OFF)
set(VCPKG_CMAKE_SYSTEM_VERSION 23)
set(VCPKG_CMAKE_SYSTEM_VERSION 26)
set(ANDROID_SDK_ROOT $ENV{ANDROID_SDK_ROOT})

set(VCPKG_CXX_FLAGS "-fstack-protector-strong")
Expand Down
2 changes: 1 addition & 1 deletion vcpkg/triplets/arm-neon-android.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ set(VCPKG_CMAKE_SYSTEM_NAME Android)
set(VCPKG_BUILD_TYPE release)
set(VCPKG_MAKE_BUILD_TRIPLET "--host=armv7a-linux-androideabi")
set(VCPKG_CMAKE_CONFIGURE_OPTIONS -DANDROID_ABI=armeabi-v7a -DANDROID_ARM_NEON=ON)
set(VCPKG_CMAKE_SYSTEM_VERSION 23)
set(VCPKG_CMAKE_SYSTEM_VERSION 26)
set(ANDROID_SDK_ROOT $ENV{ANDROID_SDK_ROOT})

set(VCPKG_CXX_FLAGS "-fstack-protector-strong")
Expand Down
2 changes: 1 addition & 1 deletion vcpkg/triplets/arm64-android.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ set(VCPKG_CMAKE_SYSTEM_NAME Android)
set(VCPKG_BUILD_TYPE release)
set(VCPKG_MAKE_BUILD_TRIPLET "--host=aarch64-linux-android")
set(VCPKG_CMAKE_CONFIGURE_OPTIONS -DANDROID_ABI=arm64-v8a)
set(VCPKG_CMAKE_SYSTEM_VERSION 23)
set(VCPKG_CMAKE_SYSTEM_VERSION 26)
set(ANDROID_SDK_ROOT $ENV{ANDROID_SDK_ROOT})

set(VCPKG_CXX_FLAGS "-fstack-protector-strong")
Expand Down
2 changes: 1 addition & 1 deletion vcpkg/triplets/x64-android.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ set(VCPKG_CMAKE_SYSTEM_NAME Android)
set(VCPKG_BUILD_TYPE release)
set(VCPKG_MAKE_BUILD_TRIPLET "--host=x86_64-linux-android")
set(VCPKG_CMAKE_CONFIGURE_OPTIONS -DANDROID_ABI=x86_64)
set(VCPKG_CMAKE_SYSTEM_VERSION 23)
set(VCPKG_CMAKE_SYSTEM_VERSION 26)
set(ANDROID_SDK_ROOT $ENV{ANDROID_SDK_ROOT})

set(VCPKG_CXX_FLAGS "-fstack-protector-strong")
Expand Down
2 changes: 1 addition & 1 deletion vcpkg/triplets/x86-android.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ set(VCPKG_CMAKE_SYSTEM_NAME Android)
set(VCPKG_BUILD_TYPE release)
set(VCPKG_MAKE_BUILD_TRIPLET "--host=i686-linux-android")
set(VCPKG_CMAKE_CONFIGURE_OPTIONS -DANDROID_ABI=x86)
set(VCPKG_CMAKE_SYSTEM_VERSION 23)
set(VCPKG_CMAKE_SYSTEM_VERSION 26)
set(ANDROID_SDK_ROOT $ENV{ANDROID_SDK_ROOT})

set(VCPKG_CXX_FLAGS "-fstack-protector-strong")
Expand Down

0 comments on commit 1f2130f

Please sign in to comment.