Files
react-native/packages/react-native/scripts/cocoapods/runtime.rb
T
Arushi Kesarwani 1e2af658f3 Cocoapods changes for Bridgeless -> Runtime (#39299)
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
2023-09-06 01:28:08 -07:00

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