Closed
Conversation
Contributor
|
This pull request was exported from Phabricator. Differential Revision: D34389875 |
Base commit: 2a5265d |
Contributor
|
This pull request was exported from Phabricator. Differential Revision: D34389875 |
6235249 to
ab60ced
Compare
Contributor
|
This pull request was exported from Phabricator. Differential Revision: D34389875 |
ab60ced to
73687c0
Compare
Base commit: 2a5265d |
Contributor
|
This pull request was exported from Phabricator. Differential Revision: D34389875 |
73687c0 to
1e3b8ed
Compare
Contributor
|
This pull request was exported from Phabricator. Differential Revision: D34389875 |
1e3b8ed to
d0ac026
Compare
Summary: Pull Request resolved: facebook#33396 This commit fully unplugs the `ReactAndroid` from using hermes from the NPM package and plugs the usage of Hermes via the `packages/hermes-engine` Gradle build. I've used prefab to share the .so between the two builds, so we don't need any extra machinery to make this possible. Moreover, I've added a `buildHermesFromSource` property, which defaults to false when RN is imported, but is set to true when RN is opened for local development. This should allow us to distribute the `react-native` NPM package and users could potentially toggle which source to use (but see below). Changelog: [Android] [Changed] - Build Hermes from Source Reviewed By: hramos Differential Revision: D34389875 fbshipit-source-id: e5912d24dc11a2cc7044e3615d2ff4c41fcedd30
Contributor
|
This pull request was exported from Phabricator. Differential Revision: D34389875 |
d0ac026 to
2e4c4a0
Compare
Collaborator
|
This pull request was successfully merged by @cortinico in a3d9892. When will my fix make it into a release? | Upcoming Releases |
Saadnajmi
pushed a commit
to Saadnajmi/react-native-macos
that referenced
this pull request
Jan 15, 2023
Summary: Pull Request resolved: facebook#33396 This commit fully unplugs the `ReactAndroid` from using hermes from the NPM package and plugs the usage of Hermes via the `packages/hermes-engine` Gradle build. I've used prefab to share the .so between the two builds, so we don't need any extra machinery to make this possible. Moreover, I've added a `buildHermesFromSource` property, which defaults to false when RN is imported, but is set to true when RN is opened for local development. This should allow us to distribute the `react-native` NPM package and users could potentially toggle which source to use (but see below). Changelog: [Android] [Changed] - Build Hermes from Source Reviewed By: hramos Differential Revision: D34389875 fbshipit-source-id: 107cbe3686daf7607a1f0f75202f24cd80ce64bb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
This commit fully unplugs the
ReactAndroidfrom using hermes from the NPM package and plugs the usage of Hermes via thepackages/hermes-engineGradle build.I've used prefab to share the .so between the two builds, so we don't need any extra machinery to make this possible.
Moreover, I've added a
buildHermesFromSourceproperty, which defaults to false when RN is imported, but is set to true when RN is opened for local development. This should allow us to distribute thereact-nativeNPM package and users could potentially toggle which source to use.Changelog:
[Android] [Changed] - Build Hermes from Source
Reviewed By: hramos
Differential Revision: D34389875