Skip to content

Allow reactnativejni to be consumed via prefab - #35461

Closed
cortinico wants to merge 5 commits into
react:mainfrom
cortinico:export-D41520801
Closed

Allow reactnativejni to be consumed via prefab#35461
cortinico wants to merge 5 commits into
react:mainfrom
cortinico:export-D41520801

Conversation

@cortinico

Copy link
Copy Markdown
Contributor

Summary:
This is another library which is adding prefab support as it's needed by
Expo libraries and Reanimated.

Changelog:
[Internal] [Changed] - Allow reactnativejni to be consumed via prefab

Reviewed By: cipolleschi

Differential Revision: D41520801

cortinicoand others added 5 commits November 24, 2022 07:11
Summary:
Historically, we used to have hermes-executor debug and release as separate dynamic libraries.
This makes it impossible to prefab this library, so I have to reconcile it into a single library.
This will also help keep the setup consistent with the internal (BUCK) where we have a single target.
Changelog:
[Internal] [Changed] - Consolidate hermes-executor-debug and -release inside a single target
Differential Revision: D41519119
fbshipit-source-id: 162640dd424253d8d5645602ad764397fad08127
Summary:
This exposes `hermes-executor` to be consumed via prefab so that
libraries can depend on it and use its symbols if needed (Expo and Reanimated need it).
Changelog:
[Internal] [Changed] - Expose `hermes-executor` to be consumed via prefab
Differential Revision: D41520019
fbshipit-source-id: 79e7bea4e9da5f49396bbc64ff2f3b9d6acd8cdb
Summary:
We're adding prefab support for those modules as they're needed by Reanimated
and we're exposing headers for them as well.
Changelog:
[Internal] [Changed] - Add prefab for _uimanager _scheduler and _mounting
Differential Revision: D41520606
fbshipit-source-id: 265ccbc79c2f73a47a41e70eff8cbe0ae473bea0
Summary:
Reanimated reported that `react_nativemodule_core` was missing some headers.
Specifically the one from ReactAndroid::react_debug, ReactAndroid::react_render_core, ReactAndroid::glog,
and ReactAndroid::react_render_debug.
I'm adding them here so they get included in the shipped headers for `react_nativemodule_core`
Changelog:
[Internal] [Changed] - Add missing headers to `react_nativemodule_core` prefab module
Differential Revision: D41520751
fbshipit-source-id: ded06ea56275a63e3009d9fd99e2c8e78181937b
Summary:
This is another library which is adding prefab support as it's needed by
Expo libraries and Reanimated.
Changelog:
[Internal] [Changed] - Allow `reactnativejni` to be consumed via prefab
Reviewed By: cipolleschi
Differential Revision: D41520801
fbshipit-source-id: a78c1ac04c2b9181422f3e7f9f6e6d9d39c972ea
@facebook-github-botfacebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner fb-exported labels Nov 24, 2022
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D41520801

@analysis-bot

Copy link
Copy Markdown
PlatformEngineArchSize (bytes)Diff
ios-universaln/a--

Base commit: 9517320
Branch: main

@analysis-bot

Copy link
Copy Markdown
PlatformEngineArchSize (bytes)Diff
androidhermesarm64-v8a7,103,561-10
androidhermesarmeabi-v7a6,471,886-6
androidhermesx867,521,203-6
androidhermesx86_647,380,081-5
androidjscarm64-v8a8,968,399-50
androidjscarmeabi-v7a7,699,505-47
androidjscx869,030,706-35
androidjscx86_649,508,749-35

Base commit: 9517320
Branch: main

@pull-bot

Copy link
Copy Markdown

PR build artifact for ce54f81 is ready.
To use, download tarball from "Artifacts" tab in this CircleCI job then run yarn add <path to tarball> in your React Native project.

@pull-bot

Copy link
Copy Markdown

PR build artifact for ce54f81 is ready.
To use, download tarball from "Artifacts" tab in this CircleCI job then run yarn add <path to tarball> in your React Native project.

@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @cortinico in 92be0e3.

When will my fix make it into a release? | Upcoming Releases

@react-native-botreact-native-bot added the Merged This PR has been merged. label Nov 24, 2022
cortinico added a commit that referenced this pull request Nov 29, 2022
Summary:
Pull Request resolved: #35461
This is another library which is adding prefab support as it's needed by
Expo libraries and Reanimated.
Changelog:
[Internal] [Changed] - Allow `reactnativejni` to be consumed via prefab
Reviewed By: cipolleschi
Differential Revision: D41520801
fbshipit-source-id: 91142a5b5051cfba478d93a2475a178eed6fbb29
@cipolleschicipolleschi mentioned this pull request Oct 11, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA SignedThis label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.fb-exportedMergedThis PR has been merged.p: FacebookPartner: FacebookPartner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@cortinico@facebook-github-bot@analysis-bot@pull-bot@react-native-bot