Add RCTAnimation to Podspec
Summary: **Motivation** This PR adds a subspec for the `NativeAnimation` iOS library which so one can use it with CocoaPods. **Test plan (required)** Tested with the code in `NativeAnimationsExample.js` and this: ``` pod 'React', :subspecs => ['Core', 'RCTAnimation'], :path => 'node_modules/react-native' ``` Closes https://github.com/facebook/react-native/pull/8487 Differential Revision: D3502970 fbshipit-source-id: 0958acdbe088da8b50a1e5e3661f27b64db329c1
This commit is contained in:
parent
f5f86113bd
commit
4a15dc814e
|
@ -54,6 +54,12 @@ Pod::Spec.new do |s|
|
|||
ss.preserve_paths = "Libraries/AdSupport/*.js"
|
||||
end
|
||||
|
||||
s.subspec 'RCTAnimation' do |ss|
|
||||
ss.dependency 'React/Core'
|
||||
ss.source_files = "Libraries/NativeAnimation/{Nodes/*,*}.{h,m}"
|
||||
ss.preserve_paths = "Libraries/NativeAnimation/*.js"
|
||||
end
|
||||
|
||||
s.subspec 'RCTCameraRoll' do |ss|
|
||||
ss.dependency 'React/Core'
|
||||
ss.dependency 'React/RCTImage'
|
||||
|
|
Loading…
Reference in New Issue