Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Commit

Permalink
Add IS_BAZEL_BUILD around MotionInterchange import (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arcank authored and jverkoey committed Dec 19, 2017
1 parent a56cd92 commit 042eb8c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/private/CABasicAnimation+MotionAnimator.h
Expand Up @@ -14,12 +14,16 @@
limitations under the License.
*/

#import "MotionInterchange.h"

#import <Foundation/Foundation.h>
#import <CoreGraphics/CoreGraphics.h>
#import <QuartzCore/QuartzCore.h>

#ifdef IS_BAZEL_BUILD
#import "MotionInterchange.h"
#else
#import <MotionInterchange/MotionInterchange.h>
#endif

// Returns a basic animation configured with the provided traits and scale factor.
FOUNDATION_EXPORT
CABasicAnimation *MDMAnimationFromTraits(MDMAnimationTraits *traits, CGFloat timeScaleFactor);
Expand Down

0 comments on commit 042eb8c

Please sign in to comment.