Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add jsitooling package #49348

Closed
wants to merge 3 commits into from

Conversation

okwasniewski
Copy link
Contributor

@okwasniewski okwasniewski commented Feb 12, 2025

Summary:

Note

This PR is part of JavaScriptCore Extraction to this repository: https://github.com/react-native-community/javascriptcore

This PR adds jsitooling package that third party JS engines can use (in that case javascriptcore). It's required because React-Runtime needs to depend on third-party engine on iOS, and the third-party engine needed to depend on React-Runtime to get access to the JSRuntimeFactory and Cocoapods doesn't support circular dependencies...

Now third-party engine can depenend on jsitooling package and provide JSRuntimeFactory

Changelog:

[INTERNAL] [ADDED] - jsitooling package

Test Plan:

CI Green

@facebook-github-bot facebook-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: Callstack Partner: Callstack Partner labels Feb 12, 2025
@facebook-github-bot facebook-github-bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Feb 12, 2025
@okwasniewski okwasniewski force-pushed the feat/jsitooling branch 2 times, most recently from b1c63df to 4684f64 Compare February 12, 2025 10:36
@okwasniewski okwasniewski force-pushed the feat/jsitooling branch 3 times, most recently from a5566e6 to 6196368 Compare February 12, 2025 16:13
Copy link
Contributor

@cipolleschi cipolleschi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me.
I'll import this and ask @cortinico to review the CMakeLists.txt file

@facebook-github-bot
Copy link
Contributor

@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Copy link
Contributor

@cortinico cortinico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a nit here

okwasniewski and others added 2 commits February 12, 2025 18:58
Co-authored-by: Nicola Corti <corti.nico@gmail.com>
@cipolleschi
Copy link
Contributor

This is failing internally because we need to update the buck files to make it work. :(

@facebook-github-bot
Copy link
Contributor

@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Feb 13, 2025
@facebook-github-bot
Copy link
Contributor

@cipolleschi merged this pull request in 31a8bb3.

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @okwasniewski in 31a8bb3

When will my fix make it into a release? | How to file a pick request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. p: Callstack Partner: Callstack Partner Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants