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 https://github.com/facebook/react-native/issues/35643. ## Changelog [ANDROID] [CHANGED] - Expose `rrc_root` via prefab. Pull Request resolved: https://github.com/facebook/react-native/pull/36166 Reviewed By: cipolleschi Differential Revision: D43304302 Pulled By: cortinico fbshipit-source-id: 1c4a7013a33b48a8a7a445a78430630542420f4d
This commit is contained in:
Родитель
f76d4dee6f
Коммит
3418f65d88
|
@ -112,6 +112,10 @@ final def preparePrefab = tasks.register("preparePrefab", PreparePrefabHeadersTa
|
|||
new Pair("../ReactCommon/react/renderer/graphics/platform/cxx/", ""),
|
||||
]
|
||||
),
|
||||
new PrefabPreprocessingEntry(
|
||||
"rrc_root",
|
||||
new Pair("../ReactCommon/react/renderer/components/root/", "react/renderer/components/root/")
|
||||
),
|
||||
new PrefabPreprocessingEntry(
|
||||
"rrc_view",
|
||||
new Pair("../ReactCommon/react/renderer/components/view/", "react/renderer/components/view/")
|
||||
|
@ -471,6 +475,7 @@ android {
|
|||
"react_render_core",
|
||||
"react_render_graphics",
|
||||
"rrc_image",
|
||||
"rrc_root",
|
||||
"rrc_view",
|
||||
"jsi",
|
||||
"glog",
|
||||
|
@ -567,6 +572,9 @@ android {
|
|||
rrc_image {
|
||||
headers(new File(prefabHeadersDir, "rrc_image").absolutePath)
|
||||
}
|
||||
rrc_root {
|
||||
headers(new File(prefabHeadersDir, "rrc_root").absolutePath)
|
||||
}
|
||||
rrc_view {
|
||||
headers(new File(prefabHeadersDir, "rrc_view").absolutePath)
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче