diff --git a/packages/react-native/ReactAndroid/build.gradle.kts b/packages/react-native/ReactAndroid/build.gradle.kts index 9b948515926704..de42d09917cde7 100644 --- a/packages/react-native/ReactAndroid/build.gradle.kts +++ b/packages/react-native/ReactAndroid/build.gradle.kts @@ -148,6 +148,12 @@ val preparePrefab by PrefabPreprocessingEntry( "react_render_mapbuffer", Pair("../ReactCommon/react/renderer/mapbuffer/", "react/renderer/mapbuffer/")), + PrefabPreprocessingEntry( + "react_render_textlayoutmanager", + listOf( + Pair("../ReactCommon/react/renderer/textlayoutmanager/", "react/renderer/textlayoutmanager/"), + Pair("../ReactCommon/react/renderer/textlayoutmanager/platform/android/", ""), + )), PrefabPreprocessingEntry( "yoga", listOf( @@ -556,6 +562,7 @@ android { "glog", "fabricjni", "react_render_mapbuffer", + "react_render_textlayoutmanager", "yoga", "folly_runtime", "react_nativemodule_core", @@ -686,6 +693,9 @@ android { create("react_render_mapbuffer") { headers = File(prefabHeadersDir, "react_render_mapbuffer").absolutePath } + create("react_render_textlayoutmanager") { + headers = File(prefabHeadersDir, "react_render_textlayoutmanager").absolutePath + } create("yoga") { headers = File(prefabHeadersDir, "yoga").absolutePath } create("folly_runtime") { headers = File(prefabHeadersDir, "folly_runtime").absolutePath } create("react_nativemodule_core") { diff --git a/packages/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake b/packages/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake index 0a1c9197a954e5..e2efc266ca0f68 100644 --- a/packages/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake +++ b/packages/react-native/ReactAndroid/cmake-utils/ReactNative-application.cmake @@ -80,6 +80,7 @@ add_library(jsi ALIAS ReactAndroid::jsi) add_library(glog ALIAS ReactAndroid::glog) add_library(fabricjni ALIAS ReactAndroid::fabricjni) add_library(react_render_mapbuffer ALIAS ReactAndroid::react_render_mapbuffer) +add_library(react_render_textlayoutmanager ALIAS ReactAndroid::react_render_textlayoutmanager) add_library(yoga ALIAS ReactAndroid::yoga) add_library(folly_runtime ALIAS ReactAndroid::folly_runtime) add_library(react_nativemodule_core ALIAS ReactAndroid::react_nativemodule_core) @@ -108,6 +109,7 @@ target_link_libraries(${CMAKE_PROJECT_NAME} react_render_graphics # prefab ready react_render_imagemanager # prefab ready react_render_mapbuffer # prefab ready + react_render_textlayoutmanager # prefab ready rrc_image # prefab ready rrc_view # prefab ready rrc_text # prefab ready