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

Unified Diff: cc/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/BUILD.gn
diff --git a/cc/BUILD.gn b/cc/BUILD.gn
index e461a898db3c4c5c3b2f763848f93ad8f17455c2..46d4be14e8c861978d022ba2f47901823ba414b6 100644
--- a/cc/BUILD.gn
+++ b/cc/BUILD.gn
@@ -7,37 +7,6 @@ import("//testing/test.gni")
component("cc") {
sources = [
- "animation/animation.cc",
- "animation/animation.h",
- "animation/animation_curve.cc",
- "animation/animation_curve.h",
- "animation/animation_delegate.h",
- "animation/animation_events.cc",
- "animation/animation_events.h",
- "animation/animation_host.cc",
- "animation/animation_host.h",
- "animation/animation_id_provider.cc",
- "animation/animation_id_provider.h",
- "animation/animation_player.cc",
- "animation/animation_player.h",
- "animation/animation_timeline.cc",
- "animation/animation_timeline.h",
- "animation/element_animations.cc",
- "animation/element_animations.h",
- "animation/keyframed_animation_curve.cc",
- "animation/keyframed_animation_curve.h",
- "animation/scroll_offset_animation_curve.cc",
- "animation/scroll_offset_animation_curve.h",
- "animation/scroll_offset_animations.cc",
- "animation/scroll_offset_animations.h",
- "animation/scroll_offset_animations_impl.cc",
- "animation/scroll_offset_animations_impl.h",
- "animation/timing_function.cc",
- "animation/timing_function.h",
- "animation/transform_operation.cc",
- "animation/transform_operation.h",
- "animation/transform_operations.cc",
- "animation/transform_operations.h",
"blimp/client_picture_cache.h",
"blimp/compositor_proto_state.cc",
"blimp/compositor_proto_state.h",
@@ -789,6 +758,7 @@ static_library("test_support") {
public_deps = [
":cc",
+ "//cc/animation",
"//gpu:test_support",
]
deps = [
@@ -822,14 +792,6 @@ static_library("test_support") {
test("cc_unittests") {
sources = [
- "animation/animation_host_unittest.cc",
- "animation/animation_player_unittest.cc",
- "animation/animation_timeline_unittest.cc",
- "animation/animation_unittest.cc",
- "animation/element_animations_unittest.cc",
- "animation/keyframed_animation_curve_unittest.cc",
- "animation/scroll_offset_animation_curve_unittest.cc",
- "animation/transform_operations_unittest.cc",
"base/contiguous_container_unittest.cc",
"base/delayed_unique_notifier_unittest.cc",
"base/float_quad_unittest.cc",
@@ -970,6 +932,16 @@ test("cc_unittests") {
"trees/swap_promise_manager_unittest.cc",
"trees/tree_synchronizer_unittest.cc",
+ # Animation test files.
+ "animation/animation_host_unittest.cc",
+ "animation/animation_player_unittest.cc",
+ "animation/animation_timeline_unittest.cc",
+ "animation/animation_unittest.cc",
+ "animation/element_animations_unittest.cc",
+ "animation/keyframed_animation_curve_unittest.cc",
+ "animation/scroll_offset_animation_curve_unittest.cc",
+ "animation/transform_operations_unittest.cc",
+
# Surfaces test files.
"surfaces/direct_compositor_frame_sink_unittest.cc",
"surfaces/display_scheduler_unittest.cc",
@@ -999,6 +971,7 @@ test("cc_unittests") {
":cc",
":test_support",
"//base/test:test_support",
+ "//cc/animation",
"//cc/ipc",
"//cc/ipc:test_interfaces",
"//cc/proto",
@@ -1050,6 +1023,7 @@ test("cc_perftests") {
":test_support",
"//base",
"//base/test:test_support",
+ "//cc/animation",
"//cc/ipc",
"//cc/ipc:interfaces",
"//cc/surfaces",

Powered by Google App Engine
This is Rietveld 408576698