mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/39299 `Bridgeless` -> `Runtime` for the actual Ruby file changelog: [internal] internal Reviewed By: fkgozali Differential Revision: D48986015 fbshipit-source-id: d815fc33b7589dd2b0099cea1151d08d3314ee70
19 lines
879 B
Ruby
19 lines
879 B
Ruby
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
#
|
|
# This source code is licensed under the MIT license found in the
|
|
# LICENSE file in the root directory of this source tree.
|
|
|
|
|
|
# Set up Bridgeless dependencies
|
|
#
|
|
# @parameter react_native_path: relative path to react-native
|
|
def setup_bridgeless!(react_native_path: "../node_modules/react-native", use_hermes: true)
|
|
pod "React-jsitracing", :path => "#{react_native_path}/ReactCommon/hermes/executor/"
|
|
pod "React-runtimescheduler", :path => "#{react_native_path}/ReactCommon/react/renderer/runtimescheduler"
|
|
pod 'React-RuntimeCore', :path => "#{react_native_path}/ReactCommon/react/runtime"
|
|
pod 'React-RuntimeApple', :path => "#{react_native_path}/ReactCommon/react/runtime/platform/ios"
|
|
if use_hermes
|
|
pod 'React-RuntimeHermes', :path => "#{react_native_path}/ReactCommon/react/runtime"
|
|
end
|
|
end
|