[go: nahoru, domu]

blob: 66e805093c9be2d2ac28bb74418dc730c3654adc [file] [log] [blame]
brettw@chromium.orgd05751a22014-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
qsrfb5251d12015-01-21 15:57:225import("//testing/test.gni")
6
brettw@chromium.orgd05751a22014-05-29 20:54:247component("cc") {
8 sources = [
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",
brettw@chromium.orgd05751a22014-05-29 20:54:2429 "animation/scrollbar_animation_controller.cc",
satorux457770e2015-02-18 18:33:3930 "animation/scrollbar_animation_controller.h",
brettw@chromium.orgd05751a22014-05-29 20:54:2431 "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",
brettw@chromium.orgd05751a22014-05-29 20:54:2441 "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",
vmpstr3d1d72c2015-01-26 18:27:4050 "debug/frame_timing_request.cc",
51 "debug/frame_timing_request.h",
michaelblain1bcdf892015-01-17 01:24:3052 "debug/frame_timing_tracker.cc",
53 "debug/frame_timing_tracker.h",
hendrikw9385e492014-12-17 21:42:5954 "debug/frame_viewer_instrumentation.cc",
brettw@chromium.orgd05751a22014-05-29 20:54:2455 "debug/frame_viewer_instrumentation.h",
jamesr@chromium.orgd5ba08c2014-06-18 07:01:0856 "debug/invalidation_benchmark.cc",
57 "debug/invalidation_benchmark.h",
brettw@chromium.orgd05751a22014-05-29 20:54:2458 "debug/lap_timer.cc",
59 "debug/lap_timer.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",
brettw@chromium.orgd05751a22014-05-29 20:54:2464 "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",
satorux457770e2015-02-18 18:33:3968 "debug/micro_benchmark_impl.cc",
69 "debug/micro_benchmark_impl.h",
brettw@chromium.orgd05751a22014-05-29 20:54:2470 "debug/paint_time_counter.cc",
71 "debug/paint_time_counter.h",
ajumad7dd21a2015-01-09 00:57:3172 "debug/picture_debug_util.cc",
73 "debug/picture_debug_util.h",
brettw@chromium.orgd05751a22014-05-29 20:54:2474 "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",
ccameron36d091f2014-11-07 03:18:5093 "input/input_handler.cc",
brettw@chromium.orgd05751a22014-05-29 20:54:2494 "input/input_handler.h",
tfarina@chromium.orgb2ba2d42014-07-03 18:14:5095 "input/layer_selection_bound.cc",
96 "input/layer_selection_bound.h",
satorux457770e2015-02-18 18:33:3997 "input/page_scale_animation.cc",
98 "input/page_scale_animation.h",
ccameron4163cc352014-11-13 19:06:3699 "input/scroll_elasticity_helper.cc",
100 "input/scroll_elasticity_helper.h",
jdduke449b5292015-04-23 19:36:44101 "input/selection.h",
tfarina@chromium.orgb2ba2d42014-07-03 18:14:50102 "input/selection_bound_type.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24103 "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",
131 "layers/layer.cc",
132 "layers/layer.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",
brettw@chromium.orgd05751a22014-05-29 20:54:24160 "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",
bokanaa2748312015-03-26 00:10:37200 "layers/viewport.cc",
201 "layers/viewport.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24202 "output/begin_frame_args.cc",
203 "output/begin_frame_args.h",
thildebr@chromium.org2a021fb7b2014-08-02 07:53:49204 "output/bsp_tree.cc",
205 "output/bsp_tree.h",
206 "output/bsp_walk_action.cc",
207 "output/bsp_walk_action.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24208 "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",
brettw@chromium.orgd05751a22014-05-29 20:54:24220 "output/delegated_frame_data.cc",
tfarina@chromium.orgb2ba2d42014-07-03 18:14:50221 "output/delegated_frame_data.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24222 "output/delegating_renderer.cc",
223 "output/delegating_renderer.h",
224 "output/direct_renderer.cc",
225 "output/direct_renderer.h",
awoloszyn3d8eb1d2015-03-12 14:38:32226 "output/dynamic_geometry_binding.cc",
227 "output/dynamic_geometry_binding.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24228 "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",
brettw@chromium.orgd05751a22014-05-29 20:54:24234 "output/gl_frame_data.cc",
tfarina@chromium.orgb2ba2d42014-07-03 18:14:50235 "output/gl_frame_data.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24236 "output/gl_renderer.cc",
237 "output/gl_renderer.h",
238 "output/gl_renderer_draw_cache.cc",
239 "output/gl_renderer_draw_cache.h",
jamesrf313a212015-03-16 21:27:37240 "output/latency_info_swap_promise.cc",
241 "output/latency_info_swap_promise.h",
danakj920156852015-05-18 20:22:29242 "output/layer_quad.cc",
243 "output/layer_quad.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24244 "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",
achaulkf47b4942015-04-01 17:26:08254 "output/overlay_strategy_common.cc",
255 "output/overlay_strategy_common.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24256 "output/overlay_strategy_single_on_top.cc",
257 "output/overlay_strategy_single_on_top.h",
achaulkf47b4942015-04-01 17:26:08258 "output/overlay_strategy_underlay.cc",
259 "output/overlay_strategy_underlay.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24260 "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",
265 "output/renderer.h",
jamesr9b8fda32015-03-16 19:11:05266 "output/renderer_capabilities.cc",
267 "output/renderer_capabilities.h",
jbaumanc5be44c2014-11-20 22:17:12268 "output/renderer_settings.cc",
269 "output/renderer_settings.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24270 "output/shader.cc",
271 "output/shader.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",
awoloszyn3d8eb1d2015-03-12 14:38:32278 "output/static_geometry_binding.cc",
279 "output/static_geometry_binding.h",
jamesrf313a212015-03-16 21:27:37280 "output/swap_promise.h",
danakj920156852015-05-18 20:22:29281 "output/texture_mailbox_deleter.cc",
282 "output/texture_mailbox_deleter.h",
tfarina@chromium.orgb2ba2d42014-07-03 18:14:50283 "output/viewport_selection_bound.cc",
284 "output/viewport_selection_bound.h",
mithroc34fc0b12014-09-30 09:10:41285 "output/vsync_parameter_observer.h",
danakj920156852015-05-18 20:22:29286 "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",
jbroman7ae1e4bf2015-06-02 01:44:28296 "playback/display_item_list_settings.cc",
297 "playback/display_item_list_settings.h",
danakj920156852015-05-18 20:22:29298 "playback/display_list_raster_source.cc",
299 "playback/display_list_raster_source.h",
300 "playback/display_list_recording_source.cc",
301 "playback/display_list_recording_source.h",
302 "playback/drawing_display_item.cc",
303 "playback/drawing_display_item.h",
304 "playback/filter_display_item.cc",
305 "playback/filter_display_item.h",
306 "playback/float_clip_display_item.cc",
307 "playback/float_clip_display_item.h",
308 "playback/largest_display_item.cc",
309 "playback/largest_display_item.h",
310 "playback/picture.cc",
311 "playback/picture.h",
312 "playback/picture_pile.cc",
313 "playback/picture_pile.h",
314 "playback/picture_pile_impl.cc",
315 "playback/picture_pile_impl.h",
316 "playback/pixel_ref_map.cc",
317 "playback/pixel_ref_map.h",
318 "playback/raster_source.h",
319 "playback/raster_source_helper.cc",
320 "playback/raster_source_helper.h",
321 "playback/transform_display_item.cc",
322 "playback/transform_display_item.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24323 "quads/checkerboard_draw_quad.cc",
324 "quads/checkerboard_draw_quad.h",
325 "quads/content_draw_quad_base.cc",
326 "quads/content_draw_quad_base.h",
327 "quads/debug_border_draw_quad.cc",
328 "quads/debug_border_draw_quad.h",
thildebr@chromium.org2a021fb7b2014-08-02 07:53:49329 "quads/draw_polygon.cc",
330 "quads/draw_polygon.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24331 "quads/draw_quad.cc",
332 "quads/draw_quad.h",
333 "quads/io_surface_draw_quad.cc",
334 "quads/io_surface_draw_quad.h",
weiliangcfe7b51e2014-11-05 18:20:27335 "quads/largest_draw_quad.cc",
satorux457770e2015-02-18 18:33:39336 "quads/largest_draw_quad.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24337 "quads/picture_draw_quad.cc",
338 "quads/picture_draw_quad.h",
339 "quads/render_pass.cc",
340 "quads/render_pass.h",
341 "quads/render_pass_draw_quad.cc",
342 "quads/render_pass_draw_quad.h",
weiliangc@chromium.org0cd7d6f72014-08-22 14:50:51343 "quads/render_pass_id.cc",
344 "quads/render_pass_id.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24345 "quads/shared_quad_state.cc",
346 "quads/shared_quad_state.h",
347 "quads/solid_color_draw_quad.cc",
348 "quads/solid_color_draw_quad.h",
349 "quads/stream_video_draw_quad.cc",
350 "quads/stream_video_draw_quad.h",
351 "quads/surface_draw_quad.cc",
352 "quads/surface_draw_quad.h",
353 "quads/texture_draw_quad.cc",
354 "quads/texture_draw_quad.h",
355 "quads/tile_draw_quad.cc",
356 "quads/tile_draw_quad.h",
357 "quads/yuv_video_draw_quad.cc",
358 "quads/yuv_video_draw_quad.h",
danakj920156852015-05-18 20:22:29359 "raster/bitmap_tile_task_worker_pool.cc",
360 "raster/bitmap_tile_task_worker_pool.h",
361 "raster/gpu_rasterizer.cc",
362 "raster/gpu_rasterizer.h",
363 "raster/gpu_tile_task_worker_pool.cc",
364 "raster/gpu_tile_task_worker_pool.h",
365 "raster/one_copy_tile_task_worker_pool.cc",
366 "raster/one_copy_tile_task_worker_pool.h",
367 "raster/pixel_buffer_tile_task_worker_pool.cc",
368 "raster/pixel_buffer_tile_task_worker_pool.h",
369 "raster/raster_buffer.cc",
370 "raster/raster_buffer.h",
371 "raster/scoped_gpu_raster.cc",
372 "raster/scoped_gpu_raster.h",
373 "raster/task_graph_runner.cc",
374 "raster/task_graph_runner.h",
375 "raster/texture_compressor.cc",
376 "raster/texture_compressor.h",
377 "raster/texture_compressor_etc1.cc",
378 "raster/texture_compressor_etc1.h",
379 "raster/tile_task_runner.cc",
380 "raster/tile_task_runner.h",
381 "raster/tile_task_worker_pool.cc",
382 "raster/tile_task_worker_pool.h",
383 "raster/zero_copy_tile_task_worker_pool.cc",
384 "raster/zero_copy_tile_task_worker_pool.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24385 "resources/bitmap_content_layer_updater.cc",
386 "resources/bitmap_content_layer_updater.h",
387 "resources/bitmap_skpicture_content_layer_updater.cc",
388 "resources/bitmap_skpicture_content_layer_updater.h",
389 "resources/content_layer_updater.cc",
390 "resources/content_layer_updater.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24391 "resources/image_layer_updater.cc",
392 "resources/image_layer_updater.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24393 "resources/layer_painter.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24394 "resources/layer_updater.cc",
395 "resources/layer_updater.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24396 "resources/memory_history.cc",
397 "resources/memory_history.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24398 "resources/platform_color.h",
399 "resources/prioritized_resource.cc",
400 "resources/prioritized_resource.h",
401 "resources/prioritized_resource_manager.cc",
402 "resources/prioritized_resource_manager.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24403 "resources/priority_calculator.cc",
404 "resources/priority_calculator.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24405 "resources/release_callback.h",
406 "resources/resource.cc",
reveman423e7da2014-09-23 16:57:44407 "resources/resource.h",
ksakamoto@chromium.orgc6f0cf62014-07-22 02:44:41408 "resources/resource_format.cc",
vmpstr@chromium.orgbf050582014-07-24 11:10:58409 "resources/resource_format.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24410 "resources/resource_pool.cc",
411 "resources/resource_pool.h",
412 "resources/resource_provider.cc",
413 "resources/resource_provider.h",
414 "resources/resource_update.cc",
reveman423e7da2014-09-23 16:57:44415 "resources/resource_update.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24416 "resources/resource_update_controller.cc",
417 "resources/resource_update_controller.h",
418 "resources/resource_update_queue.cc",
419 "resources/resource_update_queue.h",
420 "resources/returned_resource.h",
421 "resources/scoped_resource.cc",
422 "resources/scoped_resource.h",
423 "resources/scoped_ui_resource.cc",
424 "resources/scoped_ui_resource.h",
425 "resources/shared_bitmap.cc",
426 "resources/shared_bitmap.h",
427 "resources/shared_bitmap_manager.h",
428 "resources/single_release_callback.cc",
429 "resources/single_release_callback.h",
skyostil3976a3f2014-09-04 22:07:23430 "resources/single_release_callback_impl.cc",
431 "resources/single_release_callback_impl.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24432 "resources/skpicture_content_layer_updater.cc",
433 "resources/skpicture_content_layer_updater.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24434 "resources/texture_mailbox.cc",
reveman423e7da2014-09-23 16:57:44435 "resources/texture_mailbox.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24436 "resources/texture_uploader.cc",
437 "resources/texture_uploader.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24438 "resources/transferable_resource.cc",
439 "resources/transferable_resource.h",
440 "resources/ui_resource_bitmap.cc",
441 "resources/ui_resource_bitmap.h",
442 "resources/ui_resource_client.h",
443 "resources/ui_resource_request.cc",
444 "resources/ui_resource_request.h",
445 "resources/video_resource_updater.cc",
446 "resources/video_resource_updater.h",
mithroc34fc0b12014-09-30 09:10:41447 "scheduler/begin_frame_source.cc",
448 "scheduler/begin_frame_source.h",
mithro0bdb49d2015-05-27 13:08:01449 "scheduler/begin_frame_tracker.cc",
450 "scheduler/begin_frame_tracker.h",
mithrof7a21502014-12-17 03:24:48451 "scheduler/commit_earlyout_reason.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24452 "scheduler/delay_based_time_source.cc",
453 "scheduler/delay_based_time_source.h",
454 "scheduler/draw_result.h",
455 "scheduler/scheduler.cc",
456 "scheduler/scheduler.h",
457 "scheduler/scheduler_settings.cc",
458 "scheduler/scheduler_settings.h",
459 "scheduler/scheduler_state_machine.cc",
460 "scheduler/scheduler_state_machine.h",
sunnyps7d073dc2015-04-16 23:29:12461 "scheduler/video_frame_controller.h",
danakj920156852015-05-18 20:22:29462 "tiles/eviction_tile_priority_queue.cc",
463 "tiles/eviction_tile_priority_queue.h",
464 "tiles/layer_tiling_data.cc",
465 "tiles/layer_tiling_data.h",
466 "tiles/picture_layer_tiling.cc",
467 "tiles/picture_layer_tiling.h",
468 "tiles/picture_layer_tiling_set.cc",
469 "tiles/picture_layer_tiling_set.h",
470 "tiles/prioritized_tile.cc",
471 "tiles/prioritized_tile.h",
472 "tiles/raster_tile_priority_queue.cc",
473 "tiles/raster_tile_priority_queue.h",
474 "tiles/raster_tile_priority_queue_all.cc",
475 "tiles/raster_tile_priority_queue_all.h",
476 "tiles/raster_tile_priority_queue_required.cc",
477 "tiles/raster_tile_priority_queue_required.h",
478 "tiles/tile.cc",
479 "tiles/tile.h",
480 "tiles/tile_draw_info.cc",
481 "tiles/tile_draw_info.h",
482 "tiles/tile_manager.cc",
483 "tiles/tile_manager.h",
484 "tiles/tile_priority.cc",
485 "tiles/tile_priority.h",
486 "tiles/tiling_set_eviction_queue.cc",
487 "tiles/tiling_set_eviction_queue.h",
488 "tiles/tiling_set_raster_queue_all.cc",
489 "tiles/tiling_set_raster_queue_all.h",
490 "tiles/tiling_set_raster_queue_required.cc",
491 "tiles/tiling_set_raster_queue_required.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24492 "trees/blocking_task_runner.cc",
493 "trees/blocking_task_runner.h",
494 "trees/damage_tracker.cc",
495 "trees/damage_tracker.h",
vollick51ed1a22014-12-17 02:03:00496 "trees/draw_property_utils.cc",
497 "trees/draw_property_utils.h",
jamesrf313a212015-03-16 21:27:37498 "trees/latency_info_swap_promise_monitor.cc",
499 "trees/latency_info_swap_promise_monitor.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24500 "trees/layer_tree_host.cc",
501 "trees/layer_tree_host.h",
502 "trees/layer_tree_host_client.h",
503 "trees/layer_tree_host_common.cc",
504 "trees/layer_tree_host_common.h",
505 "trees/layer_tree_host_impl.cc",
506 "trees/layer_tree_host_impl.h",
ccameron00e438cd2015-03-12 06:18:14507 "trees/layer_tree_host_single_thread_client.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24508 "trees/layer_tree_impl.cc",
509 "trees/layer_tree_impl.h",
510 "trees/layer_tree_settings.cc",
511 "trees/layer_tree_settings.h",
vmpstrcdcb5f72014-09-11 00:58:37512 "trees/occlusion.cc",
513 "trees/occlusion.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24514 "trees/occlusion_tracker.cc",
515 "trees/occlusion_tracker.h",
vollick51ed1a22014-12-17 02:03:00516 "trees/property_tree.cc",
517 "trees/property_tree.h",
518 "trees/property_tree_builder.cc",
519 "trees/property_tree_builder.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24520 "trees/proxy.cc",
521 "trees/proxy.h",
522 "trees/proxy_timing_history.cc",
523 "trees/proxy_timing_history.h",
enne@chromium.orgaeeedad2014-08-22 18:16:22524 "trees/scoped_abort_remaining_swap_promises.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24525 "trees/single_thread_proxy.cc",
526 "trees/single_thread_proxy.h",
jamesrf313a212015-03-16 21:27:37527 "trees/swap_promise_monitor.cc",
528 "trees/swap_promise_monitor.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24529 "trees/thread_proxy.cc",
530 "trees/thread_proxy.h",
531 "trees/tree_synchronizer.cc",
532 "trees/tree_synchronizer.h",
533 ]
534
brettwd1c719a2015-02-19 23:17:04535 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
536 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
brettw@chromium.orgd05751a22014-05-29 20:54:24537
Brett Wilsone53895272014-09-23 23:41:46538 public_deps = [
jamesrf313a212015-03-16 21:27:37539 "//cc/base",
Brett Wilsone53895272014-09-23 23:41:46540 "//skia",
541 ]
brettw@chromium.orgd05751a22014-05-29 20:54:24542 deps = [
543 "//base",
544 "//base/third_party/dynamic_annotations",
radu.velea648fb542015-05-14 16:51:21545 "//cc:cc_opts",
jamesr16c04ff2014-11-24 22:24:57546 "//cc/surfaces:surface_id",
brettw@chromium.orgd05751a22014-05-29 20:54:24547 "//gpu",
jbromancba3d2f2014-09-16 01:04:24548 "//gpu/command_buffer/client:gles2_interface",
brettw@chromium.org6e44c302014-07-22 21:51:37549 "//media",
brettw@chromium.orgd05751a22014-05-29 20:54:24550 "//ui/events:events_base",
551 "//ui/gfx",
552 "//ui/gfx/geometry",
brettw@chromium.orgd05751a22014-05-29 20:54:24553 ]
554
brettw@chromium.org3ffa36a2014-07-24 21:01:50555 defines = [ "CC_IMPLEMENTATION=1" ]
brettw@chromium.orgd05751a22014-05-29 20:54:24556
fdegans75b3d092014-09-17 18:35:55557 if (!is_debug && (is_win || is_android)) {
brettw@chromium.orgd05751a22014-05-29 20:54:24558 configs -= [ "//build/config/compiler:optimize" ]
559 configs += [ "//build/config/compiler:optimize_max" ]
radu.velea648fb542015-05-14 16:51:21560 }
561}
562
563source_set("cc_opts") {
564 public_deps = [
565 "//cc:cc_opts_sse",
566 ]
567}
568
569source_set("cc_opts_sse") {
570 if (target_cpu == "x86" || target_cpu == "x64") {
571 deps = [
572 "//base",
573 ]
574
575 defines = [ "CC_IMPLEMENTATION=1" ]
576
577 if (!is_debug && (is_win || is_android)) {
578 configs -= [ "//build/config/compiler:optimize" ]
579 configs += [ "//build/config/compiler:optimize_max" ]
580 }
581
582 sources = [
danakj920156852015-05-18 20:22:29583 "raster/texture_compressor.h",
584 "raster/texture_compressor_etc1.h",
585 "raster/texture_compressor_etc1_sse.cc",
586 "raster/texture_compressor_etc1_sse.h",
radu.velea648fb542015-05-14 16:51:21587 ]
588
589 cflags = [ "-msse2" ]
brettw@chromium.orgd05751a22014-05-29 20:54:24590 }
brettw@chromium.orgd05751a22014-05-29 20:54:24591}
592
593source_set("test_support") {
Brett Wilson8f80ad0b2014-09-08 19:50:24594 testonly = true
brettw@chromium.orgd05751a22014-05-29 20:54:24595 sources = [
596 "test/animation_test_common.cc",
597 "test/animation_test_common.h",
598 "test/begin_frame_args_test.cc",
599 "test/begin_frame_args_test.h",
satorux457770e2015-02-18 18:33:39600 "test/failure_output_surface.cc",
601 "test/failure_output_surface.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24602 "test/fake_content_layer.cc",
603 "test/fake_content_layer.h",
604 "test/fake_content_layer_client.cc",
605 "test/fake_content_layer_client.h",
606 "test/fake_content_layer_impl.cc",
607 "test/fake_content_layer_impl.h",
608 "test/fake_delegated_renderer_layer.cc",
609 "test/fake_delegated_renderer_layer.h",
610 "test/fake_delegated_renderer_layer_impl.cc",
611 "test/fake_delegated_renderer_layer_impl.h",
weiliangc0a2945c2015-04-03 05:29:44612 "test/fake_display_list_recording_source.h",
danakj6e3bf8012014-12-16 18:27:53613 "test/fake_external_begin_frame_source.cc",
614 "test/fake_external_begin_frame_source.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24615 "test/fake_impl_proxy.h",
616 "test/fake_layer_tree_host.cc",
617 "test/fake_layer_tree_host.h",
618 "test/fake_layer_tree_host_client.cc",
619 "test/fake_layer_tree_host_client.h",
620 "test/fake_layer_tree_host_impl.cc",
621 "test/fake_layer_tree_host_impl.h",
622 "test/fake_layer_tree_host_impl_client.cc",
623 "test/fake_layer_tree_host_impl_client.h",
624 "test/fake_output_surface.cc",
625 "test/fake_output_surface.h",
626 "test/fake_output_surface_client.cc",
627 "test/fake_output_surface_client.h",
628 "test/fake_painted_scrollbar_layer.cc",
629 "test/fake_painted_scrollbar_layer.h",
630 "test/fake_picture_layer.cc",
631 "test/fake_picture_layer.h",
632 "test/fake_picture_layer_impl.cc",
633 "test/fake_picture_layer_impl.h",
634 "test/fake_picture_layer_tiling_client.cc",
635 "test/fake_picture_layer_tiling_client.h",
danakja819c2552014-11-14 02:05:04636 "test/fake_picture_pile.cc",
hendrikw312ee8ac2014-11-12 23:24:34637 "test/fake_picture_pile.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24638 "test/fake_picture_pile_impl.cc",
639 "test/fake_picture_pile_impl.h",
640 "test/fake_proxy.cc",
641 "test/fake_proxy.h",
642 "test/fake_renderer_client.cc",
643 "test/fake_renderer_client.h",
644 "test/fake_rendering_stats_instrumentation.h",
danakj61bf05f2015-05-26 23:28:56645 "test/fake_resource_provider.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24646 "test/fake_scoped_ui_resource.cc",
647 "test/fake_scoped_ui_resource.h",
648 "test/fake_scrollbar.cc",
649 "test/fake_scrollbar.h",
650 "test/fake_tile_manager.cc",
651 "test/fake_tile_manager.h",
652 "test/fake_tile_manager_client.cc",
653 "test/fake_tile_manager_client.h",
654 "test/fake_ui_resource_layer_tree_host_impl.cc",
655 "test/fake_ui_resource_layer_tree_host_impl.h",
656 "test/fake_video_frame_provider.cc",
657 "test/fake_video_frame_provider.h",
658 "test/geometry_test_utils.cc",
659 "test/geometry_test_utils.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24660 "test/impl_side_painting_settings.h",
661 "test/layer_test_common.cc",
662 "test/layer_test_common.h",
663 "test/layer_tree_host_common_test.cc",
664 "test/layer_tree_host_common_test.h",
665 "test/layer_tree_json_parser.cc",
666 "test/layer_tree_json_parser.h",
enne03dbe8ae2014-10-30 01:32:55667 "test/layer_tree_pixel_resource_test.cc",
668 "test/layer_tree_pixel_resource_test.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24669 "test/layer_tree_pixel_test.cc",
670 "test/layer_tree_pixel_test.h",
671 "test/layer_tree_test.cc",
672 "test/layer_tree_test.h",
weiliangc@chromium.orgba16cce2014-06-17 17:03:50673 "test/mock_occlusion_tracker.h",
jamesr@chromium.orgd5ba08c2014-06-18 07:01:08674 "test/ordered_simple_task_runner.cc",
675 "test/ordered_simple_task_runner.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24676 "test/ordered_texture_map.cc",
677 "test/ordered_texture_map.h",
678 "test/paths.cc",
679 "test/paths.h",
680 "test/pixel_comparator.cc",
681 "test/pixel_comparator.h",
682 "test/pixel_test.cc",
683 "test/pixel_test.h",
684 "test/pixel_test_output_surface.cc",
685 "test/pixel_test_output_surface.h",
686 "test/pixel_test_software_output_device.cc",
687 "test/pixel_test_software_output_device.h",
688 "test/pixel_test_utils.cc",
689 "test/pixel_test_utils.h",
690 "test/render_pass_test_common.cc",
691 "test/render_pass_test_common.h",
692 "test/render_pass_test_utils.cc",
693 "test/render_pass_test_utils.h",
694 "test/scheduler_test_common.cc",
695 "test/scheduler_test_common.h",
696 "test/skia_common.cc",
697 "test/skia_common.h",
698 "test/solid_color_content_layer_client.cc",
699 "test/solid_color_content_layer_client.h",
700 "test/test_context_provider.cc",
701 "test/test_context_provider.h",
702 "test/test_context_support.cc",
703 "test/test_context_support.h",
704 "test/test_gles2_interface.cc",
705 "test/test_gles2_interface.h",
reveman22dd9292014-10-13 20:52:05706 "test/test_gpu_memory_buffer_manager.cc",
707 "test/test_gpu_memory_buffer_manager.h",
reveman2232bce2014-10-29 01:28:05708 "test/test_image_factory.cc",
709 "test/test_image_factory.h",
satorux457770e2015-02-18 18:33:39710 "test/test_in_process_context_provider.cc",
711 "test/test_in_process_context_provider.h",
mithro0c0ac6a2014-09-10 01:03:36712 "test/test_now_source.cc",
713 "test/test_now_source.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24714 "test/test_occlusion_tracker.h",
715 "test/test_shared_bitmap_manager.cc",
716 "test/test_shared_bitmap_manager.h",
reveman34b7a1522015-03-23 20:27:47717 "test/test_task_graph_runner.cc",
718 "test/test_task_graph_runner.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24719 "test/test_texture.cc",
720 "test/test_texture.h",
721 "test/test_tile_priorities.cc",
722 "test/test_tile_priorities.h",
723 "test/test_web_graphics_context_3d.cc",
724 "test/test_web_graphics_context_3d.h",
725 "test/tiled_layer_test_common.cc",
726 "test/tiled_layer_test_common.h",
727 ]
728
brettw1deb76bc2015-02-18 19:28:20729 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
730
brettw@chromium.orgd05751a22014-05-29 20:54:24731 include_dirs = [
732 ".",
733 "test",
734 ]
735
Brett Wilson0380637c2014-09-19 21:24:40736 public_deps = [
737 ":cc",
Brett Wilsone53895272014-09-23 23:41:46738 "//gpu:test_support",
Brett Wilson0380637c2014-09-19 21:24:40739 ]
brettw@chromium.orgd05751a22014-05-29 20:54:24740 deps = [
741 "//base",
jamesr16c04ff2014-11-24 22:24:57742 "//base/test:test_support",
brettw@chromium.orgd05751a22014-05-29 20:54:24743 "//base/third_party/dynamic_annotations",
brettw@chromium.orgd05751a22014-05-29 20:54:24744 "//gpu/command_buffer/client:gles2_c_lib",
745 "//gpu/command_buffer/client:gles2_implementation",
746 "//gpu/command_buffer/client:gl_in_process_context",
oetuaho@nvidia.com845c4e32014-08-13 11:50:40747 "//gpu/command_buffer/common:gles2_utils",
brettw@chromium.orgd05751a22014-05-29 20:54:24748 "//gpu/skia_bindings",
jamesr16c04ff2014-11-24 22:24:57749 "//media",
brettw@chromium.orgd05751a22014-05-29 20:54:24750 "//skia",
751 "//testing/gmock",
752 "//testing/gtest",
brettw@chromium.orgd05751a22014-05-29 20:54:24753 "//ui/gfx",
754 "//ui/gfx/geometry",
tfarina@chromium.orge54a1f522014-07-22 23:26:48755 "//ui/gfx:test_support",
brettw@chromium.orgd05751a22014-05-29 20:54:24756 "//ui/gl",
757 ]
brettw@chromium.orgc7990db2014-07-23 22:35:10758
759 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links.
760 deps += [ "//third_party/mesa:osmesa" ]
761 }
brettw@chromium.orgd05751a22014-05-29 20:54:24762}
763
brettw4897a612015-03-02 23:13:15764test("cc_unittests") {
765 sources = [
766 "animation/animation_unittest.cc",
767 "animation/keyframed_animation_curve_unittest.cc",
768 "animation/layer_animation_controller_unittest.cc",
769 "animation/scroll_offset_animation_curve_unittest.cc",
770 "animation/scrollbar_animation_controller_linear_fade_unittest.cc",
771 "animation/scrollbar_animation_controller_thinning_unittest.cc",
772 "animation/transform_operations_unittest.cc",
773 "base/float_quad_unittest.cc",
jbroman7b5b0552015-05-28 03:36:58774 "base/histograms_unittest.cc",
brettw4897a612015-03-02 23:13:15775 "base/math_util_unittest.cc",
776 "base/region_unittest.cc",
777 "base/rolling_time_delta_history_unittest.cc",
778 "base/scoped_ptr_vector_unittest.cc",
jbroman7ae1e4bf2015-06-02 01:44:28779 "base/sidecar_list_container_unittest.cc",
brettw4897a612015-03-02 23:13:15780 "base/simple_enclosed_region_unittest.cc",
781 "base/tiling_data_unittest.cc",
brettw4897a612015-03-02 23:13:15782 "debug/frame_timing_tracker_unittest.cc",
783 "debug/micro_benchmark_controller_unittest.cc",
784 "input/top_controls_manager_unittest.cc",
785 "layers/contents_scaling_layer_unittest.cc",
786 "layers/delegated_frame_provider_unittest.cc",
787 "layers/delegated_frame_resource_collection_unittest.cc",
788 "layers/delegated_renderer_layer_impl_unittest.cc",
789 "layers/delegated_renderer_layer_unittest.cc",
790 "layers/heads_up_display_layer_impl_unittest.cc",
791 "layers/heads_up_display_unittest.cc",
792 "layers/io_surface_layer_impl_unittest.cc",
793 "layers/layer_impl_unittest.cc",
794 "layers/layer_iterator_unittest.cc",
795 "layers/layer_position_constraint_unittest.cc",
796 "layers/layer_unittest.cc",
797 "layers/layer_utils_unittest.cc",
798 "layers/nine_patch_layer_impl_unittest.cc",
799 "layers/nine_patch_layer_unittest.cc",
800 "layers/painted_scrollbar_layer_impl_unittest.cc",
801 "layers/picture_image_layer_impl_unittest.cc",
802 "layers/picture_image_layer_unittest.cc",
803 "layers/picture_layer_impl_unittest.cc",
804 "layers/picture_layer_unittest.cc",
805 "layers/render_surface_impl_unittest.cc",
806 "layers/render_surface_unittest.cc",
807 "layers/scrollbar_layer_unittest.cc",
808 "layers/solid_color_layer_impl_unittest.cc",
809 "layers/solid_color_scrollbar_layer_impl_unittest.cc",
810 "layers/surface_layer_impl_unittest.cc",
811 "layers/surface_layer_unittest.cc",
812 "layers/texture_layer_impl_unittest.cc",
813 "layers/texture_layer_unittest.cc",
814 "layers/tiled_layer_impl_unittest.cc",
815 "layers/tiled_layer_unittest.cc",
816 "layers/ui_resource_layer_impl_unittest.cc",
817 "layers/ui_resource_layer_unittest.cc",
818 "layers/video_layer_impl_unittest.cc",
819 "output/begin_frame_args_unittest.cc",
820 "output/delegating_renderer_unittest.cc",
821 "output/filter_operations_unittest.cc",
822 "output/gl_renderer_unittest.cc",
danakj920156852015-05-18 20:22:29823 "output/layer_quad_unittest.cc",
brettw4897a612015-03-02 23:13:15824 "output/output_surface_unittest.cc",
825 "output/overlay_unittest.cc",
826 "output/renderer_pixeltest.cc",
827 "output/renderer_unittest.cc",
828 "output/shader_unittest.cc",
829 "output/software_renderer_unittest.cc",
danakj920156852015-05-18 20:22:29830 "output/texture_mailbox_deleter_unittest.cc",
831 "playback/display_item_list_unittest.cc",
832 "playback/display_list_recording_source_unittest.cc",
833 "playback/picture_pile_impl_unittest.cc",
834 "playback/picture_pile_unittest.cc",
835 "playback/picture_unittest.cc",
836 "playback/pixel_ref_map_unittest.cc",
837 "playback/recording_source_unittest.cc",
brettw4897a612015-03-02 23:13:15838 "quads/draw_quad_unittest.cc",
839 "quads/list_container_unittest.cc",
840 "quads/render_pass_unittest.cc",
danakj920156852015-05-18 20:22:29841 "raster/scoped_gpu_raster_unittest.cc",
842 "raster/task_graph_runner_unittest.cc",
843 "raster/texture_compressor_etc1_unittest.cc",
844 "raster/tile_task_worker_pool_unittest.cc",
brettw4897a612015-03-02 23:13:15845 "resources/platform_color_unittest.cc",
846 "resources/prioritized_resource_unittest.cc",
847 "resources/resource_provider_unittest.cc",
848 "resources/resource_update_controller_unittest.cc",
brettw4897a612015-03-02 23:13:15849 "resources/scoped_resource_unittest.cc",
brettw4897a612015-03-02 23:13:15850 "resources/texture_uploader_unittest.cc",
brettw4897a612015-03-02 23:13:15851 "resources/video_resource_updater_unittest.cc",
852 "scheduler/begin_frame_source_unittest.cc",
853 "scheduler/delay_based_time_source_unittest.cc",
854 "scheduler/scheduler_state_machine_unittest.cc",
855 "scheduler/scheduler_unittest.cc",
856 "test/layer_tree_json_parser_unittest.cc",
857 "test/test_web_graphics_context_3d_unittest.cc",
danakj920156852015-05-18 20:22:29858 "tiles/picture_layer_tiling_set_unittest.cc",
859 "tiles/picture_layer_tiling_unittest.cc",
860 "tiles/tile_manager_unittest.cc",
861 "tiles/tile_priority_unittest.cc",
brettw4897a612015-03-02 23:13:15862 "trees/blocking_task_runner_unittest.cc",
863 "trees/damage_tracker_unittest.cc",
brettw4897a612015-03-02 23:13:15864 "trees/layer_tree_host_common_unittest.cc",
865 "trees/layer_tree_host_impl_unittest.cc",
866 "trees/layer_tree_host_pixeltest_blending.cc",
867 "trees/layer_tree_host_pixeltest_filters.cc",
868 "trees/layer_tree_host_pixeltest_masks.cc",
869 "trees/layer_tree_host_pixeltest_readback.cc",
870 "trees/layer_tree_host_pixeltest_synchronous.cc",
danakje0b54782015-05-29 22:47:52871 "trees/layer_tree_host_pixeltest_tiles.cc",
brettw4897a612015-03-02 23:13:15872 "trees/layer_tree_host_unittest.cc",
873 "trees/layer_tree_host_unittest_animation.cc",
874 "trees/layer_tree_host_unittest_context.cc",
875 "trees/layer_tree_host_unittest_copyrequest.cc",
876 "trees/layer_tree_host_unittest_damage.cc",
877 "trees/layer_tree_host_unittest_delegated.cc",
878 "trees/layer_tree_host_unittest_no_message_loop.cc",
879 "trees/layer_tree_host_unittest_occlusion.cc",
880 "trees/layer_tree_host_unittest_picture.cc",
881 "trees/layer_tree_host_unittest_proxy.cc",
882 "trees/layer_tree_host_unittest_scroll.cc",
883 "trees/layer_tree_host_unittest_video.cc",
884 "trees/layer_tree_impl_unittest.cc",
885 "trees/occlusion_tracker_unittest.cc",
886 "trees/occlusion_unittest.cc",
887 "trees/property_tree_unittest.cc",
888 "trees/tree_synchronizer_unittest.cc",
brettw@chromium.orgd05751a22014-05-29 20:54:24889
brettw4897a612015-03-02 23:13:15890 # Surfaces test files.
891 "surfaces/surface_aggregator_test_helpers.cc",
892 "surfaces/surface_aggregator_test_helpers.h",
893 "surfaces/surface_aggregator_unittest.cc",
894 "surfaces/surface_unittest.cc",
895 "surfaces/surfaces_pixeltest.cc",
brettw@chromium.orgd05751a22014-05-29 20:54:24896
brettw4897a612015-03-02 23:13:15897 # Setup.
898 "test/cc_test_suite.cc",
899 "test/run_all_unittests.cc",
900 ]
brettw@chromium.orgd05751a22014-05-29 20:54:24901
brettw4897a612015-03-02 23:13:15902 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
dpranke8ec93a3a2015-02-20 23:36:08903
brettw4897a612015-03-02 23:13:15904 deps = [
905 ":cc",
906 ":test_support",
907 "//base/test:test_support",
908 "//cc/surfaces",
909 "//cc/surfaces:surface_id",
910 "//gpu",
911 "//gpu:test_support",
912 "//gpu/command_buffer/client:gles2_interface",
913 "//gpu/command_buffer/common:gles2_utils",
914 "//media",
915 "//testing/gmock",
916 "//testing/gtest",
917 "//ui/events:events_base",
918 "//ui/gfx",
919 "//ui/gfx/geometry",
920 "//ui/gfx:test_support",
921 "//ui/gl",
922 ]
brettw@chromium.orgd05751a22014-05-29 20:54:24923}
924
925test("cc_perftests") {
brettw@chromium.org6e44c302014-07-22 21:51:37926 sources = [
927 "layers/layer_perftest.cc",
928 "layers/picture_layer_impl_perftest.cc",
danakj920156852015-05-18 20:22:29929 "playback/picture_pile_impl_perftest.cc",
vmpstr0b044512015-05-29 02:58:03930 "quads/draw_quad_perftest.cc",
danakj920156852015-05-18 20:22:29931 "raster/task_graph_runner_perftest.cc",
932 "raster/texture_compressor_perftest.cc",
933 "raster/tile_task_worker_pool_perftest.cc",
jbauman39be2012015-04-16 01:33:08934 "surfaces/surface_aggregator_perftest.cc",
brettw@chromium.org6e44c302014-07-22 21:51:37935 "test/cc_test_suite.cc",
936 "test/run_all_perftests.cc",
danakj920156852015-05-18 20:22:29937 "tiles/picture_layer_tiling_perftest.cc",
938 "tiles/tile_manager_perftest.cc",
brettw@chromium.org6e44c302014-07-22 21:51:37939 "trees/layer_tree_host_common_perftest.cc",
940 "trees/layer_tree_host_perftest.cc",
941 "trees/occlusion_tracker_perftest.cc",
942 ]
brettw@chromium.orgd05751a22014-05-29 20:54:24943
dpranke8ec93a3a2015-02-20 23:36:08944 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
945
brettw@chromium.org6e44c302014-07-22 21:51:37946 deps = [
947 ":cc",
948 ":test_support",
949 "//base",
jamesr16c04ff2014-11-24 22:24:57950 "//base/test:test_support",
jbauman39be2012015-04-16 01:33:08951 "//cc/surfaces",
952 "//cc/surfaces:surface_id",
brettw@chromium.org6e44c302014-07-22 21:51:37953 "//gpu",
brettw@chromium.orgc7990db2014-07-23 22:35:10954 "//gpu:test_support",
oetuaho@nvidia.com845c4e32014-08-13 11:50:40955 "//gpu/command_buffer/common:gles2_utils",
brettw@chromium.org6e44c302014-07-22 21:51:37956 "//media",
957 "//skia",
958 "//testing/gmock",
959 "//testing/gtest",
960 "//testing/perf",
961 "//ui/gfx",
962 "//ui/gfx/geometry",
jamesr16c04ff2014-11-24 22:24:57963 "//ui/gl",
brettw@chromium.org6e44c302014-07-22 21:51:37964 ]
965}
sunnypse619a362015-03-07 00:03:17966# When adding support for isolates, please have a look at run-time dependencies
967# in the cc_unittests_run target in cc_tests.gyp.