[go: nahoru, domu]

blob: 37e471d4fe08029a7e22cbe21bcb56de195abc0e [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
5component("cc") {
6 sources = [
7 "animation/animation.cc",
8 "animation/animation.h",
9 "animation/animation_curve.cc",
10 "animation/animation_curve.h",
11 "animation/animation_delegate.h",
12 "animation/animation_events.cc",
13 "animation/animation_events.h",
14 "animation/animation_id_provider.cc",
15 "animation/animation_id_provider.h",
16 "animation/animation_registrar.cc",
17 "animation/animation_registrar.h",
18 "animation/keyframed_animation_curve.cc",
19 "animation/keyframed_animation_curve.h",
20 "animation/layer_animation_controller.cc",
21 "animation/layer_animation_controller.h",
22 "animation/layer_animation_event_observer.h",
23 "animation/layer_animation_value_observer.h",
24 "animation/layer_animation_value_provider.h",
25 "animation/scroll_offset_animation_curve.cc",
26 "animation/scroll_offset_animation_curve.h",
27 "animation/scrollbar_animation_controller.h",
28 "animation/scrollbar_animation_controller.cc",
29 "animation/scrollbar_animation_controller_linear_fade.cc",
30 "animation/scrollbar_animation_controller_linear_fade.h",
31 "animation/scrollbar_animation_controller_thinning.cc",
32 "animation/scrollbar_animation_controller_thinning.h",
33 "animation/timing_function.cc",
34 "animation/timing_function.h",
35 "animation/transform_operation.cc",
36 "animation/transform_operation.h",
37 "animation/transform_operations.cc",
38 "animation/transform_operations.h",
39 "base/completion_event.h",
jamesr@chromium.orgd5ba08c2014-06-18 07:01:0840 "base/delayed_unique_notifier.cc",
41 "base/delayed_unique_notifier.h",
brettw@chromium.orgd05751a22014-05-29 20:54:2442 "base/invalidation_region.cc",
43 "base/invalidation_region.h",
44 "base/latency_info_swap_promise.cc",
45 "base/latency_info_swap_promise.h",
46 "base/latency_info_swap_promise_monitor.cc",
47 "base/latency_info_swap_promise_monitor.h",
48 "base/math_util.cc",
49 "base/math_util.h",
50 "base/ref_counted_managed.h",
51 "base/region.cc",
52 "base/region.h",
53 "base/rolling_time_delta_history.cc",
54 "base/rolling_time_delta_history.h",
55 "base/scoped_ptr_algorithm.h",
56 "base/scoped_ptr_deque.h",
57 "base/scoped_ptr_vector.h",
danakj@chromium.orgd5467eb2014-08-22 01:16:4358 "base/simple_enclosed_region.cc",
59 "base/simple_enclosed_region.h",
brettw@chromium.orgd05751a22014-05-29 20:54:2460 "base/swap_promise.h",
61 "base/swap_promise_monitor.cc",
62 "base/swap_promise_monitor.h",
63 "base/switches.cc",
64 "base/switches.h",
65 "base/tiling_data.cc",
66 "base/tiling_data.h",
behara.ms71ff07f2014-11-12 05:09:0867 "base/time_util.h",
jamesr@chromium.orgd5ba08c2014-06-18 07:01:0868 "base/unique_notifier.cc",
69 "base/unique_notifier.h",
brettw@chromium.orgd05751a22014-05-29 20:54:2470 "base/util.h",
71 "debug/benchmark_instrumentation.cc",
72 "debug/benchmark_instrumentation.h",
73 "debug/debug_colors.cc",
74 "debug/debug_colors.h",
75 "debug/debug_rect_history.cc",
76 "debug/debug_rect_history.h",
77 "debug/devtools_instrumentation.h",
78 "debug/frame_rate_counter.cc",
79 "debug/frame_rate_counter.h",
80 "debug/frame_viewer_instrumentation.h",
jamesr@chromium.orgd5ba08c2014-06-18 07:01:0881 "debug/invalidation_benchmark.cc",
82 "debug/invalidation_benchmark.h",
brettw@chromium.orgd05751a22014-05-29 20:54:2483 "debug/lap_timer.cc",
84 "debug/lap_timer.h",
85 "debug/layer_tree_debug_state.cc",
86 "debug/layer_tree_debug_state.h",
87 "debug/micro_benchmark.cc",
88 "debug/micro_benchmark.h",
89 "debug/micro_benchmark_impl.cc",
90 "debug/micro_benchmark_impl.h",
91 "debug/micro_benchmark_controller.cc",
92 "debug/micro_benchmark_controller.h",
93 "debug/micro_benchmark_controller_impl.cc",
94 "debug/micro_benchmark_controller_impl.h",
95 "debug/paint_time_counter.cc",
96 "debug/paint_time_counter.h",
97 "debug/picture_record_benchmark.cc",
98 "debug/picture_record_benchmark.h",
99 "debug/rasterize_and_record_benchmark.cc",
100 "debug/rasterize_and_record_benchmark.h",
101 "debug/rasterize_and_record_benchmark_impl.cc",
102 "debug/rasterize_and_record_benchmark_impl.h",
103 "debug/rendering_stats.cc",
104 "debug/rendering_stats.h",
105 "debug/rendering_stats_instrumentation.cc",
106 "debug/rendering_stats_instrumentation.h",
107 "debug/ring_buffer.h",
108 "debug/traced_picture.cc",
109 "debug/traced_picture.h",
110 "debug/traced_value.cc",
111 "debug/traced_value.h",
112 "debug/unittest_only_benchmark.cc",
113 "debug/unittest_only_benchmark.h",
114 "debug/unittest_only_benchmark_impl.cc",
115 "debug/unittest_only_benchmark_impl.h",
ccameron36d091f2014-11-07 03:18:50116 "input/input_handler.cc",
brettw@chromium.orgd05751a22014-05-29 20:54:24117 "input/input_handler.h",
118 "input/page_scale_animation.cc",
119 "input/page_scale_animation.h",
tfarina@chromium.orgb2ba2d42014-07-03 18:14:50120 "input/layer_selection_bound.cc",
121 "input/layer_selection_bound.h",
122 "input/selection_bound_type.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24123 "input/top_controls_manager.cc",
124 "input/top_controls_manager.h",
125 "input/top_controls_manager_client.h",
126 "layers/append_quads_data.h",
127 "layers/content_layer.cc",
128 "layers/content_layer.h",
129 "layers/content_layer_client.h",
130 "layers/contents_scaling_layer.cc",
131 "layers/contents_scaling_layer.h",
132 "layers/delegated_frame_provider.cc",
133 "layers/delegated_frame_provider.h",
134 "layers/delegated_frame_resource_collection.cc",
135 "layers/delegated_frame_resource_collection.h",
136 "layers/delegated_renderer_layer.cc",
137 "layers/delegated_renderer_layer.h",
138 "layers/delegated_renderer_layer_impl.cc",
139 "layers/delegated_renderer_layer_impl.h",
140 "layers/draw_properties.h",
141 "layers/heads_up_display_layer.cc",
142 "layers/heads_up_display_layer.h",
143 "layers/heads_up_display_layer_impl.cc",
144 "layers/heads_up_display_layer_impl.h",
145 "layers/image_layer.cc",
146 "layers/image_layer.h",
147 "layers/io_surface_layer.cc",
148 "layers/io_surface_layer.h",
149 "layers/io_surface_layer_impl.cc",
150 "layers/io_surface_layer_impl.h",
151 "layers/layer.cc",
152 "layers/layer.h",
153 "layers/layer_client.h",
154 "layers/layer_impl.cc",
155 "layers/layer_impl.h",
156 "layers/layer_iterator.h",
157 "layers/layer_lists.cc",
158 "layers/layer_lists.h",
159 "layers/layer_position_constraint.cc",
160 "layers/layer_position_constraint.h",
161 "layers/layer_utils.cc",
162 "layers/layer_utils.h",
163 "layers/nine_patch_layer.cc",
164 "layers/nine_patch_layer.h",
165 "layers/nine_patch_layer_impl.cc",
166 "layers/nine_patch_layer_impl.h",
167 "layers/paint_properties.h",
168 "layers/painted_scrollbar_layer.cc",
169 "layers/painted_scrollbar_layer.h",
170 "layers/painted_scrollbar_layer_impl.cc",
171 "layers/painted_scrollbar_layer_impl.h",
172 "layers/picture_image_layer.cc",
173 "layers/picture_image_layer.h",
174 "layers/picture_image_layer_impl.cc",
175 "layers/picture_image_layer_impl.h",
176 "layers/picture_layer.cc",
177 "layers/picture_layer.h",
178 "layers/picture_layer_impl.cc",
179 "layers/picture_layer_impl.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24180 "layers/render_pass_sink.h",
181 "layers/render_surface.cc",
182 "layers/render_surface.h",
183 "layers/render_surface_impl.cc",
184 "layers/render_surface_impl.h",
185 "layers/scrollbar_layer_impl_base.cc",
186 "layers/scrollbar_layer_impl_base.h",
187 "layers/scrollbar_layer_interface.h",
188 "layers/solid_color_layer.cc",
189 "layers/solid_color_layer.h",
190 "layers/solid_color_layer_impl.cc",
191 "layers/solid_color_layer_impl.h",
192 "layers/solid_color_scrollbar_layer.cc",
193 "layers/solid_color_scrollbar_layer.h",
194 "layers/solid_color_scrollbar_layer_impl.cc",
195 "layers/solid_color_scrollbar_layer_impl.h",
196 "layers/surface_layer.cc",
197 "layers/surface_layer.h",
198 "layers/surface_layer_impl.cc",
199 "layers/surface_layer_impl.h",
200 "layers/texture_layer.cc",
201 "layers/texture_layer.h",
202 "layers/texture_layer_client.h",
203 "layers/texture_layer_impl.cc",
204 "layers/texture_layer_impl.h",
205 "layers/tiled_layer.cc",
206 "layers/tiled_layer.h",
207 "layers/tiled_layer_impl.cc",
208 "layers/tiled_layer_impl.h",
209 "layers/ui_resource_layer.cc",
210 "layers/ui_resource_layer.h",
211 "layers/ui_resource_layer_impl.cc",
212 "layers/ui_resource_layer_impl.h",
213 "layers/video_frame_provider.h",
214 "layers/video_frame_provider_client_impl.cc",
215 "layers/video_frame_provider_client_impl.h",
216 "layers/video_layer.cc",
217 "layers/video_layer.h",
218 "layers/video_layer_impl.cc",
219 "layers/video_layer_impl.h",
220 "output/begin_frame_args.cc",
221 "output/begin_frame_args.h",
thildebr@chromium.org2a021fb7b2014-08-02 07:53:49222 "output/bsp_tree.cc",
223 "output/bsp_tree.h",
224 "output/bsp_walk_action.cc",
225 "output/bsp_walk_action.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24226 "output/compositor_frame.cc",
227 "output/compositor_frame.h",
228 "output/compositor_frame_ack.cc",
229 "output/compositor_frame_ack.h",
230 "output/compositor_frame_metadata.cc",
231 "output/compositor_frame_metadata.h",
232 "output/context_provider.cc",
233 "output/context_provider.h",
234 "output/copy_output_request.cc",
235 "output/copy_output_request.h",
236 "output/copy_output_result.cc",
237 "output/copy_output_result.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24238 "output/delegated_frame_data.cc",
tfarina@chromium.orgb2ba2d42014-07-03 18:14:50239 "output/delegated_frame_data.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24240 "output/delegating_renderer.cc",
241 "output/delegating_renderer.h",
242 "output/direct_renderer.cc",
243 "output/direct_renderer.h",
244 "output/filter_operation.cc",
245 "output/filter_operation.h",
246 "output/filter_operations.cc",
247 "output/filter_operations.h",
248 "output/geometry_binding.cc",
249 "output/geometry_binding.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24250 "output/gl_frame_data.cc",
tfarina@chromium.orgb2ba2d42014-07-03 18:14:50251 "output/gl_frame_data.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24252 "output/gl_renderer.cc",
253 "output/gl_renderer.h",
254 "output/gl_renderer_draw_cache.cc",
255 "output/gl_renderer_draw_cache.h",
256 "output/managed_memory_policy.cc",
257 "output/managed_memory_policy.h",
258 "output/output_surface.cc",
259 "output/output_surface.h",
260 "output/output_surface_client.h",
261 "output/overlay_candidate.cc",
262 "output/overlay_candidate.h",
263 "output/overlay_candidate_validator.h",
264 "output/overlay_processor.cc",
265 "output/overlay_processor.h",
266 "output/overlay_strategy_single_on_top.cc",
267 "output/overlay_strategy_single_on_top.h",
268 "output/program_binding.cc",
269 "output/program_binding.h",
270 "output/render_surface_filters.cc",
271 "output/render_surface_filters.h",
272 "output/renderer.cc",
273 "output/renderer.h",
274 "output/shader.cc",
275 "output/shader.h",
276 "output/software_frame_data.cc",
277 "output/software_frame_data.h",
278 "output/software_output_device.cc",
279 "output/software_output_device.h",
280 "output/software_renderer.cc",
281 "output/software_renderer.h",
tfarina@chromium.orgb2ba2d42014-07-03 18:14:50282 "output/viewport_selection_bound.cc",
283 "output/viewport_selection_bound.h",
mithroc34fc0b12014-09-30 09:10:41284 "output/vsync_parameter_observer.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24285 "quads/checkerboard_draw_quad.cc",
286 "quads/checkerboard_draw_quad.h",
287 "quads/content_draw_quad_base.cc",
288 "quads/content_draw_quad_base.h",
289 "quads/debug_border_draw_quad.cc",
290 "quads/debug_border_draw_quad.h",
thildebr@chromium.org2a021fb7b2014-08-02 07:53:49291 "quads/draw_polygon.cc",
292 "quads/draw_polygon.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24293 "quads/draw_quad.cc",
294 "quads/draw_quad.h",
295 "quads/io_surface_draw_quad.cc",
296 "quads/io_surface_draw_quad.h",
danakj@chromium.org620aaedc2014-08-12 22:41:20297 "quads/largest_draw_quad.h",
weiliangcfe7b51e2014-11-05 18:20:27298 "quads/largest_draw_quad.cc",
weiliangcd1f5016c2014-09-23 14:29:03299 "quads/list_container.cc",
300 "quads/list_container.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24301 "quads/picture_draw_quad.cc",
302 "quads/picture_draw_quad.h",
303 "quads/render_pass.cc",
304 "quads/render_pass.h",
305 "quads/render_pass_draw_quad.cc",
306 "quads/render_pass_draw_quad.h",
weiliangc@chromium.org0cd7d6f72014-08-22 14:50:51307 "quads/render_pass_id.cc",
308 "quads/render_pass_id.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24309 "quads/shared_quad_state.cc",
310 "quads/shared_quad_state.h",
311 "quads/solid_color_draw_quad.cc",
312 "quads/solid_color_draw_quad.h",
313 "quads/stream_video_draw_quad.cc",
314 "quads/stream_video_draw_quad.h",
315 "quads/surface_draw_quad.cc",
316 "quads/surface_draw_quad.h",
317 "quads/texture_draw_quad.cc",
318 "quads/texture_draw_quad.h",
319 "quads/tile_draw_quad.cc",
320 "quads/tile_draw_quad.h",
321 "quads/yuv_video_draw_quad.cc",
322 "quads/yuv_video_draw_quad.h",
323 "resources/bitmap_content_layer_updater.cc",
324 "resources/bitmap_content_layer_updater.h",
reveman5ae838bb2014-09-24 23:30:14325 "resources/bitmap_raster_worker_pool.cc",
326 "resources/bitmap_raster_worker_pool.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24327 "resources/bitmap_skpicture_content_layer_updater.cc",
328 "resources/bitmap_skpicture_content_layer_updater.h",
329 "resources/content_layer_updater.cc",
330 "resources/content_layer_updater.h",
vmpstr@chromium.orgbf050582014-07-24 11:10:58331 "resources/eviction_tile_priority_queue.cc",
332 "resources/eviction_tile_priority_queue.h",
sohan.jyoti@samsung.come1878b52014-07-01 09:21:17333 "resources/gpu_raster_worker_pool.cc",
334 "resources/gpu_raster_worker_pool.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24335 "resources/image_layer_updater.cc",
336 "resources/image_layer_updater.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24337 "resources/layer_painter.h",
338 "resources/layer_quad.cc",
339 "resources/layer_quad.h",
340 "resources/layer_tiling_data.cc",
341 "resources/layer_tiling_data.h",
342 "resources/layer_updater.cc",
343 "resources/layer_updater.h",
344 "resources/managed_tile_state.cc",
345 "resources/managed_tile_state.h",
346 "resources/memory_history.cc",
347 "resources/memory_history.h",
reveman423e7da2014-09-23 16:57:44348 "resources/one_copy_raster_worker_pool.cc",
349 "resources/one_copy_raster_worker_pool.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24350 "resources/picture.cc",
351 "resources/picture.h",
352 "resources/picture_layer_tiling.cc",
353 "resources/picture_layer_tiling.h",
354 "resources/picture_layer_tiling_set.cc",
355 "resources/picture_layer_tiling_set.h",
vmpstr@chromium.orgbf050582014-07-24 11:10:58356 "resources/picture_pile.cc",
357 "resources/picture_pile.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24358 "resources/picture_pile_impl.cc",
359 "resources/picture_pile_impl.h",
360 "resources/pixel_buffer_raster_worker_pool.cc",
361 "resources/pixel_buffer_raster_worker_pool.h",
362 "resources/platform_color.h",
363 "resources/prioritized_resource.cc",
364 "resources/prioritized_resource.h",
365 "resources/prioritized_resource_manager.cc",
366 "resources/prioritized_resource_manager.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24367 "resources/priority_calculator.cc",
368 "resources/priority_calculator.h",
reveman47560ab2014-09-18 19:39:21369 "resources/raster_buffer.cc",
370 "resources/raster_buffer.h",
vmpstr394e2b52014-10-28 18:38:10371 "resources/raster_source.h",
vmpstr@chromium.orgbf050582014-07-24 11:10:58372 "resources/raster_tile_priority_queue.cc",
373 "resources/raster_tile_priority_queue.h",
374 "resources/raster_worker_pool.cc",
375 "resources/raster_worker_pool.h",
reveman423e7da2014-09-23 16:57:44376 "resources/rasterizer.cc",
377 "resources/rasterizer.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24378 "resources/release_callback.h",
379 "resources/resource.cc",
reveman423e7da2014-09-23 16:57:44380 "resources/resource.h",
ksakamoto@chromium.orgc6f0cf62014-07-22 02:44:41381 "resources/resource_format.cc",
vmpstr@chromium.orgbf050582014-07-24 11:10:58382 "resources/resource_format.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24383 "resources/resource_pool.cc",
384 "resources/resource_pool.h",
385 "resources/resource_provider.cc",
386 "resources/resource_provider.h",
387 "resources/resource_update.cc",
reveman423e7da2014-09-23 16:57:44388 "resources/resource_update.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24389 "resources/resource_update_controller.cc",
390 "resources/resource_update_controller.h",
391 "resources/resource_update_queue.cc",
392 "resources/resource_update_queue.h",
393 "resources/returned_resource.h",
sohan.jyoti@samsung.com110fcc0e2014-07-16 15:52:47394 "resources/scoped_gpu_raster.cc",
395 "resources/scoped_gpu_raster.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24396 "resources/scoped_resource.cc",
397 "resources/scoped_resource.h",
398 "resources/scoped_ui_resource.cc",
399 "resources/scoped_ui_resource.h",
400 "resources/shared_bitmap.cc",
401 "resources/shared_bitmap.h",
402 "resources/shared_bitmap_manager.h",
403 "resources/single_release_callback.cc",
404 "resources/single_release_callback.h",
skyostil3976a3f2014-09-04 22:07:23405 "resources/single_release_callback_impl.cc",
406 "resources/single_release_callback_impl.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24407 "resources/skpicture_content_layer_updater.cc",
408 "resources/skpicture_content_layer_updater.h",
409 "resources/task_graph_runner.cc",
410 "resources/task_graph_runner.h",
411 "resources/texture_mailbox.cc",
reveman423e7da2014-09-23 16:57:44412 "resources/texture_mailbox.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24413 "resources/texture_mailbox_deleter.cc",
414 "resources/texture_mailbox_deleter.h",
415 "resources/texture_uploader.cc",
416 "resources/texture_uploader.h",
417 "resources/tile.cc",
418 "resources/tile.h",
419 "resources/tile_manager.cc",
420 "resources/tile_manager.h",
421 "resources/tile_priority.cc",
422 "resources/tile_priority.h",
423 "resources/transferable_resource.cc",
424 "resources/transferable_resource.h",
425 "resources/ui_resource_bitmap.cc",
426 "resources/ui_resource_bitmap.h",
427 "resources/ui_resource_client.h",
428 "resources/ui_resource_request.cc",
429 "resources/ui_resource_request.h",
430 "resources/video_resource_updater.cc",
431 "resources/video_resource_updater.h",
reveman423e7da2014-09-23 16:57:44432 "resources/zero_copy_raster_worker_pool.cc",
433 "resources/zero_copy_raster_worker_pool.h",
mithroc34fc0b12014-09-30 09:10:41434 "scheduler/begin_frame_source.cc",
435 "scheduler/begin_frame_source.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24436 "scheduler/delay_based_time_source.cc",
437 "scheduler/delay_based_time_source.h",
438 "scheduler/draw_result.h",
439 "scheduler/scheduler.cc",
440 "scheduler/scheduler.h",
441 "scheduler/scheduler_settings.cc",
442 "scheduler/scheduler_settings.h",
443 "scheduler/scheduler_state_machine.cc",
444 "scheduler/scheduler_state_machine.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24445 "trees/blocking_task_runner.cc",
446 "trees/blocking_task_runner.h",
447 "trees/damage_tracker.cc",
448 "trees/damage_tracker.h",
449 "trees/layer_sorter.cc",
450 "trees/layer_sorter.h",
451 "trees/layer_tree_host.cc",
452 "trees/layer_tree_host.h",
453 "trees/layer_tree_host_client.h",
454 "trees/layer_tree_host_common.cc",
455 "trees/layer_tree_host_common.h",
456 "trees/layer_tree_host_impl.cc",
457 "trees/layer_tree_host_impl.h",
458 "trees/layer_tree_impl.cc",
459 "trees/layer_tree_impl.h",
460 "trees/layer_tree_settings.cc",
461 "trees/layer_tree_settings.h",
vmpstrcdcb5f72014-09-11 00:58:37462 "trees/occlusion.cc",
463 "trees/occlusion.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24464 "trees/occlusion_tracker.cc",
465 "trees/occlusion_tracker.h",
466 "trees/proxy.cc",
467 "trees/proxy.h",
468 "trees/proxy_timing_history.cc",
469 "trees/proxy_timing_history.h",
enne@chromium.orgaeeedad2014-08-22 18:16:22470 "trees/scoped_abort_remaining_swap_promises.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24471 "trees/single_thread_proxy.cc",
472 "trees/single_thread_proxy.h",
473 "trees/thread_proxy.cc",
474 "trees/thread_proxy.h",
475 "trees/tree_synchronizer.cc",
476 "trees/tree_synchronizer.h",
477 ]
478
479 if (is_win) {
480 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
481 cflags = [ "/wd4267" ] # size_t -> int
482 }
483
Brett Wilsone53895272014-09-23 23:41:46484 public_deps = [
485 "//skia",
486 ]
brettw@chromium.orgd05751a22014-05-29 20:54:24487 deps = [
488 "//base",
489 "//base/third_party/dynamic_annotations",
490 "//gpu",
jbromancba3d2f2014-09-16 01:04:24491 "//gpu/command_buffer/client:gles2_interface",
revemanf9a8a232014-10-28 17:54:52492 "//gpu/command_buffer/client:gpu_memory_buffer_manager",
brettw@chromium.org6e44c302014-07-22 21:51:37493 "//media",
brettw@chromium.orgd05751a22014-05-29 20:54:24494 "//ui/events:events_base",
495 "//ui/gfx",
496 "//ui/gfx/geometry",
brettw@chromium.orgd05751a22014-05-29 20:54:24497 ]
498
brettw@chromium.org3ffa36a2014-07-24 21:01:50499 defines = [ "CC_IMPLEMENTATION=1" ]
brettw@chromium.orgd05751a22014-05-29 20:54:24500
fdegans75b3d092014-09-17 18:35:55501 if (!is_debug && (is_win || is_android)) {
brettw@chromium.orgd05751a22014-05-29 20:54:24502 configs -= [ "//build/config/compiler:optimize" ]
503 configs += [ "//build/config/compiler:optimize_max" ]
504 }
brettw@chromium.orgd05751a22014-05-29 20:54:24505}
506
507source_set("test_support") {
Brett Wilson8f80ad0b2014-09-08 19:50:24508 testonly = true
brettw@chromium.orgd05751a22014-05-29 20:54:24509 sources = [
510 "test/animation_test_common.cc",
511 "test/animation_test_common.h",
512 "test/begin_frame_args_test.cc",
513 "test/begin_frame_args_test.h",
514 "test/fake_content_layer.cc",
515 "test/fake_content_layer.h",
516 "test/fake_content_layer_client.cc",
517 "test/fake_content_layer_client.h",
518 "test/fake_content_layer_impl.cc",
519 "test/fake_content_layer_impl.h",
520 "test/fake_delegated_renderer_layer.cc",
521 "test/fake_delegated_renderer_layer.h",
522 "test/fake_delegated_renderer_layer_impl.cc",
523 "test/fake_delegated_renderer_layer_impl.h",
524 "test/fake_impl_proxy.h",
525 "test/fake_layer_tree_host.cc",
526 "test/fake_layer_tree_host.h",
527 "test/fake_layer_tree_host_client.cc",
528 "test/fake_layer_tree_host_client.h",
529 "test/fake_layer_tree_host_impl.cc",
530 "test/fake_layer_tree_host_impl.h",
531 "test/fake_layer_tree_host_impl_client.cc",
532 "test/fake_layer_tree_host_impl_client.h",
533 "test/fake_output_surface.cc",
534 "test/fake_output_surface.h",
535 "test/fake_output_surface_client.cc",
536 "test/fake_output_surface_client.h",
537 "test/fake_painted_scrollbar_layer.cc",
538 "test/fake_painted_scrollbar_layer.h",
539 "test/fake_picture_layer.cc",
540 "test/fake_picture_layer.h",
541 "test/fake_picture_layer_impl.cc",
542 "test/fake_picture_layer_impl.h",
543 "test/fake_picture_layer_tiling_client.cc",
544 "test/fake_picture_layer_tiling_client.h",
hendrikw312ee8ac2014-11-12 23:24:34545 "test/fake_picture_pile.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24546 "test/fake_picture_pile_impl.cc",
547 "test/fake_picture_pile_impl.h",
548 "test/fake_proxy.cc",
549 "test/fake_proxy.h",
550 "test/fake_renderer_client.cc",
551 "test/fake_renderer_client.h",
552 "test/fake_rendering_stats_instrumentation.h",
553 "test/fake_scoped_ui_resource.cc",
554 "test/fake_scoped_ui_resource.h",
555 "test/fake_scrollbar.cc",
556 "test/fake_scrollbar.h",
557 "test/fake_tile_manager.cc",
558 "test/fake_tile_manager.h",
559 "test/fake_tile_manager_client.cc",
560 "test/fake_tile_manager_client.h",
561 "test/fake_ui_resource_layer_tree_host_impl.cc",
562 "test/fake_ui_resource_layer_tree_host_impl.h",
563 "test/fake_video_frame_provider.cc",
564 "test/fake_video_frame_provider.h",
565 "test/geometry_test_utils.cc",
566 "test/geometry_test_utils.h",
567 "test/test_in_process_context_provider.cc",
568 "test/test_in_process_context_provider.h",
569 "test/impl_side_painting_settings.h",
570 "test/layer_test_common.cc",
571 "test/layer_test_common.h",
572 "test/layer_tree_host_common_test.cc",
573 "test/layer_tree_host_common_test.h",
574 "test/layer_tree_json_parser.cc",
575 "test/layer_tree_json_parser.h",
enne03dbe8ae2014-10-30 01:32:55576 "test/layer_tree_pixel_resource_test.cc",
577 "test/layer_tree_pixel_resource_test.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24578 "test/layer_tree_pixel_test.cc",
579 "test/layer_tree_pixel_test.h",
580 "test/layer_tree_test.cc",
581 "test/layer_tree_test.h",
weiliangc@chromium.orgba16cce2014-06-17 17:03:50582 "test/mock_occlusion_tracker.h",
jamesr@chromium.orgd5ba08c2014-06-18 07:01:08583 "test/ordered_simple_task_runner.cc",
584 "test/ordered_simple_task_runner.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24585 "test/ordered_texture_map.cc",
586 "test/ordered_texture_map.h",
587 "test/paths.cc",
588 "test/paths.h",
589 "test/pixel_comparator.cc",
590 "test/pixel_comparator.h",
591 "test/pixel_test.cc",
592 "test/pixel_test.h",
593 "test/pixel_test_output_surface.cc",
594 "test/pixel_test_output_surface.h",
595 "test/pixel_test_software_output_device.cc",
596 "test/pixel_test_software_output_device.h",
597 "test/pixel_test_utils.cc",
598 "test/pixel_test_utils.h",
599 "test/render_pass_test_common.cc",
600 "test/render_pass_test_common.h",
601 "test/render_pass_test_utils.cc",
602 "test/render_pass_test_utils.h",
603 "test/scheduler_test_common.cc",
604 "test/scheduler_test_common.h",
605 "test/skia_common.cc",
606 "test/skia_common.h",
607 "test/solid_color_content_layer_client.cc",
608 "test/solid_color_content_layer_client.h",
609 "test/test_context_provider.cc",
610 "test/test_context_provider.h",
611 "test/test_context_support.cc",
612 "test/test_context_support.h",
613 "test/test_gles2_interface.cc",
614 "test/test_gles2_interface.h",
reveman22dd9292014-10-13 20:52:05615 "test/test_gpu_memory_buffer_manager.cc",
616 "test/test_gpu_memory_buffer_manager.h",
reveman2232bce2014-10-29 01:28:05617 "test/test_image_factory.cc",
618 "test/test_image_factory.h",
mithro0c0ac6a2014-09-10 01:03:36619 "test/test_now_source.cc",
620 "test/test_now_source.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24621 "test/test_occlusion_tracker.h",
622 "test/test_shared_bitmap_manager.cc",
623 "test/test_shared_bitmap_manager.h",
624 "test/test_texture.cc",
625 "test/test_texture.h",
626 "test/test_tile_priorities.cc",
627 "test/test_tile_priorities.h",
628 "test/test_web_graphics_context_3d.cc",
629 "test/test_web_graphics_context_3d.h",
630 "test/tiled_layer_test_common.cc",
631 "test/tiled_layer_test_common.h",
632 ]
633
634 include_dirs = [
635 ".",
636 "test",
637 ]
638
Brett Wilson0380637c2014-09-19 21:24:40639 public_deps = [
640 ":cc",
Brett Wilsone53895272014-09-23 23:41:46641 "//gpu:test_support",
Brett Wilson0380637c2014-09-19 21:24:40642 ]
brettw@chromium.orgd05751a22014-05-29 20:54:24643 deps = [
644 "//base",
645 "//base/third_party/dynamic_annotations",
brettw@chromium.orgd05751a22014-05-29 20:54:24646 "//gpu/command_buffer/client:gles2_c_lib",
647 "//gpu/command_buffer/client:gles2_implementation",
revemanf9a8a232014-10-28 17:54:52648 "//gpu/command_buffer/client:gpu_memory_buffer_manager",
brettw@chromium.orgd05751a22014-05-29 20:54:24649 "//gpu/command_buffer/client:gl_in_process_context",
oetuaho@nvidia.com845c4e32014-08-13 11:50:40650 "//gpu/command_buffer/common:gles2_utils",
brettw@chromium.orgd05751a22014-05-29 20:54:24651 "//gpu/skia_bindings",
652 "//skia",
653 "//testing/gmock",
654 "//testing/gtest",
brettw@chromium.orgd05751a22014-05-29 20:54:24655 "//ui/gfx",
656 "//ui/gfx/geometry",
tfarina@chromium.orge54a1f522014-07-22 23:26:48657 "//ui/gfx:test_support",
brettw@chromium.orgd05751a22014-05-29 20:54:24658 "//ui/gl",
659 ]
brettw@chromium.orgc7990db2014-07-23 22:35:10660
661 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links.
662 deps += [ "//third_party/mesa:osmesa" ]
663 }
brettw@chromium.orgd05751a22014-05-29 20:54:24664}
665
brettw@chromium.orgd05751a22014-05-29 20:54:24666test("cc_unittests") {
667 sources = [
668 "animation/animation_unittest.cc",
669 "animation/keyframed_animation_curve_unittest.cc",
670 "animation/layer_animation_controller_unittest.cc",
671 "animation/scroll_offset_animation_curve_unittest.cc",
672 "animation/scrollbar_animation_controller_linear_fade_unittest.cc",
673 "animation/scrollbar_animation_controller_thinning_unittest.cc",
674 "animation/transform_operations_unittest.cc",
675 "base/float_quad_unittest.cc",
676 "base/math_util_unittest.cc",
677 "base/region_unittest.cc",
678 "base/rolling_time_delta_history_unittest.cc",
679 "base/scoped_ptr_vector_unittest.cc",
danakj@chromium.orgd5467eb2014-08-22 01:16:43680 "base/simple_enclosed_region_unittest.cc",
brettw@chromium.orgd05751a22014-05-29 20:54:24681 "base/tiling_data_unittest.cc",
682 "base/util_unittest.cc",
683 "debug/micro_benchmark_controller_unittest.cc",
684 "input/top_controls_manager_unittest.cc",
brettw@chromium.orgd05751a22014-05-29 20:54:24685 "layers/contents_scaling_layer_unittest.cc",
686 "layers/delegated_frame_provider_unittest.cc",
687 "layers/delegated_frame_resource_collection_unittest.cc",
688 "layers/delegated_renderer_layer_impl_unittest.cc",
awoloszyn@chromium.orgad63b2f2014-08-11 17:39:54689 "layers/delegated_renderer_layer_unittest.cc",
brettw@chromium.orgd05751a22014-05-29 20:54:24690 "layers/heads_up_display_unittest.cc",
691 "layers/heads_up_display_layer_impl_unittest.cc",
692 "layers/io_surface_layer_impl_unittest.cc",
693 "layers/layer_impl_unittest.cc",
694 "layers/layer_iterator_unittest.cc",
695 "layers/layer_position_constraint_unittest.cc",
696 "layers/layer_unittest.cc",
697 "layers/layer_utils_unittest.cc",
698 "layers/nine_patch_layer_impl_unittest.cc",
699 "layers/nine_patch_layer_unittest.cc",
700 "layers/painted_scrollbar_layer_impl_unittest.cc",
701 "layers/picture_image_layer_impl_unittest.cc",
702 "layers/picture_layer_impl_unittest.cc",
703 "layers/picture_layer_unittest.cc",
704 "layers/render_surface_unittest.cc",
705 "layers/render_surface_impl_unittest.cc",
706 "layers/scrollbar_layer_unittest.cc",
707 "layers/solid_color_layer_impl_unittest.cc",
708 "layers/solid_color_scrollbar_layer_impl_unittest.cc",
jbaumandbccae1ab2014-11-06 23:26:44709 "layers/surface_layer_unittest.cc",
brettw@chromium.orgd05751a22014-05-29 20:54:24710 "layers/surface_layer_impl_unittest.cc",
711 "layers/texture_layer_unittest.cc",
712 "layers/texture_layer_impl_unittest.cc",
713 "layers/tiled_layer_impl_unittest.cc",
714 "layers/tiled_layer_unittest.cc",
715 "layers/ui_resource_layer_impl_unittest.cc",
716 "layers/ui_resource_layer_unittest.cc",
717 "layers/video_layer_impl_unittest.cc",
718 "output/begin_frame_args_unittest.cc",
719 "output/delegating_renderer_unittest.cc",
720 "output/filter_operations_unittest.cc",
721 "output/gl_renderer_unittest.cc",
722 "output/output_surface_unittest.cc",
723 "output/overlay_unittest.cc",
724 "output/renderer_pixeltest.cc",
725 "output/renderer_unittest.cc",
726 "output/shader_unittest.cc",
727 "output/software_renderer_unittest.cc",
728 "quads/draw_quad_unittest.cc",
weiliangcd1f5016c2014-09-23 14:29:03729 "quads/list_container_unittest.cc",
brettw@chromium.orgd05751a22014-05-29 20:54:24730 "quads/render_pass_unittest.cc",
731 "resources/layer_quad_unittest.cc",
732 "resources/picture_layer_tiling_set_unittest.cc",
733 "resources/picture_layer_tiling_unittest.cc",
734 "resources/picture_pile_impl_unittest.cc",
735 "resources/picture_pile_unittest.cc",
736 "resources/picture_unittest.cc",
737 "resources/prioritized_resource_unittest.cc",
brettw@chromium.orgd05751a22014-05-29 20:54:24738 "resources/raster_worker_pool_unittest.cc",
739 "resources/resource_provider_unittest.cc",
740 "resources/resource_update_controller_unittest.cc",
741 "resources/scoped_resource_unittest.cc",
742 "resources/task_graph_runner_unittest.cc",
743 "resources/texture_mailbox_deleter_unittest.cc",
744 "resources/texture_uploader_unittest.cc",
745 "resources/tile_manager_unittest.cc",
746 "resources/tile_priority_unittest.cc",
747 "resources/video_resource_updater_unittest.cc",
mithroc34fc0b12014-09-30 09:10:41748 "scheduler/begin_frame_source_unittest.cc",
brettw@chromium.orgd05751a22014-05-29 20:54:24749 "scheduler/delay_based_time_source_unittest.cc",
750 "scheduler/scheduler_state_machine_unittest.cc",
751 "scheduler/scheduler_unittest.cc",
752 "test/layer_tree_json_parser_unittest.cc",
753 "test/test_web_graphics_context_3d_unittest.cc",
skyostil3976a3f2014-09-04 22:07:23754 "trees/blocking_task_runner_unittest.cc",
brettw@chromium.orgd05751a22014-05-29 20:54:24755 "trees/damage_tracker_unittest.cc",
756 "trees/layer_sorter_unittest.cc",
757 "trees/layer_tree_host_common_unittest.cc",
758 "trees/layer_tree_host_impl_unittest.cc",
759 "trees/layer_tree_host_pixeltest_blending.cc",
760 "trees/layer_tree_host_pixeltest_filters.cc",
761 "trees/layer_tree_host_pixeltest_masks.cc",
762 "trees/layer_tree_host_pixeltest_on_demand_raster.cc",
763 "trees/layer_tree_host_pixeltest_readback.cc",
enne69277cb2014-10-29 23:03:40764 "trees/layer_tree_host_pixeltest_synchronous.cc",
brettw@chromium.orgd05751a22014-05-29 20:54:24765 "trees/layer_tree_host_unittest.cc",
766 "trees/layer_tree_host_unittest_animation.cc",
767 "trees/layer_tree_host_unittest_context.cc",
768 "trees/layer_tree_host_unittest_copyrequest.cc",
769 "trees/layer_tree_host_unittest_damage.cc",
770 "trees/layer_tree_host_unittest_delegated.cc",
771 "trees/layer_tree_host_unittest_occlusion.cc",
772 "trees/layer_tree_host_unittest_no_message_loop.cc",
773 "trees/layer_tree_host_unittest_picture.cc",
774 "trees/layer_tree_host_unittest_proxy.cc",
775 "trees/layer_tree_host_unittest_scroll.cc",
776 "trees/layer_tree_host_unittest_video.cc",
777 "trees/layer_tree_impl_unittest.cc",
778 "trees/occlusion_tracker_unittest.cc",
vmpstr61c35e8d2014-10-07 06:34:33779 "trees/occlusion_unittest.cc",
brettw@chromium.orgd05751a22014-05-29 20:54:24780 "trees/tree_synchronizer_unittest.cc",
781
782 # Surfaces test files.
783 "surfaces/surface_aggregator_test_helpers.cc",
784 "surfaces/surface_aggregator_test_helpers.h",
785 "surfaces/surface_aggregator_unittest.cc",
786 "surfaces/surface_unittest.cc",
787 "surfaces/surfaces_pixeltest.cc",
788
789 # Setup.
790 "test/run_all_unittests.cc",
791 "test/cc_test_suite.cc",
792 ]
793
794 deps = [
795 ":cc",
brettw@chromium.orgd05751a22014-05-29 20:54:24796 ":test_support",
797 "//base/test:test_support",
brettw@chromium.org6e44c302014-07-22 21:51:37798 "//cc/surfaces",
brettw@chromium.orgd05751a22014-05-29 20:54:24799 "//gpu",
brettw@chromium.orgc7990db2014-07-23 22:35:10800 "//gpu:test_support",
jbromancba3d2f2014-09-16 01:04:24801 "//gpu/command_buffer/client:gles2_interface",
oetuaho@nvidia.com845c4e32014-08-13 11:50:40802 "//gpu/command_buffer/common:gles2_utils",
brettw@chromium.org6e44c302014-07-22 21:51:37803 "//media",
brettw@chromium.orgd05751a22014-05-29 20:54:24804 "//testing/gmock",
805 "//testing/gtest",
806 "//ui/events:events_base",
807 "//ui/gfx",
808 "//ui/gfx/geometry",
809 ]
810}
811
812test("cc_perftests") {
brettw@chromium.org6e44c302014-07-22 21:51:37813 sources = [
814 "layers/layer_perftest.cc",
815 "layers/picture_layer_impl_perftest.cc",
816 "resources/picture_layer_tiling_perftest.cc",
817 "resources/picture_pile_impl_perftest.cc",
818 "resources/raster_worker_pool_perftest.cc",
819 "resources/task_graph_runner_perftest.cc",
820 "resources/tile_manager_perftest.cc",
821 "test/cc_test_suite.cc",
822 "test/run_all_perftests.cc",
823 "trees/layer_tree_host_common_perftest.cc",
824 "trees/layer_tree_host_perftest.cc",
825 "trees/occlusion_tracker_perftest.cc",
826 ]
brettw@chromium.orgd05751a22014-05-29 20:54:24827
brettw@chromium.org6e44c302014-07-22 21:51:37828 deps = [
829 ":cc",
830 ":test_support",
831 "//base",
832 "//gpu",
brettw@chromium.orgc7990db2014-07-23 22:35:10833 "//gpu:test_support",
oetuaho@nvidia.com845c4e32014-08-13 11:50:40834 "//gpu/command_buffer/common:gles2_utils",
brettw@chromium.org6e44c302014-07-22 21:51:37835 "//media",
836 "//skia",
837 "//testing/gmock",
838 "//testing/gtest",
839 "//testing/perf",
840 "//ui/gfx",
841 "//ui/gfx/geometry",
842 ]
843}