Skip to content

Commit bb01b75

Browse files
hramosfacebook-github-bot
authored andcommitted
Make Hermes from source the default
Summary: If Hermes is enabled, it will be built from source instead of using the CocoaPods hermes-engine pod. Changelog: [iOS] [Changed] Build Hermes from source when Hermes is used Reviewed By: cortinico Differential Revision: D35693945 fbshipit-source-id: eadc638106180b183fd6d1e2a272dc3df66fa8b6
1 parent 2f5a1e6 commit bb01b75

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

scripts/react_native_pods.rb

+3-8
Original file line numberDiff line numberDiff line change
@@ -110,14 +110,9 @@ def use_react_native! (options={})
110110

111111
if hermes_enabled
112112
pod 'React-hermes', :path => "#{prefix}/ReactCommon/hermes"
113-
if ENV['BUILD_HERMES_SOURCE'] == '1'
114-
Pod::UI.puts "[Hermes] Building Hermes from source"
115-
hermes_source_path = downloadAndConfigureHermesSource(prefix)
116-
pod 'hermes-engine', :path => "#{hermes_source_path}/hermes-engine.podspec"
117-
else
118-
Pod::UI.warn "[Hermes] Installing Hermes from CocoaPods. The `hermes-engine` pod has been deprecated and will not see future updates."
119-
pod 'hermes-engine', '~> 0.11.0'
120-
end
113+
Pod::UI.puts "[Hermes] Building Hermes from source"
114+
hermes_source_path = downloadAndConfigureHermesSource(prefix)
115+
pod 'hermes-engine', :path => "#{hermes_source_path}/hermes-engine.podspec"
121116
pod 'libevent', '~> 2.1.12'
122117
end
123118

0 commit comments

Comments
 (0)