| # Copyright 2016 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("//cc/cc.gni") |
| |
| cc_component("animation") { |
| output_name = "cc_animation" |
| sources = [ |
| "animation.cc", |
| "animation.h", |
| "animation_delegate.h", |
| "animation_events.cc", |
| "animation_events.h", |
| "animation_export.h", |
| "animation_host.cc", |
| "animation_host.h", |
| "animation_id_provider.cc", |
| "animation_id_provider.h", |
| "animation_timeline.cc", |
| "animation_timeline.h", |
| "element_animations.cc", |
| "element_animations.h", |
| "filter_animation_curve.cc", |
| "filter_animation_curve.h", |
| "keyframe_effect.cc", |
| "keyframe_effect.h", |
| "keyframe_model.cc", |
| "keyframe_model.h", |
| "scroll_offset_animation_curve.cc", |
| "scroll_offset_animation_curve.h", |
| "scroll_offset_animation_curve_factory.cc", |
| "scroll_offset_animation_curve_factory.h", |
| "scroll_offset_animations.cc", |
| "scroll_offset_animations.h", |
| "scroll_offset_animations_impl.cc", |
| "scroll_offset_animations_impl.h", |
| "scroll_timeline.cc", |
| "scroll_timeline.h", |
| "worklet_animation.cc", |
| "worklet_animation.h", |
| ] |
| |
| defines = [ "CC_ANIMATION_IMPLEMENTATION=1" ] |
| |
| deps = [ |
| "//base", |
| "//cc", |
| "//cc/paint", |
| "//ui/gfx", |
| "//ui/gfx/animation/keyframe", |
| "//ui/gfx/geometry", |
| ] |
| } |