[go: nahoru, domu]

blob: bf77c0e6f3724d5d250a41e69de5d16e202ad5e3 [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",
41 "base/completion_event.h",
jamesr@chromium.orgd5ba08c2014-06-18 07:01:0842 "base/delayed_unique_notifier.cc",
43 "base/delayed_unique_notifier.h",
brettw@chromium.orgd05751a22014-05-29 20:54:2444 "base/invalidation_region.cc",
45 "base/invalidation_region.h",
46 "base/latency_info_swap_promise.cc",
47 "base/latency_info_swap_promise.h",
48 "base/latency_info_swap_promise_monitor.cc",
49 "base/latency_info_swap_promise_monitor.h",
50 "base/math_util.cc",
51 "base/math_util.h",
52 "base/ref_counted_managed.h",
53 "base/region.cc",
54 "base/region.h",
55 "base/rolling_time_delta_history.cc",
56 "base/rolling_time_delta_history.h",
57 "base/scoped_ptr_algorithm.h",
58 "base/scoped_ptr_deque.h",
59 "base/scoped_ptr_vector.h",
danakj@chromium.orgd5467eb2014-08-22 01:16:4360 "base/simple_enclosed_region.cc",
61 "base/simple_enclosed_region.h",
brettw@chromium.orgd05751a22014-05-29 20:54:2462 "base/swap_promise.h",
63 "base/swap_promise_monitor.cc",
64 "base/swap_promise_monitor.h",
65 "base/switches.cc",
66 "base/switches.h",
aelias58eec0812014-12-04 01:04:4067 "base/synced_property.h",
brettw@chromium.orgd05751a22014-05-29 20:54:2468 "base/tiling_data.cc",
69 "base/tiling_data.h",
behara.ms71ff07f2014-11-12 05:09:0870 "base/time_util.h",
jamesr@chromium.orgd5ba08c2014-06-18 07:01:0871 "base/unique_notifier.cc",
72 "base/unique_notifier.h",
brettw@chromium.orgd05751a22014-05-29 20:54:2473 "base/util.h",
74 "debug/benchmark_instrumentation.cc",
75 "debug/benchmark_instrumentation.h",
76 "debug/debug_colors.cc",
77 "debug/debug_colors.h",
78 "debug/debug_rect_history.cc",
79 "debug/debug_rect_history.h",
80 "debug/devtools_instrumentation.h",
81 "debug/frame_rate_counter.cc",
82 "debug/frame_rate_counter.h",
vmpstr3d1d72c2015-01-26 18:27:4083 "debug/frame_timing_request.cc",
84 "debug/frame_timing_request.h",
michaelblain1bcdf892015-01-17 01:24:3085 "debug/frame_timing_tracker.cc",
86 "debug/frame_timing_tracker.h",
hendrikw9385e492014-12-17 21:42:5987 "debug/frame_viewer_instrumentation.cc",
brettw@chromium.orgd05751a22014-05-29 20:54:2488 "debug/frame_viewer_instrumentation.h",
jamesr@chromium.orgd5ba08c2014-06-18 07:01:0889 "debug/invalidation_benchmark.cc",
90 "debug/invalidation_benchmark.h",
brettw@chromium.orgd05751a22014-05-29 20:54:2491 "debug/lap_timer.cc",
92 "debug/lap_timer.h",
93 "debug/layer_tree_debug_state.cc",
94 "debug/layer_tree_debug_state.h",
95 "debug/micro_benchmark.cc",
96 "debug/micro_benchmark.h",
brettw@chromium.orgd05751a22014-05-29 20:54:2497 "debug/micro_benchmark_controller.cc",
98 "debug/micro_benchmark_controller.h",
99 "debug/micro_benchmark_controller_impl.cc",
100 "debug/micro_benchmark_controller_impl.h",
satorux457770e2015-02-18 18:33:39101 "debug/micro_benchmark_impl.cc",
102 "debug/micro_benchmark_impl.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24103 "debug/paint_time_counter.cc",
104 "debug/paint_time_counter.h",
ajumad7dd21a2015-01-09 00:57:31105 "debug/picture_debug_util.cc",
106 "debug/picture_debug_util.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24107 "debug/picture_record_benchmark.cc",
108 "debug/picture_record_benchmark.h",
109 "debug/rasterize_and_record_benchmark.cc",
110 "debug/rasterize_and_record_benchmark.h",
111 "debug/rasterize_and_record_benchmark_impl.cc",
112 "debug/rasterize_and_record_benchmark_impl.h",
113 "debug/rendering_stats.cc",
114 "debug/rendering_stats.h",
115 "debug/rendering_stats_instrumentation.cc",
116 "debug/rendering_stats_instrumentation.h",
117 "debug/ring_buffer.h",
118 "debug/traced_picture.cc",
119 "debug/traced_picture.h",
120 "debug/traced_value.cc",
121 "debug/traced_value.h",
122 "debug/unittest_only_benchmark.cc",
123 "debug/unittest_only_benchmark.h",
124 "debug/unittest_only_benchmark_impl.cc",
125 "debug/unittest_only_benchmark_impl.h",
ccameron36d091f2014-11-07 03:18:50126 "input/input_handler.cc",
brettw@chromium.orgd05751a22014-05-29 20:54:24127 "input/input_handler.h",
tfarina@chromium.orgb2ba2d42014-07-03 18:14:50128 "input/layer_selection_bound.cc",
129 "input/layer_selection_bound.h",
satorux457770e2015-02-18 18:33:39130 "input/page_scale_animation.cc",
131 "input/page_scale_animation.h",
ccameron4163cc352014-11-13 19:06:36132 "input/scroll_elasticity_helper.cc",
133 "input/scroll_elasticity_helper.h",
tfarina@chromium.orgb2ba2d42014-07-03 18:14:50134 "input/selection_bound_type.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24135 "input/top_controls_manager.cc",
136 "input/top_controls_manager.h",
137 "input/top_controls_manager_client.h",
138 "layers/append_quads_data.h",
139 "layers/content_layer.cc",
140 "layers/content_layer.h",
141 "layers/content_layer_client.h",
142 "layers/contents_scaling_layer.cc",
143 "layers/contents_scaling_layer.h",
144 "layers/delegated_frame_provider.cc",
145 "layers/delegated_frame_provider.h",
146 "layers/delegated_frame_resource_collection.cc",
147 "layers/delegated_frame_resource_collection.h",
148 "layers/delegated_renderer_layer.cc",
149 "layers/delegated_renderer_layer.h",
150 "layers/delegated_renderer_layer_impl.cc",
151 "layers/delegated_renderer_layer_impl.h",
152 "layers/draw_properties.h",
153 "layers/heads_up_display_layer.cc",
154 "layers/heads_up_display_layer.h",
155 "layers/heads_up_display_layer_impl.cc",
156 "layers/heads_up_display_layer_impl.h",
157 "layers/image_layer.cc",
158 "layers/image_layer.h",
159 "layers/io_surface_layer.cc",
160 "layers/io_surface_layer.h",
161 "layers/io_surface_layer_impl.cc",
162 "layers/io_surface_layer_impl.h",
163 "layers/layer.cc",
164 "layers/layer.h",
165 "layers/layer_client.h",
166 "layers/layer_impl.cc",
167 "layers/layer_impl.h",
168 "layers/layer_iterator.h",
169 "layers/layer_lists.cc",
170 "layers/layer_lists.h",
171 "layers/layer_position_constraint.cc",
172 "layers/layer_position_constraint.h",
173 "layers/layer_utils.cc",
174 "layers/layer_utils.h",
175 "layers/nine_patch_layer.cc",
176 "layers/nine_patch_layer.h",
177 "layers/nine_patch_layer_impl.cc",
178 "layers/nine_patch_layer_impl.h",
179 "layers/paint_properties.h",
180 "layers/painted_scrollbar_layer.cc",
181 "layers/painted_scrollbar_layer.h",
182 "layers/painted_scrollbar_layer_impl.cc",
183 "layers/painted_scrollbar_layer_impl.h",
184 "layers/picture_image_layer.cc",
185 "layers/picture_image_layer.h",
186 "layers/picture_image_layer_impl.cc",
187 "layers/picture_image_layer_impl.h",
188 "layers/picture_layer.cc",
189 "layers/picture_layer.h",
190 "layers/picture_layer_impl.cc",
191 "layers/picture_layer_impl.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24192 "layers/render_pass_sink.h",
193 "layers/render_surface.cc",
194 "layers/render_surface.h",
195 "layers/render_surface_impl.cc",
196 "layers/render_surface_impl.h",
197 "layers/scrollbar_layer_impl_base.cc",
198 "layers/scrollbar_layer_impl_base.h",
199 "layers/scrollbar_layer_interface.h",
200 "layers/solid_color_layer.cc",
201 "layers/solid_color_layer.h",
202 "layers/solid_color_layer_impl.cc",
203 "layers/solid_color_layer_impl.h",
204 "layers/solid_color_scrollbar_layer.cc",
205 "layers/solid_color_scrollbar_layer.h",
206 "layers/solid_color_scrollbar_layer_impl.cc",
207 "layers/solid_color_scrollbar_layer_impl.h",
208 "layers/surface_layer.cc",
209 "layers/surface_layer.h",
210 "layers/surface_layer_impl.cc",
211 "layers/surface_layer_impl.h",
212 "layers/texture_layer.cc",
213 "layers/texture_layer.h",
214 "layers/texture_layer_client.h",
215 "layers/texture_layer_impl.cc",
216 "layers/texture_layer_impl.h",
217 "layers/tiled_layer.cc",
218 "layers/tiled_layer.h",
219 "layers/tiled_layer_impl.cc",
220 "layers/tiled_layer_impl.h",
221 "layers/ui_resource_layer.cc",
222 "layers/ui_resource_layer.h",
223 "layers/ui_resource_layer_impl.cc",
224 "layers/ui_resource_layer_impl.h",
225 "layers/video_frame_provider.h",
226 "layers/video_frame_provider_client_impl.cc",
227 "layers/video_frame_provider_client_impl.h",
228 "layers/video_layer.cc",
229 "layers/video_layer.h",
230 "layers/video_layer_impl.cc",
231 "layers/video_layer_impl.h",
232 "output/begin_frame_args.cc",
233 "output/begin_frame_args.h",
thildebr@chromium.org2a021fb7b2014-08-02 07:53:49234 "output/bsp_tree.cc",
235 "output/bsp_tree.h",
236 "output/bsp_walk_action.cc",
237 "output/bsp_walk_action.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24238 "output/compositor_frame.cc",
239 "output/compositor_frame.h",
240 "output/compositor_frame_ack.cc",
241 "output/compositor_frame_ack.h",
242 "output/compositor_frame_metadata.cc",
243 "output/compositor_frame_metadata.h",
244 "output/context_provider.cc",
245 "output/context_provider.h",
246 "output/copy_output_request.cc",
247 "output/copy_output_request.h",
248 "output/copy_output_result.cc",
249 "output/copy_output_result.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24250 "output/delegated_frame_data.cc",
tfarina@chromium.orgb2ba2d42014-07-03 18:14:50251 "output/delegated_frame_data.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24252 "output/delegating_renderer.cc",
253 "output/delegating_renderer.h",
254 "output/direct_renderer.cc",
255 "output/direct_renderer.h",
awoloszyn3d8eb1d2015-03-12 14:38:32256 "output/dynamic_geometry_binding.cc",
257 "output/dynamic_geometry_binding.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24258 "output/filter_operation.cc",
259 "output/filter_operation.h",
260 "output/filter_operations.cc",
261 "output/filter_operations.h",
262 "output/geometry_binding.cc",
263 "output/geometry_binding.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24264 "output/gl_frame_data.cc",
tfarina@chromium.orgb2ba2d42014-07-03 18:14:50265 "output/gl_frame_data.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24266 "output/gl_renderer.cc",
267 "output/gl_renderer.h",
268 "output/gl_renderer_draw_cache.cc",
269 "output/gl_renderer_draw_cache.h",
270 "output/managed_memory_policy.cc",
271 "output/managed_memory_policy.h",
272 "output/output_surface.cc",
273 "output/output_surface.h",
274 "output/output_surface_client.h",
275 "output/overlay_candidate.cc",
276 "output/overlay_candidate.h",
277 "output/overlay_candidate_validator.h",
278 "output/overlay_processor.cc",
279 "output/overlay_processor.h",
280 "output/overlay_strategy_single_on_top.cc",
281 "output/overlay_strategy_single_on_top.h",
282 "output/program_binding.cc",
283 "output/program_binding.h",
284 "output/render_surface_filters.cc",
285 "output/render_surface_filters.h",
286 "output/renderer.cc",
287 "output/renderer.h",
jbaumanc5be44c2014-11-20 22:17:12288 "output/renderer_settings.cc",
289 "output/renderer_settings.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24290 "output/shader.cc",
291 "output/shader.h",
292 "output/software_frame_data.cc",
293 "output/software_frame_data.h",
294 "output/software_output_device.cc",
295 "output/software_output_device.h",
296 "output/software_renderer.cc",
297 "output/software_renderer.h",
awoloszyn3d8eb1d2015-03-12 14:38:32298 "output/static_geometry_binding.cc",
299 "output/static_geometry_binding.h",
tfarina@chromium.orgb2ba2d42014-07-03 18:14:50300 "output/viewport_selection_bound.cc",
301 "output/viewport_selection_bound.h",
mithroc34fc0b12014-09-30 09:10:41302 "output/vsync_parameter_observer.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24303 "quads/checkerboard_draw_quad.cc",
304 "quads/checkerboard_draw_quad.h",
305 "quads/content_draw_quad_base.cc",
306 "quads/content_draw_quad_base.h",
307 "quads/debug_border_draw_quad.cc",
308 "quads/debug_border_draw_quad.h",
thildebr@chromium.org2a021fb7b2014-08-02 07:53:49309 "quads/draw_polygon.cc",
310 "quads/draw_polygon.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24311 "quads/draw_quad.cc",
312 "quads/draw_quad.h",
313 "quads/io_surface_draw_quad.cc",
314 "quads/io_surface_draw_quad.h",
weiliangcfe7b51e2014-11-05 18:20:27315 "quads/largest_draw_quad.cc",
satorux457770e2015-02-18 18:33:39316 "quads/largest_draw_quad.h",
weiliangcd1f5016c2014-09-23 14:29:03317 "quads/list_container.cc",
318 "quads/list_container.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24319 "quads/picture_draw_quad.cc",
320 "quads/picture_draw_quad.h",
321 "quads/render_pass.cc",
322 "quads/render_pass.h",
323 "quads/render_pass_draw_quad.cc",
324 "quads/render_pass_draw_quad.h",
weiliangc@chromium.org0cd7d6f72014-08-22 14:50:51325 "quads/render_pass_id.cc",
326 "quads/render_pass_id.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24327 "quads/shared_quad_state.cc",
328 "quads/shared_quad_state.h",
329 "quads/solid_color_draw_quad.cc",
330 "quads/solid_color_draw_quad.h",
331 "quads/stream_video_draw_quad.cc",
332 "quads/stream_video_draw_quad.h",
333 "quads/surface_draw_quad.cc",
334 "quads/surface_draw_quad.h",
335 "quads/texture_draw_quad.cc",
336 "quads/texture_draw_quad.h",
337 "quads/tile_draw_quad.cc",
338 "quads/tile_draw_quad.h",
339 "quads/yuv_video_draw_quad.cc",
340 "quads/yuv_video_draw_quad.h",
341 "resources/bitmap_content_layer_updater.cc",
342 "resources/bitmap_content_layer_updater.h",
343 "resources/bitmap_skpicture_content_layer_updater.cc",
344 "resources/bitmap_skpicture_content_layer_updater.h",
satorux457770e2015-02-18 18:33:39345 "resources/bitmap_tile_task_worker_pool.cc",
346 "resources/bitmap_tile_task_worker_pool.h",
ajuma5e77f7d42014-11-27 14:19:14347 "resources/clip_display_item.cc",
348 "resources/clip_display_item.h",
leviwf97853532015-01-16 23:08:00349 "resources/clip_path_display_item.cc",
350 "resources/clip_path_display_item.h",
pdrce0b7022015-02-24 22:38:32351 "resources/compositing_display_item.cc",
352 "resources/compositing_display_item.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24353 "resources/content_layer_updater.cc",
354 "resources/content_layer_updater.h",
ajuma5e77f7d42014-11-27 14:19:14355 "resources/display_item.cc",
356 "resources/display_item.h",
357 "resources/display_item_list.cc",
358 "resources/display_item_list.h",
359 "resources/display_list_raster_source.cc",
360 "resources/display_list_raster_source.h",
361 "resources/display_list_recording_source.cc",
362 "resources/display_list_recording_source.h",
363 "resources/drawing_display_item.cc",
364 "resources/drawing_display_item.h",
vmpstr@chromium.orgbf050582014-07-24 11:10:58365 "resources/eviction_tile_priority_queue.cc",
366 "resources/eviction_tile_priority_queue.h",
ajuma5e77f7d42014-11-27 14:19:14367 "resources/filter_display_item.cc",
368 "resources/filter_display_item.h",
ajumad1e57c92015-01-06 13:57:23369 "resources/float_clip_display_item.cc",
370 "resources/float_clip_display_item.h",
hendrikw2f32e4e2015-01-03 00:22:34371 "resources/gpu_rasterizer.cc",
372 "resources/gpu_rasterizer.h",
vmiuraa30e1ea2014-12-09 19:23:51373 "resources/gpu_tile_task_worker_pool.cc",
374 "resources/gpu_tile_task_worker_pool.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24375 "resources/image_layer_updater.cc",
376 "resources/image_layer_updater.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24377 "resources/layer_painter.h",
378 "resources/layer_quad.cc",
379 "resources/layer_quad.h",
380 "resources/layer_tiling_data.cc",
381 "resources/layer_tiling_data.h",
382 "resources/layer_updater.cc",
383 "resources/layer_updater.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24384 "resources/memory_history.cc",
385 "resources/memory_history.h",
vmiuraa30e1ea2014-12-09 19:23:51386 "resources/one_copy_tile_task_worker_pool.cc",
387 "resources/one_copy_tile_task_worker_pool.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24388 "resources/picture.cc",
389 "resources/picture.h",
390 "resources/picture_layer_tiling.cc",
391 "resources/picture_layer_tiling.h",
392 "resources/picture_layer_tiling_set.cc",
393 "resources/picture_layer_tiling_set.h",
vmpstr@chromium.orgbf050582014-07-24 11:10:58394 "resources/picture_pile.cc",
395 "resources/picture_pile.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24396 "resources/picture_pile_impl.cc",
397 "resources/picture_pile_impl.h",
vmiuraa30e1ea2014-12-09 19:23:51398 "resources/pixel_buffer_tile_task_worker_pool.cc",
399 "resources/pixel_buffer_tile_task_worker_pool.h",
weiliangc7e508dd2015-03-10 17:15:19400 "resources/pixel_ref_map.cc",
401 "resources/pixel_ref_map.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24402 "resources/platform_color.h",
403 "resources/prioritized_resource.cc",
404 "resources/prioritized_resource.h",
405 "resources/prioritized_resource_manager.cc",
406 "resources/prioritized_resource_manager.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24407 "resources/priority_calculator.cc",
408 "resources/priority_calculator.h",
reveman47560ab2014-09-18 19:39:21409 "resources/raster_buffer.cc",
410 "resources/raster_buffer.h",
vmpstr394e2b52014-10-28 18:38:10411 "resources/raster_source.h",
ajuma5e77f7d42014-11-27 14:19:14412 "resources/raster_source_helper.cc",
413 "resources/raster_source_helper.h",
satorux457770e2015-02-18 18:33:39414 "resources/raster_tile_priority_queue.cc",
415 "resources/raster_tile_priority_queue.h",
vmpstrb4040632015-01-23 17:53:41416 "resources/raster_tile_priority_queue_all.cc",
417 "resources/raster_tile_priority_queue_all.h",
418 "resources/raster_tile_priority_queue_required.cc",
419 "resources/raster_tile_priority_queue_required.h",
hendrikw2f32e4e2015-01-03 00:22:34420 "resources/rasterizer.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24421 "resources/release_callback.h",
422 "resources/resource.cc",
reveman423e7da2014-09-23 16:57:44423 "resources/resource.h",
ksakamoto@chromium.orgc6f0cf62014-07-22 02:44:41424 "resources/resource_format.cc",
vmpstr@chromium.orgbf050582014-07-24 11:10:58425 "resources/resource_format.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24426 "resources/resource_pool.cc",
427 "resources/resource_pool.h",
428 "resources/resource_provider.cc",
429 "resources/resource_provider.h",
430 "resources/resource_update.cc",
reveman423e7da2014-09-23 16:57:44431 "resources/resource_update.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24432 "resources/resource_update_controller.cc",
433 "resources/resource_update_controller.h",
434 "resources/resource_update_queue.cc",
435 "resources/resource_update_queue.h",
436 "resources/returned_resource.h",
sohan.jyoti@samsung.com110fcc0e2014-07-16 15:52:47437 "resources/scoped_gpu_raster.cc",
438 "resources/scoped_gpu_raster.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24439 "resources/scoped_resource.cc",
440 "resources/scoped_resource.h",
441 "resources/scoped_ui_resource.cc",
442 "resources/scoped_ui_resource.h",
443 "resources/shared_bitmap.cc",
444 "resources/shared_bitmap.h",
445 "resources/shared_bitmap_manager.h",
446 "resources/single_release_callback.cc",
447 "resources/single_release_callback.h",
skyostil3976a3f2014-09-04 22:07:23448 "resources/single_release_callback_impl.cc",
449 "resources/single_release_callback_impl.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24450 "resources/skpicture_content_layer_updater.cc",
451 "resources/skpicture_content_layer_updater.h",
satorux457770e2015-02-18 18:33:39452 "resources/software_rasterizer.cc",
453 "resources/software_rasterizer.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24454 "resources/task_graph_runner.cc",
455 "resources/task_graph_runner.h",
456 "resources/texture_mailbox.cc",
reveman423e7da2014-09-23 16:57:44457 "resources/texture_mailbox.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24458 "resources/texture_mailbox_deleter.cc",
459 "resources/texture_mailbox_deleter.h",
460 "resources/texture_uploader.cc",
461 "resources/texture_uploader.h",
462 "resources/tile.cc",
463 "resources/tile.h",
jungjik.leea4496712014-12-20 16:08:21464 "resources/tile_draw_info.cc",
465 "resources/tile_draw_info.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24466 "resources/tile_manager.cc",
467 "resources/tile_manager.h",
468 "resources/tile_priority.cc",
469 "resources/tile_priority.h",
satorux457770e2015-02-18 18:33:39470 "resources/tile_task_runner.cc",
471 "resources/tile_task_runner.h",
472 "resources/tile_task_worker_pool.cc",
473 "resources/tile_task_worker_pool.h",
e.hakkinenada8f5da2014-11-27 09:41:36474 "resources/tiling_set_eviction_queue.cc",
475 "resources/tiling_set_eviction_queue.h",
vmpstrfe477d5a2015-01-12 22:20:49476 "resources/tiling_set_raster_queue_all.cc",
477 "resources/tiling_set_raster_queue_all.h",
478 "resources/tiling_set_raster_queue_required.cc",
479 "resources/tiling_set_raster_queue_required.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24480 "resources/transferable_resource.cc",
481 "resources/transferable_resource.h",
ajuma5e77f7d42014-11-27 14:19:14482 "resources/transform_display_item.cc",
483 "resources/transform_display_item.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24484 "resources/ui_resource_bitmap.cc",
485 "resources/ui_resource_bitmap.h",
486 "resources/ui_resource_client.h",
487 "resources/ui_resource_request.cc",
488 "resources/ui_resource_request.h",
489 "resources/video_resource_updater.cc",
490 "resources/video_resource_updater.h",
vmiuraa30e1ea2014-12-09 19:23:51491 "resources/zero_copy_tile_task_worker_pool.cc",
492 "resources/zero_copy_tile_task_worker_pool.h",
mithroc34fc0b12014-09-30 09:10:41493 "scheduler/begin_frame_source.cc",
494 "scheduler/begin_frame_source.h",
mithrof7a21502014-12-17 03:24:48495 "scheduler/commit_earlyout_reason.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24496 "scheduler/delay_based_time_source.cc",
497 "scheduler/delay_based_time_source.h",
498 "scheduler/draw_result.h",
499 "scheduler/scheduler.cc",
500 "scheduler/scheduler.h",
501 "scheduler/scheduler_settings.cc",
502 "scheduler/scheduler_settings.h",
503 "scheduler/scheduler_state_machine.cc",
504 "scheduler/scheduler_state_machine.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24505 "trees/blocking_task_runner.cc",
506 "trees/blocking_task_runner.h",
507 "trees/damage_tracker.cc",
508 "trees/damage_tracker.h",
vollick51ed1a22014-12-17 02:03:00509 "trees/draw_property_utils.cc",
510 "trees/draw_property_utils.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24511 "trees/layer_tree_host.cc",
512 "trees/layer_tree_host.h",
513 "trees/layer_tree_host_client.h",
514 "trees/layer_tree_host_common.cc",
515 "trees/layer_tree_host_common.h",
516 "trees/layer_tree_host_impl.cc",
517 "trees/layer_tree_host_impl.h",
ccameron00e438cd2015-03-12 06:18:14518 "trees/layer_tree_host_single_thread_client.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24519 "trees/layer_tree_impl.cc",
520 "trees/layer_tree_impl.h",
521 "trees/layer_tree_settings.cc",
522 "trees/layer_tree_settings.h",
vmpstrcdcb5f72014-09-11 00:58:37523 "trees/occlusion.cc",
524 "trees/occlusion.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24525 "trees/occlusion_tracker.cc",
526 "trees/occlusion_tracker.h",
vollick51ed1a22014-12-17 02:03:00527 "trees/property_tree.cc",
528 "trees/property_tree.h",
529 "trees/property_tree_builder.cc",
530 "trees/property_tree_builder.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24531 "trees/proxy.cc",
532 "trees/proxy.h",
533 "trees/proxy_timing_history.cc",
534 "trees/proxy_timing_history.h",
enne@chromium.orgaeeedad2014-08-22 18:16:22535 "trees/scoped_abort_remaining_swap_promises.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24536 "trees/single_thread_proxy.cc",
537 "trees/single_thread_proxy.h",
538 "trees/thread_proxy.cc",
539 "trees/thread_proxy.h",
540 "trees/tree_synchronizer.cc",
541 "trees/tree_synchronizer.h",
542 ]
543
brettwd1c719a2015-02-19 23:17:04544 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
545 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
brettw@chromium.orgd05751a22014-05-29 20:54:24546
Brett Wilsone53895272014-09-23 23:41:46547 public_deps = [
548 "//skia",
549 ]
brettw@chromium.orgd05751a22014-05-29 20:54:24550 deps = [
551 "//base",
552 "//base/third_party/dynamic_annotations",
jamesr16c04ff2014-11-24 22:24:57553 "//cc/surfaces:surface_id",
brettw@chromium.orgd05751a22014-05-29 20:54:24554 "//gpu",
jbromancba3d2f2014-09-16 01:04:24555 "//gpu/command_buffer/client:gles2_interface",
revemanf9a8a232014-10-28 17:54:52556 "//gpu/command_buffer/client:gpu_memory_buffer_manager",
brettw@chromium.org6e44c302014-07-22 21:51:37557 "//media",
brettw@chromium.orgd05751a22014-05-29 20:54:24558 "//ui/events:events_base",
559 "//ui/gfx",
560 "//ui/gfx/geometry",
brettw@chromium.orgd05751a22014-05-29 20:54:24561 ]
562
brettw@chromium.org3ffa36a2014-07-24 21:01:50563 defines = [ "CC_IMPLEMENTATION=1" ]
brettw@chromium.orgd05751a22014-05-29 20:54:24564
fdegans75b3d092014-09-17 18:35:55565 if (!is_debug && (is_win || is_android)) {
brettw@chromium.orgd05751a22014-05-29 20:54:24566 configs -= [ "//build/config/compiler:optimize" ]
567 configs += [ "//build/config/compiler:optimize_max" ]
568 }
brettw@chromium.orgd05751a22014-05-29 20:54:24569}
570
571source_set("test_support") {
Brett Wilson8f80ad0b2014-09-08 19:50:24572 testonly = true
brettw@chromium.orgd05751a22014-05-29 20:54:24573 sources = [
574 "test/animation_test_common.cc",
575 "test/animation_test_common.h",
576 "test/begin_frame_args_test.cc",
577 "test/begin_frame_args_test.h",
satorux457770e2015-02-18 18:33:39578 "test/failure_output_surface.cc",
579 "test/failure_output_surface.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24580 "test/fake_content_layer.cc",
581 "test/fake_content_layer.h",
582 "test/fake_content_layer_client.cc",
583 "test/fake_content_layer_client.h",
584 "test/fake_content_layer_impl.cc",
585 "test/fake_content_layer_impl.h",
586 "test/fake_delegated_renderer_layer.cc",
587 "test/fake_delegated_renderer_layer.h",
588 "test/fake_delegated_renderer_layer_impl.cc",
589 "test/fake_delegated_renderer_layer_impl.h",
danakj6e3bf8012014-12-16 18:27:53590 "test/fake_external_begin_frame_source.cc",
591 "test/fake_external_begin_frame_source.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24592 "test/fake_impl_proxy.h",
593 "test/fake_layer_tree_host.cc",
594 "test/fake_layer_tree_host.h",
595 "test/fake_layer_tree_host_client.cc",
596 "test/fake_layer_tree_host_client.h",
597 "test/fake_layer_tree_host_impl.cc",
598 "test/fake_layer_tree_host_impl.h",
599 "test/fake_layer_tree_host_impl_client.cc",
600 "test/fake_layer_tree_host_impl_client.h",
601 "test/fake_output_surface.cc",
602 "test/fake_output_surface.h",
603 "test/fake_output_surface_client.cc",
604 "test/fake_output_surface_client.h",
605 "test/fake_painted_scrollbar_layer.cc",
606 "test/fake_painted_scrollbar_layer.h",
607 "test/fake_picture_layer.cc",
608 "test/fake_picture_layer.h",
609 "test/fake_picture_layer_impl.cc",
610 "test/fake_picture_layer_impl.h",
611 "test/fake_picture_layer_tiling_client.cc",
612 "test/fake_picture_layer_tiling_client.h",
danakja819c2552014-11-14 02:05:04613 "test/fake_picture_pile.cc",
hendrikw312ee8ac2014-11-12 23:24:34614 "test/fake_picture_pile.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24615 "test/fake_picture_pile_impl.cc",
616 "test/fake_picture_pile_impl.h",
617 "test/fake_proxy.cc",
618 "test/fake_proxy.h",
619 "test/fake_renderer_client.cc",
620 "test/fake_renderer_client.h",
621 "test/fake_rendering_stats_instrumentation.h",
622 "test/fake_scoped_ui_resource.cc",
623 "test/fake_scoped_ui_resource.h",
624 "test/fake_scrollbar.cc",
625 "test/fake_scrollbar.h",
626 "test/fake_tile_manager.cc",
627 "test/fake_tile_manager.h",
628 "test/fake_tile_manager_client.cc",
629 "test/fake_tile_manager_client.h",
630 "test/fake_ui_resource_layer_tree_host_impl.cc",
631 "test/fake_ui_resource_layer_tree_host_impl.h",
632 "test/fake_video_frame_provider.cc",
633 "test/fake_video_frame_provider.h",
634 "test/geometry_test_utils.cc",
635 "test/geometry_test_utils.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24636 "test/impl_side_painting_settings.h",
637 "test/layer_test_common.cc",
638 "test/layer_test_common.h",
639 "test/layer_tree_host_common_test.cc",
640 "test/layer_tree_host_common_test.h",
641 "test/layer_tree_json_parser.cc",
642 "test/layer_tree_json_parser.h",
enne03dbe8ae2014-10-30 01:32:55643 "test/layer_tree_pixel_resource_test.cc",
644 "test/layer_tree_pixel_resource_test.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24645 "test/layer_tree_pixel_test.cc",
646 "test/layer_tree_pixel_test.h",
647 "test/layer_tree_test.cc",
648 "test/layer_tree_test.h",
weiliangc@chromium.orgba16cce2014-06-17 17:03:50649 "test/mock_occlusion_tracker.h",
jamesr@chromium.orgd5ba08c2014-06-18 07:01:08650 "test/ordered_simple_task_runner.cc",
651 "test/ordered_simple_task_runner.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24652 "test/ordered_texture_map.cc",
653 "test/ordered_texture_map.h",
654 "test/paths.cc",
655 "test/paths.h",
656 "test/pixel_comparator.cc",
657 "test/pixel_comparator.h",
658 "test/pixel_test.cc",
659 "test/pixel_test.h",
660 "test/pixel_test_output_surface.cc",
661 "test/pixel_test_output_surface.h",
662 "test/pixel_test_software_output_device.cc",
663 "test/pixel_test_software_output_device.h",
664 "test/pixel_test_utils.cc",
665 "test/pixel_test_utils.h",
666 "test/render_pass_test_common.cc",
667 "test/render_pass_test_common.h",
668 "test/render_pass_test_utils.cc",
669 "test/render_pass_test_utils.h",
670 "test/scheduler_test_common.cc",
671 "test/scheduler_test_common.h",
672 "test/skia_common.cc",
673 "test/skia_common.h",
674 "test/solid_color_content_layer_client.cc",
675 "test/solid_color_content_layer_client.h",
676 "test/test_context_provider.cc",
677 "test/test_context_provider.h",
678 "test/test_context_support.cc",
679 "test/test_context_support.h",
680 "test/test_gles2_interface.cc",
681 "test/test_gles2_interface.h",
reveman22dd9292014-10-13 20:52:05682 "test/test_gpu_memory_buffer_manager.cc",
683 "test/test_gpu_memory_buffer_manager.h",
reveman2232bce2014-10-29 01:28:05684 "test/test_image_factory.cc",
685 "test/test_image_factory.h",
satorux457770e2015-02-18 18:33:39686 "test/test_in_process_context_provider.cc",
687 "test/test_in_process_context_provider.h",
mithro0c0ac6a2014-09-10 01:03:36688 "test/test_now_source.cc",
689 "test/test_now_source.h",
brettw@chromium.orgd05751a22014-05-29 20:54:24690 "test/test_occlusion_tracker.h",
691 "test/test_shared_bitmap_manager.cc",
692 "test/test_shared_bitmap_manager.h",
693 "test/test_texture.cc",
694 "test/test_texture.h",
695 "test/test_tile_priorities.cc",
696 "test/test_tile_priorities.h",
697 "test/test_web_graphics_context_3d.cc",
698 "test/test_web_graphics_context_3d.h",
699 "test/tiled_layer_test_common.cc",
700 "test/tiled_layer_test_common.h",
701 ]
702
brettw1deb76bc2015-02-18 19:28:20703 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
704
brettw@chromium.orgd05751a22014-05-29 20:54:24705 include_dirs = [
706 ".",
707 "test",
708 ]
709
Brett Wilson0380637c2014-09-19 21:24:40710 public_deps = [
711 ":cc",
Brett Wilsone53895272014-09-23 23:41:46712 "//gpu:test_support",
Brett Wilson0380637c2014-09-19 21:24:40713 ]
brettw@chromium.orgd05751a22014-05-29 20:54:24714 deps = [
715 "//base",
jamesr16c04ff2014-11-24 22:24:57716 "//base/test:test_support",
brettw@chromium.orgd05751a22014-05-29 20:54:24717 "//base/third_party/dynamic_annotations",
brettw@chromium.orgd05751a22014-05-29 20:54:24718 "//gpu/command_buffer/client:gles2_c_lib",
719 "//gpu/command_buffer/client:gles2_implementation",
revemanf9a8a232014-10-28 17:54:52720 "//gpu/command_buffer/client:gpu_memory_buffer_manager",
brettw@chromium.orgd05751a22014-05-29 20:54:24721 "//gpu/command_buffer/client:gl_in_process_context",
oetuaho@nvidia.com845c4e32014-08-13 11:50:40722 "//gpu/command_buffer/common:gles2_utils",
brettw@chromium.orgd05751a22014-05-29 20:54:24723 "//gpu/skia_bindings",
jamesr16c04ff2014-11-24 22:24:57724 "//media",
brettw@chromium.orgd05751a22014-05-29 20:54:24725 "//skia",
726 "//testing/gmock",
727 "//testing/gtest",
brettw@chromium.orgd05751a22014-05-29 20:54:24728 "//ui/gfx",
729 "//ui/gfx/geometry",
tfarina@chromium.orge54a1f522014-07-22 23:26:48730 "//ui/gfx:test_support",
brettw@chromium.orgd05751a22014-05-29 20:54:24731 "//ui/gl",
732 ]
brettw@chromium.orgc7990db2014-07-23 22:35:10733
734 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links.
735 deps += [ "//third_party/mesa:osmesa" ]
736 }
brettw@chromium.orgd05751a22014-05-29 20:54:24737}
738
brettw4897a612015-03-02 23:13:15739test("cc_unittests") {
740 sources = [
741 "animation/animation_unittest.cc",
742 "animation/keyframed_animation_curve_unittest.cc",
743 "animation/layer_animation_controller_unittest.cc",
744 "animation/scroll_offset_animation_curve_unittest.cc",
745 "animation/scrollbar_animation_controller_linear_fade_unittest.cc",
746 "animation/scrollbar_animation_controller_thinning_unittest.cc",
747 "animation/transform_operations_unittest.cc",
748 "base/float_quad_unittest.cc",
749 "base/math_util_unittest.cc",
750 "base/region_unittest.cc",
751 "base/rolling_time_delta_history_unittest.cc",
752 "base/scoped_ptr_vector_unittest.cc",
753 "base/simple_enclosed_region_unittest.cc",
754 "base/tiling_data_unittest.cc",
755 "base/util_unittest.cc",
756 "debug/frame_timing_tracker_unittest.cc",
757 "debug/micro_benchmark_controller_unittest.cc",
758 "input/top_controls_manager_unittest.cc",
759 "layers/contents_scaling_layer_unittest.cc",
760 "layers/delegated_frame_provider_unittest.cc",
761 "layers/delegated_frame_resource_collection_unittest.cc",
762 "layers/delegated_renderer_layer_impl_unittest.cc",
763 "layers/delegated_renderer_layer_unittest.cc",
764 "layers/heads_up_display_layer_impl_unittest.cc",
765 "layers/heads_up_display_unittest.cc",
766 "layers/io_surface_layer_impl_unittest.cc",
767 "layers/layer_impl_unittest.cc",
768 "layers/layer_iterator_unittest.cc",
769 "layers/layer_position_constraint_unittest.cc",
770 "layers/layer_unittest.cc",
771 "layers/layer_utils_unittest.cc",
772 "layers/nine_patch_layer_impl_unittest.cc",
773 "layers/nine_patch_layer_unittest.cc",
774 "layers/painted_scrollbar_layer_impl_unittest.cc",
775 "layers/picture_image_layer_impl_unittest.cc",
776 "layers/picture_image_layer_unittest.cc",
777 "layers/picture_layer_impl_unittest.cc",
778 "layers/picture_layer_unittest.cc",
779 "layers/render_surface_impl_unittest.cc",
780 "layers/render_surface_unittest.cc",
781 "layers/scrollbar_layer_unittest.cc",
782 "layers/solid_color_layer_impl_unittest.cc",
783 "layers/solid_color_scrollbar_layer_impl_unittest.cc",
784 "layers/surface_layer_impl_unittest.cc",
785 "layers/surface_layer_unittest.cc",
786 "layers/texture_layer_impl_unittest.cc",
787 "layers/texture_layer_unittest.cc",
788 "layers/tiled_layer_impl_unittest.cc",
789 "layers/tiled_layer_unittest.cc",
790 "layers/ui_resource_layer_impl_unittest.cc",
791 "layers/ui_resource_layer_unittest.cc",
792 "layers/video_layer_impl_unittest.cc",
793 "output/begin_frame_args_unittest.cc",
794 "output/delegating_renderer_unittest.cc",
795 "output/filter_operations_unittest.cc",
796 "output/gl_renderer_unittest.cc",
797 "output/output_surface_unittest.cc",
798 "output/overlay_unittest.cc",
799 "output/renderer_pixeltest.cc",
800 "output/renderer_unittest.cc",
801 "output/shader_unittest.cc",
802 "output/software_renderer_unittest.cc",
803 "quads/draw_quad_unittest.cc",
804 "quads/list_container_unittest.cc",
805 "quads/render_pass_unittest.cc",
806 "resources/display_item_list_unittest.cc",
807 "resources/layer_quad_unittest.cc",
808 "resources/picture_layer_tiling_set_unittest.cc",
809 "resources/picture_layer_tiling_unittest.cc",
810 "resources/picture_pile_impl_unittest.cc",
811 "resources/picture_pile_unittest.cc",
812 "resources/picture_unittest.cc",
weiliangc7e508dd2015-03-10 17:15:19813 "resources/pixel_ref_map_unittest.cc",
brettw4897a612015-03-02 23:13:15814 "resources/platform_color_unittest.cc",
815 "resources/prioritized_resource_unittest.cc",
816 "resources/resource_provider_unittest.cc",
817 "resources/resource_update_controller_unittest.cc",
818 "resources/scoped_gpu_raster_unittest.cc",
819 "resources/scoped_resource_unittest.cc",
820 "resources/task_graph_runner_unittest.cc",
821 "resources/texture_mailbox_deleter_unittest.cc",
822 "resources/texture_uploader_unittest.cc",
823 "resources/tile_manager_unittest.cc",
824 "resources/tile_priority_unittest.cc",
825 "resources/tile_task_worker_pool_unittest.cc",
826 "resources/video_resource_updater_unittest.cc",
827 "scheduler/begin_frame_source_unittest.cc",
828 "scheduler/delay_based_time_source_unittest.cc",
829 "scheduler/scheduler_state_machine_unittest.cc",
830 "scheduler/scheduler_unittest.cc",
831 "test/layer_tree_json_parser_unittest.cc",
832 "test/test_web_graphics_context_3d_unittest.cc",
833 "trees/blocking_task_runner_unittest.cc",
834 "trees/damage_tracker_unittest.cc",
brettw4897a612015-03-02 23:13:15835 "trees/layer_tree_host_common_unittest.cc",
836 "trees/layer_tree_host_impl_unittest.cc",
837 "trees/layer_tree_host_pixeltest_blending.cc",
838 "trees/layer_tree_host_pixeltest_filters.cc",
839 "trees/layer_tree_host_pixeltest_masks.cc",
840 "trees/layer_tree_host_pixeltest_readback.cc",
841 "trees/layer_tree_host_pixeltest_synchronous.cc",
842 "trees/layer_tree_host_unittest.cc",
843 "trees/layer_tree_host_unittest_animation.cc",
844 "trees/layer_tree_host_unittest_context.cc",
845 "trees/layer_tree_host_unittest_copyrequest.cc",
846 "trees/layer_tree_host_unittest_damage.cc",
847 "trees/layer_tree_host_unittest_delegated.cc",
848 "trees/layer_tree_host_unittest_no_message_loop.cc",
849 "trees/layer_tree_host_unittest_occlusion.cc",
850 "trees/layer_tree_host_unittest_picture.cc",
851 "trees/layer_tree_host_unittest_proxy.cc",
852 "trees/layer_tree_host_unittest_scroll.cc",
853 "trees/layer_tree_host_unittest_video.cc",
854 "trees/layer_tree_impl_unittest.cc",
855 "trees/occlusion_tracker_unittest.cc",
856 "trees/occlusion_unittest.cc",
857 "trees/property_tree_unittest.cc",
858 "trees/tree_synchronizer_unittest.cc",
brettw@chromium.orgd05751a22014-05-29 20:54:24859
brettw4897a612015-03-02 23:13:15860 # Surfaces test files.
861 "surfaces/surface_aggregator_test_helpers.cc",
862 "surfaces/surface_aggregator_test_helpers.h",
863 "surfaces/surface_aggregator_unittest.cc",
864 "surfaces/surface_unittest.cc",
865 "surfaces/surfaces_pixeltest.cc",
brettw@chromium.orgd05751a22014-05-29 20:54:24866
brettw4897a612015-03-02 23:13:15867 # Setup.
868 "test/cc_test_suite.cc",
869 "test/run_all_unittests.cc",
870 ]
brettw@chromium.orgd05751a22014-05-29 20:54:24871
brettw4897a612015-03-02 23:13:15872 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
dpranke8ec93a3a2015-02-20 23:36:08873
brettw4897a612015-03-02 23:13:15874 deps = [
875 ":cc",
876 ":test_support",
877 "//base/test:test_support",
878 "//cc/surfaces",
879 "//cc/surfaces:surface_id",
880 "//gpu",
881 "//gpu:test_support",
882 "//gpu/command_buffer/client:gles2_interface",
883 "//gpu/command_buffer/common:gles2_utils",
884 "//media",
885 "//testing/gmock",
886 "//testing/gtest",
887 "//ui/events:events_base",
888 "//ui/gfx",
889 "//ui/gfx/geometry",
890 "//ui/gfx:test_support",
891 "//ui/gl",
892 ]
brettw@chromium.orgd05751a22014-05-29 20:54:24893}
894
895test("cc_perftests") {
brettw@chromium.org6e44c302014-07-22 21:51:37896 sources = [
897 "layers/layer_perftest.cc",
898 "layers/picture_layer_impl_perftest.cc",
899 "resources/picture_layer_tiling_perftest.cc",
900 "resources/picture_pile_impl_perftest.cc",
brettw@chromium.org6e44c302014-07-22 21:51:37901 "resources/task_graph_runner_perftest.cc",
902 "resources/tile_manager_perftest.cc",
satorux457770e2015-02-18 18:33:39903 "resources/tile_task_worker_pool_perftest.cc",
brettw@chromium.org6e44c302014-07-22 21:51:37904 "test/cc_test_suite.cc",
905 "test/run_all_perftests.cc",
906 "trees/layer_tree_host_common_perftest.cc",
907 "trees/layer_tree_host_perftest.cc",
908 "trees/occlusion_tracker_perftest.cc",
909 ]
brettw@chromium.orgd05751a22014-05-29 20:54:24910
dpranke8ec93a3a2015-02-20 23:36:08911 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
912
brettw@chromium.org6e44c302014-07-22 21:51:37913 deps = [
914 ":cc",
915 ":test_support",
916 "//base",
jamesr16c04ff2014-11-24 22:24:57917 "//base/test:test_support",
brettw@chromium.org6e44c302014-07-22 21:51:37918 "//gpu",
brettw@chromium.orgc7990db2014-07-23 22:35:10919 "//gpu:test_support",
oetuaho@nvidia.com845c4e32014-08-13 11:50:40920 "//gpu/command_buffer/common:gles2_utils",
brettw@chromium.org6e44c302014-07-22 21:51:37921 "//media",
922 "//skia",
923 "//testing/gmock",
924 "//testing/gtest",
925 "//testing/perf",
926 "//ui/gfx",
927 "//ui/gfx/geometry",
jamesr16c04ff2014-11-24 22:24:57928 "//ui/gl",
brettw@chromium.org6e44c302014-07-22 21:51:37929 ]
930}
sunnypse619a362015-03-07 00:03:17931# When adding support for isolates, please have a look at run-time dependencies
932# in the cc_unittests_run target in cc_tests.gyp.