OLD | NEW |
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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 "layer_owner.h", | 57 "layer_owner.h", |
58 "layer_owner_delegate.h", | 58 "layer_owner_delegate.h", |
59 "layer_threaded_animation_delegate.h", | 59 "layer_threaded_animation_delegate.h", |
60 "layer_tree_owner.cc", | 60 "layer_tree_owner.cc", |
61 "layer_tree_owner.h", | 61 "layer_tree_owner.h", |
62 "layer_type.h", | 62 "layer_type.h", |
63 "paint_cache.cc", | 63 "paint_cache.cc", |
64 "paint_cache.h", | 64 "paint_cache.h", |
65 "paint_context.cc", | 65 "paint_context.cc", |
66 "paint_context.h", | 66 "paint_context.h", |
| 67 "paint_info.cc", |
| 68 "paint_info.h", |
67 "paint_recorder.cc", | 69 "paint_recorder.cc", |
68 "paint_recorder.h", | 70 "paint_recorder.h", |
69 "reflector.cc", | 71 "reflector.cc", |
70 "reflector.h", | 72 "reflector.h", |
71 "scoped_animation_duration_scale_mode.cc", | 73 "scoped_animation_duration_scale_mode.cc", |
72 "scoped_animation_duration_scale_mode.h", | 74 "scoped_animation_duration_scale_mode.h", |
73 "scoped_layer_animation_settings.cc", | 75 "scoped_layer_animation_settings.cc", |
74 "scoped_layer_animation_settings.h", | 76 "scoped_layer_animation_settings.h", |
75 "transform_animation_curve_adapter.cc", | 77 "transform_animation_curve_adapter.cc", |
76 "transform_animation_curve_adapter.h", | 78 "transform_animation_curve_adapter.h", |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 | 191 |
190 test("compositor_unittests") { | 192 test("compositor_unittests") { |
191 sources = [ | 193 sources = [ |
192 "callback_layer_animation_observer_unittest.cc", | 194 "callback_layer_animation_observer_unittest.cc", |
193 "compositor_unittest.cc", | 195 "compositor_unittest.cc", |
194 "layer_animation_element_unittest.cc", | 196 "layer_animation_element_unittest.cc", |
195 "layer_animation_sequence_unittest.cc", | 197 "layer_animation_sequence_unittest.cc", |
196 "layer_animator_unittest.cc", | 198 "layer_animator_unittest.cc", |
197 "layer_owner_unittest.cc", | 199 "layer_owner_unittest.cc", |
198 "layer_unittest.cc", | 200 "layer_unittest.cc", |
| 201 "paint_info_unittest.cc", |
199 "run_all_unittests.cc", | 202 "run_all_unittests.cc", |
200 "transform_animation_curve_adapter_unittest.cc", | 203 "transform_animation_curve_adapter_unittest.cc", |
201 ] | 204 ] |
202 | 205 |
203 data = [ | 206 data = [ |
204 "//ui/gfx/test/data/compositor/", | 207 "//ui/gfx/test/data/compositor/", |
205 ] | 208 ] |
206 | 209 |
207 deps = [ | 210 deps = [ |
208 ":compositor", | 211 ":compositor", |
(...skipping 11 matching lines...) Expand all Loading... |
220 "//ui/base", | 223 "//ui/base", |
221 "//ui/gfx", | 224 "//ui/gfx", |
222 "//ui/gfx/geometry", | 225 "//ui/gfx/geometry", |
223 "//ui/gl", | 226 "//ui/gl", |
224 "//ui/resources", | 227 "//ui/resources", |
225 ] | 228 ] |
226 if (is_linux) { | 229 if (is_linux) { |
227 deps += [ "//third_party/mesa:osmesa" ] | 230 deps += [ "//third_party/mesa:osmesa" ] |
228 } | 231 } |
229 } | 232 } |
OLD | NEW |