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", |
| 11 "callback_layer_animation_observer.h", |
10 "canvas_painter.cc", | 12 "canvas_painter.cc", |
11 "canvas_painter.h", | 13 "canvas_painter.h", |
12 "clip_transform_recorder.cc", | 14 "clip_transform_recorder.cc", |
13 "clip_transform_recorder.h", | 15 "clip_transform_recorder.h", |
14 "closure_animation_observer.cc", | 16 "closure_animation_observer.cc", |
15 "closure_animation_observer.h", | 17 "closure_animation_observer.h", |
16 "compositing_recorder.cc", | 18 "compositing_recorder.cc", |
17 "compositing_recorder.h", | 19 "compositing_recorder.h", |
18 "compositor.cc", | 20 "compositor.cc", |
19 "compositor.h", | 21 "compositor.h", |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 testonly = true | 97 testonly = true |
96 sources = [ | 98 sources = [ |
97 "test/context_factories_for_test.cc", | 99 "test/context_factories_for_test.cc", |
98 "test/context_factories_for_test.h", | 100 "test/context_factories_for_test.h", |
99 "test/draw_waiter_for_test.cc", | 101 "test/draw_waiter_for_test.cc", |
100 "test/draw_waiter_for_test.h", | 102 "test/draw_waiter_for_test.h", |
101 "test/in_process_context_factory.cc", | 103 "test/in_process_context_factory.cc", |
102 "test/in_process_context_factory.h", | 104 "test/in_process_context_factory.h", |
103 "test/in_process_context_provider.cc", | 105 "test/in_process_context_provider.cc", |
104 "test/in_process_context_provider.h", | 106 "test/in_process_context_provider.h", |
| 107 "test/layer_animation_observer_test_api.cc", |
| 108 "test/layer_animation_observer_test_api.h", |
105 "test/layer_animator_test_controller.cc", | 109 "test/layer_animator_test_controller.cc", |
106 "test/layer_animator_test_controller.h", | 110 "test/layer_animator_test_controller.h", |
107 "test/test_compositor_host.h", | 111 "test/test_compositor_host.h", |
108 "test/test_compositor_host_mac.mm", | 112 "test/test_compositor_host_mac.mm", |
109 "test/test_compositor_host_win.cc", | 113 "test/test_compositor_host_win.cc", |
110 "test/test_layer_animation_delegate.cc", | 114 "test/test_layer_animation_delegate.cc", |
111 "test/test_layer_animation_delegate.h", | 115 "test/test_layer_animation_delegate.h", |
112 "test/test_layer_animation_observer.cc", | 116 "test/test_layer_animation_observer.cc", |
113 "test/test_layer_animation_observer.h", | 117 "test/test_layer_animation_observer.h", |
114 "test/test_layers.cc", | 118 "test/test_layers.cc", |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 # The _run targets exist only for compatibility w/ GYP. | 161 # The _run targets exist only for compatibility w/ GYP. |
158 group("compositor_unittests_run") { | 162 group("compositor_unittests_run") { |
159 testonly = true | 163 testonly = true |
160 deps = [ | 164 deps = [ |
161 ":compositor_unittests", | 165 ":compositor_unittests", |
162 ] | 166 ] |
163 } | 167 } |
164 | 168 |
165 test("compositor_unittests") { | 169 test("compositor_unittests") { |
166 sources = [ | 170 sources = [ |
| 171 "callback_layer_animation_observer_unittest.cc", |
167 "compositor_unittest.cc", | 172 "compositor_unittest.cc", |
168 "layer_animation_element_unittest.cc", | 173 "layer_animation_element_unittest.cc", |
169 "layer_animation_sequence_unittest.cc", | 174 "layer_animation_sequence_unittest.cc", |
170 "layer_animator_unittest.cc", | 175 "layer_animator_unittest.cc", |
171 "layer_owner_unittest.cc", | 176 "layer_owner_unittest.cc", |
172 "layer_unittest.cc", | 177 "layer_unittest.cc", |
173 "run_all_unittests.cc", | 178 "run_all_unittests.cc", |
174 "transform_animation_curve_adapter_unittest.cc", | 179 "transform_animation_curve_adapter_unittest.cc", |
175 ] | 180 ] |
176 | 181 |
(...skipping 17 matching lines...) Expand all Loading... |
194 "//ui/gfx/geometry", | 199 "//ui/gfx/geometry", |
195 "//ui/gl", | 200 "//ui/gl", |
196 "//ui/resources", | 201 "//ui/resources", |
197 ] | 202 ] |
198 | 203 |
199 if (is_linux) { | 204 if (is_linux) { |
200 deps += [ "//third_party/mesa:osmesa" ] | 205 deps += [ "//third_party/mesa:osmesa" ] |
201 } | 206 } |
202 } | 207 } |
203 } | 208 } |
OLD | NEW |