From 2dfdf6c8244334779c253a39aae61c05451679fd Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Tue, 10 Dec 2024 09:34:38 -0800 Subject: [PATCH] Add 16K support for standalone Yoga (#1766) Summary: Pull Request resolved: https://github.com/facebook/yoga/pull/1766 While we added support for 16K pages for yoga through React Native, the standalone version we upload to Maven Central wasn't handled. This fixes it. Reviewed By: NickGerleman Differential Revision: D66975933 fbshipit-source-id: 36a8404e2f2a60a44b9a39e478b23d1829bc542e --- java/build.gradle.kts | 1 + 1 file changed, 1 insertion(+) diff --git a/java/build.gradle.kts b/java/build.gradle.kts index 44e476e2ba..2d2f874da0 100644 --- a/java/build.gradle.kts +++ b/java/build.gradle.kts @@ -30,6 +30,7 @@ android { consumerProguardFiles("proguard-rules.pro") ndk { abiFilters.addAll(setOf("x86", "x86_64", "armeabi-v7a", "arm64-v8a")) } + externalNativeBuild { cmake { arguments("-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON") } } } externalNativeBuild { cmake { path("CMakeLists.txt") } }