OLD | NEW |
(Empty) | |
| 1 # Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import("//build/config/ui.gni") |
| 6 |
| 7 if (is_android) { |
| 8 import("//build/config/android/config.gni") |
| 9 import("//build/config/android/rules.gni") |
| 10 } |
| 11 |
| 12 component("animation") { |
| 13 sources = [ |
| 14 "animation.cc", |
| 15 "animation.h", |
| 16 "animation_container.cc", |
| 17 "animation_container.h", |
| 18 "animation_container_element.h", |
| 19 "animation_container_observer.h", |
| 20 "animation_delegate.h", |
| 21 "animation_export.h", |
| 22 "animation_mac.mm", |
| 23 "animation_win.cc", |
| 24 "linear_animation.cc", |
| 25 "linear_animation.h", |
| 26 "multi_animation.cc", |
| 27 "multi_animation.h", |
| 28 "slide_animation.cc", |
| 29 "slide_animation.h", |
| 30 "throb_animation.cc", |
| 31 "throb_animation.h", |
| 32 "tween.cc", |
| 33 "tween.h", |
| 34 ] |
| 35 |
| 36 if (is_android) { |
| 37 if (!use_aura) { |
| 38 sources -= [ |
| 39 "throb_animation.cc", |
| 40 "throb_animation.h", |
| 41 ] |
| 42 } |
| 43 } |
| 44 |
| 45 if (is_mac) { |
| 46 libs = [ |
| 47 "AppKit.framework", |
| 48 "CoreFoundation.framework", |
| 49 "CoreGraphics.framework", |
| 50 "CoreText.framework", |
| 51 "IOSurface.framework", |
| 52 ] |
| 53 } |
| 54 |
| 55 deps = [ |
| 56 "//base", |
| 57 "//skia", |
| 58 "//ui/gfx:geometry_skia", |
| 59 "//ui/gfx:gfx_export", |
| 60 "//ui/gfx/geometry", |
| 61 ] |
| 62 defines = [ "ANIMATION_IMPLEMENTATION" ] |
| 63 } |
OLD | NEW |