-
Notifications
You must be signed in to change notification settings - Fork 25.2k
decouple jsc when USE_THIRD_PARTY_JSC=1 on ios #49371
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,9 +10,11 @@ | |
| # @parameter react_native_path: relative path to react-native | ||
| # @parameter fabric_enabled: whether Fabirc is enabled | ||
| def setup_jsc!(react_native_path: "../node_modules/react-native", fabric_enabled: false) | ||
| pod 'React-jsc', :path => "#{react_native_path}/ReactCommon/jsc" | ||
| if fabric_enabled | ||
| pod 'React-jsc/Fabric', :path => "#{react_native_path}/ReactCommon/jsc" | ||
| if ENV['USE_THIRD_PARTY_JSC'] != '1' | ||
| pod 'React-jsc', :path => "#{react_native_path}/ReactCommon/jsc" | ||
| if fabric_enabled | ||
| pod 'React-jsc/Fabric', :path => "#{react_native_path}/ReactCommon/jsc" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not even sure that this subspec is actually needed...
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. maybe not but that feels out of scope toward this pr. maybe we can update that in a separate pr?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I can create a separate one with removal |
||
| end | ||
| end | ||
| end | ||
|
|
||
|
|
@@ -35,7 +37,7 @@ def depend_on_js_engine(s) | |
| if ENV["USE_HERMES"] == nil || ENV["USE_HERMES"] == "1" | ||
| s.dependency 'hermes-engine' | ||
| s.dependency 'React-hermes' | ||
| else | ||
| elsif ENV['USE_THIRD_PARTY_JSC'] != '1' | ||
| s.dependency 'React-jsc' | ||
|
Kudo marked this conversation as resolved.
|
||
| end | ||
| end | ||
Uh oh!
There was an error while loading. Please reload this page.