mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
[RN][iOS] Add back the folly_compiler_flags for backward compatibility
This commit is contained in:
@@ -145,6 +145,12 @@ class NewArchitectureHelper
|
||||
return package["version"]
|
||||
end
|
||||
|
||||
# Deprecated method. This has been restored because some libraries (e.g. react-native-exit-app) still use it.
|
||||
def self.folly_compiler_flags
|
||||
folly_config = Helpers::Constants.folly_config
|
||||
return folly_config[:compiler_flags]
|
||||
end
|
||||
|
||||
def self.new_arch_enabled
|
||||
return ENV["RCT_NEW_ARCH_ENABLED"] == '0' ? false : true
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user