Content-Length: 370684 | pFad | http://github.com/NativeScript/android/pull/1819/commits/853253b6397e589c20464722f4a3715c04dc6e4a

6A feat: add ndk 27 and bump minSdk to 21 by triniwiz · Pull Request #1819 · NativeScript/android · GitHub
Skip to content

feat: add ndk 27 and bump minSdk to 21 #1819

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

Merged
merged 13 commits into from
Feb 26, 2025
Prev Previous commit
Next Next commit
Merge branch 'main' into feat/ndk-27
  • Loading branch information
triniwiz authored Feb 23, 2025
commit 853253b6397e589c20464722f4a3715c04dc6e4a
2 changes: 1 addition & 1 deletion test-app/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Sun Dec 08 19:56:04 AST 2024
#Tue Feb 11 10:56:28 AST 2025
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
Expand Down
4 changes: 3 additions & 1 deletion test-app/runtime/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ endif (CCACHE_FOUND AND (USE_CCACHE))
# "-DANDROID_STL=c++_static" is just not enough for clang++ to find some libraries in the ndk
MESSAGE(STATUS "## ANDROID_NDK_ROOT: " ${ANDROID_NDK_ROOT})

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 -Wno-vla-extension -Wno-deprecated")

set(COMMON_CMAKE_ARGUMENTS "-std=c++20 -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 -Wno-vla-extension -Wno-deprecated -Wno-vla-cxx-extension")


if("${ANDROID_ABI}" MATCHES "arm64-v8a$" OR "${ANDROID_ABI}" MATCHES "x86_64$")
# Enable pointer compression on 64 bit platforms
Expand Down
18 changes: 8 additions & 10 deletions test-app/runtime/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if (useCCache) {
}


def defaultNdkVersion = "27.0.12077973"
def defaultNdkVersion = "27.2.12479018"

def hasNdkVersion = project.hasProperty("ndkVersion")
if (hasNdkVersion) {
Expand Down Expand Up @@ -113,8 +113,8 @@ android {
//
// arguments "-DANDROID_TOOLCHAIN=clang", "-DANDROID_STL=c++_static", "-DANDROID_NDK_ROOT=${NDK_PATH}"

cppFlags "-std=c++14"
arguments "-DANDROID_STL=c++_shared", "-DANDROID_NDK_ROOT=${NDK_PATH}", "-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON"
cppFlags "-std=c++20"
arguments "-DANDROID_STL=c++_static", "-DANDROID_NDK_ROOT=${NDK_PATH}", "-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON"
}
}

Expand Down Expand Up @@ -149,13 +149,11 @@ android {
}

allprojects {
/* gradle.projectsEvaluated {
tasks.withType(JavaCompile).tap {
configureEach {
//options.compilerArgs << "-Xlint:all" << "-Werror"
}
}
}*/
afterEvaluate {
tasks.withType(JavaCompile).configureEach {
options.compilerArgs << "-Xlint:all" << "-Werror"
}
}
}

dependencies {
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/NativeScript/android/pull/1819/commits/853253b6397e589c20464722f4a3715c04dc6e4a

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy