blob: 68b4e0692135bd45d50f957f58b3d38a2b9d9479 [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",
133 "layers/layer_impl.cc",
134 "layers/layer_impl.h",
135 "layers/layer_iterator.h",
vollick44d1c1f2016-03-02 20:59:43136 "layers/layer_list_iterator.cc",
137 "layers/layer_list_iterator.h",
[email protected]d05751a22014-05-29 20:54:24138 "layers/layer_lists.h",
139 "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",
jbroman49fa12e2015-11-18 23:17:14143 "layers/layer_settings.cc",
144 "layers/layer_settings.h",
[email protected]d05751a22014-05-29 20:54:24145 "layers/layer_utils.cc",
146 "layers/layer_utils.h",
147 "layers/nine_patch_layer.cc",
148 "layers/nine_patch_layer.h",
149 "layers/nine_patch_layer_impl.cc",
150 "layers/nine_patch_layer_impl.h",
151 "layers/paint_properties.h",
152 "layers/painted_scrollbar_layer.cc",
153 "layers/painted_scrollbar_layer.h",
154 "layers/painted_scrollbar_layer_impl.cc",
155 "layers/painted_scrollbar_layer_impl.h",
156 "layers/picture_image_layer.cc",
157 "layers/picture_image_layer.h",
158 "layers/picture_image_layer_impl.cc",
159 "layers/picture_image_layer_impl.h",
160 "layers/picture_layer.cc",
161 "layers/picture_layer.h",
162 "layers/picture_layer_impl.cc",
163 "layers/picture_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24164 "layers/render_pass_sink.h",
[email protected]d05751a22014-05-29 20:54:24165 "layers/render_surface_impl.cc",
166 "layers/render_surface_impl.h",
167 "layers/scrollbar_layer_impl_base.cc",
168 "layers/scrollbar_layer_impl_base.h",
169 "layers/scrollbar_layer_interface.h",
170 "layers/solid_color_layer.cc",
171 "layers/solid_color_layer.h",
172 "layers/solid_color_layer_impl.cc",
173 "layers/solid_color_layer_impl.h",
174 "layers/solid_color_scrollbar_layer.cc",
175 "layers/solid_color_scrollbar_layer.h",
176 "layers/solid_color_scrollbar_layer_impl.cc",
177 "layers/solid_color_scrollbar_layer_impl.h",
178 "layers/surface_layer.cc",
179 "layers/surface_layer.h",
180 "layers/surface_layer_impl.cc",
181 "layers/surface_layer_impl.h",
182 "layers/texture_layer.cc",
183 "layers/texture_layer.h",
184 "layers/texture_layer_client.h",
185 "layers/texture_layer_impl.cc",
186 "layers/texture_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24187 "layers/ui_resource_layer.cc",
188 "layers/ui_resource_layer.h",
189 "layers/ui_resource_layer_impl.cc",
190 "layers/ui_resource_layer_impl.h",
191 "layers/video_frame_provider.h",
192 "layers/video_frame_provider_client_impl.cc",
193 "layers/video_frame_provider_client_impl.h",
194 "layers/video_layer.cc",
195 "layers/video_layer.h",
196 "layers/video_layer_impl.cc",
197 "layers/video_layer_impl.h",
bokanaa2748312015-03-26 00:10:37198 "layers/viewport.cc",
199 "layers/viewport.h",
[email protected]d05751a22014-05-29 20:54:24200 "output/begin_frame_args.cc",
201 "output/begin_frame_args.h",
[email protected]2a021fb7b2014-08-02 07:53:49202 "output/bsp_tree.cc",
203 "output/bsp_tree.h",
204 "output/bsp_walk_action.cc",
205 "output/bsp_walk_action.h",
ccameron35db390a2015-11-17 21:22:55206 "output/ca_layer_overlay.cc",
207 "output/ca_layer_overlay.h",
[email protected]d05751a22014-05-29 20:54:24208 "output/compositor_frame.cc",
209 "output/compositor_frame.h",
210 "output/compositor_frame_ack.cc",
211 "output/compositor_frame_ack.h",
212 "output/compositor_frame_metadata.cc",
213 "output/compositor_frame_metadata.h",
214 "output/context_provider.cc",
215 "output/context_provider.h",
216 "output/copy_output_request.cc",
217 "output/copy_output_request.h",
218 "output/copy_output_result.cc",
219 "output/copy_output_result.h",
[email protected]d05751a22014-05-29 20:54:24220 "output/delegated_frame_data.cc",
[email protected]b2ba2d42014-07-03 18:14:50221 "output/delegated_frame_data.h",
[email protected]d05751a22014-05-29 20:54:24222 "output/delegating_renderer.cc",
223 "output/delegating_renderer.h",
224 "output/direct_renderer.cc",
225 "output/direct_renderer.h",
awoloszyn3d8eb1d2015-03-12 14:38:32226 "output/dynamic_geometry_binding.cc",
227 "output/dynamic_geometry_binding.h",
[email protected]d05751a22014-05-29 20:54:24228 "output/filter_operation.cc",
229 "output/filter_operation.h",
230 "output/filter_operations.cc",
231 "output/filter_operations.h",
232 "output/geometry_binding.cc",
233 "output/geometry_binding.h",
[email protected]d05751a22014-05-29 20:54:24234 "output/gl_frame_data.cc",
[email protected]b2ba2d42014-07-03 18:14:50235 "output/gl_frame_data.h",
[email protected]d05751a22014-05-29 20:54:24236 "output/gl_renderer.cc",
237 "output/gl_renderer.h",
238 "output/gl_renderer_draw_cache.cc",
239 "output/gl_renderer_draw_cache.h",
jamesrf313a212015-03-16 21:27:37240 "output/latency_info_swap_promise.cc",
241 "output/latency_info_swap_promise.h",
danakj920156852015-05-18 20:22:29242 "output/layer_quad.cc",
243 "output/layer_quad.h",
[email protected]d05751a22014-05-29 20:54:24244 "output/managed_memory_policy.cc",
245 "output/managed_memory_policy.h",
246 "output/output_surface.cc",
247 "output/output_surface.h",
248 "output/output_surface_client.h",
249 "output/overlay_candidate.cc",
250 "output/overlay_candidate.h",
251 "output/overlay_candidate_validator.h",
252 "output/overlay_processor.cc",
253 "output/overlay_processor.h",
254 "output/overlay_strategy_single_on_top.cc",
255 "output/overlay_strategy_single_on_top.h",
achaulkf47b4942015-04-01 17:26:08256 "output/overlay_strategy_underlay.cc",
257 "output/overlay_strategy_underlay.h",
[email protected]d05751a22014-05-29 20:54:24258 "output/program_binding.cc",
259 "output/program_binding.h",
260 "output/render_surface_filters.cc",
261 "output/render_surface_filters.h",
262 "output/renderer.cc",
263 "output/renderer.h",
jamesr9b8fda32015-03-16 19:11:05264 "output/renderer_capabilities.cc",
265 "output/renderer_capabilities.h",
jbaumanc5be44c2014-11-20 22:17:12266 "output/renderer_settings.cc",
267 "output/renderer_settings.h",
[email protected]d05751a22014-05-29 20:54:24268 "output/shader.cc",
269 "output/shader.h",
[email protected]d05751a22014-05-29 20:54:24270 "output/software_output_device.cc",
271 "output/software_output_device.h",
272 "output/software_renderer.cc",
273 "output/software_renderer.h",
awoloszyn3d8eb1d2015-03-12 14:38:32274 "output/static_geometry_binding.cc",
275 "output/static_geometry_binding.h",
jamesrf313a212015-03-16 21:27:37276 "output/swap_promise.h",
danakj920156852015-05-18 20:22:29277 "output/texture_mailbox_deleter.cc",
278 "output/texture_mailbox_deleter.h",
[email protected]b2ba2d42014-07-03 18:14:50279 "output/viewport_selection_bound.cc",
280 "output/viewport_selection_bound.h",
danakj920156852015-05-18 20:22:29281 "playback/clip_display_item.cc",
282 "playback/clip_display_item.h",
283 "playback/clip_path_display_item.cc",
284 "playback/clip_path_display_item.h",
285 "playback/compositing_display_item.cc",
286 "playback/compositing_display_item.h",
vmpstr9dd810a2016-01-19 21:16:10287 "playback/decoded_draw_image.h",
fmalita7913ee52015-09-09 19:47:31288 "playback/discardable_image_map.cc",
289 "playback/discardable_image_map.h",
danakj920156852015-05-18 20:22:29290 "playback/display_item.cc",
291 "playback/display_item.h",
292 "playback/display_item_list.cc",
293 "playback/display_item_list.h",
jbroman7ae1e4bf2015-06-02 01:44:28294 "playback/display_item_list_settings.cc",
295 "playback/display_item_list_settings.h",
dtrainor2191e4d2015-10-28 16:02:52296 "playback/display_item_proto_factory.cc",
297 "playback/display_item_proto_factory.h",
danakj920156852015-05-18 20:22:29298 "playback/display_list_raster_source.cc",
299 "playback/display_list_raster_source.h",
300 "playback/display_list_recording_source.cc",
301 "playback/display_list_recording_source.h",
vmpstr9dd810a2016-01-19 21:16:10302 "playback/draw_image.cc",
vmpstr9116a70f2015-10-14 23:48:34303 "playback/draw_image.h",
danakj920156852015-05-18 20:22:29304 "playback/drawing_display_item.cc",
305 "playback/drawing_display_item.h",
306 "playback/filter_display_item.cc",
307 "playback/filter_display_item.h",
308 "playback/float_clip_display_item.cc",
309 "playback/float_clip_display_item.h",
vmpstr2c9805c2016-03-04 00:07:41310 "playback/image_hijack_canvas.cc",
311 "playback/image_hijack_canvas.h",
danakj920156852015-05-18 20:22:29312 "playback/largest_display_item.cc",
313 "playback/largest_display_item.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",
vmpstr856740262015-09-24 00:25:25589 "test/fake_display_list_raster_source.cc",
590 "test/fake_display_list_raster_source.h",
pdrb42dfda32015-09-16 18:34:19591 "test/fake_display_list_recording_source.cc",
weiliangc0a2945c2015-04-03 05:29:44592 "test/fake_display_list_recording_source.h",
danakj6e3bf8012014-12-16 18:27:53593 "test/fake_external_begin_frame_source.cc",
594 "test/fake_external_begin_frame_source.h",
nyquist16febb42016-02-12 00:15:04595 "test/fake_image_serialization_processor.cc",
596 "test/fake_image_serialization_processor.h",
khushalsagarb64b360d2015-10-21 19:25:16597 "test/fake_impl_task_runner_provider.h",
[email protected]d05751a22014-05-29 20:54:24598 "test/fake_layer_tree_host.cc",
599 "test/fake_layer_tree_host.h",
600 "test/fake_layer_tree_host_client.cc",
601 "test/fake_layer_tree_host_client.h",
602 "test/fake_layer_tree_host_impl.cc",
603 "test/fake_layer_tree_host_impl.h",
604 "test/fake_layer_tree_host_impl_client.cc",
605 "test/fake_layer_tree_host_impl_client.h",
ajumad9432e32015-11-30 19:43:44606 "test/fake_mask_layer_impl.cc",
607 "test/fake_mask_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24608 "test/fake_output_surface.cc",
609 "test/fake_output_surface.h",
610 "test/fake_output_surface_client.cc",
611 "test/fake_output_surface_client.h",
612 "test/fake_painted_scrollbar_layer.cc",
613 "test/fake_painted_scrollbar_layer.h",
614 "test/fake_picture_layer.cc",
615 "test/fake_picture_layer.h",
616 "test/fake_picture_layer_impl.cc",
617 "test/fake_picture_layer_impl.h",
618 "test/fake_picture_layer_tiling_client.cc",
619 "test/fake_picture_layer_tiling_client.h",
[email protected]d05751a22014-05-29 20:54:24620 "test/fake_proxy.cc",
621 "test/fake_proxy.h",
622 "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",
weiliangcd9897d72015-12-01 22:53:31650 "test/layer_tree_settings_for_testing.cc",
651 "test/layer_tree_settings_for_testing.h",
[email protected]d05751a22014-05-29 20:54:24652 "test/layer_tree_test.cc",
653 "test/layer_tree_test.h",
mithro6be81902015-12-04 05:58:46654 "test/mock_helper.h",
[email protected]ba16cce2014-06-17 17:03:50655 "test/mock_occlusion_tracker.h",
[email protected]d5ba08c2014-06-18 07:01:08656 "test/ordered_simple_task_runner.cc",
657 "test/ordered_simple_task_runner.h",
[email protected]d05751a22014-05-29 20:54:24658 "test/ordered_texture_map.cc",
659 "test/ordered_texture_map.h",
660 "test/paths.cc",
661 "test/paths.h",
662 "test/pixel_comparator.cc",
663 "test/pixel_comparator.h",
664 "test/pixel_test.cc",
665 "test/pixel_test.h",
666 "test/pixel_test_output_surface.cc",
667 "test/pixel_test_output_surface.h",
668 "test/pixel_test_software_output_device.cc",
669 "test/pixel_test_software_output_device.h",
670 "test/pixel_test_utils.cc",
671 "test/pixel_test_utils.h",
khushalsagar0a226af2015-12-09 10:30:20672 "test/proxy_impl_for_test.cc",
673 "test/proxy_impl_for_test.h",
674 "test/proxy_main_for_test.cc",
675 "test/proxy_main_for_test.h",
khushalsagare0a38d42016-01-29 01:15:06676 "test/remote_channel_impl_for_test.cc",
677 "test/remote_channel_impl_for_test.h",
678 "test/remote_proto_channel_bridge.cc",
679 "test/remote_proto_channel_bridge.h",
[email protected]d05751a22014-05-29 20:54:24680 "test/render_pass_test_utils.cc",
681 "test/render_pass_test_utils.h",
682 "test/scheduler_test_common.cc",
683 "test/scheduler_test_common.h",
684 "test/skia_common.cc",
685 "test/skia_common.h",
686 "test/solid_color_content_layer_client.cc",
687 "test/solid_color_content_layer_client.h",
fsamuel7a615102015-10-23 21:25:16688 "test/surface_aggregator_test_helpers.cc",
689 "test/surface_aggregator_test_helpers.h",
690 "test/surface_hittest_test_helpers.cc",
691 "test/surface_hittest_test_helpers.h",
ericrk4e3aa5a2015-12-01 03:53:56692 "test/task_graph_runner_test_template.cc",
693 "test/task_graph_runner_test_template.h",
[email protected]d05751a22014-05-29 20:54:24694 "test/test_context_provider.cc",
695 "test/test_context_provider.h",
696 "test/test_context_support.cc",
697 "test/test_context_support.h",
698 "test/test_gles2_interface.cc",
699 "test/test_gles2_interface.h",
reveman22dd9292014-10-13 20:52:05700 "test/test_gpu_memory_buffer_manager.cc",
701 "test/test_gpu_memory_buffer_manager.h",
khushalsagar0a226af2015-12-09 10:30:20702 "test/test_hooks.cc",
703 "test/test_hooks.h",
reveman2232bce2014-10-29 01:28:05704 "test/test_image_factory.cc",
705 "test/test_image_factory.h",
satorux457770e2015-02-18 18:33:39706 "test/test_in_process_context_provider.cc",
707 "test/test_in_process_context_provider.h",
[email protected]d05751a22014-05-29 20:54:24708 "test/test_occlusion_tracker.h",
709 "test/test_shared_bitmap_manager.cc",
710 "test/test_shared_bitmap_manager.h",
reveman34b7a1522015-03-23 20:27:47711 "test/test_task_graph_runner.cc",
712 "test/test_task_graph_runner.h",
[email protected]d05751a22014-05-29 20:54:24713 "test/test_texture.cc",
714 "test/test_texture.h",
715 "test/test_tile_priorities.cc",
716 "test/test_tile_priorities.h",
717 "test/test_web_graphics_context_3d.cc",
718 "test/test_web_graphics_context_3d.h",
khushalsagar0a226af2015-12-09 10:30:20719 "test/threaded_channel_for_test.cc",
720 "test/threaded_channel_for_test.h",
[email protected]d05751a22014-05-29 20:54:24721 ]
722
brettwbc8b2a22015-07-28 18:24:42723 configs += [ "//build/config:precompiled_headers" ]
[email protected]d05751a22014-05-29 20:54:24724
Brett Wilson0380637c2014-09-19 21:24:40725 public_deps = [
726 ":cc",
Brett Wilsone53895272014-09-23 23:41:46727 "//gpu:test_support",
Brett Wilson0380637c2014-09-19 21:24:40728 ]
[email protected]d05751a22014-05-29 20:54:24729 deps = [
730 "//base",
jamesr16c04ff2014-11-24 22:24:57731 "//base/test:test_support",
[email protected]d05751a22014-05-29 20:54:24732 "//base/third_party/dynamic_annotations",
khushalsagare0a38d42016-01-29 01:15:06733 "//cc/proto",
fsamuel7a615102015-10-23 21:25:16734 "//cc/surfaces",
735 "//cc/surfaces:surface_id",
agrieved7a71c882015-11-20 19:53:28736 "//gpu/command_buffer/client:gl_in_process_context",
[email protected]d05751a22014-05-29 20:54:24737 "//gpu/command_buffer/client:gles2_c_lib",
738 "//gpu/command_buffer/client:gles2_implementation",
[email protected]845c4e32014-08-13 11:50:40739 "//gpu/command_buffer/common:gles2_utils",
[email protected]d05751a22014-05-29 20:54:24740 "//gpu/skia_bindings",
jamesr16c04ff2014-11-24 22:24:57741 "//media",
[email protected]d05751a22014-05-29 20:54:24742 "//skia",
743 "//testing/gmock",
744 "//testing/gtest",
[email protected]d05751a22014-05-29 20:54:24745 "//ui/gfx",
[email protected]e54a1f522014-07-22 23:26:48746 "//ui/gfx:test_support",
agrieved7a71c882015-11-20 19:53:28747 "//ui/gfx/geometry",
[email protected]d05751a22014-05-29 20:54:24748 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26749 "//ui/gl:test_support",
[email protected]d05751a22014-05-29 20:54:24750 ]
[email protected]c7990dbf2014-07-23 22:35:10751
752 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links.
753 deps += [ "//third_party/mesa:osmesa" ]
754 }
[email protected]d05751a22014-05-29 20:54:24755}
756
brettw4897a612015-03-02 23:13:15757test("cc_unittests") {
758 sources = [
loysobb93befc2015-07-03 00:19:50759 "animation/animation_host_unittest.cc",
760 "animation/animation_player_unittest.cc",
761 "animation/animation_timeline_unittest.cc",
brettw4897a612015-03-02 23:13:15762 "animation/animation_unittest.cc",
loysobb93befc2015-07-03 00:19:50763 "animation/element_animations_unittest.cc",
brettw4897a612015-03-02 23:13:15764 "animation/keyframed_animation_curve_unittest.cc",
765 "animation/layer_animation_controller_unittest.cc",
766 "animation/scroll_offset_animation_curve_unittest.cc",
brettw4897a612015-03-02 23:13:15767 "animation/transform_operations_unittest.cc",
enne797d82332015-12-01 01:34:58768 "base/contiguous_container_unittest.cc",
brettwd649f6b2015-08-18 20:58:51769 "base/delayed_unique_notifier_unittest.cc",
brettw4897a612015-03-02 23:13:15770 "base/float_quad_unittest.cc",
jbroman7b5b0552015-05-28 03:36:58771 "base/histograms_unittest.cc",
prashant.n7f1fe3d2015-06-05 18:26:04772 "base/list_container_unittest.cc",
brettw4897a612015-03-02 23:13:15773 "base/math_util_unittest.cc",
vmpstrb10241fc2015-09-18 01:10:12774 "base/random_access_list_container_unittest.cc",
brettw4897a612015-03-02 23:13:15775 "base/region_unittest.cc",
776 "base/rolling_time_delta_history_unittest.cc",
vmpstrb3ceb8222015-09-23 20:25:25777 "base/rtree_unittest.cc",
brettw4897a612015-03-02 23:13:15778 "base/simple_enclosed_region_unittest.cc",
779 "base/tiling_data_unittest.cc",
brettwd649f6b2015-08-18 20:58:51780 "base/unique_notifier_unittest.cc",
brettw4897a612015-03-02 23:13:15781 "debug/frame_timing_tracker_unittest.cc",
nyquist74a9aca2015-12-01 22:39:04782 "debug/layer_tree_debug_state_unittest.cc",
brettw4897a612015-03-02 23:13:15783 "debug/micro_benchmark_controller_unittest.cc",
brettwd649f6b2015-08-18 20:58:51784 "debug/rendering_stats_unittest.cc",
nyquist9de8ad82015-12-18 20:09:06785 "input/layer_selection_bound_unittest.cc",
tdresserd9e201472015-07-31 13:15:07786 "input/scroll_state_unittest.cc",
loyso455b4f602016-02-24 02:59:42787 "input/scrollbar_animation_controller_linear_fade_unittest.cc",
788 "input/scrollbar_animation_controller_thinning_unittest.cc",
brettw4897a612015-03-02 23:13:15789 "input/top_controls_manager_unittest.cc",
brettw4897a612015-03-02 23:13:15790 "layers/heads_up_display_layer_impl_unittest.cc",
791 "layers/heads_up_display_unittest.cc",
792 "layers/io_surface_layer_impl_unittest.cc",
793 "layers/layer_impl_unittest.cc",
794 "layers/layer_iterator_unittest.cc",
vollick44d1c1f2016-03-02 20:59:43795 "layers/layer_list_iterator_unittest.cc",
brettw4897a612015-03-02 23:13:15796 "layers/layer_position_constraint_unittest.cc",
nyquist353b7d52015-11-06 22:26:53797 "layers/layer_proto_converter_unittest.cc",
brettw4897a612015-03-02 23:13:15798 "layers/layer_unittest.cc",
799 "layers/layer_utils_unittest.cc",
800 "layers/nine_patch_layer_impl_unittest.cc",
801 "layers/nine_patch_layer_unittest.cc",
802 "layers/painted_scrollbar_layer_impl_unittest.cc",
ccamerona54da382015-11-27 00:52:33803 "layers/painted_scrollbar_layer_unittest.cc",
brettw4897a612015-03-02 23:13:15804 "layers/picture_image_layer_impl_unittest.cc",
805 "layers/picture_image_layer_unittest.cc",
806 "layers/picture_layer_impl_unittest.cc",
807 "layers/picture_layer_unittest.cc",
808 "layers/render_surface_impl_unittest.cc",
809 "layers/render_surface_unittest.cc",
810 "layers/scrollbar_layer_unittest.cc",
811 "layers/solid_color_layer_impl_unittest.cc",
812 "layers/solid_color_scrollbar_layer_impl_unittest.cc",
813 "layers/surface_layer_impl_unittest.cc",
814 "layers/surface_layer_unittest.cc",
815 "layers/texture_layer_impl_unittest.cc",
816 "layers/texture_layer_unittest.cc",
brettw4897a612015-03-02 23:13:15817 "layers/ui_resource_layer_impl_unittest.cc",
818 "layers/ui_resource_layer_unittest.cc",
dalecurtisb8396642015-06-09 18:38:14819 "layers/video_frame_provider_client_impl_unittest.cc",
brettw4897a612015-03-02 23:13:15820 "layers/video_layer_impl_unittest.cc",
821 "output/begin_frame_args_unittest.cc",
brettwd649f6b2015-08-18 20:58:51822 "output/bsp_tree_unittest.cc",
brettw4897a612015-03-02 23:13:15823 "output/delegating_renderer_unittest.cc",
824 "output/filter_operations_unittest.cc",
825 "output/gl_renderer_unittest.cc",
danakj920156852015-05-18 20:22:29826 "output/layer_quad_unittest.cc",
nyquist1d29b062015-12-02 02:48:18827 "output/managed_memory_policy_unittest.cc",
brettw4897a612015-03-02 23:13:15828 "output/output_surface_unittest.cc",
829 "output/overlay_unittest.cc",
830 "output/renderer_pixeltest.cc",
nyquistb974b9a2015-12-02 00:08:35831 "output/renderer_settings_unittest.cc",
brettw4897a612015-03-02 23:13:15832 "output/renderer_unittest.cc",
833 "output/shader_unittest.cc",
834 "output/software_renderer_unittest.cc",
danakj920156852015-05-18 20:22:29835 "output/texture_mailbox_deleter_unittest.cc",
fmalita7913ee52015-09-09 19:47:31836 "playback/discardable_image_map_unittest.cc",
danakj920156852015-05-18 20:22:29837 "playback/display_item_list_unittest.cc",
danakja5ac8cc2015-06-03 20:58:55838 "playback/display_list_raster_source_unittest.cc",
danakj920156852015-05-18 20:22:29839 "playback/display_list_recording_source_unittest.cc",
khushalsagar37694212016-01-15 20:46:48840 "proto/base_conversions_unittest.cc",
nyquist04b8bd2e2015-11-24 10:04:17841 "proto/cc_conversions_unittest.cc",
dtrainorddb0b492015-10-19 20:14:44842 "proto/gfx_conversions_unittest.cc",
nyquist1d29b062015-12-02 02:48:18843 "proto/gpu_conversions_unittest.cc",
dtrainor543858f52015-10-23 20:13:55844 "proto/skia_conversions_unittest.cc",
sunxdc36713a2016-03-03 22:31:10845 "proto/synced_property_conversions_unittest.cc",
brettwd649f6b2015-08-18 20:58:51846 "quads/draw_polygon_unittest.cc",
brettw4897a612015-03-02 23:13:15847 "quads/draw_quad_unittest.cc",
brettw4897a612015-03-02 23:13:15848 "quads/render_pass_unittest.cc",
danakj920156852015-05-18 20:22:29849 "raster/scoped_gpu_raster_unittest.cc",
ericrk4e3aa5a2015-12-01 03:53:56850 "raster/single_thread_task_graph_runner_unittest.cc",
851 "raster/synchronous_task_graph_runner_unittest.cc",
danakj920156852015-05-18 20:22:29852 "raster/texture_compressor_etc1_unittest.cc",
853 "raster/tile_task_worker_pool_unittest.cc",
brettw4897a612015-03-02 23:13:15854 "resources/platform_color_unittest.cc",
boliucb788f42015-07-22 23:49:28855 "resources/resource_pool_unittest.cc",
brettw4897a612015-03-02 23:13:15856 "resources/resource_provider_unittest.cc",
prashant.n8e494282015-08-03 07:13:41857 "resources/resource_util_unittest.cc",
brettw4897a612015-03-02 23:13:15858 "resources/scoped_resource_unittest.cc",
brettw4897a612015-03-02 23:13:15859 "resources/video_resource_updater_unittest.cc",
860 "scheduler/begin_frame_source_unittest.cc",
khushalsagar0b3d9e12016-01-14 21:10:18861 "scheduler/commit_earlyout_reason_unittest.cc",
brianderson68749812015-07-07 22:39:39862 "scheduler/compositor_timing_history_unittest.cc",
brettw4897a612015-03-02 23:13:15863 "scheduler/delay_based_time_source_unittest.cc",
864 "scheduler/scheduler_state_machine_unittest.cc",
865 "scheduler/scheduler_unittest.cc",
mithro6be81902015-12-04 05:58:46866 "test/begin_frame_source_test_unittest.cc",
brettw4897a612015-03-02 23:13:15867 "test/layer_tree_json_parser_unittest.cc",
mithro6be81902015-12-04 05:58:46868 "test/mock_helper_unittest.cc",
brettwd649f6b2015-08-18 20:58:51869 "test/ordered_simple_task_runner_unittest.cc",
brettw4897a612015-03-02 23:13:15870 "test/test_web_graphics_context_3d_unittest.cc",
danakj920156852015-05-18 20:22:29871 "tiles/picture_layer_tiling_set_unittest.cc",
872 "tiles/picture_layer_tiling_unittest.cc",
vmpstr64cdba32016-03-03 00:38:40873 "tiles/software_image_decode_controller_unittest.cc",
danakj920156852015-05-18 20:22:29874 "tiles/tile_manager_unittest.cc",
875 "tiles/tile_priority_unittest.cc",
brettw4897a612015-03-02 23:13:15876 "trees/blocking_task_runner_unittest.cc",
877 "trees/damage_tracker_unittest.cc",
brettw4897a612015-03-02 23:13:15878 "trees/layer_tree_host_common_unittest.cc",
879 "trees/layer_tree_host_impl_unittest.cc",
880 "trees/layer_tree_host_pixeltest_blending.cc",
881 "trees/layer_tree_host_pixeltest_filters.cc",
882 "trees/layer_tree_host_pixeltest_masks.cc",
883 "trees/layer_tree_host_pixeltest_readback.cc",
884 "trees/layer_tree_host_pixeltest_synchronous.cc",
danakje0b54782015-05-29 22:47:52885 "trees/layer_tree_host_pixeltest_tiles.cc",
brettw4897a612015-03-02 23:13:15886 "trees/layer_tree_host_unittest.cc",
887 "trees/layer_tree_host_unittest_animation.cc",
loysod71ece82015-07-03 13:48:50888 "trees/layer_tree_host_unittest_animation_timelines.cc",
brettw4897a612015-03-02 23:13:15889 "trees/layer_tree_host_unittest_context.cc",
890 "trees/layer_tree_host_unittest_copyrequest.cc",
891 "trees/layer_tree_host_unittest_damage.cc",
brettw4897a612015-03-02 23:13:15892 "trees/layer_tree_host_unittest_occlusion.cc",
893 "trees/layer_tree_host_unittest_picture.cc",
894 "trees/layer_tree_host_unittest_proxy.cc",
khushalsagarb54107d02015-12-10 20:20:56895 "trees/layer_tree_host_unittest_record_gpu_histogram.cc",
khushalsagarb0d8691b2016-01-30 02:47:17896 "trees/layer_tree_host_unittest_remote_server.cc",
brettw4897a612015-03-02 23:13:15897 "trees/layer_tree_host_unittest_scroll.cc",
nyquist4f5e8afd2016-01-14 17:40:36898 "trees/layer_tree_host_unittest_serialization.cc",
brettw4897a612015-03-02 23:13:15899 "trees/layer_tree_host_unittest_video.cc",
900 "trees/layer_tree_impl_unittest.cc",
nyquist2fe752c2015-12-10 20:12:51901 "trees/layer_tree_settings_unittest.cc",
brettw4897a612015-03-02 23:13:15902 "trees/occlusion_tracker_unittest.cc",
903 "trees/occlusion_unittest.cc",
904 "trees/property_tree_unittest.cc",
khushalsagar37694212016-01-15 20:46:48905 "trees/proxy_common_unittest.cc",
khushalsagar0f081c42015-12-16 07:04:20906 "trees/proxy_impl_unittest.cc",
khushalsagare0a38d42016-01-29 01:15:06907 "trees/remote_channel_unittest.cc",
khushalsagare3c9fa92015-10-28 02:08:29908 "trees/threaded_channel_unittest.cc",
brettw4897a612015-03-02 23:13:15909 "trees/tree_synchronizer_unittest.cc",
[email protected]d05751a22014-05-29 20:54:24910
brettw4897a612015-03-02 23:13:15911 # Surfaces test files.
brettwd649f6b2015-08-18 20:58:51912 "surfaces/display_scheduler_unittest.cc",
913 "surfaces/display_unittest.cc",
brettw4897a612015-03-02 23:13:15914 "surfaces/surface_aggregator_unittest.cc",
brettwd649f6b2015-08-18 20:58:51915 "surfaces/surface_display_output_surface_unittest.cc",
916 "surfaces/surface_factory_unittest.cc",
lfg8d07c91d2015-08-07 16:13:20917 "surfaces/surface_hittest_unittest.cc",
enne4e3c9d52016-03-09 00:25:12918 "surfaces/surface_manager_unittest.cc",
brettw4897a612015-03-02 23:13:15919 "surfaces/surface_unittest.cc",
920 "surfaces/surfaces_pixeltest.cc",
[email protected]d05751a22014-05-29 20:54:24921
brettw4897a612015-03-02 23:13:15922 # Setup.
923 "test/cc_test_suite.cc",
924 "test/run_all_unittests.cc",
925 ]
[email protected]d05751a22014-05-29 20:54:24926
brettwbc8b2a22015-07-28 18:24:42927 configs += [ "//build/config:precompiled_headers" ]
dpranke177c1e22015-07-22 23:07:43928 data = [
929 "test/data/",
930 ]
931
brettw4897a612015-03-02 23:13:15932 deps = [
933 ":cc",
934 ":test_support",
935 "//base/test:test_support",
dtrainorddb0b492015-10-19 20:14:44936 "//cc/proto",
brettw4897a612015-03-02 23:13:15937 "//cc/surfaces",
938 "//cc/surfaces:surface_id",
939 "//gpu",
940 "//gpu:test_support",
941 "//gpu/command_buffer/client:gles2_interface",
942 "//gpu/command_buffer/common:gles2_utils",
943 "//media",
944 "//testing/gmock",
945 "//testing/gtest",
946 "//ui/events:events_base",
947 "//ui/gfx",
brettw4897a612015-03-02 23:13:15948 "//ui/gfx:test_support",
agrieved7a71c882015-11-20 19:53:28949 "//ui/gfx/geometry",
brettw4897a612015-03-02 23:13:15950 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26951 "//ui/gl:test_support",
brettw4897a612015-03-02 23:13:15952 ]
dpranke177c1e22015-07-22 23:07:43953
vmpstr9116a70f2015-10-14 23:48:34954 data_deps = [
955 "//third_party/mesa:osmesa",
956 ]
[email protected]d05751a22014-05-29 20:54:24957}
958
959test("cc_perftests") {
[email protected]6e44c302014-07-22 21:51:37960 sources = [
loysoa4a59a42016-02-10 06:49:26961 "animation/animation_host_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37962 "layers/layer_perftest.cc",
963 "layers/picture_layer_impl_perftest.cc",
vmpstr0b044512015-05-29 02:58:03964 "quads/draw_quad_perftest.cc",
danakj920156852015-05-18 20:22:29965 "raster/task_graph_runner_perftest.cc",
966 "raster/texture_compressor_perftest.cc",
967 "raster/tile_task_worker_pool_perftest.cc",
jbauman39be2012015-04-16 01:33:08968 "surfaces/surface_aggregator_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37969 "test/cc_test_suite.cc",
970 "test/run_all_perftests.cc",
danakj920156852015-05-18 20:22:29971 "tiles/picture_layer_tiling_perftest.cc",
972 "tiles/tile_manager_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37973 "trees/layer_tree_host_common_perftest.cc",
974 "trees/layer_tree_host_perftest.cc",
975 "trees/occlusion_tracker_perftest.cc",
976 ]
[email protected]d05751a22014-05-29 20:54:24977
[email protected]6e44c302014-07-22 21:51:37978 deps = [
979 ":cc",
980 ":test_support",
981 "//base",
jamesr16c04ff2014-11-24 22:24:57982 "//base/test:test_support",
jbauman39be2012015-04-16 01:33:08983 "//cc/surfaces",
984 "//cc/surfaces:surface_id",
[email protected]6e44c302014-07-22 21:51:37985 "//gpu",
[email protected]c7990dbf2014-07-23 22:35:10986 "//gpu:test_support",
[email protected]845c4e32014-08-13 11:50:40987 "//gpu/command_buffer/common:gles2_utils",
[email protected]6e44c302014-07-22 21:51:37988 "//media",
989 "//skia",
990 "//testing/gmock",
991 "//testing/gtest",
992 "//testing/perf",
993 "//ui/gfx",
994 "//ui/gfx/geometry",
jamesr16c04ff2014-11-24 22:24:57995 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26996 "//ui/gl:test_support",
[email protected]6e44c302014-07-22 21:51:37997 ]
mikecase56d80d72015-06-03 00:57:26998
999 if (is_android) {
1000 isolate_file = "cc_perftests.isolate"
1001 }
[email protected]6e44c302014-07-22 21:51:371002}
sunnypse619a362015-03-07 00:03:171003# When adding support for isolates, please have a look at run-time dependencies
1004# in the cc_unittests_run target in cc_tests.gyp.