Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(343)

Side by Side Diff: cc/animation/BUILD.gn

Issue 2506093003: CC Animation: Make cc/animation an independent GN component. (Closed)
Patch Set: Let test_support publicly depends on cc/animation. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright 2016 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 component("animation") {
6 output_name = "cc_animation"
7 sources = [
8 "animation.cc",
9 "animation.h",
10 "animation_curve.cc",
11 "animation_curve.h",
12 "animation_delegate.h",
13 "animation_events.cc",
14 "animation_events.h",
15 "animation_export.h",
16 "animation_host.cc",
17 "animation_host.h",
18 "animation_id_provider.cc",
19 "animation_id_provider.h",
20 "animation_player.cc",
21 "animation_player.h",
22 "animation_timeline.cc",
23 "animation_timeline.h",
24 "element_animations.cc",
25 "element_animations.h",
26 "keyframed_animation_curve.cc",
27 "keyframed_animation_curve.h",
28 "scroll_offset_animation_curve.cc",
29 "scroll_offset_animation_curve.h",
30 "scroll_offset_animations.cc",
31 "scroll_offset_animations.h",
32 "scroll_offset_animations_impl.cc",
33 "scroll_offset_animations_impl.h",
34 "timing_function.cc",
35 "timing_function.h",
36 "transform_operation.cc",
37 "transform_operation.h",
38 "transform_operations.cc",
39 "transform_operations.h",
40 ]
41
42 defines = [ "CC_ANIMATION_IMPLEMENTATION=1" ]
43
44 deps = [
45 "//base",
46 "//cc",
47 "//ui/gfx",
48 "//ui/gfx/geometry",
49 ]
50
51 if (!is_debug && (is_win || is_android)) {
aelias_OOO_until_Jul13 2016/11/17 20:08:22 Please move these lines of duplicate logic into a
loyso (OOO) 2016/11/17 23:45:09 cc/surfaces logic is slightly different. it's max
aelias_OOO_until_Jul13 2016/11/18 00:13:33 I think it's almost certainly not intentional and
loyso (OOO) 2016/11/18 02:36:53 Done. We could use template("cc_component") approa
52 configs -= [ "//build/config/compiler:default_optimization" ]
53 configs += [ "//build/config/compiler:optimize_max" ]
54 }
55 }
OLDNEW
« android_webview/BUILD.gn ('K') | « cc/BUILD.gn ('k') | cc/animation/animation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698