Skip to content

Commit

Permalink
Expose react_render_animations via prefab. (#35643)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #35643

The `react_render_animations` was not exposed via prefab. I'm adding it to make possible for
Reanimated to integrate on top of us via prefab.
Ref reactwg/react-native-releases#41 (reply in thread)

Changelog:
[Internal] [Changed] - Expose `react_render_animations` via prefab.

Reviewed By: cipolleschi

Differential Revision: D42033642

fbshipit-source-id: da4b3665f4fb1c7f8266fa6896585176504435c3
  • Loading branch information
cortinico authored and Riccardo Cipolleschi committed Dec 19, 2022
1 parent f65dfa8 commit 98ad399
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ReactAndroid/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ final def preparePrefab = tasks.register("preparePrefab", PreparePrefabHeadersTa
"react_newarchdefaults",
new Pair("src/main/jni/react/newarchdefaults", "")
),
new PrefabPreprocessingEntry(
"react_render_animations",
new Pair("../ReactCommon/react/renderer/animations/", "react/renderer/animations/")
),
new PrefabPreprocessingEntry(
"react_render_core",
new Pair("../ReactCommon/react/renderer/core/", "react/renderer/core/")
Expand Down Expand Up @@ -453,6 +457,7 @@ android {
"react_debug",
"react_render_componentregistry",
"react_newarchdefaults",
"react_render_animations",
"react_render_core",
"react_render_graphics",
"rrc_image",
Expand Down Expand Up @@ -538,6 +543,9 @@ android {
react_newarchdefaults {
headers(new File(prefabHeadersDir, "react_newarchdefaults").absolutePath)
}
react_render_animations {
headers(new File(prefabHeadersDir, "react_render_animations").absolutePath)
}
react_render_core {
headers(new File(prefabHeadersDir, "react_render_core").absolutePath)
}
Expand Down

0 comments on commit 98ad399

Please sign in to comment.