mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Make RCTNativeAnimatedModule TurboModule-compatible
Summary: **Note:** I had to relax the `AnimatedNodeConfig` and `AnimatingNodeConfig` flow types, because they didn't have all the properties. I created a task to improve the flow types. Changelog: [iOS][Added] Make RCTNativeAnimatedMoudle TurboModule-compatible Reviewed By: PeteTheHeat Differential Revision: D17692715 fbshipit-source-id: ab3680c30ca3d5b1eb866ef1104587cae695ad15
This commit is contained in:
committed by
Facebook Github Bot
parent
05862faab4
commit
791931454e
@@ -16,6 +16,9 @@ else
|
||||
source[:tag] = "v#{version}"
|
||||
end
|
||||
|
||||
folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'
|
||||
folly_version = '2018.10.22.00'
|
||||
|
||||
Pod::Spec.new do |s|
|
||||
s.name = "React-RCTAnimation"
|
||||
s.version = version
|
||||
@@ -24,10 +27,18 @@ Pod::Spec.new do |s|
|
||||
s.license = package["license"]
|
||||
s.author = "Facebook, Inc. and its affiliates"
|
||||
s.platforms = { :ios => "9.0", :tvos => "9.2" }
|
||||
s.compiler_flags = folly_compiler_flags + ' -Wno-nullability-completeness'
|
||||
s.source = source
|
||||
s.source_files = "{Drivers/*,Nodes/*,*}.{m}"
|
||||
s.source_files = "{Drivers/*,Nodes/*,*}.{m,mm}"
|
||||
s.preserve_paths = "package.json", "LICENSE", "LICENSE-docs"
|
||||
s.header_dir = "RCTAnimation"
|
||||
s.pod_target_xcconfig = {
|
||||
"USE_HEADERMAP" => "YES",
|
||||
"CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
|
||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/Folly\""
|
||||
}
|
||||
|
||||
s.dependency "Folly", folly_version
|
||||
s.dependency "FBReactNativeSpec", version
|
||||
s.dependency "React-Core/RCTAnimationHeaders", version
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user