blob: af0aa301d1d0c6a9e2e5ce3095863bb6d0f8e821 [file] [log] [blame]
[email protected]d05751a22014-05-29 20:54:241# Copyright 2014 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5component("cc") {
6 sources = [
7 "animation/animation.cc",
8 "animation/animation.h",
9 "animation/animation_curve.cc",
10 "animation/animation_curve.h",
11 "animation/animation_delegate.h",
12 "animation/animation_events.cc",
13 "animation/animation_events.h",
14 "animation/animation_id_provider.cc",
15 "animation/animation_id_provider.h",
16 "animation/animation_registrar.cc",
17 "animation/animation_registrar.h",
18 "animation/keyframed_animation_curve.cc",
19 "animation/keyframed_animation_curve.h",
20 "animation/layer_animation_controller.cc",
21 "animation/layer_animation_controller.h",
22 "animation/layer_animation_event_observer.h",
23 "animation/layer_animation_value_observer.h",
24 "animation/layer_animation_value_provider.h",
25 "animation/scroll_offset_animation_curve.cc",
26 "animation/scroll_offset_animation_curve.h",
27 "animation/scrollbar_animation_controller.h",
28 "animation/scrollbar_animation_controller.cc",
29 "animation/scrollbar_animation_controller_linear_fade.cc",
30 "animation/scrollbar_animation_controller_linear_fade.h",
31 "animation/scrollbar_animation_controller_thinning.cc",
32 "animation/scrollbar_animation_controller_thinning.h",
33 "animation/timing_function.cc",
34 "animation/timing_function.h",
35 "animation/transform_operation.cc",
36 "animation/transform_operation.h",
37 "animation/transform_operations.cc",
38 "animation/transform_operations.h",
39 "base/completion_event.h",
[email protected]d5ba08c2014-06-18 07:01:0840 "base/delayed_unique_notifier.cc",
41 "base/delayed_unique_notifier.h",
[email protected]d05751a22014-05-29 20:54:2442 "base/invalidation_region.cc",
43 "base/invalidation_region.h",
44 "base/latency_info_swap_promise.cc",
45 "base/latency_info_swap_promise.h",
46 "base/latency_info_swap_promise_monitor.cc",
47 "base/latency_info_swap_promise_monitor.h",
48 "base/math_util.cc",
49 "base/math_util.h",
50 "base/ref_counted_managed.h",
51 "base/region.cc",
52 "base/region.h",
53 "base/rolling_time_delta_history.cc",
54 "base/rolling_time_delta_history.h",
55 "base/scoped_ptr_algorithm.h",
56 "base/scoped_ptr_deque.h",
57 "base/scoped_ptr_vector.h",
[email protected]d5467eb72014-08-22 01:16:4358 "base/simple_enclosed_region.cc",
59 "base/simple_enclosed_region.h",
[email protected]d05751a22014-05-29 20:54:2460 "base/swap_promise.h",
61 "base/swap_promise_monitor.cc",
62 "base/swap_promise_monitor.h",
63 "base/switches.cc",
64 "base/switches.h",
65 "base/tiling_data.cc",
66 "base/tiling_data.h",
behara.ms71ff07f32014-11-12 05:09:0867 "base/time_util.h",
[email protected]d5ba08c2014-06-18 07:01:0868 "base/unique_notifier.cc",
69 "base/unique_notifier.h",
[email protected]d05751a22014-05-29 20:54:2470 "base/util.h",
71 "debug/benchmark_instrumentation.cc",
72 "debug/benchmark_instrumentation.h",
73 "debug/debug_colors.cc",
74 "debug/debug_colors.h",
75 "debug/debug_rect_history.cc",
76 "debug/debug_rect_history.h",
77 "debug/devtools_instrumentation.h",
78 "debug/frame_rate_counter.cc",
79 "debug/frame_rate_counter.h",
80 "debug/frame_viewer_instrumentation.h",
[email protected]d5ba08c2014-06-18 07:01:0881 "debug/invalidation_benchmark.cc",
82 "debug/invalidation_benchmark.h",
[email protected]d05751a22014-05-29 20:54:2483 "debug/lap_timer.cc",
84 "debug/lap_timer.h",
85 "debug/layer_tree_debug_state.cc",
86 "debug/layer_tree_debug_state.h",
87 "debug/micro_benchmark.cc",
88 "debug/micro_benchmark.h",
89 "debug/micro_benchmark_impl.cc",
90 "debug/micro_benchmark_impl.h",
91 "debug/micro_benchmark_controller.cc",
92 "debug/micro_benchmark_controller.h",
93 "debug/micro_benchmark_controller_impl.cc",
94 "debug/micro_benchmark_controller_impl.h",
95 "debug/paint_time_counter.cc",
96 "debug/paint_time_counter.h",
97 "debug/picture_record_benchmark.cc",
98 "debug/picture_record_benchmark.h",
99 "debug/rasterize_and_record_benchmark.cc",
100 "debug/rasterize_and_record_benchmark.h",
101 "debug/rasterize_and_record_benchmark_impl.cc",
102 "debug/rasterize_and_record_benchmark_impl.h",
103 "debug/rendering_stats.cc",
104 "debug/rendering_stats.h",
105 "debug/rendering_stats_instrumentation.cc",
106 "debug/rendering_stats_instrumentation.h",
107 "debug/ring_buffer.h",
108 "debug/traced_picture.cc",
109 "debug/traced_picture.h",
110 "debug/traced_value.cc",
111 "debug/traced_value.h",
112 "debug/unittest_only_benchmark.cc",
113 "debug/unittest_only_benchmark.h",
114 "debug/unittest_only_benchmark_impl.cc",
115 "debug/unittest_only_benchmark_impl.h",
ccameron36d091f2014-11-07 03:18:50116 "input/input_handler.cc",
[email protected]d05751a22014-05-29 20:54:24117 "input/input_handler.h",
118 "input/page_scale_animation.cc",
119 "input/page_scale_animation.h",
[email protected]b2ba2d42014-07-03 18:14:50120 "input/layer_selection_bound.cc",
121 "input/layer_selection_bound.h",
ccameron4163cc352014-11-13 19:06:36122 "input/scroll_elasticity_helper.cc",
123 "input/scroll_elasticity_helper.h",
[email protected]b2ba2d42014-07-03 18:14:50124 "input/selection_bound_type.h",
[email protected]d05751a22014-05-29 20:54:24125 "input/top_controls_manager.cc",
126 "input/top_controls_manager.h",
127 "input/top_controls_manager_client.h",
128 "layers/append_quads_data.h",
129 "layers/content_layer.cc",
130 "layers/content_layer.h",
131 "layers/content_layer_client.h",
132 "layers/contents_scaling_layer.cc",
133 "layers/contents_scaling_layer.h",
134 "layers/delegated_frame_provider.cc",
135 "layers/delegated_frame_provider.h",
136 "layers/delegated_frame_resource_collection.cc",
137 "layers/delegated_frame_resource_collection.h",
138 "layers/delegated_renderer_layer.cc",
139 "layers/delegated_renderer_layer.h",
140 "layers/delegated_renderer_layer_impl.cc",
141 "layers/delegated_renderer_layer_impl.h",
142 "layers/draw_properties.h",
143 "layers/heads_up_display_layer.cc",
144 "layers/heads_up_display_layer.h",
145 "layers/heads_up_display_layer_impl.cc",
146 "layers/heads_up_display_layer_impl.h",
147 "layers/image_layer.cc",
148 "layers/image_layer.h",
149 "layers/io_surface_layer.cc",
150 "layers/io_surface_layer.h",
151 "layers/io_surface_layer_impl.cc",
152 "layers/io_surface_layer_impl.h",
153 "layers/layer.cc",
154 "layers/layer.h",
155 "layers/layer_client.h",
156 "layers/layer_impl.cc",
157 "layers/layer_impl.h",
158 "layers/layer_iterator.h",
159 "layers/layer_lists.cc",
160 "layers/layer_lists.h",
161 "layers/layer_position_constraint.cc",
162 "layers/layer_position_constraint.h",
163 "layers/layer_utils.cc",
164 "layers/layer_utils.h",
165 "layers/nine_patch_layer.cc",
166 "layers/nine_patch_layer.h",
167 "layers/nine_patch_layer_impl.cc",
168 "layers/nine_patch_layer_impl.h",
169 "layers/paint_properties.h",
170 "layers/painted_scrollbar_layer.cc",
171 "layers/painted_scrollbar_layer.h",
172 "layers/painted_scrollbar_layer_impl.cc",
173 "layers/painted_scrollbar_layer_impl.h",
174 "layers/picture_image_layer.cc",
175 "layers/picture_image_layer.h",
176 "layers/picture_image_layer_impl.cc",
177 "layers/picture_image_layer_impl.h",
178 "layers/picture_layer.cc",
179 "layers/picture_layer.h",
180 "layers/picture_layer_impl.cc",
181 "layers/picture_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24182 "layers/render_pass_sink.h",
183 "layers/render_surface.cc",
184 "layers/render_surface.h",
185 "layers/render_surface_impl.cc",
186 "layers/render_surface_impl.h",
187 "layers/scrollbar_layer_impl_base.cc",
188 "layers/scrollbar_layer_impl_base.h",
189 "layers/scrollbar_layer_interface.h",
190 "layers/solid_color_layer.cc",
191 "layers/solid_color_layer.h",
192 "layers/solid_color_layer_impl.cc",
193 "layers/solid_color_layer_impl.h",
194 "layers/solid_color_scrollbar_layer.cc",
195 "layers/solid_color_scrollbar_layer.h",
196 "layers/solid_color_scrollbar_layer_impl.cc",
197 "layers/solid_color_scrollbar_layer_impl.h",
198 "layers/surface_layer.cc",
199 "layers/surface_layer.h",
200 "layers/surface_layer_impl.cc",
201 "layers/surface_layer_impl.h",
202 "layers/texture_layer.cc",
203 "layers/texture_layer.h",
204 "layers/texture_layer_client.h",
205 "layers/texture_layer_impl.cc",
206 "layers/texture_layer_impl.h",
207 "layers/tiled_layer.cc",
208 "layers/tiled_layer.h",
209 "layers/tiled_layer_impl.cc",
210 "layers/tiled_layer_impl.h",
211 "layers/ui_resource_layer.cc",
212 "layers/ui_resource_layer.h",
213 "layers/ui_resource_layer_impl.cc",
214 "layers/ui_resource_layer_impl.h",
215 "layers/video_frame_provider.h",
216 "layers/video_frame_provider_client_impl.cc",
217 "layers/video_frame_provider_client_impl.h",
218 "layers/video_layer.cc",
219 "layers/video_layer.h",
220 "layers/video_layer_impl.cc",
221 "layers/video_layer_impl.h",
222 "output/begin_frame_args.cc",
223 "output/begin_frame_args.h",
[email protected]2a021fb7b2014-08-02 07:53:49224 "output/bsp_tree.cc",
225 "output/bsp_tree.h",
226 "output/bsp_walk_action.cc",
227 "output/bsp_walk_action.h",
[email protected]d05751a22014-05-29 20:54:24228 "output/compositor_frame.cc",
229 "output/compositor_frame.h",
230 "output/compositor_frame_ack.cc",
231 "output/compositor_frame_ack.h",
232 "output/compositor_frame_metadata.cc",
233 "output/compositor_frame_metadata.h",
234 "output/context_provider.cc",
235 "output/context_provider.h",
236 "output/copy_output_request.cc",
237 "output/copy_output_request.h",
238 "output/copy_output_result.cc",
239 "output/copy_output_result.h",
[email protected]d05751a22014-05-29 20:54:24240 "output/delegated_frame_data.cc",
[email protected]b2ba2d42014-07-03 18:14:50241 "output/delegated_frame_data.h",
[email protected]d05751a22014-05-29 20:54:24242 "output/delegating_renderer.cc",
243 "output/delegating_renderer.h",
244 "output/direct_renderer.cc",
245 "output/direct_renderer.h",
246 "output/filter_operation.cc",
247 "output/filter_operation.h",
248 "output/filter_operations.cc",
249 "output/filter_operations.h",
250 "output/geometry_binding.cc",
251 "output/geometry_binding.h",
[email protected]d05751a22014-05-29 20:54:24252 "output/gl_frame_data.cc",
[email protected]b2ba2d42014-07-03 18:14:50253 "output/gl_frame_data.h",
[email protected]d05751a22014-05-29 20:54:24254 "output/gl_renderer.cc",
255 "output/gl_renderer.h",
256 "output/gl_renderer_draw_cache.cc",
257 "output/gl_renderer_draw_cache.h",
258 "output/managed_memory_policy.cc",
259 "output/managed_memory_policy.h",
260 "output/output_surface.cc",
261 "output/output_surface.h",
262 "output/output_surface_client.h",
263 "output/overlay_candidate.cc",
264 "output/overlay_candidate.h",
265 "output/overlay_candidate_validator.h",
266 "output/overlay_processor.cc",
267 "output/overlay_processor.h",
268 "output/overlay_strategy_single_on_top.cc",
269 "output/overlay_strategy_single_on_top.h",
270 "output/program_binding.cc",
271 "output/program_binding.h",
272 "output/render_surface_filters.cc",
273 "output/render_surface_filters.h",
274 "output/renderer.cc",
275 "output/renderer.h",
jbaumanc5be44c2014-11-20 22:17:12276 "output/renderer_settings.cc",
277 "output/renderer_settings.h",
[email protected]d05751a22014-05-29 20:54:24278 "output/shader.cc",
279 "output/shader.h",
280 "output/software_frame_data.cc",
281 "output/software_frame_data.h",
282 "output/software_output_device.cc",
283 "output/software_output_device.h",
284 "output/software_renderer.cc",
285 "output/software_renderer.h",
[email protected]b2ba2d42014-07-03 18:14:50286 "output/viewport_selection_bound.cc",
287 "output/viewport_selection_bound.h",
mithroc34fc0b12014-09-30 09:10:41288 "output/vsync_parameter_observer.h",
[email protected]d05751a22014-05-29 20:54:24289 "quads/checkerboard_draw_quad.cc",
290 "quads/checkerboard_draw_quad.h",
291 "quads/content_draw_quad_base.cc",
292 "quads/content_draw_quad_base.h",
293 "quads/debug_border_draw_quad.cc",
294 "quads/debug_border_draw_quad.h",
[email protected]2a021fb7b2014-08-02 07:53:49295 "quads/draw_polygon.cc",
296 "quads/draw_polygon.h",
[email protected]d05751a22014-05-29 20:54:24297 "quads/draw_quad.cc",
298 "quads/draw_quad.h",
299 "quads/io_surface_draw_quad.cc",
300 "quads/io_surface_draw_quad.h",
[email protected]620aaedc2014-08-12 22:41:20301 "quads/largest_draw_quad.h",
weiliangcfe7b51e2014-11-05 18:20:27302 "quads/largest_draw_quad.cc",
weiliangcd1f5016c2014-09-23 14:29:03303 "quads/list_container.cc",
304 "quads/list_container.h",
[email protected]d05751a22014-05-29 20:54:24305 "quads/picture_draw_quad.cc",
306 "quads/picture_draw_quad.h",
307 "quads/render_pass.cc",
308 "quads/render_pass.h",
309 "quads/render_pass_draw_quad.cc",
310 "quads/render_pass_draw_quad.h",
[email protected]0cd7d6f72014-08-22 14:50:51311 "quads/render_pass_id.cc",
312 "quads/render_pass_id.h",
[email protected]d05751a22014-05-29 20:54:24313 "quads/shared_quad_state.cc",
314 "quads/shared_quad_state.h",
315 "quads/solid_color_draw_quad.cc",
316 "quads/solid_color_draw_quad.h",
317 "quads/stream_video_draw_quad.cc",
318 "quads/stream_video_draw_quad.h",
319 "quads/surface_draw_quad.cc",
320 "quads/surface_draw_quad.h",
321 "quads/texture_draw_quad.cc",
322 "quads/texture_draw_quad.h",
323 "quads/tile_draw_quad.cc",
324 "quads/tile_draw_quad.h",
325 "quads/yuv_video_draw_quad.cc",
326 "quads/yuv_video_draw_quad.h",
327 "resources/bitmap_content_layer_updater.cc",
328 "resources/bitmap_content_layer_updater.h",
reveman5ae838bb2014-09-24 23:30:14329 "resources/bitmap_raster_worker_pool.cc",
330 "resources/bitmap_raster_worker_pool.h",
[email protected]d05751a22014-05-29 20:54:24331 "resources/bitmap_skpicture_content_layer_updater.cc",
332 "resources/bitmap_skpicture_content_layer_updater.h",
333 "resources/content_layer_updater.cc",
334 "resources/content_layer_updater.h",
[email protected]bf050582014-07-24 11:10:58335 "resources/eviction_tile_priority_queue.cc",
336 "resources/eviction_tile_priority_queue.h",
[email protected]e1878b52014-07-01 09:21:17337 "resources/gpu_raster_worker_pool.cc",
338 "resources/gpu_raster_worker_pool.h",
[email protected]d05751a22014-05-29 20:54:24339 "resources/image_layer_updater.cc",
340 "resources/image_layer_updater.h",
[email protected]d05751a22014-05-29 20:54:24341 "resources/layer_painter.h",
342 "resources/layer_quad.cc",
343 "resources/layer_quad.h",
344 "resources/layer_tiling_data.cc",
345 "resources/layer_tiling_data.h",
346 "resources/layer_updater.cc",
347 "resources/layer_updater.h",
348 "resources/managed_tile_state.cc",
349 "resources/managed_tile_state.h",
350 "resources/memory_history.cc",
351 "resources/memory_history.h",
reveman423e7da2014-09-23 16:57:44352 "resources/one_copy_raster_worker_pool.cc",
353 "resources/one_copy_raster_worker_pool.h",
[email protected]d05751a22014-05-29 20:54:24354 "resources/picture.cc",
355 "resources/picture.h",
356 "resources/picture_layer_tiling.cc",
357 "resources/picture_layer_tiling.h",
358 "resources/picture_layer_tiling_set.cc",
359 "resources/picture_layer_tiling_set.h",
[email protected]bf050582014-07-24 11:10:58360 "resources/picture_pile.cc",
361 "resources/picture_pile.h",
[email protected]d05751a22014-05-29 20:54:24362 "resources/picture_pile_impl.cc",
363 "resources/picture_pile_impl.h",
364 "resources/pixel_buffer_raster_worker_pool.cc",
365 "resources/pixel_buffer_raster_worker_pool.h",
366 "resources/platform_color.h",
367 "resources/prioritized_resource.cc",
368 "resources/prioritized_resource.h",
369 "resources/prioritized_resource_manager.cc",
370 "resources/prioritized_resource_manager.h",
[email protected]d05751a22014-05-29 20:54:24371 "resources/priority_calculator.cc",
372 "resources/priority_calculator.h",
reveman47560ab2014-09-18 19:39:21373 "resources/raster_buffer.cc",
374 "resources/raster_buffer.h",
vmpstr394e2b52014-10-28 18:38:10375 "resources/raster_source.h",
[email protected]bf050582014-07-24 11:10:58376 "resources/raster_tile_priority_queue.cc",
377 "resources/raster_tile_priority_queue.h",
378 "resources/raster_worker_pool.cc",
379 "resources/raster_worker_pool.h",
reveman423e7da2014-09-23 16:57:44380 "resources/rasterizer.cc",
381 "resources/rasterizer.h",
[email protected]d05751a22014-05-29 20:54:24382 "resources/release_callback.h",
383 "resources/resource.cc",
reveman423e7da2014-09-23 16:57:44384 "resources/resource.h",
[email protected]c6f0cf62014-07-22 02:44:41385 "resources/resource_format.cc",
[email protected]bf050582014-07-24 11:10:58386 "resources/resource_format.h",
[email protected]d05751a22014-05-29 20:54:24387 "resources/resource_pool.cc",
388 "resources/resource_pool.h",
389 "resources/resource_provider.cc",
390 "resources/resource_provider.h",
391 "resources/resource_update.cc",
reveman423e7da2014-09-23 16:57:44392 "resources/resource_update.h",
[email protected]d05751a22014-05-29 20:54:24393 "resources/resource_update_controller.cc",
394 "resources/resource_update_controller.h",
395 "resources/resource_update_queue.cc",
396 "resources/resource_update_queue.h",
397 "resources/returned_resource.h",
[email protected]110fcc0e2014-07-16 15:52:47398 "resources/scoped_gpu_raster.cc",
399 "resources/scoped_gpu_raster.h",
[email protected]d05751a22014-05-29 20:54:24400 "resources/scoped_resource.cc",
401 "resources/scoped_resource.h",
402 "resources/scoped_ui_resource.cc",
403 "resources/scoped_ui_resource.h",
404 "resources/shared_bitmap.cc",
405 "resources/shared_bitmap.h",
406 "resources/shared_bitmap_manager.h",
407 "resources/single_release_callback.cc",
408 "resources/single_release_callback.h",
skyostil3976a3f2014-09-04 22:07:23409 "resources/single_release_callback_impl.cc",
410 "resources/single_release_callback_impl.h",
[email protected]d05751a22014-05-29 20:54:24411 "resources/skpicture_content_layer_updater.cc",
412 "resources/skpicture_content_layer_updater.h",
413 "resources/task_graph_runner.cc",
414 "resources/task_graph_runner.h",
415 "resources/texture_mailbox.cc",
reveman423e7da2014-09-23 16:57:44416 "resources/texture_mailbox.h",
[email protected]d05751a22014-05-29 20:54:24417 "resources/texture_mailbox_deleter.cc",
418 "resources/texture_mailbox_deleter.h",
419 "resources/texture_uploader.cc",
420 "resources/texture_uploader.h",
421 "resources/tile.cc",
422 "resources/tile.h",
423 "resources/tile_manager.cc",
424 "resources/tile_manager.h",
425 "resources/tile_priority.cc",
426 "resources/tile_priority.h",
e.hakkinenada8f5da2014-11-27 09:41:36427 "resources/tiling_set_eviction_queue.cc",
428 "resources/tiling_set_eviction_queue.h",
[email protected]d05751a22014-05-29 20:54:24429 "resources/transferable_resource.cc",
430 "resources/transferable_resource.h",
431 "resources/ui_resource_bitmap.cc",
432 "resources/ui_resource_bitmap.h",
433 "resources/ui_resource_client.h",
434 "resources/ui_resource_request.cc",
435 "resources/ui_resource_request.h",
436 "resources/video_resource_updater.cc",
437 "resources/video_resource_updater.h",
reveman423e7da2014-09-23 16:57:44438 "resources/zero_copy_raster_worker_pool.cc",
439 "resources/zero_copy_raster_worker_pool.h",
mithroc34fc0b12014-09-30 09:10:41440 "scheduler/begin_frame_source.cc",
441 "scheduler/begin_frame_source.h",
[email protected]d05751a22014-05-29 20:54:24442 "scheduler/delay_based_time_source.cc",
443 "scheduler/delay_based_time_source.h",
444 "scheduler/draw_result.h",
445 "scheduler/scheduler.cc",
446 "scheduler/scheduler.h",
447 "scheduler/scheduler_settings.cc",
448 "scheduler/scheduler_settings.h",
449 "scheduler/scheduler_state_machine.cc",
450 "scheduler/scheduler_state_machine.h",
[email protected]d05751a22014-05-29 20:54:24451 "trees/blocking_task_runner.cc",
452 "trees/blocking_task_runner.h",
453 "trees/damage_tracker.cc",
454 "trees/damage_tracker.h",
455 "trees/layer_sorter.cc",
456 "trees/layer_sorter.h",
457 "trees/layer_tree_host.cc",
458 "trees/layer_tree_host.h",
459 "trees/layer_tree_host_client.h",
460 "trees/layer_tree_host_common.cc",
461 "trees/layer_tree_host_common.h",
462 "trees/layer_tree_host_impl.cc",
463 "trees/layer_tree_host_impl.h",
464 "trees/layer_tree_impl.cc",
465 "trees/layer_tree_impl.h",
466 "trees/layer_tree_settings.cc",
467 "trees/layer_tree_settings.h",
vmpstrcdcb5f72014-09-11 00:58:37468 "trees/occlusion.cc",
469 "trees/occlusion.h",
[email protected]d05751a22014-05-29 20:54:24470 "trees/occlusion_tracker.cc",
471 "trees/occlusion_tracker.h",
472 "trees/proxy.cc",
473 "trees/proxy.h",
474 "trees/proxy_timing_history.cc",
475 "trees/proxy_timing_history.h",
[email protected]aeeedad2014-08-22 18:16:22476 "trees/scoped_abort_remaining_swap_promises.h",
[email protected]d05751a22014-05-29 20:54:24477 "trees/single_thread_proxy.cc",
478 "trees/single_thread_proxy.h",
479 "trees/thread_proxy.cc",
480 "trees/thread_proxy.h",
481 "trees/tree_synchronizer.cc",
482 "trees/tree_synchronizer.h",
483 ]
484
485 if (is_win) {
486 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
487 cflags = [ "/wd4267" ] # size_t -> int
488 }
489
Brett Wilsone53895272014-09-23 23:41:46490 public_deps = [
491 "//skia",
492 ]
[email protected]d05751a22014-05-29 20:54:24493 deps = [
494 "//base",
495 "//base/third_party/dynamic_annotations",
jamesr16c04ff2014-11-24 22:24:57496 "//cc/surfaces:surface_id",
[email protected]d05751a22014-05-29 20:54:24497 "//gpu",
jbromancba3d2fe2014-09-16 01:04:24498 "//gpu/command_buffer/client:gles2_interface",
revemanf9a8a2342014-10-28 17:54:52499 "//gpu/command_buffer/client:gpu_memory_buffer_manager",
[email protected]6e44c302014-07-22 21:51:37500 "//media",
[email protected]d05751a22014-05-29 20:54:24501 "//ui/events:events_base",
502 "//ui/gfx",
503 "//ui/gfx/geometry",
[email protected]d05751a22014-05-29 20:54:24504 ]
[email protected]d05751a22014-05-29 20:54:24505
[email protected]3ffa36a2014-07-24 21:01:50506 defines = [ "CC_IMPLEMENTATION=1" ]
[email protected]d05751a22014-05-29 20:54:24507
fdegans75b3d092014-09-17 18:35:55508 if (!is_debug && (is_win || is_android)) {
[email protected]d05751a22014-05-29 20:54:24509 configs -= [ "//build/config/compiler:optimize" ]
510 configs += [ "//build/config/compiler:optimize_max" ]
511 }
512}
513
[email protected]d05751a22014-05-29 20:54:24514source_set("test_support") {
Brett Wilson8f80ad0b2014-09-08 19:50:24515 testonly = true
[email protected]d05751a22014-05-29 20:54:24516 sources = [
517 "test/animation_test_common.cc",
518 "test/animation_test_common.h",
519 "test/begin_frame_args_test.cc",
520 "test/begin_frame_args_test.h",
521 "test/fake_content_layer.cc",
522 "test/fake_content_layer.h",
523 "test/fake_content_layer_client.cc",
524 "test/fake_content_layer_client.h",
525 "test/fake_content_layer_impl.cc",
526 "test/fake_content_layer_impl.h",
527 "test/fake_delegated_renderer_layer.cc",
528 "test/fake_delegated_renderer_layer.h",
529 "test/fake_delegated_renderer_layer_impl.cc",
530 "test/fake_delegated_renderer_layer_impl.h",
531 "test/fake_impl_proxy.h",
532 "test/fake_layer_tree_host.cc",
533 "test/fake_layer_tree_host.h",
534 "test/fake_layer_tree_host_client.cc",
535 "test/fake_layer_tree_host_client.h",
536 "test/fake_layer_tree_host_impl.cc",
537 "test/fake_layer_tree_host_impl.h",
538 "test/fake_layer_tree_host_impl_client.cc",
539 "test/fake_layer_tree_host_impl_client.h",
540 "test/fake_output_surface.cc",
541 "test/fake_output_surface.h",
542 "test/fake_output_surface_client.cc",
543 "test/fake_output_surface_client.h",
544 "test/fake_painted_scrollbar_layer.cc",
545 "test/fake_painted_scrollbar_layer.h",
546 "test/fake_picture_layer.cc",
547 "test/fake_picture_layer.h",
548 "test/fake_picture_layer_impl.cc",
549 "test/fake_picture_layer_impl.h",
550 "test/fake_picture_layer_tiling_client.cc",
551 "test/fake_picture_layer_tiling_client.h",
danakja819c2552014-11-14 02:05:04552 "test/fake_picture_pile.cc",
hendrikw312ee8ac2014-11-12 23:24:34553 "test/fake_picture_pile.h",
[email protected]d05751a22014-05-29 20:54:24554 "test/fake_picture_pile_impl.cc",
555 "test/fake_picture_pile_impl.h",
556 "test/fake_proxy.cc",
557 "test/fake_proxy.h",
558 "test/fake_renderer_client.cc",
559 "test/fake_renderer_client.h",
560 "test/fake_rendering_stats_instrumentation.h",
561 "test/fake_scoped_ui_resource.cc",
562 "test/fake_scoped_ui_resource.h",
563 "test/fake_scrollbar.cc",
564 "test/fake_scrollbar.h",
565 "test/fake_tile_manager.cc",
566 "test/fake_tile_manager.h",
567 "test/fake_tile_manager_client.cc",
568 "test/fake_tile_manager_client.h",
569 "test/fake_ui_resource_layer_tree_host_impl.cc",
570 "test/fake_ui_resource_layer_tree_host_impl.h",
571 "test/fake_video_frame_provider.cc",
572 "test/fake_video_frame_provider.h",
573 "test/geometry_test_utils.cc",
574 "test/geometry_test_utils.h",
575 "test/test_in_process_context_provider.cc",
576 "test/test_in_process_context_provider.h",
577 "test/impl_side_painting_settings.h",
578 "test/layer_test_common.cc",
579 "test/layer_test_common.h",
580 "test/layer_tree_host_common_test.cc",
581 "test/layer_tree_host_common_test.h",
582 "test/layer_tree_json_parser.cc",
583 "test/layer_tree_json_parser.h",
enne03dbe8ae2014-10-30 01:32:55584 "test/layer_tree_pixel_resource_test.cc",
585 "test/layer_tree_pixel_resource_test.h",
[email protected]d05751a22014-05-29 20:54:24586 "test/layer_tree_pixel_test.cc",
587 "test/layer_tree_pixel_test.h",
588 "test/layer_tree_test.cc",
589 "test/layer_tree_test.h",
[email protected]ba16cce2014-06-17 17:03:50590 "test/mock_occlusion_tracker.h",
[email protected]d5ba08c2014-06-18 07:01:08591 "test/ordered_simple_task_runner.cc",
592 "test/ordered_simple_task_runner.h",
[email protected]d05751a22014-05-29 20:54:24593 "test/ordered_texture_map.cc",
594 "test/ordered_texture_map.h",
595 "test/paths.cc",
596 "test/paths.h",
597 "test/pixel_comparator.cc",
598 "test/pixel_comparator.h",
599 "test/pixel_test.cc",
600 "test/pixel_test.h",
601 "test/pixel_test_output_surface.cc",
602 "test/pixel_test_output_surface.h",
603 "test/pixel_test_software_output_device.cc",
604 "test/pixel_test_software_output_device.h",
605 "test/pixel_test_utils.cc",
606 "test/pixel_test_utils.h",
607 "test/render_pass_test_common.cc",
608 "test/render_pass_test_common.h",
609 "test/render_pass_test_utils.cc",
610 "test/render_pass_test_utils.h",
611 "test/scheduler_test_common.cc",
612 "test/scheduler_test_common.h",
613 "test/skia_common.cc",
614 "test/skia_common.h",
615 "test/solid_color_content_layer_client.cc",
616 "test/solid_color_content_layer_client.h",
617 "test/test_context_provider.cc",
618 "test/test_context_provider.h",
619 "test/test_context_support.cc",
620 "test/test_context_support.h",
621 "test/test_gles2_interface.cc",
622 "test/test_gles2_interface.h",
reveman22dd9292014-10-13 20:52:05623 "test/test_gpu_memory_buffer_manager.cc",
624 "test/test_gpu_memory_buffer_manager.h",
reveman2232bce2014-10-29 01:28:05625 "test/test_image_factory.cc",
626 "test/test_image_factory.h",
mithro0c0ac6a2014-09-10 01:03:36627 "test/test_now_source.cc",
628 "test/test_now_source.h",
[email protected]d05751a22014-05-29 20:54:24629 "test/test_occlusion_tracker.h",
630 "test/test_shared_bitmap_manager.cc",
631 "test/test_shared_bitmap_manager.h",
632 "test/test_texture.cc",
633 "test/test_texture.h",
634 "test/test_tile_priorities.cc",
635 "test/test_tile_priorities.h",
636 "test/test_web_graphics_context_3d.cc",
637 "test/test_web_graphics_context_3d.h",
638 "test/tiled_layer_test_common.cc",
639 "test/tiled_layer_test_common.h",
640 ]
641
642 include_dirs = [
643 ".",
644 "test",
645 ]
646
Brett Wilson0380637c2014-09-19 21:24:40647 public_deps = [
648 ":cc",
Brett Wilsone53895272014-09-23 23:41:46649 "//gpu:test_support",
Brett Wilson0380637c2014-09-19 21:24:40650 ]
[email protected]d05751a22014-05-29 20:54:24651 deps = [
652 "//base",
jamesr16c04ff2014-11-24 22:24:57653 "//base/test:test_support",
[email protected]d05751a22014-05-29 20:54:24654 "//base/third_party/dynamic_annotations",
[email protected]d05751a22014-05-29 20:54:24655 "//gpu/command_buffer/client:gles2_c_lib",
656 "//gpu/command_buffer/client:gles2_implementation",
revemanf9a8a2342014-10-28 17:54:52657 "//gpu/command_buffer/client:gpu_memory_buffer_manager",
[email protected]d05751a22014-05-29 20:54:24658 "//gpu/command_buffer/client:gl_in_process_context",
[email protected]845c4e32014-08-13 11:50:40659 "//gpu/command_buffer/common:gles2_utils",
[email protected]d05751a22014-05-29 20:54:24660 "//gpu/skia_bindings",
jamesr16c04ff2014-11-24 22:24:57661 "//media",
[email protected]d05751a22014-05-29 20:54:24662 "//skia",
663 "//testing/gmock",
664 "//testing/gtest",
[email protected]d05751a22014-05-29 20:54:24665 "//ui/gfx",
666 "//ui/gfx/geometry",
[email protected]e54a1f522014-07-22 23:26:48667 "//ui/gfx:test_support",
[email protected]d05751a22014-05-29 20:54:24668 "//ui/gl",
669 ]
[email protected]c7990dbf2014-07-23 22:35:10670
671 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links.
672 deps += [ "//third_party/mesa:osmesa" ]
673 }
[email protected]d05751a22014-05-29 20:54:24674}
675
[email protected]d05751a22014-05-29 20:54:24676test("cc_unittests") {
677 sources = [
678 "animation/animation_unittest.cc",
679 "animation/keyframed_animation_curve_unittest.cc",
680 "animation/layer_animation_controller_unittest.cc",
681 "animation/scroll_offset_animation_curve_unittest.cc",
682 "animation/scrollbar_animation_controller_linear_fade_unittest.cc",
683 "animation/scrollbar_animation_controller_thinning_unittest.cc",
684 "animation/transform_operations_unittest.cc",
685 "base/float_quad_unittest.cc",
686 "base/math_util_unittest.cc",
687 "base/region_unittest.cc",
688 "base/rolling_time_delta_history_unittest.cc",
689 "base/scoped_ptr_vector_unittest.cc",
[email protected]d5467eb72014-08-22 01:16:43690 "base/simple_enclosed_region_unittest.cc",
[email protected]d05751a22014-05-29 20:54:24691 "base/tiling_data_unittest.cc",
692 "base/util_unittest.cc",
693 "debug/micro_benchmark_controller_unittest.cc",
694 "input/top_controls_manager_unittest.cc",
[email protected]d05751a22014-05-29 20:54:24695 "layers/contents_scaling_layer_unittest.cc",
696 "layers/delegated_frame_provider_unittest.cc",
697 "layers/delegated_frame_resource_collection_unittest.cc",
698 "layers/delegated_renderer_layer_impl_unittest.cc",
[email protected]ad63b2f2014-08-11 17:39:54699 "layers/delegated_renderer_layer_unittest.cc",
[email protected]d05751a22014-05-29 20:54:24700 "layers/heads_up_display_unittest.cc",
701 "layers/heads_up_display_layer_impl_unittest.cc",
702 "layers/io_surface_layer_impl_unittest.cc",
703 "layers/layer_impl_unittest.cc",
704 "layers/layer_iterator_unittest.cc",
705 "layers/layer_position_constraint_unittest.cc",
706 "layers/layer_unittest.cc",
707 "layers/layer_utils_unittest.cc",
708 "layers/nine_patch_layer_impl_unittest.cc",
709 "layers/nine_patch_layer_unittest.cc",
710 "layers/painted_scrollbar_layer_impl_unittest.cc",
711 "layers/picture_image_layer_impl_unittest.cc",
712 "layers/picture_layer_impl_unittest.cc",
713 "layers/picture_layer_unittest.cc",
714 "layers/render_surface_unittest.cc",
715 "layers/render_surface_impl_unittest.cc",
716 "layers/scrollbar_layer_unittest.cc",
717 "layers/solid_color_layer_impl_unittest.cc",
718 "layers/solid_color_scrollbar_layer_impl_unittest.cc",
jbaumandbccae1ab2014-11-06 23:26:44719 "layers/surface_layer_unittest.cc",
[email protected]d05751a22014-05-29 20:54:24720 "layers/surface_layer_impl_unittest.cc",
721 "layers/texture_layer_unittest.cc",
722 "layers/texture_layer_impl_unittest.cc",
723 "layers/tiled_layer_impl_unittest.cc",
724 "layers/tiled_layer_unittest.cc",
725 "layers/ui_resource_layer_impl_unittest.cc",
726 "layers/ui_resource_layer_unittest.cc",
727 "layers/video_layer_impl_unittest.cc",
728 "output/begin_frame_args_unittest.cc",
729 "output/delegating_renderer_unittest.cc",
730 "output/filter_operations_unittest.cc",
731 "output/gl_renderer_unittest.cc",
732 "output/output_surface_unittest.cc",
733 "output/overlay_unittest.cc",
734 "output/renderer_pixeltest.cc",
735 "output/renderer_unittest.cc",
736 "output/shader_unittest.cc",
737 "output/software_renderer_unittest.cc",
738 "quads/draw_quad_unittest.cc",
weiliangcd1f5016c2014-09-23 14:29:03739 "quads/list_container_unittest.cc",
[email protected]d05751a22014-05-29 20:54:24740 "quads/render_pass_unittest.cc",
741 "resources/layer_quad_unittest.cc",
742 "resources/picture_layer_tiling_set_unittest.cc",
743 "resources/picture_layer_tiling_unittest.cc",
744 "resources/picture_pile_impl_unittest.cc",
745 "resources/picture_pile_unittest.cc",
746 "resources/picture_unittest.cc",
747 "resources/prioritized_resource_unittest.cc",
[email protected]d05751a22014-05-29 20:54:24748 "resources/raster_worker_pool_unittest.cc",
749 "resources/resource_provider_unittest.cc",
750 "resources/resource_update_controller_unittest.cc",
751 "resources/scoped_resource_unittest.cc",
752 "resources/task_graph_runner_unittest.cc",
753 "resources/texture_mailbox_deleter_unittest.cc",
754 "resources/texture_uploader_unittest.cc",
755 "resources/tile_manager_unittest.cc",
756 "resources/tile_priority_unittest.cc",
757 "resources/video_resource_updater_unittest.cc",
mithroc34fc0b12014-09-30 09:10:41758 "scheduler/begin_frame_source_unittest.cc",
[email protected]d05751a22014-05-29 20:54:24759 "scheduler/delay_based_time_source_unittest.cc",
760 "scheduler/scheduler_state_machine_unittest.cc",
761 "scheduler/scheduler_unittest.cc",
762 "test/layer_tree_json_parser_unittest.cc",
763 "test/test_web_graphics_context_3d_unittest.cc",
skyostil3976a3f2014-09-04 22:07:23764 "trees/blocking_task_runner_unittest.cc",
[email protected]d05751a22014-05-29 20:54:24765 "trees/damage_tracker_unittest.cc",
766 "trees/layer_sorter_unittest.cc",
767 "trees/layer_tree_host_common_unittest.cc",
768 "trees/layer_tree_host_impl_unittest.cc",
769 "trees/layer_tree_host_pixeltest_blending.cc",
770 "trees/layer_tree_host_pixeltest_filters.cc",
771 "trees/layer_tree_host_pixeltest_masks.cc",
772 "trees/layer_tree_host_pixeltest_on_demand_raster.cc",
773 "trees/layer_tree_host_pixeltest_readback.cc",
enne69277cb2014-10-29 23:03:40774 "trees/layer_tree_host_pixeltest_synchronous.cc",
[email protected]d05751a22014-05-29 20:54:24775 "trees/layer_tree_host_unittest.cc",
776 "trees/layer_tree_host_unittest_animation.cc",
777 "trees/layer_tree_host_unittest_context.cc",
778 "trees/layer_tree_host_unittest_copyrequest.cc",
779 "trees/layer_tree_host_unittest_damage.cc",
780 "trees/layer_tree_host_unittest_delegated.cc",
781 "trees/layer_tree_host_unittest_occlusion.cc",
782 "trees/layer_tree_host_unittest_no_message_loop.cc",
783 "trees/layer_tree_host_unittest_picture.cc",
784 "trees/layer_tree_host_unittest_proxy.cc",
785 "trees/layer_tree_host_unittest_scroll.cc",
786 "trees/layer_tree_host_unittest_video.cc",
787 "trees/layer_tree_impl_unittest.cc",
788 "trees/occlusion_tracker_unittest.cc",
vmpstr61c35e8d2014-10-07 06:34:33789 "trees/occlusion_unittest.cc",
[email protected]d05751a22014-05-29 20:54:24790 "trees/tree_synchronizer_unittest.cc",
791
792 # Surfaces test files.
793 "surfaces/surface_aggregator_test_helpers.cc",
794 "surfaces/surface_aggregator_test_helpers.h",
795 "surfaces/surface_aggregator_unittest.cc",
796 "surfaces/surface_unittest.cc",
797 "surfaces/surfaces_pixeltest.cc",
798
799 # Setup.
800 "test/run_all_unittests.cc",
801 "test/cc_test_suite.cc",
802 ]
803
804 deps = [
805 ":cc",
[email protected]d05751a22014-05-29 20:54:24806 ":test_support",
807 "//base/test:test_support",
[email protected]6e44c302014-07-22 21:51:37808 "//cc/surfaces",
jamesr16c04ff2014-11-24 22:24:57809 "//cc/surfaces:surface_id",
[email protected]d05751a22014-05-29 20:54:24810 "//gpu",
[email protected]c7990dbf2014-07-23 22:35:10811 "//gpu:test_support",
jbromancba3d2fe2014-09-16 01:04:24812 "//gpu/command_buffer/client:gles2_interface",
[email protected]845c4e32014-08-13 11:50:40813 "//gpu/command_buffer/common:gles2_utils",
[email protected]6e44c302014-07-22 21:51:37814 "//media",
[email protected]d05751a22014-05-29 20:54:24815 "//testing/gmock",
816 "//testing/gtest",
817 "//ui/events:events_base",
818 "//ui/gfx",
819 "//ui/gfx/geometry",
jamesr16c04ff2014-11-24 22:24:57820 "//ui/gfx:test_support",
821 "//ui/gl",
[email protected]d05751a22014-05-29 20:54:24822 ]
823}
824
825test("cc_perftests") {
[email protected]6e44c302014-07-22 21:51:37826 sources = [
827 "layers/layer_perftest.cc",
828 "layers/picture_layer_impl_perftest.cc",
829 "resources/picture_layer_tiling_perftest.cc",
830 "resources/picture_pile_impl_perftest.cc",
831 "resources/raster_worker_pool_perftest.cc",
832 "resources/task_graph_runner_perftest.cc",
833 "resources/tile_manager_perftest.cc",
834 "test/cc_test_suite.cc",
835 "test/run_all_perftests.cc",
836 "trees/layer_tree_host_common_perftest.cc",
837 "trees/layer_tree_host_perftest.cc",
838 "trees/occlusion_tracker_perftest.cc",
839 ]
[email protected]d05751a22014-05-29 20:54:24840
[email protected]6e44c302014-07-22 21:51:37841 deps = [
842 ":cc",
843 ":test_support",
844 "//base",
jamesr16c04ff2014-11-24 22:24:57845 "//base/test:test_support",
[email protected]6e44c302014-07-22 21:51:37846 "//gpu",
[email protected]c7990dbf2014-07-23 22:35:10847 "//gpu:test_support",
[email protected]845c4e32014-08-13 11:50:40848 "//gpu/command_buffer/common:gles2_utils",
[email protected]6e44c302014-07-22 21:51:37849 "//media",
850 "//skia",
851 "//testing/gmock",
852 "//testing/gtest",
853 "//testing/perf",
854 "//ui/gfx",
855 "//ui/gfx/geometry",
jamesr16c04ff2014-11-24 22:24:57856 "//ui/gl",
[email protected]6e44c302014-07-22 21:51:37857 ]
858}