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

Commit 042eb8c

Browse files
Arcankjverkoey
authored andcommitted
Add IS_BAZEL_BUILD around MotionInterchange import (#103)
1 parent a56cd92 commit 042eb8c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/private/CABasicAnimation+MotionAnimator.h

+6-2
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,16 @@
1414
limitations under the License.
1515
*/
1616

17-
#import "MotionInterchange.h"
18-
1917
#import <Foundation/Foundation.h>
2018
#import <CoreGraphics/CoreGraphics.h>
2119
#import <QuartzCore/QuartzCore.h>
2220

21+
#ifdef IS_BAZEL_BUILD
22+
#import "MotionInterchange.h"
23+
#else
24+
#import <MotionInterchange/MotionInterchange.h>
25+
#endif
26+
2327
// Returns a basic animation configured with the provided traits and scale factor.
2428
FOUNDATION_EXPORT
2529
CABasicAnimation *MDMAnimationFromTraits(MDMAnimationTraits *traits, CGFloat timeScaleFactor);

0 commit comments

Comments
 (0)