blob: 70f28d2a8747e6bc8bbef5264a97605c593aa75a [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",
[email protected]d05751a22014-05-29 20:54:2437 "animation/scrollbar_animation_controller.cc",
satorux457770e2015-02-18 18:33:3938 "animation/scrollbar_animation_controller.h",
[email protected]d05751a22014-05-29 20:54:2439 "animation/scrollbar_animation_controller_linear_fade.cc",
40 "animation/scrollbar_animation_controller_linear_fade.h",
41 "animation/scrollbar_animation_controller_thinning.cc",
42 "animation/scrollbar_animation_controller_thinning.h",
43 "animation/timing_function.cc",
44 "animation/timing_function.h",
45 "animation/transform_operation.cc",
46 "animation/transform_operation.h",
47 "animation/transform_operations.cc",
48 "animation/transform_operations.h",
[email protected]d05751a22014-05-29 20:54:2449 "debug/benchmark_instrumentation.cc",
50 "debug/benchmark_instrumentation.h",
51 "debug/debug_colors.cc",
52 "debug/debug_colors.h",
53 "debug/debug_rect_history.cc",
54 "debug/debug_rect_history.h",
55 "debug/devtools_instrumentation.h",
56 "debug/frame_rate_counter.cc",
57 "debug/frame_rate_counter.h",
vmpstr3d1d72c2015-01-26 18:27:4058 "debug/frame_timing_request.cc",
59 "debug/frame_timing_request.h",
michaelblain1bcdf892015-01-17 01:24:3060 "debug/frame_timing_tracker.cc",
61 "debug/frame_timing_tracker.h",
hendrikw9385e492014-12-17 21:42:5962 "debug/frame_viewer_instrumentation.cc",
[email protected]d05751a22014-05-29 20:54:2463 "debug/frame_viewer_instrumentation.h",
[email protected]d5ba08c2014-06-18 07:01:0864 "debug/invalidation_benchmark.cc",
65 "debug/invalidation_benchmark.h",
[email protected]d05751a22014-05-29 20:54:2466 "debug/lap_timer.cc",
67 "debug/lap_timer.h",
68 "debug/layer_tree_debug_state.cc",
69 "debug/layer_tree_debug_state.h",
70 "debug/micro_benchmark.cc",
71 "debug/micro_benchmark.h",
[email protected]d05751a22014-05-29 20:54:2472 "debug/micro_benchmark_controller.cc",
73 "debug/micro_benchmark_controller.h",
74 "debug/micro_benchmark_controller_impl.cc",
75 "debug/micro_benchmark_controller_impl.h",
satorux457770e2015-02-18 18:33:3976 "debug/micro_benchmark_impl.cc",
77 "debug/micro_benchmark_impl.h",
ajumad7dd21a2015-01-09 00:57:3178 "debug/picture_debug_util.cc",
79 "debug/picture_debug_util.h",
[email protected]d05751a22014-05-29 20:54:2480 "debug/rasterize_and_record_benchmark.cc",
81 "debug/rasterize_and_record_benchmark.h",
82 "debug/rasterize_and_record_benchmark_impl.cc",
83 "debug/rasterize_and_record_benchmark_impl.h",
84 "debug/rendering_stats.cc",
85 "debug/rendering_stats.h",
86 "debug/rendering_stats_instrumentation.cc",
87 "debug/rendering_stats_instrumentation.h",
88 "debug/ring_buffer.h",
caseq252613a72015-06-19 11:12:5789 "debug/traced_display_item_list.cc",
90 "debug/traced_display_item_list.h",
[email protected]d05751a22014-05-29 20:54:2491 "debug/traced_value.cc",
92 "debug/traced_value.h",
93 "debug/unittest_only_benchmark.cc",
94 "debug/unittest_only_benchmark.h",
95 "debug/unittest_only_benchmark_impl.cc",
96 "debug/unittest_only_benchmark_impl.h",
ccameron36d091f2014-11-07 03:18:5097 "input/input_handler.cc",
[email protected]d05751a22014-05-29 20:54:2498 "input/input_handler.h",
[email protected]b2ba2d42014-07-03 18:14:5099 "input/layer_selection_bound.cc",
100 "input/layer_selection_bound.h",
satorux457770e2015-02-18 18:33:39101 "input/page_scale_animation.cc",
102 "input/page_scale_animation.h",
ccameron4163cc352014-11-13 19:06:36103 "input/scroll_elasticity_helper.cc",
104 "input/scroll_elasticity_helper.h",
tdresserd9e201472015-07-31 13:15:07105 "input/scroll_state.cc",
106 "input/scroll_state.h",
tdresser99c9ff52015-12-14 15:47:09107 "input/scroll_state_data.cc",
108 "input/scroll_state_data.h",
jdduke449b5292015-04-23 19:36:44109 "input/selection.h",
[email protected]b2ba2d42014-07-03 18:14:50110 "input/selection_bound_type.h",
[email protected]d05751a22014-05-29 20:54:24111 "input/top_controls_manager.cc",
112 "input/top_controls_manager.h",
113 "input/top_controls_manager_client.h",
114 "layers/append_quads_data.h",
[email protected]d05751a22014-05-29 20:54:24115 "layers/content_layer_client.h",
ennefffb119c2015-08-29 09:17:30116 "layers/draw_properties.cc",
[email protected]d05751a22014-05-29 20:54:24117 "layers/draw_properties.h",
dtrainor8e9da482016-01-04 09:53:05118 "layers/empty_content_layer_client.cc",
119 "layers/empty_content_layer_client.h",
[email protected]d05751a22014-05-29 20:54:24120 "layers/heads_up_display_layer.cc",
121 "layers/heads_up_display_layer.h",
122 "layers/heads_up_display_layer_impl.cc",
123 "layers/heads_up_display_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24124 "layers/io_surface_layer.cc",
125 "layers/io_surface_layer.h",
126 "layers/io_surface_layer_impl.cc",
127 "layers/io_surface_layer_impl.h",
128 "layers/layer.cc",
129 "layers/layer.h",
130 "layers/layer_client.h",
131 "layers/layer_impl.cc",
132 "layers/layer_impl.h",
133 "layers/layer_iterator.h",
[email protected]d05751a22014-05-29 20:54:24134 "layers/layer_lists.h",
135 "layers/layer_position_constraint.cc",
136 "layers/layer_position_constraint.h",
nyquist353b7d52015-11-06 22:26:53137 "layers/layer_proto_converter.cc",
138 "layers/layer_proto_converter.h",
jbroman49fa12e2015-11-18 23:17:14139 "layers/layer_settings.cc",
140 "layers/layer_settings.h",
[email protected]d05751a22014-05-29 20:54:24141 "layers/layer_utils.cc",
142 "layers/layer_utils.h",
143 "layers/nine_patch_layer.cc",
144 "layers/nine_patch_layer.h",
145 "layers/nine_patch_layer_impl.cc",
146 "layers/nine_patch_layer_impl.h",
147 "layers/paint_properties.h",
148 "layers/painted_scrollbar_layer.cc",
149 "layers/painted_scrollbar_layer.h",
150 "layers/painted_scrollbar_layer_impl.cc",
151 "layers/painted_scrollbar_layer_impl.h",
152 "layers/picture_image_layer.cc",
153 "layers/picture_image_layer.h",
154 "layers/picture_image_layer_impl.cc",
155 "layers/picture_image_layer_impl.h",
156 "layers/picture_layer.cc",
157 "layers/picture_layer.h",
158 "layers/picture_layer_impl.cc",
159 "layers/picture_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24160 "layers/render_pass_sink.h",
ajumad301953f2015-09-04 14:20:20161 "layers/render_surface_draw_properties.cc",
162 "layers/render_surface_draw_properties.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",
ccameroncf57c8d2015-08-27 00:32:54252 "output/overlay_strategy_sandwich.cc",
253 "output/overlay_strategy_sandwich.h",
[email protected]d05751a22014-05-29 20:54:24254 "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",
310 "playback/largest_display_item.cc",
311 "playback/largest_display_item.h",
danakj920156852015-05-18 20:22:29312 "playback/transform_display_item.cc",
313 "playback/transform_display_item.h",
khushalsagar37694212016-01-15 20:46:48314 "proto/base_conversions.cc",
315 "proto/base_conversions.h",
nyquist04b8bd2e2015-11-24 10:04:17316 "proto/cc_conversions.cc",
317 "proto/cc_conversions.h",
dtrainorddb0b492015-10-19 20:14:44318 "proto/gfx_conversions.cc",
319 "proto/gfx_conversions.h",
nyquist1d29b062015-12-02 02:48:18320 "proto/gpu_conversions.cc",
321 "proto/gpu_conversions.h",
dtrainor543858f52015-10-23 20:13:55322 "proto/skia_conversions.cc",
323 "proto/skia_conversions.h",
[email protected]d05751a22014-05-29 20:54:24324 "quads/content_draw_quad_base.cc",
325 "quads/content_draw_quad_base.h",
326 "quads/debug_border_draw_quad.cc",
327 "quads/debug_border_draw_quad.h",
[email protected]2a021fb7b2014-08-02 07:53:49328 "quads/draw_polygon.cc",
329 "quads/draw_polygon.h",
[email protected]d05751a22014-05-29 20:54:24330 "quads/draw_quad.cc",
331 "quads/draw_quad.h",
332 "quads/io_surface_draw_quad.cc",
333 "quads/io_surface_draw_quad.h",
weiliangcfe7b51e2014-11-05 18:20:27334 "quads/largest_draw_quad.cc",
satorux457770e2015-02-18 18:33:39335 "quads/largest_draw_quad.h",
[email protected]d05751a22014-05-29 20:54:24336 "quads/picture_draw_quad.cc",
337 "quads/picture_draw_quad.h",
338 "quads/render_pass.cc",
339 "quads/render_pass.h",
340 "quads/render_pass_draw_quad.cc",
341 "quads/render_pass_draw_quad.h",
[email protected]0cd7d6f72014-08-22 14:50:51342 "quads/render_pass_id.cc",
343 "quads/render_pass_id.h",
[email protected]d05751a22014-05-29 20:54:24344 "quads/shared_quad_state.cc",
345 "quads/shared_quad_state.h",
346 "quads/solid_color_draw_quad.cc",
347 "quads/solid_color_draw_quad.h",
348 "quads/stream_video_draw_quad.cc",
349 "quads/stream_video_draw_quad.h",
350 "quads/surface_draw_quad.cc",
351 "quads/surface_draw_quad.h",
352 "quads/texture_draw_quad.cc",
353 "quads/texture_draw_quad.h",
354 "quads/tile_draw_quad.cc",
355 "quads/tile_draw_quad.h",
356 "quads/yuv_video_draw_quad.cc",
357 "quads/yuv_video_draw_quad.h",
danakj920156852015-05-18 20:22:29358 "raster/bitmap_tile_task_worker_pool.cc",
359 "raster/bitmap_tile_task_worker_pool.h",
360 "raster/gpu_rasterizer.cc",
361 "raster/gpu_rasterizer.h",
362 "raster/gpu_tile_task_worker_pool.cc",
363 "raster/gpu_tile_task_worker_pool.h",
364 "raster/one_copy_tile_task_worker_pool.cc",
365 "raster/one_copy_tile_task_worker_pool.h",
danakj920156852015-05-18 20:22:29366 "raster/raster_buffer.cc",
367 "raster/raster_buffer.h",
368 "raster/scoped_gpu_raster.cc",
369 "raster/scoped_gpu_raster.h",
ericrk4e3aa5a2015-12-01 03:53:56370 "raster/single_thread_task_graph_runner.cc",
371 "raster/single_thread_task_graph_runner.h",
372 "raster/synchronous_task_graph_runner.cc",
373 "raster/synchronous_task_graph_runner.h",
ericrk374dee72016-01-13 03:38:05374 "raster/task_category.h",
danakj920156852015-05-18 20:22:29375 "raster/task_graph_runner.cc",
376 "raster/task_graph_runner.h",
ericrk4e3aa5a2015-12-01 03:53:56377 "raster/task_graph_work_queue.cc",
378 "raster/task_graph_work_queue.h",
danakj920156852015-05-18 20:22:29379 "raster/texture_compressor.cc",
380 "raster/texture_compressor.h",
381 "raster/texture_compressor_etc1.cc",
382 "raster/texture_compressor_etc1.h",
383 "raster/tile_task_runner.cc",
384 "raster/tile_task_runner.h",
385 "raster/tile_task_worker_pool.cc",
386 "raster/tile_task_worker_pool.h",
387 "raster/zero_copy_tile_task_worker_pool.cc",
388 "raster/zero_copy_tile_task_worker_pool.h",
[email protected]d05751a22014-05-29 20:54:24389 "resources/memory_history.cc",
390 "resources/memory_history.h",
[email protected]d05751a22014-05-29 20:54:24391 "resources/platform_color.h",
[email protected]d05751a22014-05-29 20:54:24392 "resources/release_callback.h",
reveman423e7da2014-09-23 16:57:44393 "resources/resource.h",
[email protected]c6f0cf62014-07-22 02:44:41394 "resources/resource_format.cc",
[email protected]bf050582014-07-24 11:10:58395 "resources/resource_format.h",
[email protected]d05751a22014-05-29 20:54:24396 "resources/resource_pool.cc",
397 "resources/resource_pool.h",
398 "resources/resource_provider.cc",
399 "resources/resource_provider.h",
prashant.n8e494282015-08-03 07:13:41400 "resources/resource_util.h",
[email protected]d05751a22014-05-29 20:54:24401 "resources/returned_resource.h",
402 "resources/scoped_resource.cc",
403 "resources/scoped_resource.h",
404 "resources/scoped_ui_resource.cc",
405 "resources/scoped_ui_resource.h",
406 "resources/shared_bitmap.cc",
407 "resources/shared_bitmap.h",
408 "resources/shared_bitmap_manager.h",
409 "resources/single_release_callback.cc",
410 "resources/single_release_callback.h",
skyostil3976a3f2014-09-04 22:07:23411 "resources/single_release_callback_impl.cc",
412 "resources/single_release_callback_impl.h",
[email protected]d05751a22014-05-29 20:54:24413 "resources/texture_mailbox.cc",
reveman423e7da2014-09-23 16:57:44414 "resources/texture_mailbox.h",
[email protected]d05751a22014-05-29 20:54:24415 "resources/transferable_resource.cc",
416 "resources/transferable_resource.h",
417 "resources/ui_resource_bitmap.cc",
418 "resources/ui_resource_bitmap.h",
419 "resources/ui_resource_client.h",
420 "resources/ui_resource_request.cc",
421 "resources/ui_resource_request.h",
422 "resources/video_resource_updater.cc",
423 "resources/video_resource_updater.h",
mithroc34fc0b12014-09-30 09:10:41424 "scheduler/begin_frame_source.cc",
425 "scheduler/begin_frame_source.h",
mithro0bdb49d2015-05-27 13:08:01426 "scheduler/begin_frame_tracker.cc",
427 "scheduler/begin_frame_tracker.h",
khushalsagar0b3d9e12016-01-14 21:10:18428 "scheduler/commit_earlyout_reason.cc",
mithrof7a21502014-12-17 03:24:48429 "scheduler/commit_earlyout_reason.h",
briandersonc9f50352015-06-24 03:38:58430 "scheduler/compositor_timing_history.cc",
431 "scheduler/compositor_timing_history.h",
[email protected]d05751a22014-05-29 20:54:24432 "scheduler/delay_based_time_source.cc",
433 "scheduler/delay_based_time_source.h",
434 "scheduler/draw_result.h",
435 "scheduler/scheduler.cc",
436 "scheduler/scheduler.h",
437 "scheduler/scheduler_settings.cc",
438 "scheduler/scheduler_settings.h",
439 "scheduler/scheduler_state_machine.cc",
440 "scheduler/scheduler_state_machine.h",
sunnyps7d073dc2015-04-16 23:29:12441 "scheduler/video_frame_controller.h",
danakj920156852015-05-18 20:22:29442 "tiles/eviction_tile_priority_queue.cc",
443 "tiles/eviction_tile_priority_queue.h",
vmpstrc8cf52ab2015-08-03 23:12:50444 "tiles/image_decode_controller.cc",
445 "tiles/image_decode_controller.h",
danakj920156852015-05-18 20:22:29446 "tiles/picture_layer_tiling.cc",
447 "tiles/picture_layer_tiling.h",
448 "tiles/picture_layer_tiling_set.cc",
449 "tiles/picture_layer_tiling_set.h",
450 "tiles/prioritized_tile.cc",
451 "tiles/prioritized_tile.h",
452 "tiles/raster_tile_priority_queue.cc",
453 "tiles/raster_tile_priority_queue.h",
454 "tiles/raster_tile_priority_queue_all.cc",
455 "tiles/raster_tile_priority_queue_all.h",
456 "tiles/raster_tile_priority_queue_required.cc",
457 "tiles/raster_tile_priority_queue_required.h",
458 "tiles/tile.cc",
459 "tiles/tile.h",
460 "tiles/tile_draw_info.cc",
461 "tiles/tile_draw_info.h",
462 "tiles/tile_manager.cc",
463 "tiles/tile_manager.h",
464 "tiles/tile_priority.cc",
465 "tiles/tile_priority.h",
466 "tiles/tiling_set_eviction_queue.cc",
467 "tiles/tiling_set_eviction_queue.h",
468 "tiles/tiling_set_raster_queue_all.cc",
469 "tiles/tiling_set_raster_queue_all.h",
470 "tiles/tiling_set_raster_queue_required.cc",
471 "tiles/tiling_set_raster_queue_required.h",
[email protected]d05751a22014-05-29 20:54:24472 "trees/blocking_task_runner.cc",
473 "trees/blocking_task_runner.h",
khushalsagar5d6eb982015-09-25 22:44:56474 "trees/channel_impl.h",
475 "trees/channel_main.h",
khushalsagar19458bd2015-12-08 02:19:01476 "trees/compositor_mode.h",
[email protected]d05751a22014-05-29 20:54:24477 "trees/damage_tracker.cc",
478 "trees/damage_tracker.h",
vollick51ed1a22014-12-17 02:03:00479 "trees/draw_property_utils.cc",
480 "trees/draw_property_utils.h",
jamesrf313a212015-03-16 21:27:37481 "trees/latency_info_swap_promise_monitor.cc",
482 "trees/latency_info_swap_promise_monitor.h",
[email protected]d05751a22014-05-29 20:54:24483 "trees/layer_tree_host.cc",
484 "trees/layer_tree_host.h",
485 "trees/layer_tree_host_client.h",
486 "trees/layer_tree_host_common.cc",
487 "trees/layer_tree_host_common.h",
488 "trees/layer_tree_host_impl.cc",
489 "trees/layer_tree_host_impl.h",
ccameron00e438cd2015-03-12 06:18:14490 "trees/layer_tree_host_single_thread_client.h",
[email protected]d05751a22014-05-29 20:54:24491 "trees/layer_tree_impl.cc",
492 "trees/layer_tree_impl.h",
493 "trees/layer_tree_settings.cc",
494 "trees/layer_tree_settings.h",
loysobb93befc2015-07-03 00:19:50495 "trees/mutator_host_client.h",
vmpstrcdcb5f72014-09-11 00:58:37496 "trees/occlusion.cc",
497 "trees/occlusion.h",
[email protected]d05751a22014-05-29 20:54:24498 "trees/occlusion_tracker.cc",
499 "trees/occlusion_tracker.h",
vollick51ed1a22014-12-17 02:03:00500 "trees/property_tree.cc",
501 "trees/property_tree.h",
502 "trees/property_tree_builder.cc",
503 "trees/property_tree_builder.h",
[email protected]d05751a22014-05-29 20:54:24504 "trees/proxy.h",
khushalsagare3c9fa92015-10-28 02:08:29505 "trees/proxy_common.cc",
506 "trees/proxy_common.h",
khushalsagar0a226af2015-12-09 10:30:20507 "trees/proxy_impl.cc",
khushalsagar5d6eb982015-09-25 22:44:56508 "trees/proxy_impl.h",
khushalsagar0a226af2015-12-09 10:30:20509 "trees/proxy_main.cc",
khushalsagar5d6eb982015-09-25 22:44:56510 "trees/proxy_main.h",
khushalsagare0a38d42016-01-29 01:15:06511 "trees/remote_channel_impl.cc",
512 "trees/remote_channel_impl.h",
513 "trees/remote_channel_main.cc",
514 "trees/remote_channel_main.h",
dtrainor5ef644e2015-11-19 00:12:47515 "trees/remote_proto_channel.h",
[email protected]aeeedad2014-08-22 18:16:22516 "trees/scoped_abort_remaining_swap_promises.h",
[email protected]d05751a22014-05-29 20:54:24517 "trees/single_thread_proxy.cc",
518 "trees/single_thread_proxy.h",
jamesrf313a212015-03-16 21:27:37519 "trees/swap_promise_monitor.cc",
520 "trees/swap_promise_monitor.h",
khushalsagarb64b360d2015-10-21 19:25:16521 "trees/task_runner_provider.cc",
522 "trees/task_runner_provider.h",
khushalsagar5d6eb982015-09-25 22:44:56523 "trees/threaded_channel.cc",
524 "trees/threaded_channel.h",
[email protected]d05751a22014-05-29 20:54:24525 "trees/tree_synchronizer.cc",
526 "trees/tree_synchronizer.h",
527 ]
528
thakis4a0c5482015-06-08 20:51:29529 if (target_cpu == "x86" || target_cpu == "x64") {
530 sources += [
531 "raster/texture_compressor_etc1_sse.cc",
532 "raster/texture_compressor_etc1_sse.h",
533 ]
534 }
535
brettwbc8b2a22015-07-28 18:24:42536 configs += [ "//build/config:precompiled_headers" ]
537
Brett Wilsone53895272014-09-23 23:41:46538 public_deps = [
jamesrf313a212015-03-16 21:27:37539 "//cc/base",
Brett Wilsone53895272014-09-23 23:41:46540 "//skia",
541 ]
[email protected]d05751a22014-05-29 20:54:24542 deps = [
543 "//base",
544 "//base/third_party/dynamic_annotations",
dtrainorddb0b492015-10-19 20:14:44545 "//cc/proto",
jamesr16c04ff2014-11-24 22:24:57546 "//cc/surfaces:surface_id",
[email protected]d05751a22014-05-29 20:54:24547 "//gpu",
jbromancba3d2fe2014-09-16 01:04:24548 "//gpu/command_buffer/client:gles2_interface",
[email protected]6e44c302014-07-22 21:51:37549 "//media",
[email protected]d05751a22014-05-29 20:54:24550 "//ui/events:events_base",
551 "//ui/gfx",
552 "//ui/gfx/geometry",
ericrkf08855b42015-08-06 00:20:22553 "//ui/gl",
[email protected]d05751a22014-05-29 20:54:24554 ]
[email protected]d05751a22014-05-29 20:54:24555
[email protected]3ffa36a2014-07-24 21:01:50556 defines = [ "CC_IMPLEMENTATION=1" ]
[email protected]d05751a22014-05-29 20:54:24557
fdegans75b3d092014-09-17 18:35:55558 if (!is_debug && (is_win || is_android)) {
brettw4cab0f12015-09-14 21:40:01559 configs -= [ "//build/config/compiler:default_optimization" ]
[email protected]d05751a22014-05-29 20:54:24560 configs += [ "//build/config/compiler:optimize_max" ]
561 }
562}
563
[email protected]d05751a22014-05-29 20:54:24564source_set("test_support") {
Brett Wilson8f80ad0b2014-09-08 19:50:24565 testonly = true
[email protected]d05751a22014-05-29 20:54:24566 sources = [
567 "test/animation_test_common.cc",
568 "test/animation_test_common.h",
loysobb93befc2015-07-03 00:19:50569 "test/animation_timelines_test_common.cc",
570 "test/animation_timelines_test_common.h",
[email protected]d05751a22014-05-29 20:54:24571 "test/begin_frame_args_test.cc",
572 "test/begin_frame_args_test.h",
mithro6be81902015-12-04 05:58:46573 "test/begin_frame_source_test.cc",
574 "test/begin_frame_source_test.h",
satorux457770e2015-02-18 18:33:39575 "test/failure_output_surface.cc",
576 "test/failure_output_surface.h",
khushalsagar0f081c42015-12-16 07:04:20577 "test/fake_channel_impl.cc",
578 "test/fake_channel_impl.h",
[email protected]d05751a22014-05-29 20:54:24579 "test/fake_content_layer_client.cc",
580 "test/fake_content_layer_client.h",
vmpstr856740262015-09-24 00:25:25581 "test/fake_display_list_raster_source.cc",
582 "test/fake_display_list_raster_source.h",
pdrb42dfda32015-09-16 18:34:19583 "test/fake_display_list_recording_source.cc",
weiliangc0a2945c2015-04-03 05:29:44584 "test/fake_display_list_recording_source.h",
danakj6e3bf8012014-12-16 18:27:53585 "test/fake_external_begin_frame_source.cc",
586 "test/fake_external_begin_frame_source.h",
khushalsagarb64b360d2015-10-21 19:25:16587 "test/fake_impl_task_runner_provider.h",
[email protected]d05751a22014-05-29 20:54:24588 "test/fake_layer_tree_host.cc",
589 "test/fake_layer_tree_host.h",
590 "test/fake_layer_tree_host_client.cc",
591 "test/fake_layer_tree_host_client.h",
592 "test/fake_layer_tree_host_impl.cc",
593 "test/fake_layer_tree_host_impl.h",
594 "test/fake_layer_tree_host_impl_client.cc",
595 "test/fake_layer_tree_host_impl_client.h",
ajumad9432e32015-11-30 19:43:44596 "test/fake_mask_layer_impl.cc",
597 "test/fake_mask_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24598 "test/fake_output_surface.cc",
599 "test/fake_output_surface.h",
600 "test/fake_output_surface_client.cc",
601 "test/fake_output_surface_client.h",
602 "test/fake_painted_scrollbar_layer.cc",
603 "test/fake_painted_scrollbar_layer.h",
604 "test/fake_picture_layer.cc",
605 "test/fake_picture_layer.h",
606 "test/fake_picture_layer_impl.cc",
607 "test/fake_picture_layer_impl.h",
608 "test/fake_picture_layer_tiling_client.cc",
609 "test/fake_picture_layer_tiling_client.h",
[email protected]d05751a22014-05-29 20:54:24610 "test/fake_proxy.cc",
611 "test/fake_proxy.h",
612 "test/fake_renderer_client.cc",
613 "test/fake_renderer_client.h",
614 "test/fake_rendering_stats_instrumentation.h",
danakj61bf05f2015-05-26 23:28:56615 "test/fake_resource_provider.h",
[email protected]d05751a22014-05-29 20:54:24616 "test/fake_scoped_ui_resource.cc",
617 "test/fake_scoped_ui_resource.h",
618 "test/fake_scrollbar.cc",
619 "test/fake_scrollbar.h",
620 "test/fake_tile_manager.cc",
621 "test/fake_tile_manager.h",
622 "test/fake_tile_manager_client.cc",
623 "test/fake_tile_manager_client.h",
624 "test/fake_ui_resource_layer_tree_host_impl.cc",
625 "test/fake_ui_resource_layer_tree_host_impl.h",
626 "test/fake_video_frame_provider.cc",
627 "test/fake_video_frame_provider.h",
628 "test/geometry_test_utils.cc",
629 "test/geometry_test_utils.h",
[email protected]d05751a22014-05-29 20:54:24630 "test/layer_test_common.cc",
631 "test/layer_test_common.h",
632 "test/layer_tree_host_common_test.cc",
633 "test/layer_tree_host_common_test.h",
634 "test/layer_tree_json_parser.cc",
635 "test/layer_tree_json_parser.h",
enne03dbe8ae2014-10-30 01:32:55636 "test/layer_tree_pixel_resource_test.cc",
637 "test/layer_tree_pixel_resource_test.h",
[email protected]d05751a22014-05-29 20:54:24638 "test/layer_tree_pixel_test.cc",
639 "test/layer_tree_pixel_test.h",
weiliangcd9897d72015-12-01 22:53:31640 "test/layer_tree_settings_for_testing.cc",
641 "test/layer_tree_settings_for_testing.h",
[email protected]d05751a22014-05-29 20:54:24642 "test/layer_tree_test.cc",
643 "test/layer_tree_test.h",
mithro6be81902015-12-04 05:58:46644 "test/mock_helper.h",
[email protected]ba16cce2014-06-17 17:03:50645 "test/mock_occlusion_tracker.h",
[email protected]d5ba08c2014-06-18 07:01:08646 "test/ordered_simple_task_runner.cc",
647 "test/ordered_simple_task_runner.h",
[email protected]d05751a22014-05-29 20:54:24648 "test/ordered_texture_map.cc",
649 "test/ordered_texture_map.h",
650 "test/paths.cc",
651 "test/paths.h",
652 "test/pixel_comparator.cc",
653 "test/pixel_comparator.h",
654 "test/pixel_test.cc",
655 "test/pixel_test.h",
656 "test/pixel_test_output_surface.cc",
657 "test/pixel_test_output_surface.h",
658 "test/pixel_test_software_output_device.cc",
659 "test/pixel_test_software_output_device.h",
660 "test/pixel_test_utils.cc",
661 "test/pixel_test_utils.h",
khushalsagar0a226af2015-12-09 10:30:20662 "test/proxy_impl_for_test.cc",
663 "test/proxy_impl_for_test.h",
664 "test/proxy_main_for_test.cc",
665 "test/proxy_main_for_test.h",
khushalsagare0a38d42016-01-29 01:15:06666 "test/remote_channel_impl_for_test.cc",
667 "test/remote_channel_impl_for_test.h",
668 "test/remote_proto_channel_bridge.cc",
669 "test/remote_proto_channel_bridge.h",
[email protected]d05751a22014-05-29 20:54:24670 "test/render_pass_test_utils.cc",
671 "test/render_pass_test_utils.h",
672 "test/scheduler_test_common.cc",
673 "test/scheduler_test_common.h",
674 "test/skia_common.cc",
675 "test/skia_common.h",
676 "test/solid_color_content_layer_client.cc",
677 "test/solid_color_content_layer_client.h",
fsamuel7a615102015-10-23 21:25:16678 "test/surface_aggregator_test_helpers.cc",
679 "test/surface_aggregator_test_helpers.h",
680 "test/surface_hittest_test_helpers.cc",
681 "test/surface_hittest_test_helpers.h",
ericrk4e3aa5a2015-12-01 03:53:56682 "test/task_graph_runner_test_template.cc",
683 "test/task_graph_runner_test_template.h",
[email protected]d05751a22014-05-29 20:54:24684 "test/test_context_provider.cc",
685 "test/test_context_provider.h",
686 "test/test_context_support.cc",
687 "test/test_context_support.h",
688 "test/test_gles2_interface.cc",
689 "test/test_gles2_interface.h",
reveman22dd9292014-10-13 20:52:05690 "test/test_gpu_memory_buffer_manager.cc",
691 "test/test_gpu_memory_buffer_manager.h",
khushalsagar0a226af2015-12-09 10:30:20692 "test/test_hooks.cc",
693 "test/test_hooks.h",
reveman2232bce2014-10-29 01:28:05694 "test/test_image_factory.cc",
695 "test/test_image_factory.h",
satorux457770e2015-02-18 18:33:39696 "test/test_in_process_context_provider.cc",
697 "test/test_in_process_context_provider.h",
[email protected]d05751a22014-05-29 20:54:24698 "test/test_occlusion_tracker.h",
699 "test/test_shared_bitmap_manager.cc",
700 "test/test_shared_bitmap_manager.h",
reveman34b7a1522015-03-23 20:27:47701 "test/test_task_graph_runner.cc",
702 "test/test_task_graph_runner.h",
[email protected]d05751a22014-05-29 20:54:24703 "test/test_texture.cc",
704 "test/test_texture.h",
705 "test/test_tile_priorities.cc",
706 "test/test_tile_priorities.h",
707 "test/test_web_graphics_context_3d.cc",
708 "test/test_web_graphics_context_3d.h",
khushalsagar0a226af2015-12-09 10:30:20709 "test/threaded_channel_for_test.cc",
710 "test/threaded_channel_for_test.h",
[email protected]d05751a22014-05-29 20:54:24711 ]
712
brettwbc8b2a22015-07-28 18:24:42713 configs += [ "//build/config:precompiled_headers" ]
[email protected]d05751a22014-05-29 20:54:24714
Brett Wilson0380637c2014-09-19 21:24:40715 public_deps = [
716 ":cc",
Brett Wilsone53895272014-09-23 23:41:46717 "//gpu:test_support",
Brett Wilson0380637c2014-09-19 21:24:40718 ]
[email protected]d05751a22014-05-29 20:54:24719 deps = [
720 "//base",
jamesr16c04ff2014-11-24 22:24:57721 "//base/test:test_support",
[email protected]d05751a22014-05-29 20:54:24722 "//base/third_party/dynamic_annotations",
khushalsagare0a38d42016-01-29 01:15:06723 "//cc/proto",
fsamuel7a615102015-10-23 21:25:16724 "//cc/surfaces",
725 "//cc/surfaces:surface_id",
agrieved7a71c882015-11-20 19:53:28726 "//gpu/command_buffer/client:gl_in_process_context",
[email protected]d05751a22014-05-29 20:54:24727 "//gpu/command_buffer/client:gles2_c_lib",
728 "//gpu/command_buffer/client:gles2_implementation",
[email protected]845c4e32014-08-13 11:50:40729 "//gpu/command_buffer/common:gles2_utils",
[email protected]d05751a22014-05-29 20:54:24730 "//gpu/skia_bindings",
jamesr16c04ff2014-11-24 22:24:57731 "//media",
[email protected]d05751a22014-05-29 20:54:24732 "//skia",
733 "//testing/gmock",
734 "//testing/gtest",
[email protected]d05751a22014-05-29 20:54:24735 "//ui/gfx",
[email protected]e54a1f522014-07-22 23:26:48736 "//ui/gfx:test_support",
agrieved7a71c882015-11-20 19:53:28737 "//ui/gfx/geometry",
[email protected]d05751a22014-05-29 20:54:24738 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26739 "//ui/gl:test_support",
[email protected]d05751a22014-05-29 20:54:24740 ]
[email protected]c7990dbf2014-07-23 22:35:10741
742 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links.
743 deps += [ "//third_party/mesa:osmesa" ]
744 }
[email protected]d05751a22014-05-29 20:54:24745}
746
brettw4897a612015-03-02 23:13:15747test("cc_unittests") {
748 sources = [
loysobb93befc2015-07-03 00:19:50749 "animation/animation_host_unittest.cc",
750 "animation/animation_player_unittest.cc",
751 "animation/animation_timeline_unittest.cc",
brettw4897a612015-03-02 23:13:15752 "animation/animation_unittest.cc",
loysobb93befc2015-07-03 00:19:50753 "animation/element_animations_unittest.cc",
brettw4897a612015-03-02 23:13:15754 "animation/keyframed_animation_curve_unittest.cc",
755 "animation/layer_animation_controller_unittest.cc",
756 "animation/scroll_offset_animation_curve_unittest.cc",
757 "animation/scrollbar_animation_controller_linear_fade_unittest.cc",
758 "animation/scrollbar_animation_controller_thinning_unittest.cc",
759 "animation/transform_operations_unittest.cc",
enne797d82332015-12-01 01:34:58760 "base/contiguous_container_unittest.cc",
brettwd649f6b2015-08-18 20:58:51761 "base/delayed_unique_notifier_unittest.cc",
brettw4897a612015-03-02 23:13:15762 "base/float_quad_unittest.cc",
jbroman7b5b0552015-05-28 03:36:58763 "base/histograms_unittest.cc",
prashant.n7f1fe3d2015-06-05 18:26:04764 "base/list_container_unittest.cc",
brettw4897a612015-03-02 23:13:15765 "base/math_util_unittest.cc",
vmpstrb10241fc2015-09-18 01:10:12766 "base/random_access_list_container_unittest.cc",
brettw4897a612015-03-02 23:13:15767 "base/region_unittest.cc",
768 "base/rolling_time_delta_history_unittest.cc",
vmpstrb3ceb8222015-09-23 20:25:25769 "base/rtree_unittest.cc",
brettw4897a612015-03-02 23:13:15770 "base/simple_enclosed_region_unittest.cc",
771 "base/tiling_data_unittest.cc",
brettwd649f6b2015-08-18 20:58:51772 "base/unique_notifier_unittest.cc",
brettw4897a612015-03-02 23:13:15773 "debug/frame_timing_tracker_unittest.cc",
nyquist74a9aca2015-12-01 22:39:04774 "debug/layer_tree_debug_state_unittest.cc",
brettw4897a612015-03-02 23:13:15775 "debug/micro_benchmark_controller_unittest.cc",
brettwd649f6b2015-08-18 20:58:51776 "debug/rendering_stats_unittest.cc",
nyquist9de8ad82015-12-18 20:09:06777 "input/layer_selection_bound_unittest.cc",
tdresserd9e201472015-07-31 13:15:07778 "input/scroll_state_unittest.cc",
brettw4897a612015-03-02 23:13:15779 "input/top_controls_manager_unittest.cc",
brettw4897a612015-03-02 23:13:15780 "layers/heads_up_display_layer_impl_unittest.cc",
781 "layers/heads_up_display_unittest.cc",
782 "layers/io_surface_layer_impl_unittest.cc",
783 "layers/layer_impl_unittest.cc",
784 "layers/layer_iterator_unittest.cc",
785 "layers/layer_position_constraint_unittest.cc",
nyquist353b7d52015-11-06 22:26:53786 "layers/layer_proto_converter_unittest.cc",
brettw4897a612015-03-02 23:13:15787 "layers/layer_unittest.cc",
788 "layers/layer_utils_unittest.cc",
789 "layers/nine_patch_layer_impl_unittest.cc",
790 "layers/nine_patch_layer_unittest.cc",
791 "layers/painted_scrollbar_layer_impl_unittest.cc",
ccamerona54da382015-11-27 00:52:33792 "layers/painted_scrollbar_layer_unittest.cc",
brettw4897a612015-03-02 23:13:15793 "layers/picture_image_layer_impl_unittest.cc",
794 "layers/picture_image_layer_unittest.cc",
795 "layers/picture_layer_impl_unittest.cc",
796 "layers/picture_layer_unittest.cc",
797 "layers/render_surface_impl_unittest.cc",
798 "layers/render_surface_unittest.cc",
799 "layers/scrollbar_layer_unittest.cc",
800 "layers/solid_color_layer_impl_unittest.cc",
801 "layers/solid_color_scrollbar_layer_impl_unittest.cc",
802 "layers/surface_layer_impl_unittest.cc",
803 "layers/surface_layer_unittest.cc",
804 "layers/texture_layer_impl_unittest.cc",
805 "layers/texture_layer_unittest.cc",
brettw4897a612015-03-02 23:13:15806 "layers/ui_resource_layer_impl_unittest.cc",
807 "layers/ui_resource_layer_unittest.cc",
dalecurtisb8396642015-06-09 18:38:14808 "layers/video_frame_provider_client_impl_unittest.cc",
brettw4897a612015-03-02 23:13:15809 "layers/video_layer_impl_unittest.cc",
810 "output/begin_frame_args_unittest.cc",
brettwd649f6b2015-08-18 20:58:51811 "output/bsp_tree_unittest.cc",
brettw4897a612015-03-02 23:13:15812 "output/delegating_renderer_unittest.cc",
813 "output/filter_operations_unittest.cc",
814 "output/gl_renderer_unittest.cc",
danakj920156852015-05-18 20:22:29815 "output/layer_quad_unittest.cc",
nyquist1d29b062015-12-02 02:48:18816 "output/managed_memory_policy_unittest.cc",
brettw4897a612015-03-02 23:13:15817 "output/output_surface_unittest.cc",
818 "output/overlay_unittest.cc",
819 "output/renderer_pixeltest.cc",
nyquistb974b9a2015-12-02 00:08:35820 "output/renderer_settings_unittest.cc",
brettw4897a612015-03-02 23:13:15821 "output/renderer_unittest.cc",
822 "output/shader_unittest.cc",
823 "output/software_renderer_unittest.cc",
danakj920156852015-05-18 20:22:29824 "output/texture_mailbox_deleter_unittest.cc",
fmalita7913ee52015-09-09 19:47:31825 "playback/discardable_image_map_unittest.cc",
danakj920156852015-05-18 20:22:29826 "playback/display_item_list_unittest.cc",
danakja5ac8cc2015-06-03 20:58:55827 "playback/display_list_raster_source_unittest.cc",
danakj920156852015-05-18 20:22:29828 "playback/display_list_recording_source_unittest.cc",
khushalsagar37694212016-01-15 20:46:48829 "proto/base_conversions_unittest.cc",
nyquist04b8bd2e2015-11-24 10:04:17830 "proto/cc_conversions_unittest.cc",
dtrainorddb0b492015-10-19 20:14:44831 "proto/gfx_conversions_unittest.cc",
nyquist1d29b062015-12-02 02:48:18832 "proto/gpu_conversions_unittest.cc",
dtrainor543858f52015-10-23 20:13:55833 "proto/skia_conversions_unittest.cc",
brettwd649f6b2015-08-18 20:58:51834 "quads/draw_polygon_unittest.cc",
brettw4897a612015-03-02 23:13:15835 "quads/draw_quad_unittest.cc",
brettw4897a612015-03-02 23:13:15836 "quads/render_pass_unittest.cc",
danakj920156852015-05-18 20:22:29837 "raster/scoped_gpu_raster_unittest.cc",
ericrk4e3aa5a2015-12-01 03:53:56838 "raster/single_thread_task_graph_runner_unittest.cc",
839 "raster/synchronous_task_graph_runner_unittest.cc",
danakj920156852015-05-18 20:22:29840 "raster/texture_compressor_etc1_unittest.cc",
841 "raster/tile_task_worker_pool_unittest.cc",
brettw4897a612015-03-02 23:13:15842 "resources/platform_color_unittest.cc",
boliucb788f42015-07-22 23:49:28843 "resources/resource_pool_unittest.cc",
brettw4897a612015-03-02 23:13:15844 "resources/resource_provider_unittest.cc",
prashant.n8e494282015-08-03 07:13:41845 "resources/resource_util_unittest.cc",
brettw4897a612015-03-02 23:13:15846 "resources/scoped_resource_unittest.cc",
brettw4897a612015-03-02 23:13:15847 "resources/video_resource_updater_unittest.cc",
848 "scheduler/begin_frame_source_unittest.cc",
khushalsagar0b3d9e12016-01-14 21:10:18849 "scheduler/commit_earlyout_reason_unittest.cc",
brianderson68749812015-07-07 22:39:39850 "scheduler/compositor_timing_history_unittest.cc",
brettw4897a612015-03-02 23:13:15851 "scheduler/delay_based_time_source_unittest.cc",
852 "scheduler/scheduler_state_machine_unittest.cc",
853 "scheduler/scheduler_unittest.cc",
mithro6be81902015-12-04 05:58:46854 "test/begin_frame_source_test_unittest.cc",
brettw4897a612015-03-02 23:13:15855 "test/layer_tree_json_parser_unittest.cc",
mithro6be81902015-12-04 05:58:46856 "test/mock_helper_unittest.cc",
brettwd649f6b2015-08-18 20:58:51857 "test/ordered_simple_task_runner_unittest.cc",
brettw4897a612015-03-02 23:13:15858 "test/test_web_graphics_context_3d_unittest.cc",
vmpstr9dd810a2016-01-19 21:16:10859 "tiles/image_decode_controller_unittest.cc",
danakj920156852015-05-18 20:22:29860 "tiles/picture_layer_tiling_set_unittest.cc",
861 "tiles/picture_layer_tiling_unittest.cc",
862 "tiles/tile_manager_unittest.cc",
863 "tiles/tile_priority_unittest.cc",
brettw4897a612015-03-02 23:13:15864 "trees/blocking_task_runner_unittest.cc",
865 "trees/damage_tracker_unittest.cc",
brettw4897a612015-03-02 23:13:15866 "trees/layer_tree_host_common_unittest.cc",
867 "trees/layer_tree_host_impl_unittest.cc",
868 "trees/layer_tree_host_pixeltest_blending.cc",
869 "trees/layer_tree_host_pixeltest_filters.cc",
870 "trees/layer_tree_host_pixeltest_masks.cc",
871 "trees/layer_tree_host_pixeltest_readback.cc",
872 "trees/layer_tree_host_pixeltest_synchronous.cc",
danakje0b54782015-05-29 22:47:52873 "trees/layer_tree_host_pixeltest_tiles.cc",
brettw4897a612015-03-02 23:13:15874 "trees/layer_tree_host_unittest.cc",
875 "trees/layer_tree_host_unittest_animation.cc",
loysod71ece82015-07-03 13:48:50876 "trees/layer_tree_host_unittest_animation_timelines.cc",
brettw4897a612015-03-02 23:13:15877 "trees/layer_tree_host_unittest_context.cc",
878 "trees/layer_tree_host_unittest_copyrequest.cc",
879 "trees/layer_tree_host_unittest_damage.cc",
brettw4897a612015-03-02 23:13:15880 "trees/layer_tree_host_unittest_occlusion.cc",
881 "trees/layer_tree_host_unittest_picture.cc",
882 "trees/layer_tree_host_unittest_proxy.cc",
khushalsagarb54107d02015-12-10 20:20:56883 "trees/layer_tree_host_unittest_record_gpu_histogram.cc",
khushalsagarb0d8691b2016-01-30 02:47:17884 "trees/layer_tree_host_unittest_remote_server.cc",
brettw4897a612015-03-02 23:13:15885 "trees/layer_tree_host_unittest_scroll.cc",
nyquist4f5e8afd2016-01-14 17:40:36886 "trees/layer_tree_host_unittest_serialization.cc",
brettw4897a612015-03-02 23:13:15887 "trees/layer_tree_host_unittest_video.cc",
888 "trees/layer_tree_impl_unittest.cc",
nyquist2fe752c2015-12-10 20:12:51889 "trees/layer_tree_settings_unittest.cc",
brettw4897a612015-03-02 23:13:15890 "trees/occlusion_tracker_unittest.cc",
891 "trees/occlusion_unittest.cc",
892 "trees/property_tree_unittest.cc",
khushalsagar37694212016-01-15 20:46:48893 "trees/proxy_common_unittest.cc",
khushalsagar0f081c42015-12-16 07:04:20894 "trees/proxy_impl_unittest.cc",
khushalsagare0a38d42016-01-29 01:15:06895 "trees/remote_channel_unittest.cc",
khushalsagare3c9fa92015-10-28 02:08:29896 "trees/threaded_channel_unittest.cc",
brettw4897a612015-03-02 23:13:15897 "trees/tree_synchronizer_unittest.cc",
[email protected]d05751a22014-05-29 20:54:24898
brettw4897a612015-03-02 23:13:15899 # Surfaces test files.
brettwd649f6b2015-08-18 20:58:51900 "surfaces/display_scheduler_unittest.cc",
901 "surfaces/display_unittest.cc",
brettw4897a612015-03-02 23:13:15902 "surfaces/surface_aggregator_unittest.cc",
brettwd649f6b2015-08-18 20:58:51903 "surfaces/surface_display_output_surface_unittest.cc",
904 "surfaces/surface_factory_unittest.cc",
lfg8d07c91d2015-08-07 16:13:20905 "surfaces/surface_hittest_unittest.cc",
brettw4897a612015-03-02 23:13:15906 "surfaces/surface_unittest.cc",
907 "surfaces/surfaces_pixeltest.cc",
[email protected]d05751a22014-05-29 20:54:24908
brettw4897a612015-03-02 23:13:15909 # Setup.
910 "test/cc_test_suite.cc",
911 "test/run_all_unittests.cc",
912 ]
[email protected]d05751a22014-05-29 20:54:24913
brettwbc8b2a22015-07-28 18:24:42914 configs += [ "//build/config:precompiled_headers" ]
dpranke177c1e22015-07-22 23:07:43915 data = [
916 "test/data/",
917 ]
918
brettw4897a612015-03-02 23:13:15919 deps = [
920 ":cc",
921 ":test_support",
922 "//base/test:test_support",
dtrainorddb0b492015-10-19 20:14:44923 "//cc/proto",
brettw4897a612015-03-02 23:13:15924 "//cc/surfaces",
925 "//cc/surfaces:surface_id",
926 "//gpu",
927 "//gpu:test_support",
928 "//gpu/command_buffer/client:gles2_interface",
929 "//gpu/command_buffer/common:gles2_utils",
930 "//media",
931 "//testing/gmock",
932 "//testing/gtest",
933 "//ui/events:events_base",
934 "//ui/gfx",
brettw4897a612015-03-02 23:13:15935 "//ui/gfx:test_support",
agrieved7a71c882015-11-20 19:53:28936 "//ui/gfx/geometry",
brettw4897a612015-03-02 23:13:15937 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26938 "//ui/gl:test_support",
brettw4897a612015-03-02 23:13:15939 ]
dpranke177c1e22015-07-22 23:07:43940
vmpstr9116a70f2015-10-14 23:48:34941 data_deps = [
942 "//third_party/mesa:osmesa",
943 ]
[email protected]d05751a22014-05-29 20:54:24944}
945
946test("cc_perftests") {
[email protected]6e44c302014-07-22 21:51:37947 sources = [
loysoa4a59a42016-02-10 06:49:26948 "animation/animation_host_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37949 "layers/layer_perftest.cc",
950 "layers/picture_layer_impl_perftest.cc",
vmpstr0b044512015-05-29 02:58:03951 "quads/draw_quad_perftest.cc",
danakj920156852015-05-18 20:22:29952 "raster/task_graph_runner_perftest.cc",
953 "raster/texture_compressor_perftest.cc",
954 "raster/tile_task_worker_pool_perftest.cc",
jbauman39be2012015-04-16 01:33:08955 "surfaces/surface_aggregator_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37956 "test/cc_test_suite.cc",
957 "test/run_all_perftests.cc",
danakj920156852015-05-18 20:22:29958 "tiles/picture_layer_tiling_perftest.cc",
959 "tiles/tile_manager_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37960 "trees/layer_tree_host_common_perftest.cc",
961 "trees/layer_tree_host_perftest.cc",
962 "trees/occlusion_tracker_perftest.cc",
963 ]
[email protected]d05751a22014-05-29 20:54:24964
[email protected]6e44c302014-07-22 21:51:37965 deps = [
966 ":cc",
967 ":test_support",
968 "//base",
jamesr16c04ff2014-11-24 22:24:57969 "//base/test:test_support",
jbauman39be2012015-04-16 01:33:08970 "//cc/surfaces",
971 "//cc/surfaces:surface_id",
[email protected]6e44c302014-07-22 21:51:37972 "//gpu",
[email protected]c7990dbf2014-07-23 22:35:10973 "//gpu:test_support",
[email protected]845c4e32014-08-13 11:50:40974 "//gpu/command_buffer/common:gles2_utils",
[email protected]6e44c302014-07-22 21:51:37975 "//media",
976 "//skia",
977 "//testing/gmock",
978 "//testing/gtest",
979 "//testing/perf",
980 "//ui/gfx",
981 "//ui/gfx/geometry",
jamesr16c04ff2014-11-24 22:24:57982 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26983 "//ui/gl:test_support",
[email protected]6e44c302014-07-22 21:51:37984 ]
mikecase56d80d72015-06-03 00:57:26985
986 if (is_android) {
987 isolate_file = "cc_perftests.isolate"
988 }
[email protected]6e44c302014-07-22 21:51:37989}
sunnypse619a362015-03-07 00:03:17990# When adding support for isolates, please have a look at run-time dependencies
991# in the cc_unittests_run target in cc_tests.gyp.