File tree Expand file tree Collapse file tree 4 files changed +9
-6
lines changed Expand file tree Collapse file tree 4 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-7.6 -bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.4 -bin.zip
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change 14
14
"gradle" : " 8.4" ,
15
15
"gradleAndroid" : " 8.3.2" ,
16
16
"ndk" : " r23c" ,
17
- "ndkApiLevel" : " 17 " ,
18
- "minSdk" : " 17 " ,
17
+ "ndkApiLevel" : " 21 " ,
18
+ "minSdk" : " 21 " ,
19
19
"compileSdk" : " 34" ,
20
20
"buildTools" : " 34.0.0" ,
21
21
"kotlin" : " 2.0.0"
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ android.useAndroidX=true
21
21
# Default versions used throughout the gradle configurations
22
22
NS_DEFAULT_BUILD_TOOLS_VERSION =34.0.0
23
23
NS_DEFAULT_COMPILE_SDK_VERSION =34
24
- NS_DEFAULT_MIN_SDK_VERSION =17
24
+ NS_DEFAULT_MIN_SDK_VERSION =21
25
25
NS_DEFAULT_ANDROID_BUILD_TOOLS_VERSION =8.3.2
26
26
27
27
ns_default_androidx_appcompat_version = 1.6.1
Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ MESSAGE(STATUS "## ANDROID_NDK_ROOT: " ${ANDROID_NDK_ROOT})
20
20
21
21
set (COMMON_CMAKE_ARGUMENTS "-std=c++17 -Werror -Wno-unused-result -mstackrealign -fexceptions -fno-builtin-stpcpy -fno-rtti -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH -DV8_EMBEDDED_BUILTINS" )
22
22
23
+ #enable support for devices that use a 16KiB page size (https://developer.android.com/guide/practices/page-sizes)
24
+ set (COMMON_CMAKE_ARGUMENTS "${COMMON_CMAKE_ARGUMENTS} -DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON" )
25
+
23
26
if ("${ANDROID_ABI} " MATCHES "arm64-v8a$" OR "${ANDROID_ABI} " MATCHES "x86_64$" )
24
27
# Enable pointer compression on 64 bit platforms
25
28
set (COMMON_CMAKE_ARGUMENTS "${COMMON_CMAKE_ARGUMENTS} -DV8_COMPRESS_POINTERS" )
@@ -178,8 +181,8 @@ target_link_libraries(NativeScript ${PROJECT_SOURCE_DIR}/src/main/libs/${ANDROID
178
181
if ("${ANDROID_ABI} " MATCHES "armeabi-v7a$" OR "${ANDROID_ABI} " MATCHES "x86$" )
179
182
# On API Level 19 and lower we need to link with android_support
180
183
# because it contains some implementation of functions such as "strtoll" and "strtoul"
181
- MESSAGE (STATUS "# Linking with libandroid_support.a" )
182
- target_link_libraries (NativeScript ${ANDROID_NDK_ROOT} /sources /cxx-stl/llvm-libc++/libs/${ANDROID_ABI} /libandroid_support.a)
184
+ # MESSAGE(STATUS "# Linking with libandroid_support.a")
185
+ # target_link_libraries(NativeScript ${ANDROID_NDK_ROOT}/sources/cxx-stl/llvm-libc++/libs/${ANDROID_ABI}/libandroid_support.a)
183
186
endif ()
184
187
185
188
# Command info: https://cmake.org/cmake/help/v3.4/command/find_library.html
You can’t perform that action at this time.
0 commit comments