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", |
11 "callback_layer_animation_observer.h", | 11 "callback_layer_animation_observer.h", |
12 "canvas_painter.cc", | 12 "canvas_painter.cc", |
13 "canvas_painter.h", | 13 "canvas_painter.h", |
14 "clip_recorder.cc", | 14 "clip_recorder.cc", |
15 "clip_recorder.h", | 15 "clip_recorder.h", |
16 "closure_animation_observer.cc", | 16 "closure_animation_observer.cc", |
17 "closure_animation_observer.h", | 17 "closure_animation_observer.h", |
18 "compositing_recorder.cc", | 18 "compositing_recorder.cc", |
19 "compositing_recorder.h", | 19 "compositing_recorder.h", |
20 "compositor.cc", | 20 "compositor.cc", |
21 "compositor.h", | 21 "compositor.h", |
22 "compositor_animation_observer.h", | 22 "compositor_animation_observer.h", |
23 "compositor_export.h", | 23 "compositor_export.h", |
| 24 "compositor_lock.cc", |
| 25 "compositor_lock.h", |
24 "compositor_observer.h", | 26 "compositor_observer.h", |
25 "compositor_switches.cc", | 27 "compositor_switches.cc", |
26 "compositor_switches.h", | 28 "compositor_switches.h", |
27 "compositor_vsync_manager.cc", | 29 "compositor_vsync_manager.cc", |
28 "compositor_vsync_manager.h", | 30 "compositor_vsync_manager.h", |
29 "debug_utils.cc", | 31 "debug_utils.cc", |
30 "debug_utils.h", | 32 "debug_utils.h", |
31 "dip_util.cc", | 33 "dip_util.cc", |
32 "dip_util.h", | 34 "dip_util.h", |
33 "float_animation_curve_adapter.cc", | 35 "float_animation_curve_adapter.cc", |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 } | 105 } |
104 } | 106 } |
105 | 107 |
106 static_library("test_support") { | 108 static_library("test_support") { |
107 testonly = true | 109 testonly = true |
108 sources = [ | 110 sources = [ |
109 "test/context_factories_for_test.cc", | 111 "test/context_factories_for_test.cc", |
110 "test/context_factories_for_test.h", | 112 "test/context_factories_for_test.h", |
111 "test/draw_waiter_for_test.cc", | 113 "test/draw_waiter_for_test.cc", |
112 "test/draw_waiter_for_test.h", | 114 "test/draw_waiter_for_test.h", |
| 115 "test/fake_compositor_lock.cc", |
| 116 "test/fake_compositor_lock.h", |
113 "test/fake_context_factory.cc", | 117 "test/fake_context_factory.cc", |
114 "test/fake_context_factory.h", | 118 "test/fake_context_factory.h", |
115 "test/in_process_context_factory.cc", | 119 "test/in_process_context_factory.cc", |
116 "test/in_process_context_factory.h", | 120 "test/in_process_context_factory.h", |
117 "test/in_process_context_provider.cc", | 121 "test/in_process_context_provider.cc", |
118 "test/in_process_context_provider.h", | 122 "test/in_process_context_provider.h", |
119 "test/layer_animation_observer_test_api.cc", | 123 "test/layer_animation_observer_test_api.cc", |
120 "test/layer_animation_observer_test_api.h", | 124 "test/layer_animation_observer_test_api.h", |
121 "test/layer_animator_test_controller.cc", | 125 "test/layer_animator_test_controller.cc", |
122 "test/layer_animator_test_controller.h", | 126 "test/layer_animator_test_controller.h", |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 "//ui/base", | 211 "//ui/base", |
208 "//ui/gfx", | 212 "//ui/gfx", |
209 "//ui/gfx/geometry", | 213 "//ui/gfx/geometry", |
210 "//ui/gl", | 214 "//ui/gl", |
211 "//ui/resources", | 215 "//ui/resources", |
212 ] | 216 ] |
213 if (is_linux) { | 217 if (is_linux) { |
214 deps += [ "//third_party/mesa:osmesa" ] | 218 deps += [ "//third_party/mesa:osmesa" ] |
215 } | 219 } |
216 } | 220 } |
OLD | NEW |