mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Expose react_render_textlayoutmanager via prefab (#43381)
Summary: The `react_render_textlayoutmanager` was not exposed via prefab. I'm adding it to make possible for react-native-live-markdown to integrate on top of React Native via prefab. Based on https://github.com/facebook/react-native/issues/36166. ## Changelog: <!-- Help reviewers and the release process by writing your own changelog entry. Pick one each for the category and type tags: [ANDROID|GENERAL|IOS|INTERNAL] [BREAKING|ADDED|CHANGED|DEPRECATED|REMOVED|FIXED|SECURITY] - Message For more details, see: https://reactnative.dev/contributing/changelogs-in-pull-requests --> [ANDROID] [CHANGED] - Expose `react_render_textlayoutmanager` via prefab. Pull Request resolved: https://github.com/facebook/react-native/pull/43381 Reviewed By: javache Differential Revision: D54676207 Pulled By: cortinico fbshipit-source-id: 90e3b90ff842250bf1e3abcc0c54f057b68a82fd
This commit is contained in:
committed by
Facebook GitHub Bot
parent
6bc95b2074
commit
642b4e5c2c
@@ -148,6 +148,14 @@ 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 +564,7 @@ android {
|
||||
"glog",
|
||||
"fabricjni",
|
||||
"react_render_mapbuffer",
|
||||
"react_render_textlayoutmanager",
|
||||
"yoga",
|
||||
"folly_runtime",
|
||||
"react_nativemodule_core",
|
||||
@@ -686,6 +695,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") {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user