mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
CocoaPods: Do not configure Hermes search paths if Hermes is disabled
Summary: The React-Hermes and hermes-engine headers are only needed when Hermes is enabled. Changelog: [internal] Reviewed By: cipolleschi Differential Revision: D40451162 fbshipit-source-id: d38830f8abe57a91798e216d7930bb7add483899
This commit is contained in:
committed by
Facebook GitHub Bot
parent
6b129d81ed
commit
5aeb99e774
@@ -67,6 +67,7 @@ def use_react_native! (
|
||||
# Better to rely and enable this environment flag if the new architecture is turned on using flags.
|
||||
ENV['RCT_NEW_ARCH_ENABLED'] = new_arch_enabled ? "1" : "0"
|
||||
fabric_enabled = fabric_enabled || new_arch_enabled
|
||||
ENV['USE_HERMES'] = hermes_enabled ? "1" : "0"
|
||||
|
||||
prefix = path
|
||||
|
||||
|
||||
Reference in New Issue
Block a user