mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Unify folly_version and compiler_flags in a single function (#42153)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/42153 This non functional change unifies Folly version and compiler flag in a single function, so that it would be easier to update it in the future. ## Changelog: [Internal] - Unify folly version and compiler flags Reviewed By: cortinico Differential Revision: D52564771 fbshipit-source-id: 9b4b50560ddee05ce50465b6854666572148cb25
This commit is contained in:
1 parent
de0c43ead4
commit
a8aa96c8af
45 files changed
+218
-135
No files matched your search
@@ -16,8 +16,9 @@ else
|
||||
source[:tag] = "v#{version}"
|
||||
end
|
||||
|
||||
folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -DFOLLY_CFG_NO_COROUTINES=1 -DFOLLY_HAVE_CLOCK_GETTIME=1 -Wno-comma -Wno-shorten-64-to-32'
|
||||
folly_version = '2024.01.01.00'
|
||||
folly_config = get_folly_config()
|
||||
folly_compiler_flags = folly_config[:compiler_flags]
|
||||
folly_version = folly_config[:version]
|
||||
socket_rocket_version = '0.7.0'
|
||||
boost_compiler_flags = '-Wno-documentation'
|
||||
|
||||
|
||||
Reference in new issue
Block a user