Commit 070940de authored by mrefaat's avatar mrefaat Committed by Commit Bot

Add dependency on Motion Interchange for Objective-C.

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

    This library defines a format for representing motion in
    Objective-C and Swift applications. The primary data type,
    MotionTiming, allows you to describe the duration, delay,
    timing curve, and repetition for an animation.

Bug: 785248
Change-Id: I8a86c3df9832635911c284f637fe0482d774a1c8
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/802086Reviewed-by: default avatarMax Moroz <mmoroz@chromium.org>
Reviewed-by: default avatarPeter Lee <pkl@chromium.org>
Commit-Queue: Mohammad Refaat <mrefaat@chromium.org>
Cr-Commit-Position: refs/heads/master@{#520825}
parent 2c8ba955
...@@ -186,6 +186,7 @@ vs-chromium-project.txt ...@@ -186,6 +186,7 @@ vs-chromium-project.txt
/ios/third_party/material_roboto_font_loader_ios/src /ios/third_party/material_roboto_font_loader_ios/src
/ios/third_party/material_sprited_animation_view_ios/src /ios/third_party/material_sprited_animation_view_ios/src
/ios/third_party/material_text_accessibility_ios/src /ios/third_party/material_text_accessibility_ios/src
/ios/third_party/motion_interchange_objc/src
/ios/third_party/ochamcrest/src /ios/third_party/ochamcrest/src
/ios_internal /ios_internal
/libassistant /libassistant
......
...@@ -222,6 +222,11 @@ deps = { ...@@ -222,6 +222,11 @@ deps = {
'condition': 'checkout_ios', 'condition': 'checkout_ios',
}, },
'src/ios/third_party/motion_interchange_objc/src': {
'url': Var('chromium_git') + '/external/github.com/material-motion/motion-interchange-objc.git' + '@' + '26d91bf724adec6880cbc83a95d4cb4fb94847b6',
'condition': 'checkout_ios',
},
'src/ios/third_party/ochamcrest/src': { 'src/ios/third_party/ochamcrest/src': {
'url': Var('chromium_git') + '/external/github.com/hamcrest/OCHamcrest.git' + '@' + '92d9c14d13bb864255e65c09383564653896916b', 'url': Var('chromium_git') + '/external/github.com/hamcrest/OCHamcrest.git' + '@' + '92d9c14d13bb864255e65c09383564653896916b',
'condition': 'checkout_ios', '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.
config("config") {
include_dirs = [ "src/src" ]
visibility = [ ":motion_interchange_objc" ]
}
source_set("motion_interchange_objc") {
sources = [
"src/src/MDMMotionCurve.h",
"src/src/MDMMotionCurve.m",
"src/src/MDMMotionRepetition.h",
"src/src/MDMMotionTiming.h",
"src/src/MotionInterchange.h",
]
public = [
"src/src/MDMMotionCurve.h",
"src/src/MDMMotionRepetition.h",
"src/src/MDMMotionTiming.h",
"src/src/MotionInterchange.h",
]
libs = [
"CoreGraphics.framework",
"Foundation.framework",
"QuartzCore.framework",
]
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
":config",
"//build/config/compiler:enable_arc",
"//build/config/compiler:no_chromium_code",
]
public_configs = [ ":config" ]
}
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 Interchange for Objective-C
URL: https://github.com/material-motion/motion-interchange-objc
Version: 0
Revision: 02e2308e1c68cd966a91807b17bcdf57f92af401
License: Apache 2.0
License File: LICENSE
Security Critical: yes
Description:
This library defines a format for representing motion in Objective-C and
Swift applications. The primary data type, MotionTiming, allows you to
describe the duration, delay, timing curve, and repetition for an animation.
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