Skip to content

Commit 3418f65

Browse files
tomekzawfacebook-github-bot
authored andcommitted
Expose rrc_root via prefab (#36166)
Summary: The `rrc_root` was not exposed via prefab. I'm adding it to make possible for Reanimated to integrate on top of React Native via prefab. Based on #35643. ## Changelog [ANDROID] [CHANGED] - Expose `rrc_root` via prefab. Pull Request resolved: #36166 Reviewed By: cipolleschi Differential Revision: D43304302 Pulled By: cortinico fbshipit-source-id: 1c4a7013a33b48a8a7a445a78430630542420f4d
1 parent f76d4de commit 3418f65

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ReactAndroid/build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,10 @@ final def preparePrefab = tasks.register("preparePrefab", PreparePrefabHeadersTa
112112
new Pair("../ReactCommon/react/renderer/graphics/platform/cxx/", ""),
113113
]
114114
),
115+
new PrefabPreprocessingEntry(
116+
"rrc_root",
117+
new Pair("../ReactCommon/react/renderer/components/root/", "react/renderer/components/root/")
118+
),
115119
new PrefabPreprocessingEntry(
116120
"rrc_view",
117121
new Pair("../ReactCommon/react/renderer/components/view/", "react/renderer/components/view/")
@@ -471,6 +475,7 @@ android {
471475
"react_render_core",
472476
"react_render_graphics",
473477
"rrc_image",
478+
"rrc_root",
474479
"rrc_view",
475480
"jsi",
476481
"glog",
@@ -567,6 +572,9 @@ android {
567572
rrc_image {
568573
headers(new File(prefabHeadersDir, "rrc_image").absolutePath)
569574
}
575+
rrc_root {
576+
headers(new File(prefabHeadersDir, "rrc_root").absolutePath)
577+
}
570578
rrc_view {
571579
headers(new File(prefabHeadersDir, "rrc_view").absolutePath)
572580
}

0 commit comments

Comments
 (0)