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.cc",
30 "animation/scrollbar_animation_controller.h",
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 "debug/benchmark_instrumentation.cc",
42 "debug/benchmark_instrumentation.h",
43 "debug/debug_colors.cc",
44 "debug/debug_colors.h",
45 "debug/debug_rect_history.cc",
46 "debug/debug_rect_history.h",
47 "debug/devtools_instrumentation.h",
48 "debug/frame_rate_counter.cc",
49 "debug/frame_rate_counter.h",
50 "debug/frame_timing_request.cc",
51 "debug/frame_timing_request.h",
52 "debug/frame_timing_tracker.cc",
53 "debug/frame_timing_tracker.h",
54 "debug/frame_viewer_instrumentation.cc",
55 "debug/frame_viewer_instrumentation.h",
56 "debug/invalidation_benchmark.cc",
57 "debug/invalidation_benchmark.h",
60 "debug/layer_tree_debug_state.cc",
61 "debug/layer_tree_debug_state.h",
62 "debug/micro_benchmark.cc",
63 "debug/micro_benchmark.h",
64 "debug/micro_benchmark_controller.cc",
65 "debug/micro_benchmark_controller.h",
66 "debug/micro_benchmark_controller_impl.cc",
67 "debug/micro_benchmark_controller_impl.h",
68 "debug/micro_benchmark_impl.cc",
69 "debug/micro_benchmark_impl.h",
70 "debug/paint_time_counter.cc",
71 "debug/paint_time_counter.h",
72 "debug/picture_debug_util.cc",
73 "debug/picture_debug_util.h",
74 "debug/picture_record_benchmark.cc",
75 "debug/picture_record_benchmark.h",
76 "debug/rasterize_and_record_benchmark.cc",
77 "debug/rasterize_and_record_benchmark.h",
78 "debug/rasterize_and_record_benchmark_impl.cc",
79 "debug/rasterize_and_record_benchmark_impl.h",
80 "debug/rendering_stats.cc",
81 "debug/rendering_stats.h",
82 "debug/rendering_stats_instrumentation.cc",
83 "debug/rendering_stats_instrumentation.h",
84 "debug/ring_buffer.h",
85 "debug/traced_picture.cc",
86 "debug/traced_picture.h",
87 "debug/traced_value.cc",
88 "debug/traced_value.h",
89 "debug/unittest_only_benchmark.cc",
90 "debug/unittest_only_benchmark.h",
91 "debug/unittest_only_benchmark_impl.cc",
92 "debug/unittest_only_benchmark_impl.h",
93 "input/input_handler.cc",
94 "input/input_handler.h",
95 "input/layer_selection_bound.cc",
96 "input/layer_selection_bound.h",
97 "input/page_scale_animation.cc",
98 "input/page_scale_animation.h",
99 "input/scroll_elasticity_helper.cc",
100 "input/scroll_elasticity_helper.h",
102 "input/selection_bound_type.h",
103 "input/top_controls_manager.cc",
104 "input/top_controls_manager.h",
105 "input/top_controls_manager_client.h",
106 "layers/append_quads_data.h",
107 "layers/content_layer.cc",
108 "layers/content_layer.h",
109 "layers/content_layer_client.h",
110 "layers/contents_scaling_layer.cc",
111 "layers/contents_scaling_layer.h",
112 "layers/delegated_frame_provider.cc",
113 "layers/delegated_frame_provider.h",
114 "layers/delegated_frame_resource_collection.cc",
115 "layers/delegated_frame_resource_collection.h",
116 "layers/delegated_renderer_layer.cc",
117 "layers/delegated_renderer_layer.h",
118 "layers/delegated_renderer_layer_impl.cc",
119 "layers/delegated_renderer_layer_impl.h",
120 "layers/draw_properties.h",
121 "layers/heads_up_display_layer.cc",
122 "layers/heads_up_display_layer.h",
123 "layers/heads_up_display_layer_impl.cc",
124 "layers/heads_up_display_layer_impl.h",
125 "layers/image_layer.cc",
126 "layers/image_layer.h",
127 "layers/io_surface_layer.cc",
128 "layers/io_surface_layer.h",
129 "layers/io_surface_layer_impl.cc",
130 "layers/io_surface_layer_impl.h",
133 "layers/layer_client.h",
134 "layers/layer_impl.cc",
135 "layers/layer_impl.h",
136 "layers/layer_iterator.h",
137 "layers/layer_lists.cc",
138 "layers/layer_lists.h",
139 "layers/layer_position_constraint.cc",
140 "layers/layer_position_constraint.h",
141 "layers/layer_utils.cc",
142 "layers/layer_utils.h",
143 "layers/nine_patch_layer.cc",
144 "layers/nine_patch_layer.h",
145 "layers/nine_patch_layer_impl.cc",
146 "layers/nine_patch_layer_impl.h",
147 "layers/paint_properties.h",
148 "layers/painted_scrollbar_layer.cc",
149 "layers/painted_scrollbar_layer.h",
150 "layers/painted_scrollbar_layer_impl.cc",
151 "layers/painted_scrollbar_layer_impl.h",
152 "layers/picture_image_layer.cc",
153 "layers/picture_image_layer.h",
154 "layers/picture_image_layer_impl.cc",
155 "layers/picture_image_layer_impl.h",
156 "layers/picture_layer.cc",
157 "layers/picture_layer.h",
158 "layers/picture_layer_impl.cc",
159 "layers/picture_layer_impl.h",
160 "layers/render_pass_sink.h",
161 "layers/render_surface.cc",
162 "layers/render_surface.h",
163 "layers/render_surface_impl.cc",
164 "layers/render_surface_impl.h",
165 "layers/scrollbar_layer_impl_base.cc",
166 "layers/scrollbar_layer_impl_base.h",
167 "layers/scrollbar_layer_interface.h",
168 "layers/solid_color_layer.cc",
169 "layers/solid_color_layer.h",
170 "layers/solid_color_layer_impl.cc",
171 "layers/solid_color_layer_impl.h",
172 "layers/solid_color_scrollbar_layer.cc",
173 "layers/solid_color_scrollbar_layer.h",
174 "layers/solid_color_scrollbar_layer_impl.cc",
175 "layers/solid_color_scrollbar_layer_impl.h",
176 "layers/surface_layer.cc",
177 "layers/surface_layer.h",
178 "layers/surface_layer_impl.cc",
179 "layers/surface_layer_impl.h",
180 "layers/texture_layer.cc",
181 "layers/texture_layer.h",
182 "layers/texture_layer_client.h",
183 "layers/texture_layer_impl.cc",
184 "layers/texture_layer_impl.h",
185 "layers/tiled_layer.cc",
186 "layers/tiled_layer.h",
187 "layers/tiled_layer_impl.cc",
188 "layers/tiled_layer_impl.h",
189 "layers/ui_resource_layer.cc",
190 "layers/ui_resource_layer.h",
191 "layers/ui_resource_layer_impl.cc",
192 "layers/ui_resource_layer_impl.h",
193 "layers/video_frame_provider.h",
194 "layers/video_frame_provider_client_impl.cc",
195 "layers/video_frame_provider_client_impl.h",
196 "layers/video_layer.cc",
197 "layers/video_layer.h",
198 "layers/video_layer_impl.cc",
199 "layers/video_layer_impl.h",
200 "layers/viewport.cc",
202 "output/begin_frame_args.cc",
203 "output/begin_frame_args.h",
204 "output/bsp_tree.cc",
206 "output/bsp_walk_action.cc",
207 "output/bsp_walk_action.h",
208 "output/compositor_frame.cc",
209 "output/compositor_frame.h",
210 "output/compositor_frame_ack.cc",
211 "output/compositor_frame_ack.h",
212 "output/compositor_frame_metadata.cc",
213 "output/compositor_frame_metadata.h",
214 "output/context_provider.cc",
215 "output/context_provider.h",
216 "output/copy_output_request.cc",
217 "output/copy_output_request.h",
218 "output/copy_output_result.cc",
219 "output/copy_output_result.h",
220 "output/delegated_frame_data.cc",
221 "output/delegated_frame_data.h",
222 "output/delegating_renderer.cc",
223 "output/delegating_renderer.h",
224 "output/direct_renderer.cc",
225 "output/direct_renderer.h",
226 "output/dynamic_geometry_binding.cc",
227 "output/dynamic_geometry_binding.h",
228 "output/filter_operation.cc",
229 "output/filter_operation.h",
230 "output/filter_operations.cc",
231 "output/filter_operations.h",
232 "output/geometry_binding.cc",
233 "output/geometry_binding.h",
234 "output/gl_frame_data.cc",
235 "output/gl_frame_data.h",
236 "output/gl_renderer.cc",
237 "output/gl_renderer.h",
238 "output/gl_renderer_draw_cache.cc",
239 "output/gl_renderer_draw_cache.h",
240 "output/latency_info_swap_promise.cc",
241 "output/latency_info_swap_promise.h",
242 "output/layer_quad.cc",
243 "output/layer_quad.h",
244 "output/managed_memory_policy.cc",
245 "output/managed_memory_policy.h",
246 "output/output_surface.cc",
247 "output/output_surface.h",
248 "output/output_surface_client.h",
249 "output/overlay_candidate.cc",
250 "output/overlay_candidate.h",
251 "output/overlay_candidate_validator.h",
252 "output/overlay_processor.cc",
253 "output/overlay_processor.h",
254 "output/overlay_strategy_common.cc",
255 "output/overlay_strategy_common.h",
256 "output/overlay_strategy_single_on_top.cc",
257 "output/overlay_strategy_single_on_top.h",
258 "output/overlay_strategy_underlay.cc",
259 "output/overlay_strategy_underlay.h",
260 "output/program_binding.cc",
261 "output/program_binding.h",
262 "output/render_surface_filters.cc",
263 "output/render_surface_filters.h",
264 "output/renderer.cc",
266 "output/renderer_capabilities.cc",
267 "output/renderer_capabilities.h",
268 "output/renderer_settings.cc",
269 "output/renderer_settings.h",
272 "output/software_frame_data.cc",
273 "output/software_frame_data.h",
274 "output/software_output_device.cc",
275 "output/software_output_device.h",
276 "output/software_renderer.cc",
277 "output/software_renderer.h",
278 "output/static_geometry_binding.cc",
279 "output/static_geometry_binding.h",
280 "output/swap_promise.h",
281 "output/texture_mailbox_deleter.cc",
282 "output/texture_mailbox_deleter.h",
283 "output/viewport_selection_bound.cc",
284 "output/viewport_selection_bound.h",
285 "output/vsync_parameter_observer.h",
286 "playback/clip_display_item.cc",
287 "playback/clip_display_item.h",
288 "playback/clip_path_display_item.cc",
289 "playback/clip_path_display_item.h",
290 "playback/compositing_display_item.cc",
291 "playback/compositing_display_item.h",
292 "playback/display_item.cc",
293 "playback/display_item.h",
294 "playback/display_item_list.cc",
295 "playback/display_item_list.h",
296 "playback/display_list_raster_source.cc",
297 "playback/display_list_raster_source.h",
298 "playback/display_list_recording_source.cc",
299 "playback/display_list_recording_source.h",
300 "playback/drawing_display_item.cc",
301 "playback/drawing_display_item.h",
302 "playback/filter_display_item.cc",
303 "playback/filter_display_item.h",
304 "playback/float_clip_display_item.cc",
305 "playback/float_clip_display_item.h",
306 "playback/largest_display_item.cc",
307 "playback/largest_display_item.h",
308 "playback/picture.cc",
309 "playback/picture.h",
310 "playback/picture_pile.cc",
311 "playback/picture_pile.h",
312 "playback/picture_pile_impl.cc",
313 "playback/picture_pile_impl.h",
314 "playback/pixel_ref_map.cc",
315 "playback/pixel_ref_map.h",
316 "playback/raster_source.h",
317 "playback/raster_source_helper.cc",
318 "playback/raster_source_helper.h",
319 "playback/transform_display_item.cc",
320 "playback/transform_display_item.h",
321 "quads/checkerboard_draw_quad.cc",
322 "quads/checkerboard_draw_quad.h",
323 "quads/content_draw_quad_base.cc",
324 "quads/content_draw_quad_base.h",
325 "quads/debug_border_draw_quad.cc",
326 "quads/debug_border_draw_quad.h",
327 "quads/draw_polygon.cc",
328 "quads/draw_polygon.h",
329 "quads/draw_quad.cc",
331 "quads/io_surface_draw_quad.cc",
332 "quads/io_surface_draw_quad.h",
333 "quads/largest_draw_quad.cc",
334 "quads/largest_draw_quad.h",
335 "quads/picture_draw_quad.cc",
336 "quads/picture_draw_quad.h",
337 "quads/render_pass.cc",
338 "quads/render_pass.h",
339 "quads/render_pass_draw_quad.cc",
340 "quads/render_pass_draw_quad.h",
341 "quads/render_pass_id.cc",
342 "quads/render_pass_id.h",
343 "quads/shared_quad_state.cc",
344 "quads/shared_quad_state.h",
345 "quads/solid_color_draw_quad.cc",
346 "quads/solid_color_draw_quad.h",
347 "quads/stream_video_draw_quad.cc",
348 "quads/stream_video_draw_quad.h",
349 "quads/surface_draw_quad.cc",
350 "quads/surface_draw_quad.h",
351 "quads/texture_draw_quad.cc",
352 "quads/texture_draw_quad.h",
353 "quads/tile_draw_quad.cc",
354 "quads/tile_draw_quad.h",
355 "quads/yuv_video_draw_quad.cc",
356 "quads/yuv_video_draw_quad.h",
357 "raster/bitmap_tile_task_worker_pool.cc",
358 "raster/bitmap_tile_task_worker_pool.h",
359 "raster/gpu_rasterizer.cc",
360 "raster/gpu_rasterizer.h",
361 "raster/gpu_tile_task_worker_pool.cc",
362 "raster/gpu_tile_task_worker_pool.h",
363 "raster/one_copy_tile_task_worker_pool.cc",
364 "raster/one_copy_tile_task_worker_pool.h",
365 "raster/pixel_buffer_tile_task_worker_pool.cc",
366 "raster/pixel_buffer_tile_task_worker_pool.h",
367 "raster/raster_buffer.cc",
368 "raster/raster_buffer.h",
369 "raster/scoped_gpu_raster.cc",
370 "raster/scoped_gpu_raster.h",
371 "raster/task_graph_runner.cc",
372 "raster/task_graph_runner.h",
373 "raster/texture_compressor.cc",
374 "raster/texture_compressor.h",
375 "raster/texture_compressor_etc1.cc",
376 "raster/texture_compressor_etc1.h",
377 "raster/tile_task_runner.cc",
378 "raster/tile_task_runner.h",
379 "raster/tile_task_worker_pool.cc",
380 "raster/tile_task_worker_pool.h",
381 "raster/zero_copy_tile_task_worker_pool.cc",
382 "raster/zero_copy_tile_task_worker_pool.h",
383 "resources/bitmap_content_layer_updater.cc",
384 "resources/bitmap_content_layer_updater.h",
385 "resources/bitmap_skpicture_content_layer_updater.cc",
386 "resources/bitmap_skpicture_content_layer_updater.h",
387 "resources/content_layer_updater.cc",
388 "resources/content_layer_updater.h",
389 "resources/image_layer_updater.cc",
390 "resources/image_layer_updater.h",
391 "resources/layer_painter.h",
392 "resources/layer_updater.cc",
393 "resources/layer_updater.h",
394 "resources/memory_history.cc",
395 "resources/memory_history.h",
396 "resources/platform_color.h",
397 "resources/prioritized_resource.cc",
398 "resources/prioritized_resource.h",
399 "resources/prioritized_resource_manager.cc",
400 "resources/prioritized_resource_manager.h",
401 "resources/priority_calculator.cc",
402 "resources/priority_calculator.h",
403 "resources/release_callback.h",
404 "resources/resource.cc",
405 "resources/resource.h",
406 "resources/resource_format.cc",
407 "resources/resource_format.h",
408 "resources/resource_pool.cc",
409 "resources/resource_pool.h",
410 "resources/resource_provider.cc",
411 "resources/resource_provider.h",
412 "resources/resource_update.cc",
413 "resources/resource_update.h",
414 "resources/resource_update_controller.cc",
415 "resources/resource_update_controller.h",
416 "resources/resource_update_queue.cc",
417 "resources/resource_update_queue.h",
418 "resources/returned_resource.h",
419 "resources/scoped_resource.cc",
420 "resources/scoped_resource.h",
421 "resources/scoped_ui_resource.cc",
422 "resources/scoped_ui_resource.h",
423 "resources/shared_bitmap.cc",
424 "resources/shared_bitmap.h",
425 "resources/shared_bitmap_manager.h",
426 "resources/single_release_callback.cc",
427 "resources/single_release_callback.h",
428 "resources/single_release_callback_impl.cc",
429 "resources/single_release_callback_impl.h",
430 "resources/skpicture_content_layer_updater.cc",
431 "resources/skpicture_content_layer_updater.h",
432 "resources/texture_mailbox.cc",
433 "resources/texture_mailbox.h",
434 "resources/texture_uploader.cc",
435 "resources/texture_uploader.h",
436 "resources/transferable_resource.cc",
437 "resources/transferable_resource.h",
438 "resources/ui_resource_bitmap.cc",
439 "resources/ui_resource_bitmap.h",
440 "resources/ui_resource_client.h",
441 "resources/ui_resource_request.cc",
442 "resources/ui_resource_request.h",
443 "resources/video_resource_updater.cc",
444 "resources/video_resource_updater.h",
445 "scheduler/begin_frame_source.cc",
446 "scheduler/begin_frame_source.h",
447 "scheduler/begin_frame_tracker.cc",
448 "scheduler/begin_frame_tracker.h",
449 "scheduler/commit_earlyout_reason.h",
450 "scheduler/delay_based_time_source.cc",
451 "scheduler/delay_based_time_source.h",
452 "scheduler/draw_result.h",
453 "scheduler/scheduler.cc",
454 "scheduler/scheduler.h",
455 "scheduler/scheduler_settings.cc",
456 "scheduler/scheduler_settings.h",
457 "scheduler/scheduler_state_machine.cc",
458 "scheduler/scheduler_state_machine.h",
459 "scheduler/video_frame_controller.h",
460 "tiles/eviction_tile_priority_queue.cc",
461 "tiles/eviction_tile_priority_queue.h",
462 "tiles/layer_tiling_data.cc",
463 "tiles/layer_tiling_data.h",
464 "tiles/picture_layer_tiling.cc",
465 "tiles/picture_layer_tiling.h",
466 "tiles/picture_layer_tiling_set.cc",
467 "tiles/picture_layer_tiling_set.h",
468 "tiles/prioritized_tile.cc",
469 "tiles/prioritized_tile.h",
470 "tiles/raster_tile_priority_queue.cc",
471 "tiles/raster_tile_priority_queue.h",
472 "tiles/raster_tile_priority_queue_all.cc",
473 "tiles/raster_tile_priority_queue_all.h",
474 "tiles/raster_tile_priority_queue_required.cc",
475 "tiles/raster_tile_priority_queue_required.h",
478 "tiles/tile_draw_info.cc",
479 "tiles/tile_draw_info.h",
480 "tiles/tile_manager.cc",
481 "tiles/tile_manager.h",
482 "tiles/tile_priority.cc",
483 "tiles/tile_priority.h",
484 "tiles/tiling_set_eviction_queue.cc",
485 "tiles/tiling_set_eviction_queue.h",
486 "tiles/tiling_set_raster_queue_all.cc",
487 "tiles/tiling_set_raster_queue_all.h",
488 "tiles/tiling_set_raster_queue_required.cc",
489 "tiles/tiling_set_raster_queue_required.h",
490 "trees/blocking_task_runner.cc",
491 "trees/blocking_task_runner.h",
492 "trees/damage_tracker.cc",
493 "trees/damage_tracker.h",
494 "trees/draw_property_utils.cc",
495 "trees/draw_property_utils.h",
496 "trees/latency_info_swap_promise_monitor.cc",
497 "trees/latency_info_swap_promise_monitor.h",
498 "trees/layer_tree_host.cc",
499 "trees/layer_tree_host.h",
500 "trees/layer_tree_host_client.h",
501 "trees/layer_tree_host_common.cc",
502 "trees/layer_tree_host_common.h",
503 "trees/layer_tree_host_impl.cc",
504 "trees/layer_tree_host_impl.h",
505 "trees/layer_tree_host_single_thread_client.h",
506 "trees/layer_tree_impl.cc",
507 "trees/layer_tree_impl.h",
508 "trees/layer_tree_settings.cc",
509 "trees/layer_tree_settings.h",
510 "trees/occlusion.cc",
512 "trees/occlusion_tracker.cc",
513 "trees/occlusion_tracker.h",
514 "trees/property_tree.cc",
515 "trees/property_tree.h",
516 "trees/property_tree_builder.cc",
517 "trees/property_tree_builder.h",
520 "trees/proxy_timing_history.cc",
521 "trees/proxy_timing_history.h",
522 "trees/scoped_abort_remaining_swap_promises.h",
523 "trees/single_thread_proxy.cc",
524 "trees/single_thread_proxy.h",
525 "trees/swap_promise_monitor.cc",
526 "trees/swap_promise_monitor.h",
527 "trees/thread_proxy.cc",
528 "trees/thread_proxy.h",
529 "trees/tree_synchronizer.cc",
530 "trees/tree_synchronizer.h",
533 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
534 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
542 "//base/third_party/dynamic_annotations",
544 "//cc/surfaces:surface_id",
546 "//gpu/command_buffer/client:gles2_interface",
548 "//ui/events:events_base",
553 defines = [ "CC_IMPLEMENTATION=1" ]
555 if (!is_debug && (is_win || is_android)) {
556 configs -= [ "//build/config/compiler:optimize" ]
557 configs += [ "//build/config/compiler:optimize_max" ]
561 source_set("cc_opts") {
567 source_set("cc_opts_sse") {
568 if (target_cpu == "x86" || target_cpu == "x64") {
573 defines = [ "CC_IMPLEMENTATION=1" ]
575 if (!is_debug && (is_win || is_android)) {
576 configs -= [ "//build/config/compiler:optimize" ]
577 configs += [ "//build/config/compiler:optimize_max" ]
581 "raster/texture_compressor.h",
582 "raster/texture_compressor_etc1.h",
583 "raster/texture_compressor_etc1_sse.cc",
584 "raster/texture_compressor_etc1_sse.h",
587 cflags = [ "-msse2" ]
591 source_set("test_support") {
594 "test/animation_test_common.cc",
595 "test/animation_test_common.h",
596 "test/begin_frame_args_test.cc",
597 "test/begin_frame_args_test.h",
598 "test/failure_output_surface.cc",
599 "test/failure_output_surface.h",
600 "test/fake_content_layer.cc",
601 "test/fake_content_layer.h",
602 "test/fake_content_layer_client.cc",
603 "test/fake_content_layer_client.h",
604 "test/fake_content_layer_impl.cc",
605 "test/fake_content_layer_impl.h",
606 "test/fake_delegated_renderer_layer.cc",
607 "test/fake_delegated_renderer_layer.h",
608 "test/fake_delegated_renderer_layer_impl.cc",
609 "test/fake_delegated_renderer_layer_impl.h",
610 "test/fake_display_list_recording_source.h",
611 "test/fake_external_begin_frame_source.cc",
612 "test/fake_external_begin_frame_source.h",
613 "test/fake_impl_proxy.h",
614 "test/fake_layer_tree_host.cc",
615 "test/fake_layer_tree_host.h",
616 "test/fake_layer_tree_host_client.cc",
617 "test/fake_layer_tree_host_client.h",
618 "test/fake_layer_tree_host_impl.cc",
619 "test/fake_layer_tree_host_impl.h",
620 "test/fake_layer_tree_host_impl_client.cc",
621 "test/fake_layer_tree_host_impl_client.h",
622 "test/fake_output_surface.cc",
623 "test/fake_output_surface.h",
624 "test/fake_output_surface_client.cc",
625 "test/fake_output_surface_client.h",
626 "test/fake_painted_scrollbar_layer.cc",
627 "test/fake_painted_scrollbar_layer.h",
628 "test/fake_picture_layer.cc",
629 "test/fake_picture_layer.h",
630 "test/fake_picture_layer_impl.cc",
631 "test/fake_picture_layer_impl.h",
632 "test/fake_picture_layer_tiling_client.cc",
633 "test/fake_picture_layer_tiling_client.h",
634 "test/fake_picture_pile.cc",
635 "test/fake_picture_pile.h",
636 "test/fake_picture_pile_impl.cc",
637 "test/fake_picture_pile_impl.h",
638 "test/fake_proxy.cc",
640 "test/fake_renderer_client.cc",
641 "test/fake_renderer_client.h",
642 "test/fake_rendering_stats_instrumentation.h",
643 "test/fake_resource_provider.h",
644 "test/fake_scoped_ui_resource.cc",
645 "test/fake_scoped_ui_resource.h",
646 "test/fake_scrollbar.cc",
647 "test/fake_scrollbar.h",
648 "test/fake_tile_manager.cc",
649 "test/fake_tile_manager.h",
650 "test/fake_tile_manager_client.cc",
651 "test/fake_tile_manager_client.h",
652 "test/fake_ui_resource_layer_tree_host_impl.cc",
653 "test/fake_ui_resource_layer_tree_host_impl.h",
654 "test/fake_video_frame_provider.cc",
655 "test/fake_video_frame_provider.h",
656 "test/geometry_test_utils.cc",
657 "test/geometry_test_utils.h",
658 "test/impl_side_painting_settings.h",
659 "test/layer_test_common.cc",
660 "test/layer_test_common.h",
661 "test/layer_tree_host_common_test.cc",
662 "test/layer_tree_host_common_test.h",
663 "test/layer_tree_json_parser.cc",
664 "test/layer_tree_json_parser.h",
665 "test/layer_tree_pixel_resource_test.cc",
666 "test/layer_tree_pixel_resource_test.h",
667 "test/layer_tree_pixel_test.cc",
668 "test/layer_tree_pixel_test.h",
669 "test/layer_tree_test.cc",
670 "test/layer_tree_test.h",
671 "test/mock_occlusion_tracker.h",
672 "test/ordered_simple_task_runner.cc",
673 "test/ordered_simple_task_runner.h",
674 "test/ordered_texture_map.cc",
675 "test/ordered_texture_map.h",
678 "test/pixel_comparator.cc",
679 "test/pixel_comparator.h",
680 "test/pixel_test.cc",
682 "test/pixel_test_output_surface.cc",
683 "test/pixel_test_output_surface.h",
684 "test/pixel_test_software_output_device.cc",
685 "test/pixel_test_software_output_device.h",
686 "test/pixel_test_utils.cc",
687 "test/pixel_test_utils.h",
688 "test/render_pass_test_common.cc",
689 "test/render_pass_test_common.h",
690 "test/render_pass_test_utils.cc",
691 "test/render_pass_test_utils.h",
692 "test/scheduler_test_common.cc",
693 "test/scheduler_test_common.h",
694 "test/skia_common.cc",
695 "test/skia_common.h",
696 "test/solid_color_content_layer_client.cc",
697 "test/solid_color_content_layer_client.h",
698 "test/test_context_provider.cc",
699 "test/test_context_provider.h",
700 "test/test_context_support.cc",
701 "test/test_context_support.h",
702 "test/test_gles2_interface.cc",
703 "test/test_gles2_interface.h",
704 "test/test_gpu_memory_buffer_manager.cc",
705 "test/test_gpu_memory_buffer_manager.h",
706 "test/test_image_factory.cc",
707 "test/test_image_factory.h",
708 "test/test_in_process_context_provider.cc",
709 "test/test_in_process_context_provider.h",
710 "test/test_now_source.cc",
711 "test/test_now_source.h",
712 "test/test_occlusion_tracker.h",
713 "test/test_shared_bitmap_manager.cc",
714 "test/test_shared_bitmap_manager.h",
715 "test/test_task_graph_runner.cc",
716 "test/test_task_graph_runner.h",
717 "test/test_texture.cc",
718 "test/test_texture.h",
719 "test/test_tile_priorities.cc",
720 "test/test_tile_priorities.h",
721 "test/test_web_graphics_context_3d.cc",
722 "test/test_web_graphics_context_3d.h",
723 "test/tiled_layer_test_common.cc",
724 "test/tiled_layer_test_common.h",
727 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
736 "//gpu:test_support",
740 "//base/test:test_support",
741 "//base/third_party/dynamic_annotations",
742 "//gpu/command_buffer/client:gles2_c_lib",
743 "//gpu/command_buffer/client:gles2_implementation",
744 "//gpu/command_buffer/client:gl_in_process_context",
745 "//gpu/command_buffer/common:gles2_utils",
746 "//gpu/skia_bindings",
753 "//ui/gfx:test_support",
757 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links.
758 deps += [ "//third_party/mesa:osmesa" ]
762 test("cc_unittests") {
764 "animation/animation_unittest.cc",
765 "animation/keyframed_animation_curve_unittest.cc",
766 "animation/layer_animation_controller_unittest.cc",
767 "animation/scroll_offset_animation_curve_unittest.cc",
768 "animation/scrollbar_animation_controller_linear_fade_unittest.cc",
769 "animation/scrollbar_animation_controller_thinning_unittest.cc",
770 "animation/transform_operations_unittest.cc",
771 "base/float_quad_unittest.cc",
772 "base/histograms_unittest.cc",
773 "base/math_util_unittest.cc",
774 "base/region_unittest.cc",
775 "base/rolling_time_delta_history_unittest.cc",
776 "base/scoped_ptr_vector_unittest.cc",
777 "base/simple_enclosed_region_unittest.cc",
778 "base/tiling_data_unittest.cc",
779 "debug/frame_timing_tracker_unittest.cc",
780 "debug/micro_benchmark_controller_unittest.cc",
781 "input/top_controls_manager_unittest.cc",
782 "layers/contents_scaling_layer_unittest.cc",
783 "layers/delegated_frame_provider_unittest.cc",
784 "layers/delegated_frame_resource_collection_unittest.cc",
785 "layers/delegated_renderer_layer_impl_unittest.cc",
786 "layers/delegated_renderer_layer_unittest.cc",
787 "layers/heads_up_display_layer_impl_unittest.cc",
788 "layers/heads_up_display_unittest.cc",
789 "layers/io_surface_layer_impl_unittest.cc",
790 "layers/layer_impl_unittest.cc",
791 "layers/layer_iterator_unittest.cc",
792 "layers/layer_position_constraint_unittest.cc",
793 "layers/layer_unittest.cc",
794 "layers/layer_utils_unittest.cc",
795 "layers/nine_patch_layer_impl_unittest.cc",
796 "layers/nine_patch_layer_unittest.cc",
797 "layers/painted_scrollbar_layer_impl_unittest.cc",
798 "layers/picture_image_layer_impl_unittest.cc",
799 "layers/picture_image_layer_unittest.cc",
800 "layers/picture_layer_impl_unittest.cc",
801 "layers/picture_layer_unittest.cc",
802 "layers/render_surface_impl_unittest.cc",
803 "layers/render_surface_unittest.cc",
804 "layers/scrollbar_layer_unittest.cc",
805 "layers/solid_color_layer_impl_unittest.cc",
806 "layers/solid_color_scrollbar_layer_impl_unittest.cc",
807 "layers/surface_layer_impl_unittest.cc",
808 "layers/surface_layer_unittest.cc",
809 "layers/texture_layer_impl_unittest.cc",
810 "layers/texture_layer_unittest.cc",
811 "layers/tiled_layer_impl_unittest.cc",
812 "layers/tiled_layer_unittest.cc",
813 "layers/ui_resource_layer_impl_unittest.cc",
814 "layers/ui_resource_layer_unittest.cc",
815 "layers/video_layer_impl_unittest.cc",
816 "output/begin_frame_args_unittest.cc",
817 "output/delegating_renderer_unittest.cc",
818 "output/filter_operations_unittest.cc",
819 "output/gl_renderer_unittest.cc",
820 "output/layer_quad_unittest.cc",
821 "output/output_surface_unittest.cc",
822 "output/overlay_unittest.cc",
823 "output/renderer_pixeltest.cc",
824 "output/renderer_unittest.cc",
825 "output/shader_unittest.cc",
826 "output/software_renderer_unittest.cc",
827 "output/texture_mailbox_deleter_unittest.cc",
828 "playback/display_item_list_unittest.cc",
829 "playback/display_list_recording_source_unittest.cc",
830 "playback/picture_pile_impl_unittest.cc",
831 "playback/picture_pile_unittest.cc",
832 "playback/picture_unittest.cc",
833 "playback/pixel_ref_map_unittest.cc",
834 "playback/recording_source_unittest.cc",
835 "quads/draw_quad_unittest.cc",
836 "quads/list_container_unittest.cc",
837 "quads/render_pass_unittest.cc",
838 "raster/scoped_gpu_raster_unittest.cc",
839 "raster/task_graph_runner_unittest.cc",
840 "raster/texture_compressor_etc1_unittest.cc",
841 "raster/tile_task_worker_pool_unittest.cc",
842 "resources/platform_color_unittest.cc",
843 "resources/prioritized_resource_unittest.cc",
844 "resources/resource_provider_unittest.cc",
845 "resources/resource_update_controller_unittest.cc",
846 "resources/scoped_resource_unittest.cc",
847 "resources/texture_uploader_unittest.cc",
848 "resources/video_resource_updater_unittest.cc",
849 "scheduler/begin_frame_source_unittest.cc",
850 "scheduler/delay_based_time_source_unittest.cc",
851 "scheduler/scheduler_state_machine_unittest.cc",
852 "scheduler/scheduler_unittest.cc",
853 "test/layer_tree_json_parser_unittest.cc",
854 "test/test_web_graphics_context_3d_unittest.cc",
855 "tiles/picture_layer_tiling_set_unittest.cc",
856 "tiles/picture_layer_tiling_unittest.cc",
857 "tiles/tile_manager_unittest.cc",
858 "tiles/tile_priority_unittest.cc",
859 "trees/blocking_task_runner_unittest.cc",
860 "trees/damage_tracker_unittest.cc",
861 "trees/layer_tree_host_common_unittest.cc",
862 "trees/layer_tree_host_impl_unittest.cc",
863 "trees/layer_tree_host_pixeltest_blending.cc",
864 "trees/layer_tree_host_pixeltest_filters.cc",
865 "trees/layer_tree_host_pixeltest_masks.cc",
866 "trees/layer_tree_host_pixeltest_readback.cc",
867 "trees/layer_tree_host_pixeltest_synchronous.cc",
868 "trees/layer_tree_host_unittest.cc",
869 "trees/layer_tree_host_unittest_animation.cc",
870 "trees/layer_tree_host_unittest_context.cc",
871 "trees/layer_tree_host_unittest_copyrequest.cc",
872 "trees/layer_tree_host_unittest_damage.cc",
873 "trees/layer_tree_host_unittest_delegated.cc",
874 "trees/layer_tree_host_unittest_no_message_loop.cc",
875 "trees/layer_tree_host_unittest_occlusion.cc",
876 "trees/layer_tree_host_unittest_picture.cc",
877 "trees/layer_tree_host_unittest_proxy.cc",
878 "trees/layer_tree_host_unittest_scroll.cc",
879 "trees/layer_tree_host_unittest_video.cc",
880 "trees/layer_tree_impl_unittest.cc",
881 "trees/occlusion_tracker_unittest.cc",
882 "trees/occlusion_unittest.cc",
883 "trees/property_tree_unittest.cc",
884 "trees/tree_synchronizer_unittest.cc",
886 # Surfaces test files.
887 "surfaces/surface_aggregator_test_helpers.cc",
888 "surfaces/surface_aggregator_test_helpers.h",
889 "surfaces/surface_aggregator_unittest.cc",
890 "surfaces/surface_unittest.cc",
891 "surfaces/surfaces_pixeltest.cc",
894 "test/cc_test_suite.cc",
895 "test/run_all_unittests.cc",
898 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
903 "//base/test:test_support",
905 "//cc/surfaces:surface_id",
907 "//gpu:test_support",
908 "//gpu/command_buffer/client:gles2_interface",
909 "//gpu/command_buffer/common:gles2_utils",
913 "//ui/events:events_base",
916 "//ui/gfx:test_support",
921 test("cc_perftests") {
923 "layers/layer_perftest.cc",
924 "layers/picture_layer_impl_perftest.cc",
925 "playback/picture_pile_impl_perftest.cc",
926 "quads/draw_quad_perftest.cc",
927 "raster/task_graph_runner_perftest.cc",
928 "raster/texture_compressor_perftest.cc",
929 "raster/tile_task_worker_pool_perftest.cc",
930 "surfaces/surface_aggregator_perftest.cc",
931 "test/cc_test_suite.cc",
932 "test/run_all_perftests.cc",
933 "tiles/picture_layer_tiling_perftest.cc",
934 "tiles/tile_manager_perftest.cc",
935 "trees/layer_tree_host_common_perftest.cc",
936 "trees/layer_tree_host_perftest.cc",
937 "trees/occlusion_tracker_perftest.cc",
940 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
946 "//base/test:test_support",
948 "//cc/surfaces:surface_id",
950 "//gpu:test_support",
951 "//gpu/command_buffer/common:gles2_utils",
962 # When adding support for isolates, please have a look at run-time dependencies
963 # in the cc_unittests_run target in cc_tests.gyp.