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
3 # found in the LICENSE file.
5 import("//testing/test.gni")
9 "animation/animation.cc",
10 "animation/animation.h",
11 "animation/animation_curve.cc",
12 "animation/animation_curve.h",
13 "animation/animation_delegate.h",
14 "animation/animation_events.cc",
15 "animation/animation_events.h",
16 "animation/animation_id_provider.cc",
17 "animation/animation_id_provider.h",
18 "animation/animation_registrar.cc",
19 "animation/animation_registrar.h",
20 "animation/keyframed_animation_curve.cc",
21 "animation/keyframed_animation_curve.h",
22 "animation/layer_animation_controller.cc",
23 "animation/layer_animation_controller.h",
24 "animation/layer_animation_event_observer.h",
25 "animation/layer_animation_value_observer.h",
26 "animation/layer_animation_value_provider.h",
27 "animation/scroll_offset_animation_curve.cc",
28 "animation/scroll_offset_animation_curve.h",
29 "animation/scrollbar_animation_controller.h",
30 "animation/scrollbar_animation_controller.cc",
31 "animation/scrollbar_animation_controller_linear_fade.cc",
32 "animation/scrollbar_animation_controller_linear_fade.h",
33 "animation/scrollbar_animation_controller_thinning.cc",
34 "animation/scrollbar_animation_controller_thinning.h",
35 "animation/timing_function.cc",
36 "animation/timing_function.h",
37 "animation/transform_operation.cc",
38 "animation/transform_operation.h",
39 "animation/transform_operations.cc",
40 "animation/transform_operations.h",
41 "base/completion_event.h",
42 "base/delayed_unique_notifier.cc",
43 "base/delayed_unique_notifier.h",
44 "base/invalidation_region.cc",
45 "base/invalidation_region.h",
46 "base/latency_info_swap_promise.cc",
47 "base/latency_info_swap_promise.h",
48 "base/latency_info_swap_promise_monitor.cc",
49 "base/latency_info_swap_promise_monitor.h",
52 "base/ref_counted_managed.h",
55 "base/rolling_time_delta_history.cc",
56 "base/rolling_time_delta_history.h",
57 "base/scoped_ptr_algorithm.h",
58 "base/scoped_ptr_deque.h",
59 "base/scoped_ptr_vector.h",
60 "base/simple_enclosed_region.cc",
61 "base/simple_enclosed_region.h",
62 "base/swap_promise.h",
63 "base/swap_promise_monitor.cc",
64 "base/swap_promise_monitor.h",
67 "base/synced_property.h",
68 "base/tiling_data.cc",
71 "base/unique_notifier.cc",
72 "base/unique_notifier.h",
74 "debug/benchmark_instrumentation.cc",
75 "debug/benchmark_instrumentation.h",
76 "debug/debug_colors.cc",
77 "debug/debug_colors.h",
78 "debug/debug_rect_history.cc",
79 "debug/debug_rect_history.h",
80 "debug/devtools_instrumentation.h",
81 "debug/frame_rate_counter.cc",
82 "debug/frame_rate_counter.h",
83 "debug/frame_timing_request.cc",
84 "debug/frame_timing_request.h",
85 "debug/frame_timing_tracker.cc",
86 "debug/frame_timing_tracker.h",
87 "debug/frame_viewer_instrumentation.cc",
88 "debug/frame_viewer_instrumentation.h",
89 "debug/invalidation_benchmark.cc",
90 "debug/invalidation_benchmark.h",
93 "debug/layer_tree_debug_state.cc",
94 "debug/layer_tree_debug_state.h",
95 "debug/micro_benchmark.cc",
96 "debug/micro_benchmark.h",
97 "debug/micro_benchmark_impl.cc",
98 "debug/micro_benchmark_impl.h",
99 "debug/micro_benchmark_controller.cc",
100 "debug/micro_benchmark_controller.h",
101 "debug/micro_benchmark_controller_impl.cc",
102 "debug/micro_benchmark_controller_impl.h",
103 "debug/paint_time_counter.cc",
104 "debug/paint_time_counter.h",
105 "debug/picture_debug_util.cc",
106 "debug/picture_debug_util.h",
107 "debug/picture_record_benchmark.cc",
108 "debug/picture_record_benchmark.h",
109 "debug/rasterize_and_record_benchmark.cc",
110 "debug/rasterize_and_record_benchmark.h",
111 "debug/rasterize_and_record_benchmark_impl.cc",
112 "debug/rasterize_and_record_benchmark_impl.h",
113 "debug/rendering_stats.cc",
114 "debug/rendering_stats.h",
115 "debug/rendering_stats_instrumentation.cc",
116 "debug/rendering_stats_instrumentation.h",
117 "debug/ring_buffer.h",
118 "debug/traced_picture.cc",
119 "debug/traced_picture.h",
120 "debug/traced_value.cc",
121 "debug/traced_value.h",
122 "debug/unittest_only_benchmark.cc",
123 "debug/unittest_only_benchmark.h",
124 "debug/unittest_only_benchmark_impl.cc",
125 "debug/unittest_only_benchmark_impl.h",
126 "input/input_handler.cc",
127 "input/input_handler.h",
128 "input/page_scale_animation.cc",
129 "input/page_scale_animation.h",
130 "input/layer_selection_bound.cc",
131 "input/layer_selection_bound.h",
132 "input/scroll_elasticity_helper.cc",
133 "input/scroll_elasticity_helper.h",
134 "input/selection_bound_type.h",
135 "input/top_controls_manager.cc",
136 "input/top_controls_manager.h",
137 "input/top_controls_manager_client.h",
138 "layers/append_quads_data.h",
139 "layers/content_layer.cc",
140 "layers/content_layer.h",
141 "layers/content_layer_client.h",
142 "layers/contents_scaling_layer.cc",
143 "layers/contents_scaling_layer.h",
144 "layers/delegated_frame_provider.cc",
145 "layers/delegated_frame_provider.h",
146 "layers/delegated_frame_resource_collection.cc",
147 "layers/delegated_frame_resource_collection.h",
148 "layers/delegated_renderer_layer.cc",
149 "layers/delegated_renderer_layer.h",
150 "layers/delegated_renderer_layer_impl.cc",
151 "layers/delegated_renderer_layer_impl.h",
152 "layers/draw_properties.h",
153 "layers/heads_up_display_layer.cc",
154 "layers/heads_up_display_layer.h",
155 "layers/heads_up_display_layer_impl.cc",
156 "layers/heads_up_display_layer_impl.h",
157 "layers/image_layer.cc",
158 "layers/image_layer.h",
159 "layers/io_surface_layer.cc",
160 "layers/io_surface_layer.h",
161 "layers/io_surface_layer_impl.cc",
162 "layers/io_surface_layer_impl.h",
165 "layers/layer_client.h",
166 "layers/layer_impl.cc",
167 "layers/layer_impl.h",
168 "layers/layer_iterator.h",
169 "layers/layer_lists.cc",
170 "layers/layer_lists.h",
171 "layers/layer_position_constraint.cc",
172 "layers/layer_position_constraint.h",
173 "layers/layer_utils.cc",
174 "layers/layer_utils.h",
175 "layers/nine_patch_layer.cc",
176 "layers/nine_patch_layer.h",
177 "layers/nine_patch_layer_impl.cc",
178 "layers/nine_patch_layer_impl.h",
179 "layers/paint_properties.h",
180 "layers/painted_scrollbar_layer.cc",
181 "layers/painted_scrollbar_layer.h",
182 "layers/painted_scrollbar_layer_impl.cc",
183 "layers/painted_scrollbar_layer_impl.h",
184 "layers/picture_image_layer.cc",
185 "layers/picture_image_layer.h",
186 "layers/picture_image_layer_impl.cc",
187 "layers/picture_image_layer_impl.h",
188 "layers/picture_layer.cc",
189 "layers/picture_layer.h",
190 "layers/picture_layer_impl.cc",
191 "layers/picture_layer_impl.h",
192 "layers/render_pass_sink.h",
193 "layers/render_surface.cc",
194 "layers/render_surface.h",
195 "layers/render_surface_impl.cc",
196 "layers/render_surface_impl.h",
197 "layers/scrollbar_layer_impl_base.cc",
198 "layers/scrollbar_layer_impl_base.h",
199 "layers/scrollbar_layer_interface.h",
200 "layers/solid_color_layer.cc",
201 "layers/solid_color_layer.h",
202 "layers/solid_color_layer_impl.cc",
203 "layers/solid_color_layer_impl.h",
204 "layers/solid_color_scrollbar_layer.cc",
205 "layers/solid_color_scrollbar_layer.h",
206 "layers/solid_color_scrollbar_layer_impl.cc",
207 "layers/solid_color_scrollbar_layer_impl.h",
208 "layers/surface_layer.cc",
209 "layers/surface_layer.h",
210 "layers/surface_layer_impl.cc",
211 "layers/surface_layer_impl.h",
212 "layers/texture_layer.cc",
213 "layers/texture_layer.h",
214 "layers/texture_layer_client.h",
215 "layers/texture_layer_impl.cc",
216 "layers/texture_layer_impl.h",
217 "layers/tiled_layer.cc",
218 "layers/tiled_layer.h",
219 "layers/tiled_layer_impl.cc",
220 "layers/tiled_layer_impl.h",
221 "layers/ui_resource_layer.cc",
222 "layers/ui_resource_layer.h",
223 "layers/ui_resource_layer_impl.cc",
224 "layers/ui_resource_layer_impl.h",
225 "layers/video_frame_provider.h",
226 "layers/video_frame_provider_client_impl.cc",
227 "layers/video_frame_provider_client_impl.h",
228 "layers/video_layer.cc",
229 "layers/video_layer.h",
230 "layers/video_layer_impl.cc",
231 "layers/video_layer_impl.h",
232 "output/begin_frame_args.cc",
233 "output/begin_frame_args.h",
234 "output/bsp_tree.cc",
236 "output/bsp_walk_action.cc",
237 "output/bsp_walk_action.h",
238 "output/compositor_frame.cc",
239 "output/compositor_frame.h",
240 "output/compositor_frame_ack.cc",
241 "output/compositor_frame_ack.h",
242 "output/compositor_frame_metadata.cc",
243 "output/compositor_frame_metadata.h",
244 "output/context_provider.cc",
245 "output/context_provider.h",
246 "output/copy_output_request.cc",
247 "output/copy_output_request.h",
248 "output/copy_output_result.cc",
249 "output/copy_output_result.h",
250 "output/delegated_frame_data.cc",
251 "output/delegated_frame_data.h",
252 "output/delegating_renderer.cc",
253 "output/delegating_renderer.h",
254 "output/direct_renderer.cc",
255 "output/direct_renderer.h",
256 "output/filter_operation.cc",
257 "output/filter_operation.h",
258 "output/filter_operations.cc",
259 "output/filter_operations.h",
260 "output/geometry_binding.cc",
261 "output/geometry_binding.h",
262 "output/gl_frame_data.cc",
263 "output/gl_frame_data.h",
264 "output/gl_renderer.cc",
265 "output/gl_renderer.h",
266 "output/gl_renderer_draw_cache.cc",
267 "output/gl_renderer_draw_cache.h",
268 "output/managed_memory_policy.cc",
269 "output/managed_memory_policy.h",
270 "output/output_surface.cc",
271 "output/output_surface.h",
272 "output/output_surface_client.h",
273 "output/overlay_candidate.cc",
274 "output/overlay_candidate.h",
275 "output/overlay_candidate_validator.h",
276 "output/overlay_processor.cc",
277 "output/overlay_processor.h",
278 "output/overlay_strategy_single_on_top.cc",
279 "output/overlay_strategy_single_on_top.h",
280 "output/program_binding.cc",
281 "output/program_binding.h",
282 "output/render_surface_filters.cc",
283 "output/render_surface_filters.h",
284 "output/renderer.cc",
286 "output/renderer_settings.cc",
287 "output/renderer_settings.h",
290 "output/software_frame_data.cc",
291 "output/software_frame_data.h",
292 "output/software_output_device.cc",
293 "output/software_output_device.h",
294 "output/software_renderer.cc",
295 "output/software_renderer.h",
296 "output/viewport_selection_bound.cc",
297 "output/viewport_selection_bound.h",
298 "output/vsync_parameter_observer.h",
299 "quads/checkerboard_draw_quad.cc",
300 "quads/checkerboard_draw_quad.h",
301 "quads/content_draw_quad_base.cc",
302 "quads/content_draw_quad_base.h",
303 "quads/debug_border_draw_quad.cc",
304 "quads/debug_border_draw_quad.h",
305 "quads/draw_polygon.cc",
306 "quads/draw_polygon.h",
307 "quads/draw_quad.cc",
309 "quads/io_surface_draw_quad.cc",
310 "quads/io_surface_draw_quad.h",
311 "quads/largest_draw_quad.h",
312 "quads/largest_draw_quad.cc",
313 "quads/list_container.cc",
314 "quads/list_container.h",
315 "quads/picture_draw_quad.cc",
316 "quads/picture_draw_quad.h",
317 "quads/render_pass.cc",
318 "quads/render_pass.h",
319 "quads/render_pass_draw_quad.cc",
320 "quads/render_pass_draw_quad.h",
321 "quads/render_pass_id.cc",
322 "quads/render_pass_id.h",
323 "quads/shared_quad_state.cc",
324 "quads/shared_quad_state.h",
325 "quads/solid_color_draw_quad.cc",
326 "quads/solid_color_draw_quad.h",
327 "quads/stream_video_draw_quad.cc",
328 "quads/stream_video_draw_quad.h",
329 "quads/surface_draw_quad.cc",
330 "quads/surface_draw_quad.h",
331 "quads/texture_draw_quad.cc",
332 "quads/texture_draw_quad.h",
333 "quads/tile_draw_quad.cc",
334 "quads/tile_draw_quad.h",
335 "quads/yuv_video_draw_quad.cc",
336 "quads/yuv_video_draw_quad.h",
337 "resources/bitmap_content_layer_updater.cc",
338 "resources/bitmap_content_layer_updater.h",
339 "resources/bitmap_tile_task_worker_pool.cc",
340 "resources/bitmap_tile_task_worker_pool.h",
341 "resources/bitmap_skpicture_content_layer_updater.cc",
342 "resources/bitmap_skpicture_content_layer_updater.h",
343 "resources/clip_display_item.cc",
344 "resources/clip_display_item.h",
345 "resources/clip_path_display_item.cc",
346 "resources/clip_path_display_item.h",
347 "resources/content_layer_updater.cc",
348 "resources/content_layer_updater.h",
349 "resources/display_item.cc",
350 "resources/display_item.h",
351 "resources/display_item_list.cc",
352 "resources/display_item_list.h",
353 "resources/display_list_raster_source.cc",
354 "resources/display_list_raster_source.h",
355 "resources/display_list_recording_source.cc",
356 "resources/display_list_recording_source.h",
357 "resources/drawing_display_item.cc",
358 "resources/drawing_display_item.h",
359 "resources/eviction_tile_priority_queue.cc",
360 "resources/eviction_tile_priority_queue.h",
361 "resources/filter_display_item.cc",
362 "resources/filter_display_item.h",
363 "resources/float_clip_display_item.cc",
364 "resources/float_clip_display_item.h",
365 "resources/gpu_rasterizer.cc",
366 "resources/gpu_rasterizer.h",
367 "resources/gpu_tile_task_worker_pool.cc",
368 "resources/gpu_tile_task_worker_pool.h",
369 "resources/image_layer_updater.cc",
370 "resources/image_layer_updater.h",
371 "resources/layer_painter.h",
372 "resources/layer_quad.cc",
373 "resources/layer_quad.h",
374 "resources/layer_tiling_data.cc",
375 "resources/layer_tiling_data.h",
376 "resources/layer_updater.cc",
377 "resources/layer_updater.h",
378 "resources/memory_history.cc",
379 "resources/memory_history.h",
380 "resources/one_copy_tile_task_worker_pool.cc",
381 "resources/one_copy_tile_task_worker_pool.h",
382 "resources/picture.cc",
383 "resources/picture.h",
384 "resources/picture_layer_tiling.cc",
385 "resources/picture_layer_tiling.h",
386 "resources/picture_layer_tiling_set.cc",
387 "resources/picture_layer_tiling_set.h",
388 "resources/picture_pile.cc",
389 "resources/picture_pile.h",
390 "resources/picture_pile_impl.cc",
391 "resources/picture_pile_impl.h",
392 "resources/pixel_buffer_tile_task_worker_pool.cc",
393 "resources/pixel_buffer_tile_task_worker_pool.h",
394 "resources/platform_color.h",
395 "resources/prioritized_resource.cc",
396 "resources/prioritized_resource.h",
397 "resources/prioritized_resource_manager.cc",
398 "resources/prioritized_resource_manager.h",
399 "resources/priority_calculator.cc",
400 "resources/priority_calculator.h",
401 "resources/raster_buffer.cc",
402 "resources/raster_buffer.h",
403 "resources/raster_source.h",
404 "resources/raster_source_helper.cc",
405 "resources/raster_source_helper.h",
406 "resources/raster_tile_priority_queue_all.cc",
407 "resources/raster_tile_priority_queue_all.h",
408 "resources/raster_tile_priority_queue_required.cc",
409 "resources/raster_tile_priority_queue_required.h",
410 "resources/raster_tile_priority_queue.cc",
411 "resources/raster_tile_priority_queue.h",
412 "resources/rasterizer.h",
413 "resources/software_rasterizer.cc",
414 "resources/software_rasterizer.h",
415 "resources/tile_task_worker_pool.cc",
416 "resources/tile_task_worker_pool.h",
417 "resources/tile_task_runner.cc",
418 "resources/tile_task_runner.h",
419 "resources/release_callback.h",
420 "resources/resource.cc",
421 "resources/resource.h",
422 "resources/resource_format.cc",
423 "resources/resource_format.h",
424 "resources/resource_pool.cc",
425 "resources/resource_pool.h",
426 "resources/resource_provider.cc",
427 "resources/resource_provider.h",
428 "resources/resource_update.cc",
429 "resources/resource_update.h",
430 "resources/resource_update_controller.cc",
431 "resources/resource_update_controller.h",
432 "resources/resource_update_queue.cc",
433 "resources/resource_update_queue.h",
434 "resources/returned_resource.h",
435 "resources/scoped_gpu_raster.cc",
436 "resources/scoped_gpu_raster.h",
437 "resources/scoped_resource.cc",
438 "resources/scoped_resource.h",
439 "resources/scoped_ui_resource.cc",
440 "resources/scoped_ui_resource.h",
441 "resources/shared_bitmap.cc",
442 "resources/shared_bitmap.h",
443 "resources/shared_bitmap_manager.h",
444 "resources/single_release_callback.cc",
445 "resources/single_release_callback.h",
446 "resources/single_release_callback_impl.cc",
447 "resources/single_release_callback_impl.h",
448 "resources/skpicture_content_layer_updater.cc",
449 "resources/skpicture_content_layer_updater.h",
450 "resources/task_graph_runner.cc",
451 "resources/task_graph_runner.h",
452 "resources/texture_mailbox.cc",
453 "resources/texture_mailbox.h",
454 "resources/texture_mailbox_deleter.cc",
455 "resources/texture_mailbox_deleter.h",
456 "resources/texture_uploader.cc",
457 "resources/texture_uploader.h",
460 "resources/tile_draw_info.cc",
461 "resources/tile_draw_info.h",
462 "resources/tile_manager.cc",
463 "resources/tile_manager.h",
464 "resources/tile_priority.cc",
465 "resources/tile_priority.h",
466 "resources/tiling_set_eviction_queue.cc",
467 "resources/tiling_set_eviction_queue.h",
468 "resources/tiling_set_raster_queue_all.cc",
469 "resources/tiling_set_raster_queue_all.h",
470 "resources/tiling_set_raster_queue_required.cc",
471 "resources/tiling_set_raster_queue_required.h",
472 "resources/transferable_resource.cc",
473 "resources/transferable_resource.h",
474 "resources/transform_display_item.cc",
475 "resources/transform_display_item.h",
476 "resources/transparency_display_item.cc",
477 "resources/transparency_display_item.h",
478 "resources/ui_resource_bitmap.cc",
479 "resources/ui_resource_bitmap.h",
480 "resources/ui_resource_client.h",
481 "resources/ui_resource_request.cc",
482 "resources/ui_resource_request.h",
483 "resources/video_resource_updater.cc",
484 "resources/video_resource_updater.h",
485 "resources/zero_copy_tile_task_worker_pool.cc",
486 "resources/zero_copy_tile_task_worker_pool.h",
487 "scheduler/begin_frame_source.cc",
488 "scheduler/begin_frame_source.h",
489 "scheduler/commit_earlyout_reason.h",
490 "scheduler/delay_based_time_source.cc",
491 "scheduler/delay_based_time_source.h",
492 "scheduler/draw_result.h",
493 "scheduler/scheduler.cc",
494 "scheduler/scheduler.h",
495 "scheduler/scheduler_settings.cc",
496 "scheduler/scheduler_settings.h",
497 "scheduler/scheduler_state_machine.cc",
498 "scheduler/scheduler_state_machine.h",
499 "trees/blocking_task_runner.cc",
500 "trees/blocking_task_runner.h",
501 "trees/damage_tracker.cc",
502 "trees/damage_tracker.h",
503 "trees/draw_property_utils.cc",
504 "trees/draw_property_utils.h",
505 "trees/layer_sorter.cc",
506 "trees/layer_sorter.h",
507 "trees/layer_tree_host.cc",
508 "trees/layer_tree_host.h",
509 "trees/layer_tree_host_client.h",
510 "trees/layer_tree_host_common.cc",
511 "trees/layer_tree_host_common.h",
512 "trees/layer_tree_host_impl.cc",
513 "trees/layer_tree_host_impl.h",
514 "trees/layer_tree_impl.cc",
515 "trees/layer_tree_impl.h",
516 "trees/layer_tree_settings.cc",
517 "trees/layer_tree_settings.h",
518 "trees/occlusion.cc",
520 "trees/occlusion_tracker.cc",
521 "trees/occlusion_tracker.h",
522 "trees/property_tree.cc",
523 "trees/property_tree.h",
524 "trees/property_tree_builder.cc",
525 "trees/property_tree_builder.h",
528 "trees/proxy_timing_history.cc",
529 "trees/proxy_timing_history.h",
530 "trees/scoped_abort_remaining_swap_promises.h",
531 "trees/single_thread_proxy.cc",
532 "trees/single_thread_proxy.h",
533 "trees/thread_proxy.cc",
534 "trees/thread_proxy.h",
535 "trees/tree_synchronizer.cc",
536 "trees/tree_synchronizer.h",
540 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
541 cflags = [ "/wd4267" ] # size_t -> int
549 "//base/third_party/dynamic_annotations",
550 "//cc/surfaces:surface_id",
552 "//gpu/command_buffer/client:gles2_interface",
553 "//gpu/command_buffer/client:gpu_memory_buffer_manager",
555 "//ui/events:events_base",
560 defines = [ "CC_IMPLEMENTATION=1" ]
562 if (!is_debug && (is_win || is_android)) {
563 configs -= [ "//build/config/compiler:optimize" ]
564 configs += [ "//build/config/compiler:optimize_max" ]
568 source_set("test_support") {
571 "test/animation_test_common.cc",
572 "test/animation_test_common.h",
573 "test/begin_frame_args_test.cc",
574 "test/begin_frame_args_test.h",
575 "test/fake_content_layer.cc",
576 "test/fake_content_layer.h",
577 "test/fake_content_layer_client.cc",
578 "test/fake_content_layer_client.h",
579 "test/fake_content_layer_impl.cc",
580 "test/fake_content_layer_impl.h",
581 "test/fake_delegated_renderer_layer.cc",
582 "test/fake_delegated_renderer_layer.h",
583 "test/fake_delegated_renderer_layer_impl.cc",
584 "test/fake_delegated_renderer_layer_impl.h",
585 "test/fake_external_begin_frame_source.cc",
586 "test/fake_external_begin_frame_source.h",
587 "test/fake_impl_proxy.h",
588 "test/fake_layer_tree_host.cc",
589 "test/fake_layer_tree_host.h",
590 "test/fake_layer_tree_host_client.cc",
591 "test/fake_layer_tree_host_client.h",
592 "test/fake_layer_tree_host_impl.cc",
593 "test/fake_layer_tree_host_impl.h",
594 "test/fake_layer_tree_host_impl_client.cc",
595 "test/fake_layer_tree_host_impl_client.h",
596 "test/fake_output_surface.cc",
597 "test/fake_output_surface.h",
598 "test/fake_output_surface_client.cc",
599 "test/fake_output_surface_client.h",
600 "test/fake_painted_scrollbar_layer.cc",
601 "test/fake_painted_scrollbar_layer.h",
602 "test/fake_picture_layer.cc",
603 "test/fake_picture_layer.h",
604 "test/fake_picture_layer_impl.cc",
605 "test/fake_picture_layer_impl.h",
606 "test/fake_picture_layer_tiling_client.cc",
607 "test/fake_picture_layer_tiling_client.h",
608 "test/fake_picture_pile.cc",
609 "test/fake_picture_pile.h",
610 "test/fake_picture_pile_impl.cc",
611 "test/fake_picture_pile_impl.h",
612 "test/fake_proxy.cc",
614 "test/fake_renderer_client.cc",
615 "test/fake_renderer_client.h",
616 "test/fake_rendering_stats_instrumentation.h",
617 "test/fake_scoped_ui_resource.cc",
618 "test/fake_scoped_ui_resource.h",
619 "test/fake_scrollbar.cc",
620 "test/fake_scrollbar.h",
621 "test/fake_tile_manager.cc",
622 "test/fake_tile_manager.h",
623 "test/fake_tile_manager_client.cc",
624 "test/fake_tile_manager_client.h",
625 "test/fake_ui_resource_layer_tree_host_impl.cc",
626 "test/fake_ui_resource_layer_tree_host_impl.h",
627 "test/fake_video_frame_provider.cc",
628 "test/fake_video_frame_provider.h",
629 "test/failure_output_surface.cc",
630 "test/failure_output_surface.h",
631 "test/geometry_test_utils.cc",
632 "test/geometry_test_utils.h",
633 "test/test_in_process_context_provider.cc",
634 "test/test_in_process_context_provider.h",
635 "test/impl_side_painting_settings.h",
636 "test/layer_test_common.cc",
637 "test/layer_test_common.h",
638 "test/layer_tree_host_common_test.cc",
639 "test/layer_tree_host_common_test.h",
640 "test/layer_tree_json_parser.cc",
641 "test/layer_tree_json_parser.h",
642 "test/layer_tree_pixel_resource_test.cc",
643 "test/layer_tree_pixel_resource_test.h",
644 "test/layer_tree_pixel_test.cc",
645 "test/layer_tree_pixel_test.h",
646 "test/layer_tree_test.cc",
647 "test/layer_tree_test.h",
648 "test/mock_occlusion_tracker.h",
649 "test/ordered_simple_task_runner.cc",
650 "test/ordered_simple_task_runner.h",
651 "test/ordered_texture_map.cc",
652 "test/ordered_texture_map.h",
655 "test/pixel_comparator.cc",
656 "test/pixel_comparator.h",
657 "test/pixel_test.cc",
659 "test/pixel_test_output_surface.cc",
660 "test/pixel_test_output_surface.h",
661 "test/pixel_test_software_output_device.cc",
662 "test/pixel_test_software_output_device.h",
663 "test/pixel_test_utils.cc",
664 "test/pixel_test_utils.h",
665 "test/render_pass_test_common.cc",
666 "test/render_pass_test_common.h",
667 "test/render_pass_test_utils.cc",
668 "test/render_pass_test_utils.h",
669 "test/scheduler_test_common.cc",
670 "test/scheduler_test_common.h",
671 "test/skia_common.cc",
672 "test/skia_common.h",
673 "test/solid_color_content_layer_client.cc",
674 "test/solid_color_content_layer_client.h",
675 "test/test_context_provider.cc",
676 "test/test_context_provider.h",
677 "test/test_context_support.cc",
678 "test/test_context_support.h",
679 "test/test_gles2_interface.cc",
680 "test/test_gles2_interface.h",
681 "test/test_gpu_memory_buffer_manager.cc",
682 "test/test_gpu_memory_buffer_manager.h",
683 "test/test_image_factory.cc",
684 "test/test_image_factory.h",
685 "test/test_now_source.cc",
686 "test/test_now_source.h",
687 "test/test_occlusion_tracker.h",
688 "test/test_shared_bitmap_manager.cc",
689 "test/test_shared_bitmap_manager.h",
690 "test/test_texture.cc",
691 "test/test_texture.h",
692 "test/test_tile_priorities.cc",
693 "test/test_tile_priorities.h",
694 "test/test_web_graphics_context_3d.cc",
695 "test/test_web_graphics_context_3d.h",
696 "test/tiled_layer_test_common.cc",
697 "test/tiled_layer_test_common.h",
707 "//gpu:test_support",
711 "//base/test:test_support",
712 "//base/third_party/dynamic_annotations",
713 "//gpu/command_buffer/client:gles2_c_lib",
714 "//gpu/command_buffer/client:gles2_implementation",
715 "//gpu/command_buffer/client:gpu_memory_buffer_manager",
716 "//gpu/command_buffer/client:gl_in_process_context",
717 "//gpu/command_buffer/common:gles2_utils",
718 "//gpu/skia_bindings",
725 "//ui/gfx:test_support",
729 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links.
730 deps += [ "//third_party/mesa:osmesa" ]
734 test("cc_unittests") {
736 "animation/animation_unittest.cc",
737 "animation/keyframed_animation_curve_unittest.cc",
738 "animation/layer_animation_controller_unittest.cc",
739 "animation/scroll_offset_animation_curve_unittest.cc",
740 "animation/scrollbar_animation_controller_linear_fade_unittest.cc",
741 "animation/scrollbar_animation_controller_thinning_unittest.cc",
742 "animation/transform_operations_unittest.cc",
743 "base/float_quad_unittest.cc",
744 "base/math_util_unittest.cc",
745 "base/region_unittest.cc",
746 "base/rolling_time_delta_history_unittest.cc",
747 "base/scoped_ptr_vector_unittest.cc",
748 "base/simple_enclosed_region_unittest.cc",
749 "base/tiling_data_unittest.cc",
750 "base/util_unittest.cc",
751 "debug/frame_timing_tracker_unittest.cc",
752 "debug/micro_benchmark_controller_unittest.cc",
753 "input/top_controls_manager_unittest.cc",
754 "layers/contents_scaling_layer_unittest.cc",
755 "layers/delegated_frame_provider_unittest.cc",
756 "layers/delegated_frame_resource_collection_unittest.cc",
757 "layers/delegated_renderer_layer_impl_unittest.cc",
758 "layers/delegated_renderer_layer_unittest.cc",
759 "layers/heads_up_display_unittest.cc",
760 "layers/heads_up_display_layer_impl_unittest.cc",
761 "layers/io_surface_layer_impl_unittest.cc",
762 "layers/layer_impl_unittest.cc",
763 "layers/layer_iterator_unittest.cc",
764 "layers/layer_position_constraint_unittest.cc",
765 "layers/layer_unittest.cc",
766 "layers/layer_utils_unittest.cc",
767 "layers/nine_patch_layer_impl_unittest.cc",
768 "layers/nine_patch_layer_unittest.cc",
769 "layers/painted_scrollbar_layer_impl_unittest.cc",
770 "layers/picture_image_layer_impl_unittest.cc",
771 "layers/picture_image_layer_unittest.cc",
772 "layers/picture_layer_impl_unittest.cc",
773 "layers/picture_layer_unittest.cc",
774 "layers/render_surface_unittest.cc",
775 "layers/render_surface_impl_unittest.cc",
776 "layers/scrollbar_layer_unittest.cc",
777 "layers/solid_color_layer_impl_unittest.cc",
778 "layers/solid_color_scrollbar_layer_impl_unittest.cc",
779 "layers/surface_layer_unittest.cc",
780 "layers/surface_layer_impl_unittest.cc",
781 "layers/texture_layer_unittest.cc",
782 "layers/texture_layer_impl_unittest.cc",
783 "layers/tiled_layer_impl_unittest.cc",
784 "layers/tiled_layer_unittest.cc",
785 "layers/ui_resource_layer_impl_unittest.cc",
786 "layers/ui_resource_layer_unittest.cc",
787 "layers/video_layer_impl_unittest.cc",
788 "output/begin_frame_args_unittest.cc",
789 "output/delegating_renderer_unittest.cc",
790 "output/filter_operations_unittest.cc",
791 "output/gl_renderer_unittest.cc",
792 "output/output_surface_unittest.cc",
793 "output/overlay_unittest.cc",
794 "output/renderer_pixeltest.cc",
795 "output/renderer_unittest.cc",
796 "output/shader_unittest.cc",
797 "output/software_renderer_unittest.cc",
798 "quads/draw_quad_unittest.cc",
799 "quads/list_container_unittest.cc",
800 "quads/render_pass_unittest.cc",
801 "resources/display_item_list_unittest.cc",
802 "resources/layer_quad_unittest.cc",
803 "resources/picture_layer_tiling_set_unittest.cc",
804 "resources/picture_layer_tiling_unittest.cc",
805 "resources/picture_pile_impl_unittest.cc",
806 "resources/picture_pile_unittest.cc",
807 "resources/picture_unittest.cc",
808 "resources/prioritized_resource_unittest.cc",
809 "resources/tile_task_worker_pool_unittest.cc",
810 "resources/resource_provider_unittest.cc",
811 "resources/resource_update_controller_unittest.cc",
812 "resources/scoped_gpu_raster_unittest.cc",
813 "resources/scoped_resource_unittest.cc",
814 "resources/task_graph_runner_unittest.cc",
815 "resources/texture_mailbox_deleter_unittest.cc",
816 "resources/texture_uploader_unittest.cc",
817 "resources/tile_manager_unittest.cc",
818 "resources/tile_priority_unittest.cc",
819 "resources/video_resource_updater_unittest.cc",
820 "scheduler/begin_frame_source_unittest.cc",
821 "scheduler/delay_based_time_source_unittest.cc",
822 "scheduler/scheduler_state_machine_unittest.cc",
823 "scheduler/scheduler_unittest.cc",
824 "test/layer_tree_json_parser_unittest.cc",
825 "test/test_web_graphics_context_3d_unittest.cc",
826 "trees/blocking_task_runner_unittest.cc",
827 "trees/damage_tracker_unittest.cc",
828 "trees/layer_sorter_unittest.cc",
829 "trees/layer_tree_host_common_unittest.cc",
830 "trees/layer_tree_host_impl_unittest.cc",
831 "trees/layer_tree_host_pixeltest_blending.cc",
832 "trees/layer_tree_host_pixeltest_filters.cc",
833 "trees/layer_tree_host_pixeltest_masks.cc",
834 "trees/layer_tree_host_pixeltest_on_demand_raster.cc",
835 "trees/layer_tree_host_pixeltest_readback.cc",
836 "trees/layer_tree_host_pixeltest_synchronous.cc",
837 "trees/layer_tree_host_unittest.cc",
838 "trees/layer_tree_host_unittest_animation.cc",
839 "trees/layer_tree_host_unittest_context.cc",
840 "trees/layer_tree_host_unittest_copyrequest.cc",
841 "trees/layer_tree_host_unittest_damage.cc",
842 "trees/layer_tree_host_unittest_delegated.cc",
843 "trees/layer_tree_host_unittest_occlusion.cc",
844 "trees/layer_tree_host_unittest_no_message_loop.cc",
845 "trees/layer_tree_host_unittest_picture.cc",
846 "trees/layer_tree_host_unittest_proxy.cc",
847 "trees/layer_tree_host_unittest_scroll.cc",
848 "trees/layer_tree_host_unittest_video.cc",
849 "trees/layer_tree_impl_unittest.cc",
850 "trees/occlusion_tracker_unittest.cc",
851 "trees/occlusion_unittest.cc",
852 "trees/property_tree_unittest.cc",
853 "trees/tree_synchronizer_unittest.cc",
855 # Surfaces test files.
856 "surfaces/surface_aggregator_test_helpers.cc",
857 "surfaces/surface_aggregator_test_helpers.h",
858 "surfaces/surface_aggregator_unittest.cc",
859 "surfaces/surface_unittest.cc",
860 "surfaces/surfaces_pixeltest.cc",
863 "test/run_all_unittests.cc",
864 "test/cc_test_suite.cc",
870 "//base/test:test_support",
872 "//cc/surfaces:surface_id",
874 "//gpu:test_support",
875 "//gpu/command_buffer/client:gles2_interface",
876 "//gpu/command_buffer/common:gles2_utils",
880 "//ui/events:events_base",
883 "//ui/gfx:test_support",
888 test("cc_perftests") {
890 "layers/layer_perftest.cc",
891 "layers/picture_layer_impl_perftest.cc",
892 "resources/picture_layer_tiling_perftest.cc",
893 "resources/picture_pile_impl_perftest.cc",
894 "resources/tile_task_worker_pool_perftest.cc",
895 "resources/task_graph_runner_perftest.cc",
896 "resources/tile_manager_perftest.cc",
897 "test/cc_test_suite.cc",
898 "test/run_all_perftests.cc",
899 "trees/layer_tree_host_common_perftest.cc",
900 "trees/layer_tree_host_perftest.cc",
901 "trees/occlusion_tracker_perftest.cc",
908 "//base/test:test_support",
910 "//gpu:test_support",
911 "//gpu/command_buffer/common:gles2_utils",