mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-01-12 22:50:10 +08:00
OSS: upgrade Folly 2016.09.26 => 2016.10.31
Summary:
There was a fix around folly::dynamic constructor that will be needed for Fabric work. This was done in 94e964976c (diff-7d1cb97d222ba0c863ea8a8e43b2ee2b) and luckily the release 1 month after the Folly version we used in RN already had the fix, so that we don't need to upgrade to the latest folly yet (minimizing breakages).
Tested by:
* running RNTester xcode project (ios)
* running RNTesterPods workspace via cocoapods
* building android via gradle
Reviewed By: shergin
Differential Revision: D7626037
fbshipit-source-id: cb36ba5b91ba131d4e450300bd620db657cfa1e8
This commit is contained in:
committed by
Facebook Github Bot
parent
cc57b7b1d3
commit
f569b45f4c
@@ -13,6 +13,7 @@ else
|
||||
end
|
||||
|
||||
folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1'
|
||||
folly_version = '2016.10.31.00'
|
||||
|
||||
Pod::Spec.new do |s|
|
||||
s.name = "React"
|
||||
@@ -67,7 +68,7 @@ Pod::Spec.new do |s|
|
||||
end
|
||||
|
||||
s.subspec "CxxBridge" do |ss|
|
||||
ss.dependency "Folly", "2016.09.26.00"
|
||||
ss.dependency "Folly", folly_version
|
||||
ss.dependency "React/Core"
|
||||
ss.dependency "React/cxxreact"
|
||||
ss.compiler_flags = folly_compiler_flags
|
||||
@@ -95,7 +96,7 @@ Pod::Spec.new do |s|
|
||||
end
|
||||
|
||||
s.subspec "jschelpers" do |ss|
|
||||
ss.dependency "Folly", "2016.09.26.00"
|
||||
ss.dependency "Folly", folly_version
|
||||
ss.dependency "React/PrivateDatabase"
|
||||
ss.compiler_flags = folly_compiler_flags
|
||||
ss.source_files = "ReactCommon/jschelpers/*.{cpp,h}"
|
||||
@@ -120,7 +121,7 @@ Pod::Spec.new do |s|
|
||||
ss.dependency "React/jschelpers"
|
||||
ss.dependency "React/jsinspector"
|
||||
ss.dependency "boost-for-react-native", "1.63.0"
|
||||
ss.dependency "Folly", "2016.09.26.00"
|
||||
ss.dependency "Folly", folly_version
|
||||
ss.compiler_flags = folly_compiler_flags
|
||||
ss.source_files = "ReactCommon/cxxreact/*.{cpp,h}"
|
||||
ss.exclude_files = "ReactCommon/cxxreact/SampleCxxModule.*"
|
||||
|
||||
Reference in New Issue
Block a user