mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Expose rrc_textinput via prefab (#43274)
Summary: The `rrc_textinput` 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 `rrc_textinput` via prefab. Pull Request resolved: https://github.com/facebook/react-native/pull/43274 Reviewed By: cipolleschi Differential Revision: D54482657 Pulled By: cortinico fbshipit-source-id: ca7f4127f1808f841d88925238666e837de75bd0
This commit is contained in:
committed by
Alex Hunt
parent
27b54bdcff
commit
4dc9d54447
@@ -125,6 +125,11 @@ val preparePrefab by
|
||||
"react/renderer/components/view/"),
|
||||
Pair("../ReactCommon/react/renderer/components/view/platform/android/", ""),
|
||||
)),
|
||||
PrefabPreprocessingEntry(
|
||||
"rrc_textinput",
|
||||
Pair(
|
||||
"../ReactCommon/react/renderer/components/textinput/",
|
||||
"react/renderer/components/androidtextinput/")),
|
||||
PrefabPreprocessingEntry(
|
||||
"rrc_legacyviewmanagerinterop",
|
||||
Pair(
|
||||
@@ -538,6 +543,7 @@ android {
|
||||
"rrc_image",
|
||||
"rrc_root",
|
||||
"rrc_view",
|
||||
"rrc_textinput",
|
||||
"rrc_legacyviewmanagerinterop",
|
||||
"jsi",
|
||||
"glog",
|
||||
@@ -662,6 +668,7 @@ android {
|
||||
create("rrc_image") { headers = File(prefabHeadersDir, "rrc_image").absolutePath }
|
||||
create("rrc_root") { headers = File(prefabHeadersDir, "rrc_root").absolutePath }
|
||||
create("rrc_view") { headers = File(prefabHeadersDir, "rrc_view").absolutePath }
|
||||
create("rrc_textinput") { headers = File(prefabHeadersDir, "rrc_textinput").absolutePath }
|
||||
create("rrc_legacyviewmanagerinterop") {
|
||||
headers = File(prefabHeadersDir, "rrc_legacyviewmanagerinterop").absolutePath
|
||||
}
|
||||
|
||||
@@ -74,6 +74,7 @@ add_library(react_cxxreactpackage ALIAS ReactAndroid::react_cxxreactpackage)
|
||||
add_library(react_render_core ALIAS ReactAndroid::react_render_core)
|
||||
add_library(react_render_graphics ALIAS ReactAndroid::react_render_graphics)
|
||||
add_library(rrc_view ALIAS ReactAndroid::rrc_view)
|
||||
add_library(rrc_textinput ALIAS ReactAndroid::rrc_textinput)
|
||||
add_library(jsi ALIAS ReactAndroid::jsi)
|
||||
add_library(glog ALIAS ReactAndroid::glog)
|
||||
add_library(fabricjni ALIAS ReactAndroid::fabricjni)
|
||||
@@ -108,6 +109,7 @@ target_link_libraries(${CMAKE_PROJECT_NAME}
|
||||
react_render_mapbuffer # prefab ready
|
||||
rrc_image # prefab ready
|
||||
rrc_view # prefab ready
|
||||
rrc_textinput # prefab ready
|
||||
rrc_legacyviewmanagerinterop # prefab ready
|
||||
runtimeexecutor # prefab ready
|
||||
turbomodulejsijni # prefab ready
|
||||
|
||||
Reference in New Issue
Block a user