Skip to content

Commit

Permalink
Expose ReactAndroid/src/main/jni/react/cxxcomponents via prefab
Browse files Browse the repository at this point in the history
Summary:
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

Differential Revision: D41965512

fbshipit-source-id: afbeccec4b70de3f5296e0a81240ea9073ea8a6b
  • Loading branch information
cortinico authored and facebook-github-bot committed Dec 12, 2022
1 parent f0fcda8 commit c9f4790
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 @@ -206,7 +209,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 c9f4790

Please sign in to comment.