Skip to content

Commit

Permalink
Expose ReactAndroid/src/main/jni/react/cxxcomponents via prefab (#35619)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #35619

Reference reactwg/react-native-releases#41 (reply in thread)
I'm exposing `ReactAndroid/src/main/jni/react/cxxcomponents` to be consumed via prefab.
It will be available to both: `react_nativemodule_core` and `reactnativejni`

Changelog:
[Internal] [Changed] - Expose ReactAndroid/src/main/jni/react/cxxcomponents via prefab

Reviewed By: cipolleschi

Differential Revision: D41965512

fbshipit-source-id: 3a5a7473267e2e161d9d7fb0e8dfa74593b47b6e
  • Loading branch information
cortinico authored and kelset committed Dec 13, 2022
1 parent 3fb93e1 commit c9a5090
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions ReactAndroid/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,10 @@ final def preparePrefab = tasks.register("preparePrefab", PreparePrefabHeadersTa
),
new PrefabPreprocessingEntry(
"fabricjni",
new Pair("src/main/jni/react/fabric", "")
[
new Pair("src/main/jni/react/fabric", ""),
new Pair("src/main/jni/react/cxxcomponents", "react/cxxcomponents/")
]
),
new PrefabPreprocessingEntry(
"react_render_mapbuffer",
Expand Down Expand Up @@ -205,7 +208,10 @@ final def preparePrefab = tasks.register("preparePrefab", PreparePrefabHeadersTa
),
new PrefabPreprocessingEntry(
"reactnativejni",
new Pair("src/main/jni/react/jni", "react/jni/"),
[
new Pair("src/main/jni/react/jni", "react/jni/"),
new Pair("../ReactCommon/cxxreact/", "cxxreact/"),
]
),
]
)
Expand Down

0 comments on commit c9a5090

Please sign in to comment.