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
6def install_hermes_if_enabled(hermes_enabled, react_native_path)
7    unless hermes_enabled
8        return
9    end
10
11    pod 'ABI47_0_0React-hermes', :path => "#{react_native_path}/ReactCommon/hermes", :project_name => 'ABI47_0_0'
12    pod 'libevent', '~> 2.1.12'
13    pod 'ABI47_0_0hermes-engine', :podspec => "#{react_native_path}/sdks/hermes-engine/ABI47_0_0hermes-engine.podspec", :project_name => 'ABI47_0_0'
14end
15