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

Side by Side Diff: ui/compositor/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
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 component("compositor") { 8 component("compositor") {
9 sources = [ 9 sources = [
10 "callback_layer_animation_observer.cc", 10 "callback_layer_animation_observer.cc",
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 "transform_recorder.cc", 71 "transform_recorder.cc",
72 "transform_recorder.h", 72 "transform_recorder.h",
73 ] 73 ]
74 74
75 defines = [ "COMPOSITOR_IMPLEMENTATION" ] 75 defines = [ "COMPOSITOR_IMPLEMENTATION" ]
76 76
77 deps = [ 77 deps = [
78 "//base", 78 "//base",
79 "//base/third_party/dynamic_annotations", 79 "//base/third_party/dynamic_annotations",
80 "//cc", 80 "//cc",
81 "//cc/animation",
81 "//cc/surfaces", 82 "//cc/surfaces",
82 "//cc/surfaces:surface_id", 83 "//cc/surfaces:surface_id",
83 "//gpu/command_buffer/common", 84 "//gpu/command_buffer/common",
84 "//skia", 85 "//skia",
85 "//ui/gfx", 86 "//ui/gfx",
86 "//ui/gfx/geometry", 87 "//ui/gfx/geometry",
87 "//ui/gl", 88 "//ui/gl",
88 ] 89 ]
89 90
90 if (is_win && use_aura) { 91 if (is_win && use_aura) {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 "test/test_utils.h", 133 "test/test_utils.h",
133 ] 134 ]
134 135
135 public_deps = [ 136 public_deps = [
136 ":compositor", 137 ":compositor",
137 ] 138 ]
138 deps = [ 139 deps = [
139 "//base/test:test_support", 140 "//base/test:test_support",
140 "//cc", 141 "//cc",
141 "//cc:test_support", 142 "//cc:test_support",
143 "//cc/animation",
142 "//cc/surfaces", 144 "//cc/surfaces",
143 "//gpu/command_buffer/client:gles2_c_lib", 145 "//gpu/command_buffer/client:gles2_c_lib",
144 "//gpu/command_buffer/client:gles2_implementation", 146 "//gpu/command_buffer/client:gles2_implementation",
145 "//gpu/command_buffer/common:gles2_utils", 147 "//gpu/command_buffer/common:gles2_utils",
146 "//gpu/ipc:gl_in_process_context", 148 "//gpu/ipc:gl_in_process_context",
147 "//gpu/skia_bindings", 149 "//gpu/skia_bindings",
148 "//skia", 150 "//skia",
149 "//testing/gtest", 151 "//testing/gtest",
150 "//ui/base", 152 "//ui/base",
151 "//ui/display", 153 "//ui/display",
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 "//ui/gfx/test/data/compositor/", 185 "//ui/gfx/test/data/compositor/",
184 ] 186 ]
185 187
186 deps = [ 188 deps = [
187 ":compositor", 189 ":compositor",
188 ":test_support", 190 ":test_support",
189 "//base", 191 "//base",
190 "//base/test:test_support", 192 "//base/test:test_support",
191 "//cc", 193 "//cc",
192 "//cc:test_support", 194 "//cc:test_support",
195 "//cc/animation",
193 "//cc/surfaces", 196 "//cc/surfaces",
194 "//cc/surfaces:surface_id", 197 "//cc/surfaces:surface_id",
195 "//skia", 198 "//skia",
196 "//testing/gmock", 199 "//testing/gmock",
197 "//testing/gtest", 200 "//testing/gtest",
198 "//ui/base", 201 "//ui/base",
199 "//ui/gfx", 202 "//ui/gfx",
200 "//ui/gfx/geometry", 203 "//ui/gfx/geometry",
201 "//ui/gl", 204 "//ui/gl",
202 "//ui/resources", 205 "//ui/resources",
203 ] 206 ]
204 if (is_linux) { 207 if (is_linux) {
205 deps += [ "//third_party/mesa:osmesa" ] 208 deps += [ "//third_party/mesa:osmesa" ]
206 } 209 }
207 } 210 }
OLDNEW
« cc/animation/BUILD.gn ('K') | « ui/aura/BUILD.gn ('k') | ui/views/examples/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698