1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
   34
   35
   36
   37
   38
   39
   40
   41
   42
   43
   44
   45
   46
   47
   48
   49
   50
   51
   52
   53
   54

cc / animation / BUILD.gn [blame]

# Copyright 2016 The Chromium Authors
# 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",
  ]
}