Skip to content

Commit

Permalink
Add 16K support for standalone Yoga
Browse files Browse the repository at this point in the history
Summary:
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
  • Loading branch information
cortinico authored and facebook-github-bot committed Dec 10, 2024
1 parent ae2d06d commit 599a77c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion java/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,12 @@ android {
ndk { abiFilters.addAll(setOf("x86", "x86_64", "armeabi-v7a", "arm64-v8a")) }
}

externalNativeBuild { cmake { path("CMakeLists.txt") } }
externalNativeBuild {
cmake {
path("CMakeLists.txt")
arguments("-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON")
}
}

compileOptions {
targetCompatibility(JavaVersion.VERSION_1_8)
Expand Down

0 comments on commit 599a77c

Please sign in to comment.