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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: cc/animation/BUILD.gn
diff --git a/cc/animation/BUILD.gn b/cc/animation/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..858c4e19df3e19c936759c4393cc1cb8be6191f2
--- /dev/null
+++ b/cc/animation/BUILD.gn
@@ -0,0 +1,55 @@
+# 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.
+
+component("animation") {
+ output_name = "cc_animation"
+ sources = [
+ "animation.cc",
+ "animation.h",
+ "animation_curve.cc",
+ "animation_curve.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_player.cc",
+ "animation_player.h",
+ "animation_timeline.cc",
+ "animation_timeline.h",
+ "element_animations.cc",
+ "element_animations.h",
+ "keyframed_animation_curve.cc",
+ "keyframed_animation_curve.h",
+ "scroll_offset_animation_curve.cc",
+ "scroll_offset_animation_curve.h",
+ "scroll_offset_animations.cc",
+ "scroll_offset_animations.h",
+ "scroll_offset_animations_impl.cc",
+ "scroll_offset_animations_impl.h",
+ "timing_function.cc",
+ "timing_function.h",
+ "transform_operation.cc",
+ "transform_operation.h",
+ "transform_operations.cc",
+ "transform_operations.h",
+ ]
+
+ defines = [ "CC_ANIMATION_IMPLEMENTATION=1" ]
+
+ deps = [
+ "//base",
+ "//cc",
+ "//ui/gfx",
+ "//ui/gfx/geometry",
+ ]
+
+ 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
+ configs -= [ "//build/config/compiler:default_optimization" ]
+ configs += [ "//build/config/compiler:optimize_max" ]
+ }
+}
« 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