1# Copyright (c) Meta Platforms, Inc. and affiliates. 2# 3# This source code is licensed under the MIT license found in the 4# LICENSE file in the root directory of this source tree. 5 6 7# It sets up the faric dependencies. 8# 9# @parameter prefix: prefix to use to reach react-native 10# @parameter new_arch_enabled: whether the new arch is enabled or not 11# @parameter codegen_output_dir: the directory where the code is generated 12def setup_fabric!(prefix) 13 pod 'ABI47_0_0React-Fabric', :path => "#{prefix}/ReactCommon", :project_name => 'ABI47_0_0' 14 pod 'ABI47_0_0React-rncore', :path => "#{prefix}/ReactCommon", :project_name => 'ABI47_0_0' 15 pod 'ABI47_0_0React-graphics', :path => "#{prefix}/ReactCommon/react/renderer/graphics", :project_name => 'ABI47_0_0' 16 pod 'ABI47_0_0React-jsi/Fabric', :path => "#{prefix}/ReactCommon/jsi", :project_name => 'ABI47_0_0' 17 pod 'ABI47_0_0React-RCTFabric', :path => "#{prefix}/React", :project_name => 'ABI47_0_0', :modular_headers => true 18 # pod 'ABI47_0_0RCT-Folly/Fabric', :podspec => "#{prefix}/third-party-podspecs/RCT-Folly.podspec" 19end 20