Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose rrc_text via prefab #43275

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions packages/react-native/ReactAndroid/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,11 @@ val preparePrefab by
"react/renderer/components/view/"),
Pair("../ReactCommon/react/renderer/components/view/platform/android/", ""),
)),
PrefabPreprocessingEntry(
"rrc_text",
Pair(
"../ReactCommon/react/renderer/components/text/",
"react/renderer/components/text/")),
PrefabPreprocessingEntry(
"rrc_legacyviewmanagerinterop",
Pair(
Expand Down Expand Up @@ -540,6 +545,7 @@ android {
"rrc_image",
"rrc_root",
"rrc_view",
"rrc_text",
"rrc_legacyviewmanagerinterop",
"jsi",
"glog",
Expand Down Expand Up @@ -664,6 +670,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_text") { headers = File(prefabHeadersDir, "rrc_text").absolutePath }
create("rrc_legacyviewmanagerinterop") {
headers = File(prefabHeadersDir, "rrc_legacyviewmanagerinterop").absolutePath
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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_text ALIAS ReactAndroid::rrc_text)
add_library(jsi ALIAS ReactAndroid::jsi)
add_library(glog ALIAS ReactAndroid::glog)
add_library(fabricjni ALIAS ReactAndroid::fabricjni)
Expand Down Expand Up @@ -108,6 +109,7 @@ target_link_libraries(${CMAKE_PROJECT_NAME}
react_render_mapbuffer # prefab ready
rrc_image # prefab ready
rrc_view # prefab ready
rrc_text # prefab ready
rrc_legacyviewmanagerinterop # prefab ready
runtimeexecutor # prefab ready
turbomodulejsijni # prefab ready
Expand Down
Loading