blob: d5652efe7733e74077f27a69f36b6965a96a6d47 [file] [log] [blame]
[email protected]d05751a22014-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
[email protected]d05751a22014-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",
loysobb93befc2015-07-03 00:19:5016 "animation/animation_host.cc",
17 "animation/animation_host.h",
[email protected]d05751a22014-05-29 20:54:2418 "animation/animation_id_provider.cc",
19 "animation/animation_id_provider.h",
loysobb93befc2015-07-03 00:19:5020 "animation/animation_player.cc",
21 "animation/animation_player.h",
[email protected]d05751a22014-05-29 20:54:2422 "animation/animation_registrar.cc",
23 "animation/animation_registrar.h",
loysobb93befc2015-07-03 00:19:5024 "animation/animation_timeline.cc",
25 "animation/animation_timeline.h",
26 "animation/element_animations.cc",
27 "animation/element_animations.h",
[email protected]d05751a22014-05-29 20:54:2428 "animation/keyframed_animation_curve.cc",
29 "animation/keyframed_animation_curve.h",
30 "animation/layer_animation_controller.cc",
31 "animation/layer_animation_controller.h",
32 "animation/layer_animation_event_observer.h",
33 "animation/layer_animation_value_observer.h",
34 "animation/layer_animation_value_provider.h",
35 "animation/scroll_offset_animation_curve.cc",
36 "animation/scroll_offset_animation_curve.h",
loyso0c8e4402016-02-25 04:12:3037 "animation/target_property.cc",
38 "animation/target_property.h",
[email protected]d05751a22014-05-29 20:54:2439 "animation/timing_function.cc",
40 "animation/timing_function.h",
41 "animation/transform_operation.cc",
42 "animation/transform_operation.h",
43 "animation/transform_operations.cc",
44 "animation/transform_operations.h",
[email protected]d05751a22014-05-29 20:54:2445 "debug/benchmark_instrumentation.cc",
46 "debug/benchmark_instrumentation.h",
47 "debug/debug_colors.cc",
48 "debug/debug_colors.h",
49 "debug/debug_rect_history.cc",
50 "debug/debug_rect_history.h",
51 "debug/devtools_instrumentation.h",
52 "debug/frame_rate_counter.cc",
53 "debug/frame_rate_counter.h",
vmpstr3d1d72c2015-01-26 18:27:4054 "debug/frame_timing_request.cc",
55 "debug/frame_timing_request.h",
michaelblain1bcdf892015-01-17 01:24:3056 "debug/frame_timing_tracker.cc",
57 "debug/frame_timing_tracker.h",
hendrikw9385e492014-12-17 21:42:5958 "debug/frame_viewer_instrumentation.cc",
[email protected]d05751a22014-05-29 20:54:2459 "debug/frame_viewer_instrumentation.h",
[email protected]d5ba08c2014-06-18 07:01:0860 "debug/invalidation_benchmark.cc",
61 "debug/invalidation_benchmark.h",
[email protected]d05751a22014-05-29 20:54:2462 "debug/lap_timer.cc",
63 "debug/lap_timer.h",
64 "debug/layer_tree_debug_state.cc",
65 "debug/layer_tree_debug_state.h",
66 "debug/micro_benchmark.cc",
67 "debug/micro_benchmark.h",
[email protected]d05751a22014-05-29 20:54:2468 "debug/micro_benchmark_controller.cc",
69 "debug/micro_benchmark_controller.h",
70 "debug/micro_benchmark_controller_impl.cc",
71 "debug/micro_benchmark_controller_impl.h",
satorux457770e2015-02-18 18:33:3972 "debug/micro_benchmark_impl.cc",
73 "debug/micro_benchmark_impl.h",
ajumad7dd21a2015-01-09 00:57:3174 "debug/picture_debug_util.cc",
75 "debug/picture_debug_util.h",
[email protected]d05751a22014-05-29 20:54:2476 "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",
caseq252613a72015-06-19 11:12:5785 "debug/traced_display_item_list.cc",
86 "debug/traced_display_item_list.h",
[email protected]d05751a22014-05-29 20:54:2487 "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",
[email protected]d05751a22014-05-29 20:54:2494 "input/input_handler.h",
[email protected]b2ba2d42014-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",
tdresserd9e201472015-07-31 13:15:07101 "input/scroll_state.cc",
102 "input/scroll_state.h",
tdresser99c9ff52015-12-14 15:47:09103 "input/scroll_state_data.cc",
104 "input/scroll_state_data.h",
loyso455b4f602016-02-24 02:59:42105 "input/scrollbar_animation_controller.cc",
106 "input/scrollbar_animation_controller.h",
107 "input/scrollbar_animation_controller_linear_fade.cc",
108 "input/scrollbar_animation_controller_linear_fade.h",
109 "input/scrollbar_animation_controller_thinning.cc",
110 "input/scrollbar_animation_controller_thinning.h",
jdduke449b5292015-04-23 19:36:44111 "input/selection.h",
[email protected]b2ba2d42014-07-03 18:14:50112 "input/selection_bound_type.h",
[email protected]d05751a22014-05-29 20:54:24113 "input/top_controls_manager.cc",
114 "input/top_controls_manager.h",
115 "input/top_controls_manager_client.h",
116 "layers/append_quads_data.h",
[email protected]d05751a22014-05-29 20:54:24117 "layers/content_layer_client.h",
ennefffb119c2015-08-29 09:17:30118 "layers/draw_properties.cc",
[email protected]d05751a22014-05-29 20:54:24119 "layers/draw_properties.h",
dtrainor8e9da482016-01-04 09:53:05120 "layers/empty_content_layer_client.cc",
121 "layers/empty_content_layer_client.h",
[email protected]d05751a22014-05-29 20:54:24122 "layers/heads_up_display_layer.cc",
123 "layers/heads_up_display_layer.h",
124 "layers/heads_up_display_layer_impl.cc",
125 "layers/heads_up_display_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24126 "layers/io_surface_layer.cc",
127 "layers/io_surface_layer.h",
128 "layers/io_surface_layer_impl.cc",
129 "layers/io_surface_layer_impl.h",
130 "layers/layer.cc",
131 "layers/layer.h",
132 "layers/layer_client.h",
vollick83fbfc82016-03-22 18:33:27133 "layers/layer_collections.h",
[email protected]d05751a22014-05-29 20:54:24134 "layers/layer_impl.cc",
135 "layers/layer_impl.h",
136 "layers/layer_iterator.h",
vollick44d1c1f2016-03-02 20:59:43137 "layers/layer_list_iterator.cc",
138 "layers/layer_list_iterator.h",
[email protected]d05751a22014-05-29 20:54:24139 "layers/layer_position_constraint.cc",
140 "layers/layer_position_constraint.h",
nyquist353b7d52015-11-06 22:26:53141 "layers/layer_proto_converter.cc",
142 "layers/layer_proto_converter.h",
[email protected]d05751a22014-05-29 20:54:24143 "layers/layer_utils.cc",
144 "layers/layer_utils.h",
145 "layers/nine_patch_layer.cc",
146 "layers/nine_patch_layer.h",
147 "layers/nine_patch_layer_impl.cc",
148 "layers/nine_patch_layer_impl.h",
149 "layers/paint_properties.h",
150 "layers/painted_scrollbar_layer.cc",
151 "layers/painted_scrollbar_layer.h",
152 "layers/painted_scrollbar_layer_impl.cc",
153 "layers/painted_scrollbar_layer_impl.h",
154 "layers/picture_image_layer.cc",
155 "layers/picture_image_layer.h",
156 "layers/picture_image_layer_impl.cc",
157 "layers/picture_image_layer_impl.h",
158 "layers/picture_layer.cc",
159 "layers/picture_layer.h",
160 "layers/picture_layer_impl.cc",
161 "layers/picture_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24162 "layers/render_pass_sink.h",
[email protected]d05751a22014-05-29 20:54:24163 "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",
[email protected]d05751a22014-05-29 20:54:24185 "layers/ui_resource_layer.cc",
186 "layers/ui_resource_layer.h",
187 "layers/ui_resource_layer_impl.cc",
188 "layers/ui_resource_layer_impl.h",
189 "layers/video_frame_provider.h",
190 "layers/video_frame_provider_client_impl.cc",
191 "layers/video_frame_provider_client_impl.h",
192 "layers/video_layer.cc",
193 "layers/video_layer.h",
194 "layers/video_layer_impl.cc",
195 "layers/video_layer_impl.h",
bokanaa2748312015-03-26 00:10:37196 "layers/viewport.cc",
197 "layers/viewport.h",
[email protected]d05751a22014-05-29 20:54:24198 "output/begin_frame_args.cc",
199 "output/begin_frame_args.h",
[email protected]2a021fb7b2014-08-02 07:53:49200 "output/bsp_tree.cc",
201 "output/bsp_tree.h",
202 "output/bsp_walk_action.cc",
203 "output/bsp_walk_action.h",
ccameron35db390a2015-11-17 21:22:55204 "output/ca_layer_overlay.cc",
205 "output/ca_layer_overlay.h",
[email protected]d05751a22014-05-29 20:54:24206 "output/compositor_frame.cc",
207 "output/compositor_frame.h",
208 "output/compositor_frame_ack.cc",
209 "output/compositor_frame_ack.h",
210 "output/compositor_frame_metadata.cc",
211 "output/compositor_frame_metadata.h",
212 "output/context_provider.cc",
213 "output/context_provider.h",
214 "output/copy_output_request.cc",
215 "output/copy_output_request.h",
216 "output/copy_output_result.cc",
217 "output/copy_output_result.h",
[email protected]d05751a22014-05-29 20:54:24218 "output/delegated_frame_data.cc",
[email protected]b2ba2d42014-07-03 18:14:50219 "output/delegated_frame_data.h",
[email protected]d05751a22014-05-29 20:54:24220 "output/delegating_renderer.cc",
221 "output/delegating_renderer.h",
222 "output/direct_renderer.cc",
223 "output/direct_renderer.h",
awoloszyn3d8eb1d2015-03-12 14:38:32224 "output/dynamic_geometry_binding.cc",
225 "output/dynamic_geometry_binding.h",
[email protected]d05751a22014-05-29 20:54:24226 "output/filter_operation.cc",
227 "output/filter_operation.h",
228 "output/filter_operations.cc",
229 "output/filter_operations.h",
230 "output/geometry_binding.cc",
231 "output/geometry_binding.h",
[email protected]d05751a22014-05-29 20:54:24232 "output/gl_frame_data.cc",
[email protected]b2ba2d42014-07-03 18:14:50233 "output/gl_frame_data.h",
[email protected]d05751a22014-05-29 20:54:24234 "output/gl_renderer.cc",
235 "output/gl_renderer.h",
236 "output/gl_renderer_draw_cache.cc",
237 "output/gl_renderer_draw_cache.h",
jamesrf313a212015-03-16 21:27:37238 "output/latency_info_swap_promise.cc",
239 "output/latency_info_swap_promise.h",
danakj920156852015-05-18 20:22:29240 "output/layer_quad.cc",
241 "output/layer_quad.h",
[email protected]d05751a22014-05-29 20:54:24242 "output/managed_memory_policy.cc",
243 "output/managed_memory_policy.h",
244 "output/output_surface.cc",
245 "output/output_surface.h",
246 "output/output_surface_client.h",
247 "output/overlay_candidate.cc",
248 "output/overlay_candidate.h",
249 "output/overlay_candidate_validator.h",
250 "output/overlay_processor.cc",
251 "output/overlay_processor.h",
252 "output/overlay_strategy_single_on_top.cc",
253 "output/overlay_strategy_single_on_top.h",
achaulkf47b4942015-04-01 17:26:08254 "output/overlay_strategy_underlay.cc",
255 "output/overlay_strategy_underlay.h",
[email protected]d05751a22014-05-29 20:54:24256 "output/program_binding.cc",
257 "output/program_binding.h",
258 "output/render_surface_filters.cc",
259 "output/render_surface_filters.h",
260 "output/renderer.cc",
261 "output/renderer.h",
jamesr9b8fda32015-03-16 19:11:05262 "output/renderer_capabilities.cc",
263 "output/renderer_capabilities.h",
jbaumanc5be44c2014-11-20 22:17:12264 "output/renderer_settings.cc",
265 "output/renderer_settings.h",
[email protected]d05751a22014-05-29 20:54:24266 "output/shader.cc",
267 "output/shader.h",
[email protected]d05751a22014-05-29 20:54:24268 "output/software_output_device.cc",
269 "output/software_output_device.h",
270 "output/software_renderer.cc",
271 "output/software_renderer.h",
awoloszyn3d8eb1d2015-03-12 14:38:32272 "output/static_geometry_binding.cc",
273 "output/static_geometry_binding.h",
jamesrf313a212015-03-16 21:27:37274 "output/swap_promise.h",
danakj920156852015-05-18 20:22:29275 "output/texture_mailbox_deleter.cc",
276 "output/texture_mailbox_deleter.h",
[email protected]b2ba2d42014-07-03 18:14:50277 "output/viewport_selection_bound.cc",
278 "output/viewport_selection_bound.h",
danakj920156852015-05-18 20:22:29279 "playback/clip_display_item.cc",
280 "playback/clip_display_item.h",
281 "playback/clip_path_display_item.cc",
282 "playback/clip_path_display_item.h",
283 "playback/compositing_display_item.cc",
284 "playback/compositing_display_item.h",
vmpstr9dd810a2016-01-19 21:16:10285 "playback/decoded_draw_image.h",
fmalita7913ee52015-09-09 19:47:31286 "playback/discardable_image_map.cc",
287 "playback/discardable_image_map.h",
danakj920156852015-05-18 20:22:29288 "playback/display_item.cc",
289 "playback/display_item.h",
290 "playback/display_item_list.cc",
291 "playback/display_item_list.h",
jbroman7ae1e4bf2015-06-02 01:44:28292 "playback/display_item_list_settings.cc",
293 "playback/display_item_list_settings.h",
dtrainor2191e4d2015-10-28 16:02:52294 "playback/display_item_proto_factory.cc",
295 "playback/display_item_proto_factory.h",
vmpstr9dd810a2016-01-19 21:16:10296 "playback/draw_image.cc",
vmpstr9116a70f2015-10-14 23:48:34297 "playback/draw_image.h",
danakj920156852015-05-18 20:22:29298 "playback/drawing_display_item.cc",
299 "playback/drawing_display_item.h",
300 "playback/filter_display_item.cc",
301 "playback/filter_display_item.h",
302 "playback/float_clip_display_item.cc",
303 "playback/float_clip_display_item.h",
vmpstr2c9805c2016-03-04 00:07:41304 "playback/image_hijack_canvas.cc",
305 "playback/image_hijack_canvas.h",
danakj920156852015-05-18 20:22:29306 "playback/largest_display_item.cc",
307 "playback/largest_display_item.h",
vmpstr41d68f882016-03-30 01:20:23308 "playback/raster_source.cc",
309 "playback/raster_source.h",
vmpstre17fd212016-03-30 20:03:32310 "playback/recording_source.cc",
311 "playback/recording_source.h",
vmpstrec4a4172016-03-14 22:51:06312 "playback/skip_image_canvas.cc",
313 "playback/skip_image_canvas.h",
danakj920156852015-05-18 20:22:29314 "playback/transform_display_item.cc",
315 "playback/transform_display_item.h",
khushalsagar37694212016-01-15 20:46:48316 "proto/base_conversions.cc",
317 "proto/base_conversions.h",
nyquist04b8bd2e2015-11-24 10:04:17318 "proto/cc_conversions.cc",
319 "proto/cc_conversions.h",
dtrainorddb0b492015-10-19 20:14:44320 "proto/gfx_conversions.cc",
321 "proto/gfx_conversions.h",
nyquist1d29b062015-12-02 02:48:18322 "proto/gpu_conversions.cc",
323 "proto/gpu_conversions.h",
nyquist16febb42016-02-12 00:15:04324 "proto/image_serialization_processor.h",
dtrainor543858f52015-10-23 20:13:55325 "proto/skia_conversions.cc",
326 "proto/skia_conversions.h",
sunxdc36713a2016-03-03 22:31:10327 "proto/synced_property_conversions.cc",
328 "proto/synced_property_conversions.h",
[email protected]d05751a22014-05-29 20:54:24329 "quads/content_draw_quad_base.cc",
330 "quads/content_draw_quad_base.h",
331 "quads/debug_border_draw_quad.cc",
332 "quads/debug_border_draw_quad.h",
[email protected]2a021fb7b2014-08-02 07:53:49333 "quads/draw_polygon.cc",
334 "quads/draw_polygon.h",
[email protected]d05751a22014-05-29 20:54:24335 "quads/draw_quad.cc",
336 "quads/draw_quad.h",
337 "quads/io_surface_draw_quad.cc",
338 "quads/io_surface_draw_quad.h",
weiliangcfe7b51e2014-11-05 18:20:27339 "quads/largest_draw_quad.cc",
satorux457770e2015-02-18 18:33:39340 "quads/largest_draw_quad.h",
[email protected]d05751a22014-05-29 20:54:24341 "quads/picture_draw_quad.cc",
342 "quads/picture_draw_quad.h",
343 "quads/render_pass.cc",
344 "quads/render_pass.h",
345 "quads/render_pass_draw_quad.cc",
346 "quads/render_pass_draw_quad.h",
[email protected]0cd7d6f72014-08-22 14:50:51347 "quads/render_pass_id.cc",
348 "quads/render_pass_id.h",
[email protected]d05751a22014-05-29 20:54:24349 "quads/shared_quad_state.cc",
350 "quads/shared_quad_state.h",
351 "quads/solid_color_draw_quad.cc",
352 "quads/solid_color_draw_quad.h",
353 "quads/stream_video_draw_quad.cc",
354 "quads/stream_video_draw_quad.h",
355 "quads/surface_draw_quad.cc",
356 "quads/surface_draw_quad.h",
357 "quads/texture_draw_quad.cc",
358 "quads/texture_draw_quad.h",
359 "quads/tile_draw_quad.cc",
360 "quads/tile_draw_quad.h",
361 "quads/yuv_video_draw_quad.cc",
362 "quads/yuv_video_draw_quad.h",
danakj920156852015-05-18 20:22:29363 "raster/bitmap_tile_task_worker_pool.cc",
364 "raster/bitmap_tile_task_worker_pool.h",
365 "raster/gpu_rasterizer.cc",
366 "raster/gpu_rasterizer.h",
367 "raster/gpu_tile_task_worker_pool.cc",
368 "raster/gpu_tile_task_worker_pool.h",
369 "raster/one_copy_tile_task_worker_pool.cc",
370 "raster/one_copy_tile_task_worker_pool.h",
danakj920156852015-05-18 20:22:29371 "raster/raster_buffer.cc",
372 "raster/raster_buffer.h",
373 "raster/scoped_gpu_raster.cc",
374 "raster/scoped_gpu_raster.h",
ericrk4e3aa5a2015-12-01 03:53:56375 "raster/single_thread_task_graph_runner.cc",
376 "raster/single_thread_task_graph_runner.h",
377 "raster/synchronous_task_graph_runner.cc",
378 "raster/synchronous_task_graph_runner.h",
ericrk374dee72016-01-13 03:38:05379 "raster/task_category.h",
danakj920156852015-05-18 20:22:29380 "raster/task_graph_runner.cc",
381 "raster/task_graph_runner.h",
ericrk4e3aa5a2015-12-01 03:53:56382 "raster/task_graph_work_queue.cc",
383 "raster/task_graph_work_queue.h",
danakj920156852015-05-18 20:22:29384 "raster/texture_compressor.cc",
385 "raster/texture_compressor.h",
386 "raster/texture_compressor_etc1.cc",
387 "raster/texture_compressor_etc1.h",
388 "raster/tile_task_runner.cc",
389 "raster/tile_task_runner.h",
390 "raster/tile_task_worker_pool.cc",
391 "raster/tile_task_worker_pool.h",
392 "raster/zero_copy_tile_task_worker_pool.cc",
393 "raster/zero_copy_tile_task_worker_pool.h",
[email protected]d05751a22014-05-29 20:54:24394 "resources/memory_history.cc",
395 "resources/memory_history.h",
[email protected]d05751a22014-05-29 20:54:24396 "resources/platform_color.h",
[email protected]d05751a22014-05-29 20:54:24397 "resources/release_callback.h",
reveman423e7da2014-09-23 16:57:44398 "resources/resource.h",
[email protected]c6f0cf62014-07-22 02:44:41399 "resources/resource_format.cc",
[email protected]bf050582014-07-24 11:10:58400 "resources/resource_format.h",
[email protected]d05751a22014-05-29 20:54:24401 "resources/resource_pool.cc",
402 "resources/resource_pool.h",
403 "resources/resource_provider.cc",
404 "resources/resource_provider.h",
prashant.n8e494282015-08-03 07:13:41405 "resources/resource_util.h",
[email protected]d05751a22014-05-29 20:54:24406 "resources/returned_resource.h",
407 "resources/scoped_resource.cc",
408 "resources/scoped_resource.h",
409 "resources/scoped_ui_resource.cc",
410 "resources/scoped_ui_resource.h",
411 "resources/shared_bitmap.cc",
412 "resources/shared_bitmap.h",
413 "resources/shared_bitmap_manager.h",
414 "resources/single_release_callback.cc",
415 "resources/single_release_callback.h",
skyostil3976a3f2014-09-04 22:07:23416 "resources/single_release_callback_impl.cc",
417 "resources/single_release_callback_impl.h",
[email protected]d05751a22014-05-29 20:54:24418 "resources/texture_mailbox.cc",
reveman423e7da2014-09-23 16:57:44419 "resources/texture_mailbox.h",
[email protected]d05751a22014-05-29 20:54:24420 "resources/transferable_resource.cc",
421 "resources/transferable_resource.h",
422 "resources/ui_resource_bitmap.cc",
423 "resources/ui_resource_bitmap.h",
424 "resources/ui_resource_client.h",
425 "resources/ui_resource_request.cc",
426 "resources/ui_resource_request.h",
427 "resources/video_resource_updater.cc",
428 "resources/video_resource_updater.h",
mithroc34fc0b12014-09-30 09:10:41429 "scheduler/begin_frame_source.cc",
430 "scheduler/begin_frame_source.h",
mithro0bdb49d2015-05-27 13:08:01431 "scheduler/begin_frame_tracker.cc",
432 "scheduler/begin_frame_tracker.h",
khushalsagar0b3d9e12016-01-14 21:10:18433 "scheduler/commit_earlyout_reason.cc",
mithrof7a21502014-12-17 03:24:48434 "scheduler/commit_earlyout_reason.h",
briandersonc9f50352015-06-24 03:38:58435 "scheduler/compositor_timing_history.cc",
436 "scheduler/compositor_timing_history.h",
[email protected]d05751a22014-05-29 20:54:24437 "scheduler/delay_based_time_source.cc",
438 "scheduler/delay_based_time_source.h",
439 "scheduler/draw_result.h",
440 "scheduler/scheduler.cc",
441 "scheduler/scheduler.h",
442 "scheduler/scheduler_settings.cc",
443 "scheduler/scheduler_settings.h",
444 "scheduler/scheduler_state_machine.cc",
445 "scheduler/scheduler_state_machine.h",
sunnyps7d073dc2015-04-16 23:29:12446 "scheduler/video_frame_controller.h",
danakj920156852015-05-18 20:22:29447 "tiles/eviction_tile_priority_queue.cc",
448 "tiles/eviction_tile_priority_queue.h",
vmpstr64cdba32016-03-03 00:38:40449 "tiles/gpu_image_decode_controller.cc",
450 "tiles/gpu_image_decode_controller.h",
vmpstrc8cf52ab2015-08-03 23:12:50451 "tiles/image_decode_controller.h",
danakj920156852015-05-18 20:22:29452 "tiles/picture_layer_tiling.cc",
453 "tiles/picture_layer_tiling.h",
454 "tiles/picture_layer_tiling_set.cc",
455 "tiles/picture_layer_tiling_set.h",
456 "tiles/prioritized_tile.cc",
457 "tiles/prioritized_tile.h",
458 "tiles/raster_tile_priority_queue.cc",
459 "tiles/raster_tile_priority_queue.h",
460 "tiles/raster_tile_priority_queue_all.cc",
461 "tiles/raster_tile_priority_queue_all.h",
462 "tiles/raster_tile_priority_queue_required.cc",
463 "tiles/raster_tile_priority_queue_required.h",
vmpstr64cdba32016-03-03 00:38:40464 "tiles/software_image_decode_controller.cc",
465 "tiles/software_image_decode_controller.h",
danakj920156852015-05-18 20:22:29466 "tiles/tile.cc",
467 "tiles/tile.h",
468 "tiles/tile_draw_info.cc",
469 "tiles/tile_draw_info.h",
470 "tiles/tile_manager.cc",
471 "tiles/tile_manager.h",
472 "tiles/tile_priority.cc",
473 "tiles/tile_priority.h",
474 "tiles/tiling_set_eviction_queue.cc",
475 "tiles/tiling_set_eviction_queue.h",
476 "tiles/tiling_set_raster_queue_all.cc",
477 "tiles/tiling_set_raster_queue_all.h",
478 "tiles/tiling_set_raster_queue_required.cc",
479 "tiles/tiling_set_raster_queue_required.h",
[email protected]d05751a22014-05-29 20:54:24480 "trees/blocking_task_runner.cc",
481 "trees/blocking_task_runner.h",
khushalsagar5d6eb982015-09-25 22:44:56482 "trees/channel_impl.h",
483 "trees/channel_main.h",
khushalsagar19458bd2015-12-08 02:19:01484 "trees/compositor_mode.h",
[email protected]d05751a22014-05-29 20:54:24485 "trees/damage_tracker.cc",
486 "trees/damage_tracker.h",
vollick51ed1a22014-12-17 02:03:00487 "trees/draw_property_utils.cc",
488 "trees/draw_property_utils.h",
jamesrf313a212015-03-16 21:27:37489 "trees/latency_info_swap_promise_monitor.cc",
490 "trees/latency_info_swap_promise_monitor.h",
[email protected]d05751a22014-05-29 20:54:24491 "trees/layer_tree_host.cc",
492 "trees/layer_tree_host.h",
493 "trees/layer_tree_host_client.h",
494 "trees/layer_tree_host_common.cc",
495 "trees/layer_tree_host_common.h",
496 "trees/layer_tree_host_impl.cc",
497 "trees/layer_tree_host_impl.h",
ccameron00e438cd2015-03-12 06:18:14498 "trees/layer_tree_host_single_thread_client.h",
[email protected]d05751a22014-05-29 20:54:24499 "trees/layer_tree_impl.cc",
500 "trees/layer_tree_impl.h",
501 "trees/layer_tree_settings.cc",
502 "trees/layer_tree_settings.h",
loysobb93befc2015-07-03 00:19:50503 "trees/mutator_host_client.h",
vmpstrcdcb5f72014-09-11 00:58:37504 "trees/occlusion.cc",
505 "trees/occlusion.h",
[email protected]d05751a22014-05-29 20:54:24506 "trees/occlusion_tracker.cc",
507 "trees/occlusion_tracker.h",
vollick51ed1a22014-12-17 02:03:00508 "trees/property_tree.cc",
509 "trees/property_tree.h",
510 "trees/property_tree_builder.cc",
511 "trees/property_tree_builder.h",
[email protected]d05751a22014-05-29 20:54:24512 "trees/proxy.h",
khushalsagare3c9fa92015-10-28 02:08:29513 "trees/proxy_common.cc",
514 "trees/proxy_common.h",
khushalsagar0a226af2015-12-09 10:30:20515 "trees/proxy_impl.cc",
khushalsagar5d6eb982015-09-25 22:44:56516 "trees/proxy_impl.h",
khushalsagar0a226af2015-12-09 10:30:20517 "trees/proxy_main.cc",
khushalsagar5d6eb982015-09-25 22:44:56518 "trees/proxy_main.h",
khushalsagare0a38d42016-01-29 01:15:06519 "trees/remote_channel_impl.cc",
520 "trees/remote_channel_impl.h",
521 "trees/remote_channel_main.cc",
522 "trees/remote_channel_main.h",
dtrainor5ef644e2015-11-19 00:12:47523 "trees/remote_proto_channel.h",
[email protected]aeeedad2014-08-22 18:16:22524 "trees/scoped_abort_remaining_swap_promises.h",
[email protected]d05751a22014-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",
khushalsagarb64b360d2015-10-21 19:25:16529 "trees/task_runner_provider.cc",
530 "trees/task_runner_provider.h",
khushalsagar5d6eb982015-09-25 22:44:56531 "trees/threaded_channel.cc",
532 "trees/threaded_channel.h",
[email protected]d05751a22014-05-29 20:54:24533 "trees/tree_synchronizer.cc",
534 "trees/tree_synchronizer.h",
535 ]
536
thakis4a0c5482015-06-08 20:51:29537 if (target_cpu == "x86" || target_cpu == "x64") {
538 sources += [
539 "raster/texture_compressor_etc1_sse.cc",
540 "raster/texture_compressor_etc1_sse.h",
541 ]
542 }
543
brettwbc8b2a22015-07-28 18:24:42544 configs += [ "//build/config:precompiled_headers" ]
545
Brett Wilsone53895272014-09-23 23:41:46546 public_deps = [
jamesrf313a212015-03-16 21:27:37547 "//cc/base",
Brett Wilsone53895272014-09-23 23:41:46548 "//skia",
549 ]
[email protected]d05751a22014-05-29 20:54:24550 deps = [
551 "//base",
552 "//base/third_party/dynamic_annotations",
dtrainorddb0b492015-10-19 20:14:44553 "//cc/proto",
jamesr16c04ff2014-11-24 22:24:57554 "//cc/surfaces:surface_id",
[email protected]d05751a22014-05-29 20:54:24555 "//gpu",
jbromancba3d2fe2014-09-16 01:04:24556 "//gpu/command_buffer/client:gles2_interface",
[email protected]6e44c302014-07-22 21:51:37557 "//media",
[email protected]d05751a22014-05-29 20:54:24558 "//ui/events:events_base",
559 "//ui/gfx",
560 "//ui/gfx/geometry",
ericrkf08855b42015-08-06 00:20:22561 "//ui/gl",
[email protected]d05751a22014-05-29 20:54:24562 ]
[email protected]d05751a22014-05-29 20:54:24563
[email protected]3ffa36a2014-07-24 21:01:50564 defines = [ "CC_IMPLEMENTATION=1" ]
[email protected]d05751a22014-05-29 20:54:24565
fdegans75b3d092014-09-17 18:35:55566 if (!is_debug && (is_win || is_android)) {
brettw4cab0f12015-09-14 21:40:01567 configs -= [ "//build/config/compiler:default_optimization" ]
[email protected]d05751a22014-05-29 20:54:24568 configs += [ "//build/config/compiler:optimize_max" ]
569 }
570}
571
[email protected]d05751a22014-05-29 20:54:24572source_set("test_support") {
Brett Wilson8f80ad0b2014-09-08 19:50:24573 testonly = true
[email protected]d05751a22014-05-29 20:54:24574 sources = [
575 "test/animation_test_common.cc",
576 "test/animation_test_common.h",
loysobb93befc2015-07-03 00:19:50577 "test/animation_timelines_test_common.cc",
578 "test/animation_timelines_test_common.h",
[email protected]d05751a22014-05-29 20:54:24579 "test/begin_frame_args_test.cc",
580 "test/begin_frame_args_test.h",
mithro6be81902015-12-04 05:58:46581 "test/begin_frame_source_test.cc",
582 "test/begin_frame_source_test.h",
satorux457770e2015-02-18 18:33:39583 "test/failure_output_surface.cc",
584 "test/failure_output_surface.h",
khushalsagar0f081c42015-12-16 07:04:20585 "test/fake_channel_impl.cc",
586 "test/fake_channel_impl.h",
[email protected]d05751a22014-05-29 20:54:24587 "test/fake_content_layer_client.cc",
588 "test/fake_content_layer_client.h",
danakj6e3bf8012014-12-16 18:27:53589 "test/fake_external_begin_frame_source.cc",
590 "test/fake_external_begin_frame_source.h",
nyquist16febb42016-02-12 00:15:04591 "test/fake_image_serialization_processor.cc",
592 "test/fake_image_serialization_processor.h",
khushalsagarb64b360d2015-10-21 19:25:16593 "test/fake_impl_task_runner_provider.h",
[email protected]d05751a22014-05-29 20:54:24594 "test/fake_layer_tree_host.cc",
595 "test/fake_layer_tree_host.h",
596 "test/fake_layer_tree_host_client.cc",
597 "test/fake_layer_tree_host_client.h",
598 "test/fake_layer_tree_host_impl.cc",
599 "test/fake_layer_tree_host_impl.h",
600 "test/fake_layer_tree_host_impl_client.cc",
601 "test/fake_layer_tree_host_impl_client.h",
ajumad9432e32015-11-30 19:43:44602 "test/fake_mask_layer_impl.cc",
603 "test/fake_mask_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24604 "test/fake_output_surface.cc",
605 "test/fake_output_surface.h",
606 "test/fake_output_surface_client.cc",
607 "test/fake_output_surface_client.h",
608 "test/fake_painted_scrollbar_layer.cc",
609 "test/fake_painted_scrollbar_layer.h",
610 "test/fake_picture_layer.cc",
611 "test/fake_picture_layer.h",
612 "test/fake_picture_layer_impl.cc",
613 "test/fake_picture_layer_impl.h",
614 "test/fake_picture_layer_tiling_client.cc",
615 "test/fake_picture_layer_tiling_client.h",
[email protected]d05751a22014-05-29 20:54:24616 "test/fake_proxy.cc",
617 "test/fake_proxy.h",
vmpstr41d68f882016-03-30 01:20:23618 "test/fake_raster_source.cc",
619 "test/fake_raster_source.h",
vmpstre17fd212016-03-30 20:03:32620 "test/fake_recording_source.cc",
621 "test/fake_recording_source.h",
[email protected]d05751a22014-05-29 20:54:24622 "test/fake_renderer_client.cc",
623 "test/fake_renderer_client.h",
624 "test/fake_rendering_stats_instrumentation.h",
danakj61bf05f2015-05-26 23:28:56625 "test/fake_resource_provider.h",
[email protected]d05751a22014-05-29 20:54:24626 "test/fake_scoped_ui_resource.cc",
627 "test/fake_scoped_ui_resource.h",
628 "test/fake_scrollbar.cc",
629 "test/fake_scrollbar.h",
630 "test/fake_tile_manager.cc",
631 "test/fake_tile_manager.h",
632 "test/fake_tile_manager_client.cc",
633 "test/fake_tile_manager_client.h",
634 "test/fake_ui_resource_layer_tree_host_impl.cc",
635 "test/fake_ui_resource_layer_tree_host_impl.h",
636 "test/fake_video_frame_provider.cc",
637 "test/fake_video_frame_provider.h",
638 "test/geometry_test_utils.cc",
639 "test/geometry_test_utils.h",
[email protected]d05751a22014-05-29 20:54:24640 "test/layer_test_common.cc",
641 "test/layer_test_common.h",
642 "test/layer_tree_host_common_test.cc",
643 "test/layer_tree_host_common_test.h",
644 "test/layer_tree_json_parser.cc",
645 "test/layer_tree_json_parser.h",
enne03dbe8ae2014-10-30 01:32:55646 "test/layer_tree_pixel_resource_test.cc",
647 "test/layer_tree_pixel_resource_test.h",
[email protected]d05751a22014-05-29 20:54:24648 "test/layer_tree_pixel_test.cc",
649 "test/layer_tree_pixel_test.h",
650 "test/layer_tree_test.cc",
651 "test/layer_tree_test.h",
mithro6be81902015-12-04 05:58:46652 "test/mock_helper.h",
[email protected]ba16cce2014-06-17 17:03:50653 "test/mock_occlusion_tracker.h",
[email protected]d5ba08c2014-06-18 07:01:08654 "test/ordered_simple_task_runner.cc",
655 "test/ordered_simple_task_runner.h",
[email protected]d05751a22014-05-29 20:54:24656 "test/ordered_texture_map.cc",
657 "test/ordered_texture_map.h",
658 "test/paths.cc",
659 "test/paths.h",
660 "test/pixel_comparator.cc",
661 "test/pixel_comparator.h",
662 "test/pixel_test.cc",
663 "test/pixel_test.h",
664 "test/pixel_test_output_surface.cc",
665 "test/pixel_test_output_surface.h",
666 "test/pixel_test_software_output_device.cc",
667 "test/pixel_test_software_output_device.h",
668 "test/pixel_test_utils.cc",
669 "test/pixel_test_utils.h",
khushalsagar0a226af2015-12-09 10:30:20670 "test/proxy_impl_for_test.cc",
671 "test/proxy_impl_for_test.h",
672 "test/proxy_main_for_test.cc",
673 "test/proxy_main_for_test.h",
khushalsagare0a38d42016-01-29 01:15:06674 "test/remote_channel_impl_for_test.cc",
675 "test/remote_channel_impl_for_test.h",
676 "test/remote_proto_channel_bridge.cc",
677 "test/remote_proto_channel_bridge.h",
[email protected]d05751a22014-05-29 20:54:24678 "test/render_pass_test_utils.cc",
679 "test/render_pass_test_utils.h",
680 "test/scheduler_test_common.cc",
681 "test/scheduler_test_common.h",
682 "test/skia_common.cc",
683 "test/skia_common.h",
684 "test/solid_color_content_layer_client.cc",
685 "test/solid_color_content_layer_client.h",
fsamuel7a615102015-10-23 21:25:16686 "test/surface_aggregator_test_helpers.cc",
687 "test/surface_aggregator_test_helpers.h",
688 "test/surface_hittest_test_helpers.cc",
689 "test/surface_hittest_test_helpers.h",
ericrk4e3aa5a2015-12-01 03:53:56690 "test/task_graph_runner_test_template.cc",
691 "test/task_graph_runner_test_template.h",
[email protected]d05751a22014-05-29 20:54:24692 "test/test_context_provider.cc",
693 "test/test_context_provider.h",
694 "test/test_context_support.cc",
695 "test/test_context_support.h",
696 "test/test_gles2_interface.cc",
697 "test/test_gles2_interface.h",
reveman22dd9292014-10-13 20:52:05698 "test/test_gpu_memory_buffer_manager.cc",
699 "test/test_gpu_memory_buffer_manager.h",
khushalsagar0a226af2015-12-09 10:30:20700 "test/test_hooks.cc",
701 "test/test_hooks.h",
reveman2232bce2014-10-29 01:28:05702 "test/test_image_factory.cc",
703 "test/test_image_factory.h",
satorux457770e2015-02-18 18:33:39704 "test/test_in_process_context_provider.cc",
705 "test/test_in_process_context_provider.h",
[email protected]d05751a22014-05-29 20:54:24706 "test/test_occlusion_tracker.h",
707 "test/test_shared_bitmap_manager.cc",
708 "test/test_shared_bitmap_manager.h",
reveman34b7a1522015-03-23 20:27:47709 "test/test_task_graph_runner.cc",
710 "test/test_task_graph_runner.h",
[email protected]d05751a22014-05-29 20:54:24711 "test/test_texture.cc",
712 "test/test_texture.h",
713 "test/test_tile_priorities.cc",
714 "test/test_tile_priorities.h",
715 "test/test_web_graphics_context_3d.cc",
716 "test/test_web_graphics_context_3d.h",
khushalsagar0a226af2015-12-09 10:30:20717 "test/threaded_channel_for_test.cc",
718 "test/threaded_channel_for_test.h",
[email protected]d05751a22014-05-29 20:54:24719 ]
720
brettwbc8b2a22015-07-28 18:24:42721 configs += [ "//build/config:precompiled_headers" ]
[email protected]d05751a22014-05-29 20:54:24722
Brett Wilson0380637c2014-09-19 21:24:40723 public_deps = [
724 ":cc",
Brett Wilsone53895272014-09-23 23:41:46725 "//gpu:test_support",
Brett Wilson0380637c2014-09-19 21:24:40726 ]
[email protected]d05751a22014-05-29 20:54:24727 deps = [
728 "//base",
jamesr16c04ff2014-11-24 22:24:57729 "//base/test:test_support",
[email protected]d05751a22014-05-29 20:54:24730 "//base/third_party/dynamic_annotations",
khushalsagare0a38d42016-01-29 01:15:06731 "//cc/proto",
fsamuel7a615102015-10-23 21:25:16732 "//cc/surfaces",
733 "//cc/surfaces:surface_id",
agrieved7a71c882015-11-20 19:53:28734 "//gpu/command_buffer/client:gl_in_process_context",
[email protected]d05751a22014-05-29 20:54:24735 "//gpu/command_buffer/client:gles2_c_lib",
736 "//gpu/command_buffer/client:gles2_implementation",
[email protected]845c4e32014-08-13 11:50:40737 "//gpu/command_buffer/common:gles2_utils",
[email protected]d05751a22014-05-29 20:54:24738 "//gpu/skia_bindings",
jamesr16c04ff2014-11-24 22:24:57739 "//media",
[email protected]d05751a22014-05-29 20:54:24740 "//skia",
741 "//testing/gmock",
742 "//testing/gtest",
[email protected]d05751a22014-05-29 20:54:24743 "//ui/gfx",
[email protected]e54a1f522014-07-22 23:26:48744 "//ui/gfx:test_support",
agrieved7a71c882015-11-20 19:53:28745 "//ui/gfx/geometry",
[email protected]d05751a22014-05-29 20:54:24746 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26747 "//ui/gl:test_support",
[email protected]d05751a22014-05-29 20:54:24748 ]
[email protected]c7990dbf2014-07-23 22:35:10749
750 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links.
751 deps += [ "//third_party/mesa:osmesa" ]
752 }
[email protected]d05751a22014-05-29 20:54:24753}
754
brettw4897a612015-03-02 23:13:15755test("cc_unittests") {
756 sources = [
loysobb93befc2015-07-03 00:19:50757 "animation/animation_host_unittest.cc",
758 "animation/animation_player_unittest.cc",
759 "animation/animation_timeline_unittest.cc",
brettw4897a612015-03-02 23:13:15760 "animation/animation_unittest.cc",
loysobb93befc2015-07-03 00:19:50761 "animation/element_animations_unittest.cc",
brettw4897a612015-03-02 23:13:15762 "animation/keyframed_animation_curve_unittest.cc",
763 "animation/layer_animation_controller_unittest.cc",
764 "animation/scroll_offset_animation_curve_unittest.cc",
brettw4897a612015-03-02 23:13:15765 "animation/transform_operations_unittest.cc",
enne797d82332015-12-01 01:34:58766 "base/contiguous_container_unittest.cc",
brettwd649f6b2015-08-18 20:58:51767 "base/delayed_unique_notifier_unittest.cc",
brettw4897a612015-03-02 23:13:15768 "base/float_quad_unittest.cc",
jbroman7b5b0552015-05-28 03:36:58769 "base/histograms_unittest.cc",
prashant.n7f1fe3d2015-06-05 18:26:04770 "base/list_container_unittest.cc",
brettw4897a612015-03-02 23:13:15771 "base/math_util_unittest.cc",
vmpstrb10241fc2015-09-18 01:10:12772 "base/random_access_list_container_unittest.cc",
brettw4897a612015-03-02 23:13:15773 "base/region_unittest.cc",
774 "base/rolling_time_delta_history_unittest.cc",
vmpstrb3ceb8222015-09-23 20:25:25775 "base/rtree_unittest.cc",
brettw4897a612015-03-02 23:13:15776 "base/simple_enclosed_region_unittest.cc",
777 "base/tiling_data_unittest.cc",
brettwd649f6b2015-08-18 20:58:51778 "base/unique_notifier_unittest.cc",
brettw4897a612015-03-02 23:13:15779 "debug/frame_timing_tracker_unittest.cc",
nyquist74a9aca2015-12-01 22:39:04780 "debug/layer_tree_debug_state_unittest.cc",
brettw4897a612015-03-02 23:13:15781 "debug/micro_benchmark_controller_unittest.cc",
brettwd649f6b2015-08-18 20:58:51782 "debug/rendering_stats_unittest.cc",
nyquist9de8ad82015-12-18 20:09:06783 "input/layer_selection_bound_unittest.cc",
tdresserd9e201472015-07-31 13:15:07784 "input/scroll_state_unittest.cc",
loyso455b4f602016-02-24 02:59:42785 "input/scrollbar_animation_controller_linear_fade_unittest.cc",
786 "input/scrollbar_animation_controller_thinning_unittest.cc",
brettw4897a612015-03-02 23:13:15787 "input/top_controls_manager_unittest.cc",
brettw4897a612015-03-02 23:13:15788 "layers/heads_up_display_layer_impl_unittest.cc",
789 "layers/heads_up_display_unittest.cc",
790 "layers/io_surface_layer_impl_unittest.cc",
791 "layers/layer_impl_unittest.cc",
792 "layers/layer_iterator_unittest.cc",
vollick44d1c1f2016-03-02 20:59:43793 "layers/layer_list_iterator_unittest.cc",
brettw4897a612015-03-02 23:13:15794 "layers/layer_position_constraint_unittest.cc",
nyquist353b7d52015-11-06 22:26:53795 "layers/layer_proto_converter_unittest.cc",
brettw4897a612015-03-02 23:13:15796 "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",
ccamerona54da382015-11-27 00:52:33801 "layers/painted_scrollbar_layer_unittest.cc",
brettw4897a612015-03-02 23:13:15802 "layers/picture_image_layer_impl_unittest.cc",
803 "layers/picture_image_layer_unittest.cc",
804 "layers/picture_layer_impl_unittest.cc",
805 "layers/picture_layer_unittest.cc",
806 "layers/render_surface_impl_unittest.cc",
807 "layers/render_surface_unittest.cc",
808 "layers/scrollbar_layer_unittest.cc",
809 "layers/solid_color_layer_impl_unittest.cc",
810 "layers/solid_color_scrollbar_layer_impl_unittest.cc",
811 "layers/surface_layer_impl_unittest.cc",
812 "layers/surface_layer_unittest.cc",
813 "layers/texture_layer_impl_unittest.cc",
814 "layers/texture_layer_unittest.cc",
brettw4897a612015-03-02 23:13:15815 "layers/ui_resource_layer_impl_unittest.cc",
816 "layers/ui_resource_layer_unittest.cc",
dalecurtisb8396642015-06-09 18:38:14817 "layers/video_frame_provider_client_impl_unittest.cc",
brettw4897a612015-03-02 23:13:15818 "layers/video_layer_impl_unittest.cc",
819 "output/begin_frame_args_unittest.cc",
brettwd649f6b2015-08-18 20:58:51820 "output/bsp_tree_unittest.cc",
brettw4897a612015-03-02 23:13:15821 "output/delegating_renderer_unittest.cc",
822 "output/filter_operations_unittest.cc",
823 "output/gl_renderer_unittest.cc",
danakj920156852015-05-18 20:22:29824 "output/layer_quad_unittest.cc",
nyquist1d29b062015-12-02 02:48:18825 "output/managed_memory_policy_unittest.cc",
brettw4897a612015-03-02 23:13:15826 "output/output_surface_unittest.cc",
827 "output/overlay_unittest.cc",
828 "output/renderer_pixeltest.cc",
nyquistb974b9a2015-12-02 00:08:35829 "output/renderer_settings_unittest.cc",
brettw4897a612015-03-02 23:13:15830 "output/renderer_unittest.cc",
831 "output/shader_unittest.cc",
832 "output/software_renderer_unittest.cc",
danakj920156852015-05-18 20:22:29833 "output/texture_mailbox_deleter_unittest.cc",
fmalita7913ee52015-09-09 19:47:31834 "playback/discardable_image_map_unittest.cc",
danakj920156852015-05-18 20:22:29835 "playback/display_item_list_unittest.cc",
vmpstr41d68f882016-03-30 01:20:23836 "playback/raster_source_unittest.cc",
vmpstre17fd212016-03-30 20:03:32837 "playback/recording_source_unittest.cc",
khushalsagar37694212016-01-15 20:46:48838 "proto/base_conversions_unittest.cc",
nyquist04b8bd2e2015-11-24 10:04:17839 "proto/cc_conversions_unittest.cc",
dtrainorddb0b492015-10-19 20:14:44840 "proto/gfx_conversions_unittest.cc",
nyquist1d29b062015-12-02 02:48:18841 "proto/gpu_conversions_unittest.cc",
dtrainor543858f52015-10-23 20:13:55842 "proto/skia_conversions_unittest.cc",
sunxdc36713a2016-03-03 22:31:10843 "proto/synced_property_conversions_unittest.cc",
brettwd649f6b2015-08-18 20:58:51844 "quads/draw_polygon_unittest.cc",
brettw4897a612015-03-02 23:13:15845 "quads/draw_quad_unittest.cc",
brettw4897a612015-03-02 23:13:15846 "quads/render_pass_unittest.cc",
danakj920156852015-05-18 20:22:29847 "raster/scoped_gpu_raster_unittest.cc",
ericrk4e3aa5a2015-12-01 03:53:56848 "raster/single_thread_task_graph_runner_unittest.cc",
849 "raster/synchronous_task_graph_runner_unittest.cc",
danakj920156852015-05-18 20:22:29850 "raster/texture_compressor_etc1_unittest.cc",
851 "raster/tile_task_worker_pool_unittest.cc",
brettw4897a612015-03-02 23:13:15852 "resources/platform_color_unittest.cc",
boliucb788f42015-07-22 23:49:28853 "resources/resource_pool_unittest.cc",
brettw4897a612015-03-02 23:13:15854 "resources/resource_provider_unittest.cc",
prashant.n8e494282015-08-03 07:13:41855 "resources/resource_util_unittest.cc",
brettw4897a612015-03-02 23:13:15856 "resources/scoped_resource_unittest.cc",
brettw4897a612015-03-02 23:13:15857 "resources/video_resource_updater_unittest.cc",
858 "scheduler/begin_frame_source_unittest.cc",
khushalsagar0b3d9e12016-01-14 21:10:18859 "scheduler/commit_earlyout_reason_unittest.cc",
brianderson68749812015-07-07 22:39:39860 "scheduler/compositor_timing_history_unittest.cc",
brettw4897a612015-03-02 23:13:15861 "scheduler/delay_based_time_source_unittest.cc",
862 "scheduler/scheduler_state_machine_unittest.cc",
863 "scheduler/scheduler_unittest.cc",
mithro6be81902015-12-04 05:58:46864 "test/begin_frame_source_test_unittest.cc",
brettw4897a612015-03-02 23:13:15865 "test/layer_tree_json_parser_unittest.cc",
mithro6be81902015-12-04 05:58:46866 "test/mock_helper_unittest.cc",
brettwd649f6b2015-08-18 20:58:51867 "test/ordered_simple_task_runner_unittest.cc",
brettw4897a612015-03-02 23:13:15868 "test/test_web_graphics_context_3d_unittest.cc",
danakj920156852015-05-18 20:22:29869 "tiles/picture_layer_tiling_set_unittest.cc",
870 "tiles/picture_layer_tiling_unittest.cc",
vmpstr64cdba32016-03-03 00:38:40871 "tiles/software_image_decode_controller_unittest.cc",
danakj920156852015-05-18 20:22:29872 "tiles/tile_manager_unittest.cc",
873 "tiles/tile_priority_unittest.cc",
brettw4897a612015-03-02 23:13:15874 "trees/blocking_task_runner_unittest.cc",
875 "trees/damage_tracker_unittest.cc",
brettw4897a612015-03-02 23:13:15876 "trees/layer_tree_host_common_unittest.cc",
877 "trees/layer_tree_host_impl_unittest.cc",
878 "trees/layer_tree_host_pixeltest_blending.cc",
879 "trees/layer_tree_host_pixeltest_filters.cc",
880 "trees/layer_tree_host_pixeltest_masks.cc",
881 "trees/layer_tree_host_pixeltest_readback.cc",
882 "trees/layer_tree_host_pixeltest_synchronous.cc",
danakje0b54782015-05-29 22:47:52883 "trees/layer_tree_host_pixeltest_tiles.cc",
brettw4897a612015-03-02 23:13:15884 "trees/layer_tree_host_unittest.cc",
885 "trees/layer_tree_host_unittest_animation.cc",
886 "trees/layer_tree_host_unittest_context.cc",
887 "trees/layer_tree_host_unittest_copyrequest.cc",
888 "trees/layer_tree_host_unittest_damage.cc",
brettw4897a612015-03-02 23:13:15889 "trees/layer_tree_host_unittest_occlusion.cc",
890 "trees/layer_tree_host_unittest_picture.cc",
891 "trees/layer_tree_host_unittest_proxy.cc",
khushalsagarb54107d02015-12-10 20:20:56892 "trees/layer_tree_host_unittest_record_gpu_histogram.cc",
khushalsagarb0d8691b2016-01-30 02:47:17893 "trees/layer_tree_host_unittest_remote_server.cc",
brettw4897a612015-03-02 23:13:15894 "trees/layer_tree_host_unittest_scroll.cc",
nyquist4f5e8afd2016-01-14 17:40:36895 "trees/layer_tree_host_unittest_serialization.cc",
brettw4897a612015-03-02 23:13:15896 "trees/layer_tree_host_unittest_video.cc",
897 "trees/layer_tree_impl_unittest.cc",
nyquist2fe752c2015-12-10 20:12:51898 "trees/layer_tree_settings_unittest.cc",
brettw4897a612015-03-02 23:13:15899 "trees/occlusion_tracker_unittest.cc",
900 "trees/occlusion_unittest.cc",
901 "trees/property_tree_unittest.cc",
khushalsagar37694212016-01-15 20:46:48902 "trees/proxy_common_unittest.cc",
khushalsagar0f081c42015-12-16 07:04:20903 "trees/proxy_impl_unittest.cc",
khushalsagare0a38d42016-01-29 01:15:06904 "trees/remote_channel_unittest.cc",
khushalsagare3c9fa92015-10-28 02:08:29905 "trees/threaded_channel_unittest.cc",
brettw4897a612015-03-02 23:13:15906 "trees/tree_synchronizer_unittest.cc",
[email protected]d05751a22014-05-29 20:54:24907
brettw4897a612015-03-02 23:13:15908 # Surfaces test files.
brettwd649f6b2015-08-18 20:58:51909 "surfaces/display_scheduler_unittest.cc",
910 "surfaces/display_unittest.cc",
brettw4897a612015-03-02 23:13:15911 "surfaces/surface_aggregator_unittest.cc",
brettwd649f6b2015-08-18 20:58:51912 "surfaces/surface_display_output_surface_unittest.cc",
913 "surfaces/surface_factory_unittest.cc",
lfg8d07c91d2015-08-07 16:13:20914 "surfaces/surface_hittest_unittest.cc",
enne4e3c9d52016-03-09 00:25:12915 "surfaces/surface_manager_unittest.cc",
brettw4897a612015-03-02 23:13:15916 "surfaces/surface_unittest.cc",
917 "surfaces/surfaces_pixeltest.cc",
[email protected]d05751a22014-05-29 20:54:24918
brettw4897a612015-03-02 23:13:15919 # Setup.
920 "test/cc_test_suite.cc",
921 "test/run_all_unittests.cc",
922 ]
[email protected]d05751a22014-05-29 20:54:24923
brettwbc8b2a22015-07-28 18:24:42924 configs += [ "//build/config:precompiled_headers" ]
dpranke177c1e22015-07-22 23:07:43925 data = [
926 "test/data/",
927 ]
928
brettw4897a612015-03-02 23:13:15929 deps = [
930 ":cc",
931 ":test_support",
932 "//base/test:test_support",
dtrainorddb0b492015-10-19 20:14:44933 "//cc/proto",
brettw4897a612015-03-02 23:13:15934 "//cc/surfaces",
935 "//cc/surfaces:surface_id",
936 "//gpu",
937 "//gpu:test_support",
938 "//gpu/command_buffer/client:gles2_interface",
939 "//gpu/command_buffer/common:gles2_utils",
940 "//media",
941 "//testing/gmock",
942 "//testing/gtest",
943 "//ui/events:events_base",
944 "//ui/gfx",
brettw4897a612015-03-02 23:13:15945 "//ui/gfx:test_support",
agrieved7a71c882015-11-20 19:53:28946 "//ui/gfx/geometry",
brettw4897a612015-03-02 23:13:15947 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26948 "//ui/gl:test_support",
brettw4897a612015-03-02 23:13:15949 ]
dpranke177c1e22015-07-22 23:07:43950
vmpstr9116a70f2015-10-14 23:48:34951 data_deps = [
952 "//third_party/mesa:osmesa",
953 ]
[email protected]d05751a22014-05-29 20:54:24954}
955
956test("cc_perftests") {
[email protected]6e44c302014-07-22 21:51:37957 sources = [
loysoa4a59a42016-02-10 06:49:26958 "animation/animation_host_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37959 "layers/layer_perftest.cc",
960 "layers/picture_layer_impl_perftest.cc",
vmpstr0b044512015-05-29 02:58:03961 "quads/draw_quad_perftest.cc",
danakj920156852015-05-18 20:22:29962 "raster/task_graph_runner_perftest.cc",
963 "raster/texture_compressor_perftest.cc",
964 "raster/tile_task_worker_pool_perftest.cc",
jbauman39be2012015-04-16 01:33:08965 "surfaces/surface_aggregator_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37966 "test/cc_test_suite.cc",
967 "test/run_all_perftests.cc",
danakj920156852015-05-18 20:22:29968 "tiles/picture_layer_tiling_perftest.cc",
969 "tiles/tile_manager_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37970 "trees/layer_tree_host_common_perftest.cc",
971 "trees/layer_tree_host_perftest.cc",
972 "trees/occlusion_tracker_perftest.cc",
973 ]
[email protected]d05751a22014-05-29 20:54:24974
[email protected]6e44c302014-07-22 21:51:37975 deps = [
976 ":cc",
977 ":test_support",
978 "//base",
jamesr16c04ff2014-11-24 22:24:57979 "//base/test:test_support",
jbauman39be2012015-04-16 01:33:08980 "//cc/surfaces",
981 "//cc/surfaces:surface_id",
[email protected]6e44c302014-07-22 21:51:37982 "//gpu",
[email protected]c7990dbf2014-07-23 22:35:10983 "//gpu:test_support",
[email protected]845c4e32014-08-13 11:50:40984 "//gpu/command_buffer/common:gles2_utils",
[email protected]6e44c302014-07-22 21:51:37985 "//media",
986 "//skia",
987 "//testing/gmock",
988 "//testing/gtest",
989 "//testing/perf",
990 "//ui/gfx",
991 "//ui/gfx/geometry",
jamesr16c04ff2014-11-24 22:24:57992 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26993 "//ui/gl:test_support",
[email protected]6e44c302014-07-22 21:51:37994 ]
mikecase56d80d72015-06-03 00:57:26995
996 if (is_android) {
997 isolate_file = "cc_perftests.isolate"
998 }
[email protected]6e44c302014-07-22 21:51:37999}
sunnypse619a362015-03-07 00:03:171000# When adding support for isolates, please have a look at run-time dependencies
1001# in the cc_unittests_run target in cc_tests.gyp.