Commit b4b86231 authored by mrefaat's avatar mrefaat Committed by Commit Bot

Add dependency on Motion Animator for Objective-C.

The library Motion Animator for Objective-C is a new dependency
of the Material Components for iOS. Library description:

  This library provides APIs that turn Motion Interchange motion
  specifications into animations.

Bug: 785248
Change-Id: I22cbe863f6887c1098d3d33d481dc8788ef0d121
Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
Reviewed-on: https://chromium-review.googlesource.com/801978Reviewed-by: default avatarPeter Lee <pkl@chromium.org>
Reviewed-by: default avatarMax Moroz <mmoroz@chromium.org>
Reviewed-by: default avatarLouis Romero <lpromero@chromium.org>
Commit-Queue: Mohammad Refaat <mrefaat@chromium.org>
Cr-Commit-Position: refs/heads/master@{#521028}
parent 810f9320
......@@ -186,6 +186,7 @@ vs-chromium-project.txt
/ios/third_party/material_roboto_font_loader_ios/src
/ios/third_party/material_sprited_animation_view_ios/src
/ios/third_party/material_text_accessibility_ios/src
/ios/third_party/motion_animator_objc/src
/ios/third_party/motion_interchange_objc/src
/ios/third_party/ochamcrest/src
/ios_internal
......
......@@ -227,6 +227,11 @@ deps = {
'condition': 'checkout_ios',
},
'src/ios/third_party/motion_animator_objc/src': {
'url': Var('chromium_git') + '/external/github.com/material-motion/motion-animator-objc.git' + '@' + '60cf5680f1df8b181299c04ba22c32e388a7f0ba',
'condition': 'checkout_ios',
},
'src/ios/third_party/ochamcrest/src': {
'url': Var('chromium_git') + '/external/github.com/hamcrest/OCHamcrest.git' + '@' + '92d9c14d13bb864255e65c09383564653896916b',
'condition': 'checkout_ios',
......
# Copyright 2017 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/ios/ios_sdk.gni")
import("//build/config/ios/rules.gni")
import("//ios/build/chrome_build.gni")
config("config") {
include_dirs = [ "src/src" ]
visibility = [ ":motion_animator_objc" ]
defines = [ "IS_BAZEL_BUILD" ]
}
source_set("motion_animator_objc") {
sources = [
"src/src/CATransaction+MotionAnimator.h",
"src/src/CATransaction+MotionAnimator.m",
"src/src/MDMAnimatableKeyPaths.h",
"src/src/MDMAnimatableKeyPaths.m",
"src/src/MDMCoreAnimationTraceable.h",
"src/src/MDMMotionAnimator.h",
"src/src/MDMMotionAnimator.m",
"src/src/MotionAnimator.h",
"src/src/private/CABasicAnimation+MotionAnimator.h",
"src/src/private/CABasicAnimation+MotionAnimator.m",
"src/src/private/CAMediaTimingFunction+MotionAnimator.h",
"src/src/private/CAMediaTimingFunction+MotionAnimator.m",
"src/src/private/MDMBlockAnimations.h",
"src/src/private/MDMBlockAnimations.m",
"src/src/private/MDMDragCoefficient.h",
"src/src/private/MDMDragCoefficient.m",
"src/src/private/MDMUIKitValueCoercion.h",
"src/src/private/MDMUIKitValueCoercion.m",
]
public = [
"src/src/CATransaction+MotionAnimator.h",
"src/src/MDMAnimatableKeyPaths.h",
"src/src/MDMCoreAnimationTraceable.h",
"src/src/MDMMotionAnimator.h",
"src/src/MotionAnimator.h",
]
libs = [
"CoreGraphics.framework",
"Foundation.framework",
"QuartzCore.framework",
"UIKit.framework",
]
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
":config",
"//build/config/compiler:enable_arc",
"//build/config/compiler:no_chromium_code",
]
public_configs = [ ":config" ]
public_deps = [
"//ios/third_party/motion_interchange_objc",
]
}
This diff is collapsed.
sdefresne@chromium.org
rohitrao@chromium.org
# These are for the common case of adding or renaming files. If you're doing
# structural changes, please get a review from an OWNER.
per-file BUILD.gn=*
# TEAM: ios-directory-owners@chromium.org
# OS: iOS
Name: Motion Animator for Objective-C
URL: https://github.com/material-motion/motion-animator-objc
Version: 0
Revision: 213bfb3a75018c49a223bf1269f6a48fbbfc3a12
License: Apache 2.0
License File: LICENSE
Security Critical: yes
Description:
This library provides APIs that turn Motion Interchange motion specifications
into animations.
Local Modifications:
None
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment