mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
bump ndk r28c (#58650)
Summary: we now use AGP 9.2.1 which default ndk version is [r28c](https://developer.android.com/build/releases/agp-9-2-0-release-notes#compatibility). it would be good to synchronize the ndk version - bump ndk to r28c `28.2.13676358` - remove unnecessary `ANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES` cmake flag for 16kb page size support. ndk r28 has the default 16kb page size support - bump fbjni to 0.8.1 for https://github.com/facebookincubator/fbjni/pull/119 - bump fresco to 3.9.0 for https://github.com/facebook/fresco/pull/2866 ## Changelog: [ANDROID] [CHANGED] - Bump NDK to r28c, fbjni 0.8.1 and fresco 3.9.0 Pull Request resolved: https://github.com/react/react-native/pull/58650 Test Plan: ci passed Reviewed By: Abbondanzo Differential Revision: D124138094 Pulled By: cortinico fbshipit-source-id: c683a8b31c4a962942547131249da5940c753509
This commit is contained in:
1 parent
1e0540680c
commit
a948811cca
5 files changed
+4
-9
No files matched your search
-3
@@ -55,9 +55,6 @@ internal object NdkConfiguratorUtils {
|
||||
if (cmakeArgs.none { it.startsWith("-DANDROID_STL") }) {
|
||||
cmakeArgs.add("-DANDROID_STL=c++_shared")
|
||||
}
|
||||
if (cmakeArgs.none { it.startsWith("-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES") }) {
|
||||
cmakeArgs.add("-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON")
|
||||
}
|
||||
|
||||
val architectures = project.getReactNativeArchitectures()
|
||||
// abiFilters are split ABI are not compatible each other, so we set the abiFilters
|
||||
|
||||
@@ -613,7 +613,6 @@ android {
|
||||
"-DREACT_BUILD_DIR=$buildDir",
|
||||
"-DANDROID_STL=c++_shared",
|
||||
"-DANDROID_TOOLCHAIN=clang",
|
||||
"-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON",
|
||||
"-DCMAKE_POLICY_DEFAULT_CMP0069=NEW",
|
||||
)
|
||||
|
||||
|
||||
@@ -339,7 +339,6 @@ android {
|
||||
"-DHERMES_IS_ANDROID=True",
|
||||
"-DANDROID_STL=c++_shared",
|
||||
"-DANDROID_PIE=True",
|
||||
"-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON",
|
||||
"-DIMPORT_HOST_COMPILERS=${File(hermesBuildDir, "ImportHostCompilers.cmake").toString()}",
|
||||
"-DJSI_DIR=${jsiDir}",
|
||||
"-DHERMES_BUILD_SHARED_JSI=True",
|
||||
|
||||
@@ -4,7 +4,7 @@ minSdk = "24"
|
||||
targetSdk = "37"
|
||||
compileSdk = "37"
|
||||
buildTools = "37.0.0"
|
||||
ndkVersion = "27.1.12297006"
|
||||
ndkVersion = "28.2.13676358"
|
||||
# Dependencies versions
|
||||
agp = "9.2.1"
|
||||
androidx-activity = "1.10.1"
|
||||
@@ -23,8 +23,8 @@ assertj = "3.21.0"
|
||||
binary-compatibility-validator = "0.13.2"
|
||||
download = "5.4.0"
|
||||
espresso-core = "3.6.1"
|
||||
fbjni = "0.7.0"
|
||||
fresco = "3.7.0"
|
||||
fbjni = "0.8.1"
|
||||
fresco = "3.9.0"
|
||||
infer-annotation = "0.18.0"
|
||||
javax-annotation-api = "1.3.2"
|
||||
javax-inject = "1"
|
||||
|
||||
@@ -11,7 +11,7 @@ buildscript {
|
||||
minSdkVersion = 24
|
||||
compileSdkVersion = 37
|
||||
targetSdkVersion = 35
|
||||
ndkVersion = "27.1.12297006"
|
||||
ndkVersion = "28.2.13676358"
|
||||
kotlinVersion = "2.1.20"
|
||||
}
|
||||
repositories {
|
||||
|
||||
Reference in new issue
Block a user