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 # Android. | |
sky
2017/03/14 23:53:08
Remove this comment as it's obvious given the next
chrishtr
2017/03/15 03:26:36
Done.
| |
37 if (is_android) { | |
38 if (!use_aura) { | |
39 sources -= [ | |
40 "throb_animation.cc", | |
41 "throb_animation.h", | |
42 ] | |
43 } | |
44 } | |
45 | |
46 deps = [ | |
47 "//base", | |
48 "//skia", | |
49 "//ui/gfx:geometry_skia", | |
50 "//ui/gfx:gfx_export", | |
51 "//ui/gfx/geometry", | |
52 ] | |
53 defines = [ "ANIMATION_IMPLEMENTATION" ] | |
54 } | |
OLD | NEW |