Use modern Android libc++ in Yoga and React Native OSS (#1412)

Summary:
X-link: https://github.com/facebook/react-native/pull/39795
Pull Request resolved: https://github.com/facebook/yoga/pull/1412

Android NDK 25 uses a version of libc++ that is more than three years old, missing a lot of basic features of C++ 20. This is rectified in NDK 26 (latest LTS NDK), which brings us up to date with latest Clang (17, released this year), and adds a new policy where future NDK versions will bump libc++ as part of bumping LLVM/Clang.

This requires an a beta AGP version (and corresponding Android Studio Preview). Based on how far we are historically, it wouldn't be a surprise if we see the stable release this month (well before the RN 0.74/Yoga 3.0 cut, even in the worse case).

Changelog:
[Android][Changed] - Use NDK 26

Reviewed By: yungsters

Differential Revision: D49895949

fbshipit-source-id: 37bb4d1fdf81137be7f14f6675b4e079c6f861e4
This commit is contained in:
Nick Gerleman
2023-10-04 19:57:14 -07:00
committed by Facebook GitHub Bot
parent 2734784ddb
commit 98d2172e05
3 changed files with 4 additions and 4 deletions

View File

@@ -6,8 +6,8 @@
*/
plugins {
id("com.android.library") version "8.1.1" apply false
id("com.android.application") version "8.1.1" apply false
id("com.android.library") version "8.2.0-beta06" apply false
id("com.android.application") version "8.2.0-beta06" apply false
id("io.github.gradle-nexus.publish-plugin") version "1.3.0"
}