blob: b1f2a142c004608b96e903117b004f7aa2285196 [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
dyen8a145fb72016-03-31 00:37:515import("//build/config/ui.gni")
qsrfb5251d12015-01-21 15:57:226import("//testing/test.gni")
7
[email protected]d05751a22014-05-29 20:54:248component("cc") {
9 sources = [
10 "animation/animation.cc",
11 "animation/animation.h",
12 "animation/animation_curve.cc",
13 "animation/animation_curve.h",
14 "animation/animation_delegate.h",
15 "animation/animation_events.cc",
16 "animation/animation_events.h",
loysobb93befc2015-07-03 00:19:5017 "animation/animation_host.cc",
18 "animation/animation_host.h",
[email protected]d05751a22014-05-29 20:54:2419 "animation/animation_id_provider.cc",
20 "animation/animation_id_provider.h",
loysobb93befc2015-07-03 00:19:5021 "animation/animation_player.cc",
22 "animation/animation_player.h",
loysobb93befc2015-07-03 00:19:5023 "animation/animation_timeline.cc",
24 "animation/animation_timeline.h",
25 "animation/element_animations.cc",
26 "animation/element_animations.h",
[email protected]d05751a22014-05-29 20:54:2427 "animation/keyframed_animation_curve.cc",
28 "animation/keyframed_animation_curve.h",
[email protected]d05751a22014-05-29 20:54:2429 "animation/scroll_offset_animation_curve.cc",
30 "animation/scroll_offset_animation_curve.h",
ymalik1b8eeda2016-05-04 16:18:1731 "animation/scroll_offset_animations_impl.cc",
32 "animation/scroll_offset_animations_impl.h",
loyso0c8e4402016-02-25 04:12:3033 "animation/target_property.cc",
34 "animation/target_property.h",
[email protected]d05751a22014-05-29 20:54:2435 "animation/timing_function.cc",
36 "animation/timing_function.h",
37 "animation/transform_operation.cc",
38 "animation/transform_operation.h",
39 "animation/transform_operations.cc",
40 "animation/transform_operations.h",
[email protected]d05751a22014-05-29 20:54:2441 "debug/benchmark_instrumentation.cc",
42 "debug/benchmark_instrumentation.h",
43 "debug/debug_colors.cc",
44 "debug/debug_colors.h",
45 "debug/debug_rect_history.cc",
46 "debug/debug_rect_history.h",
47 "debug/devtools_instrumentation.h",
48 "debug/frame_rate_counter.cc",
49 "debug/frame_rate_counter.h",
hendrikw9385e492014-12-17 21:42:5950 "debug/frame_viewer_instrumentation.cc",
[email protected]d05751a22014-05-29 20:54:2451 "debug/frame_viewer_instrumentation.h",
[email protected]d5ba08c2014-06-18 07:01:0852 "debug/invalidation_benchmark.cc",
53 "debug/invalidation_benchmark.h",
[email protected]d05751a22014-05-29 20:54:2454 "debug/lap_timer.cc",
55 "debug/lap_timer.h",
56 "debug/layer_tree_debug_state.cc",
57 "debug/layer_tree_debug_state.h",
58 "debug/micro_benchmark.cc",
59 "debug/micro_benchmark.h",
[email protected]d05751a22014-05-29 20:54:2460 "debug/micro_benchmark_controller.cc",
61 "debug/micro_benchmark_controller.h",
62 "debug/micro_benchmark_controller_impl.cc",
63 "debug/micro_benchmark_controller_impl.h",
satorux457770e2015-02-18 18:33:3964 "debug/micro_benchmark_impl.cc",
65 "debug/micro_benchmark_impl.h",
ajumad7dd21a2015-01-09 00:57:3166 "debug/picture_debug_util.cc",
67 "debug/picture_debug_util.h",
[email protected]d05751a22014-05-29 20:54:2468 "debug/rasterize_and_record_benchmark.cc",
69 "debug/rasterize_and_record_benchmark.h",
70 "debug/rasterize_and_record_benchmark_impl.cc",
71 "debug/rasterize_and_record_benchmark_impl.h",
72 "debug/rendering_stats.cc",
73 "debug/rendering_stats.h",
74 "debug/rendering_stats_instrumentation.cc",
75 "debug/rendering_stats_instrumentation.h",
76 "debug/ring_buffer.h",
caseq252613a72015-06-19 11:12:5777 "debug/traced_display_item_list.cc",
78 "debug/traced_display_item_list.h",
[email protected]d05751a22014-05-29 20:54:2479 "debug/traced_value.cc",
80 "debug/traced_value.h",
81 "debug/unittest_only_benchmark.cc",
82 "debug/unittest_only_benchmark.h",
83 "debug/unittest_only_benchmark_impl.cc",
84 "debug/unittest_only_benchmark_impl.h",
ccameron36d091f2014-11-07 03:18:5085 "input/input_handler.cc",
[email protected]d05751a22014-05-29 20:54:2486 "input/input_handler.h",
[email protected]b2ba2d42014-07-03 18:14:5087 "input/layer_selection_bound.cc",
88 "input/layer_selection_bound.h",
satorux457770e2015-02-18 18:33:3989 "input/page_scale_animation.cc",
90 "input/page_scale_animation.h",
ccameron4163cc352014-11-13 19:06:3691 "input/scroll_elasticity_helper.cc",
92 "input/scroll_elasticity_helper.h",
tdresserd9e201472015-07-31 13:15:0793 "input/scroll_state.cc",
94 "input/scroll_state.h",
tdresser99c9ff52015-12-14 15:47:0995 "input/scroll_state_data.cc",
96 "input/scroll_state_data.h",
loyso455b4f602016-02-24 02:59:4297 "input/scrollbar_animation_controller.cc",
98 "input/scrollbar_animation_controller.h",
99 "input/scrollbar_animation_controller_linear_fade.cc",
100 "input/scrollbar_animation_controller_linear_fade.h",
101 "input/scrollbar_animation_controller_thinning.cc",
102 "input/scrollbar_animation_controller_thinning.h",
jdduke449b5292015-04-23 19:36:44103 "input/selection.h",
[email protected]b2ba2d42014-07-03 18:14:50104 "input/selection_bound_type.h",
[email protected]d05751a22014-05-29 20:54:24105 "input/top_controls_manager.cc",
106 "input/top_controls_manager.h",
107 "input/top_controls_manager_client.h",
108 "layers/append_quads_data.h",
[email protected]d05751a22014-05-29 20:54:24109 "layers/content_layer_client.h",
ennefffb119c2015-08-29 09:17:30110 "layers/draw_properties.cc",
[email protected]d05751a22014-05-29 20:54:24111 "layers/draw_properties.h",
dtrainor8e9da482016-01-04 09:53:05112 "layers/empty_content_layer_client.cc",
113 "layers/empty_content_layer_client.h",
[email protected]d05751a22014-05-29 20:54:24114 "layers/heads_up_display_layer.cc",
115 "layers/heads_up_display_layer.h",
116 "layers/heads_up_display_layer_impl.cc",
117 "layers/heads_up_display_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24118 "layers/layer.cc",
119 "layers/layer.h",
120 "layers/layer_client.h",
vollick83fbfc82016-03-22 18:33:27121 "layers/layer_collections.h",
[email protected]d05751a22014-05-29 20:54:24122 "layers/layer_impl.cc",
123 "layers/layer_impl.h",
jaydasika1c0a27d42016-04-28 01:54:56124 "layers/layer_impl_test_properties.cc",
125 "layers/layer_impl_test_properties.h",
[email protected]d05751a22014-05-29 20:54:24126 "layers/layer_iterator.h",
vollick44d1c1f2016-03-02 20:59:43127 "layers/layer_list_iterator.cc",
128 "layers/layer_list_iterator.h",
[email protected]d05751a22014-05-29 20:54:24129 "layers/layer_position_constraint.cc",
130 "layers/layer_position_constraint.h",
nyquist353b7d52015-11-06 22:26:53131 "layers/layer_proto_converter.cc",
132 "layers/layer_proto_converter.h",
[email protected]d05751a22014-05-29 20:54:24133 "layers/layer_utils.cc",
134 "layers/layer_utils.h",
135 "layers/nine_patch_layer.cc",
136 "layers/nine_patch_layer.h",
137 "layers/nine_patch_layer_impl.cc",
138 "layers/nine_patch_layer_impl.h",
139 "layers/paint_properties.h",
140 "layers/painted_scrollbar_layer.cc",
141 "layers/painted_scrollbar_layer.h",
142 "layers/painted_scrollbar_layer_impl.cc",
143 "layers/painted_scrollbar_layer_impl.h",
144 "layers/picture_image_layer.cc",
145 "layers/picture_image_layer.h",
146 "layers/picture_image_layer_impl.cc",
147 "layers/picture_image_layer_impl.h",
148 "layers/picture_layer.cc",
149 "layers/picture_layer.h",
150 "layers/picture_layer_impl.cc",
151 "layers/picture_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24152 "layers/render_pass_sink.h",
[email protected]d05751a22014-05-29 20:54:24153 "layers/render_surface_impl.cc",
154 "layers/render_surface_impl.h",
155 "layers/scrollbar_layer_impl_base.cc",
156 "layers/scrollbar_layer_impl_base.h",
157 "layers/scrollbar_layer_interface.h",
158 "layers/solid_color_layer.cc",
159 "layers/solid_color_layer.h",
160 "layers/solid_color_layer_impl.cc",
161 "layers/solid_color_layer_impl.h",
162 "layers/solid_color_scrollbar_layer.cc",
163 "layers/solid_color_scrollbar_layer.h",
164 "layers/solid_color_scrollbar_layer_impl.cc",
165 "layers/solid_color_scrollbar_layer_impl.h",
166 "layers/surface_layer.cc",
167 "layers/surface_layer.h",
168 "layers/surface_layer_impl.cc",
169 "layers/surface_layer_impl.h",
170 "layers/texture_layer.cc",
171 "layers/texture_layer.h",
172 "layers/texture_layer_client.h",
173 "layers/texture_layer_impl.cc",
174 "layers/texture_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24175 "layers/ui_resource_layer.cc",
176 "layers/ui_resource_layer.h",
177 "layers/ui_resource_layer_impl.cc",
178 "layers/ui_resource_layer_impl.h",
179 "layers/video_frame_provider.h",
180 "layers/video_frame_provider_client_impl.cc",
181 "layers/video_frame_provider_client_impl.h",
182 "layers/video_layer.cc",
183 "layers/video_layer.h",
184 "layers/video_layer_impl.cc",
185 "layers/video_layer_impl.h",
bokanaa2748312015-03-26 00:10:37186 "layers/viewport.cc",
187 "layers/viewport.h",
[email protected]d05751a22014-05-29 20:54:24188 "output/begin_frame_args.cc",
189 "output/begin_frame_args.h",
[email protected]2a021fb7b2014-08-02 07:53:49190 "output/bsp_tree.cc",
191 "output/bsp_tree.h",
192 "output/bsp_walk_action.cc",
193 "output/bsp_walk_action.h",
ccameron35db390a2015-11-17 21:22:55194 "output/ca_layer_overlay.cc",
195 "output/ca_layer_overlay.h",
[email protected]d05751a22014-05-29 20:54:24196 "output/compositor_frame.cc",
197 "output/compositor_frame.h",
198 "output/compositor_frame_ack.cc",
199 "output/compositor_frame_ack.h",
200 "output/compositor_frame_metadata.cc",
201 "output/compositor_frame_metadata.h",
[email protected]d05751a22014-05-29 20:54:24202 "output/context_provider.h",
203 "output/copy_output_request.cc",
204 "output/copy_output_request.h",
205 "output/copy_output_result.cc",
206 "output/copy_output_result.h",
[email protected]d05751a22014-05-29 20:54:24207 "output/delegated_frame_data.cc",
[email protected]b2ba2d42014-07-03 18:14:50208 "output/delegated_frame_data.h",
[email protected]d05751a22014-05-29 20:54:24209 "output/delegating_renderer.cc",
210 "output/delegating_renderer.h",
211 "output/direct_renderer.cc",
212 "output/direct_renderer.h",
awoloszyn3d8eb1d2015-03-12 14:38:32213 "output/dynamic_geometry_binding.cc",
214 "output/dynamic_geometry_binding.h",
[email protected]d05751a22014-05-29 20:54:24215 "output/filter_operation.cc",
216 "output/filter_operation.h",
217 "output/filter_operations.cc",
218 "output/filter_operations.h",
219 "output/geometry_binding.cc",
220 "output/geometry_binding.h",
[email protected]d05751a22014-05-29 20:54:24221 "output/gl_frame_data.cc",
[email protected]b2ba2d42014-07-03 18:14:50222 "output/gl_frame_data.h",
[email protected]d05751a22014-05-29 20:54:24223 "output/gl_renderer.cc",
224 "output/gl_renderer.h",
225 "output/gl_renderer_draw_cache.cc",
226 "output/gl_renderer_draw_cache.h",
jamesrf313a212015-03-16 21:27:37227 "output/latency_info_swap_promise.cc",
228 "output/latency_info_swap_promise.h",
danakj920156852015-05-18 20:22:29229 "output/layer_quad.cc",
230 "output/layer_quad.h",
[email protected]d05751a22014-05-29 20:54:24231 "output/managed_memory_policy.cc",
232 "output/managed_memory_policy.h",
233 "output/output_surface.cc",
234 "output/output_surface.h",
235 "output/output_surface_client.h",
236 "output/overlay_candidate.cc",
237 "output/overlay_candidate.h",
238 "output/overlay_candidate_validator.h",
239 "output/overlay_processor.cc",
240 "output/overlay_processor.h",
241 "output/overlay_strategy_single_on_top.cc",
242 "output/overlay_strategy_single_on_top.h",
achaulkf47b4942015-04-01 17:26:08243 "output/overlay_strategy_underlay.cc",
244 "output/overlay_strategy_underlay.h",
[email protected]d05751a22014-05-29 20:54:24245 "output/program_binding.cc",
246 "output/program_binding.h",
247 "output/render_surface_filters.cc",
248 "output/render_surface_filters.h",
249 "output/renderer.cc",
250 "output/renderer.h",
jamesr9b8fda32015-03-16 19:11:05251 "output/renderer_capabilities.cc",
252 "output/renderer_capabilities.h",
jbaumanc5be44c2014-11-20 22:17:12253 "output/renderer_settings.cc",
254 "output/renderer_settings.h",
[email protected]d05751a22014-05-29 20:54:24255 "output/shader.cc",
256 "output/shader.h",
[email protected]d05751a22014-05-29 20:54:24257 "output/software_output_device.cc",
258 "output/software_output_device.h",
259 "output/software_renderer.cc",
260 "output/software_renderer.h",
awoloszyn3d8eb1d2015-03-12 14:38:32261 "output/static_geometry_binding.cc",
262 "output/static_geometry_binding.h",
jamesrf313a212015-03-16 21:27:37263 "output/swap_promise.h",
danakj920156852015-05-18 20:22:29264 "output/texture_mailbox_deleter.cc",
265 "output/texture_mailbox_deleter.h",
[email protected]b2ba2d42014-07-03 18:14:50266 "output/viewport_selection_bound.cc",
267 "output/viewport_selection_bound.h",
dyenb52ecd962016-04-20 23:23:44268 "output/vulkan_context_provider.h",
269 "output/vulkan_in_process_context_provider.cc",
270 "output/vulkan_in_process_context_provider.h",
danakj920156852015-05-18 20:22:29271 "playback/clip_display_item.cc",
272 "playback/clip_display_item.h",
273 "playback/clip_path_display_item.cc",
274 "playback/clip_path_display_item.h",
275 "playback/compositing_display_item.cc",
276 "playback/compositing_display_item.h",
tomhudson836d8182016-04-22 22:15:45277 "playback/decoded_draw_image.cc",
vmpstr9dd810a2016-01-19 21:16:10278 "playback/decoded_draw_image.h",
fmalita7913ee52015-09-09 19:47:31279 "playback/discardable_image_map.cc",
280 "playback/discardable_image_map.h",
danakj920156852015-05-18 20:22:29281 "playback/display_item.cc",
282 "playback/display_item.h",
283 "playback/display_item_list.cc",
284 "playback/display_item_list.h",
jbroman7ae1e4bf2015-06-02 01:44:28285 "playback/display_item_list_settings.cc",
286 "playback/display_item_list_settings.h",
dtrainor2191e4d2015-10-28 16:02:52287 "playback/display_item_proto_factory.cc",
288 "playback/display_item_proto_factory.h",
vmpstr9dd810a2016-01-19 21:16:10289 "playback/draw_image.cc",
vmpstr9116a70f2015-10-14 23:48:34290 "playback/draw_image.h",
danakj920156852015-05-18 20:22:29291 "playback/drawing_display_item.cc",
292 "playback/drawing_display_item.h",
293 "playback/filter_display_item.cc",
294 "playback/filter_display_item.h",
295 "playback/float_clip_display_item.cc",
296 "playback/float_clip_display_item.h",
vmpstr2c9805c2016-03-04 00:07:41297 "playback/image_hijack_canvas.cc",
298 "playback/image_hijack_canvas.h",
danakj920156852015-05-18 20:22:29299 "playback/largest_display_item.cc",
300 "playback/largest_display_item.h",
vmpstr41d68f882016-03-30 01:20:23301 "playback/raster_source.cc",
302 "playback/raster_source.h",
vmpstre17fd212016-03-30 20:03:32303 "playback/recording_source.cc",
304 "playback/recording_source.h",
vmpstrec4a4172016-03-14 22:51:06305 "playback/skip_image_canvas.cc",
306 "playback/skip_image_canvas.h",
danakj920156852015-05-18 20:22:29307 "playback/transform_display_item.cc",
308 "playback/transform_display_item.h",
khushalsagar37694212016-01-15 20:46:48309 "proto/base_conversions.cc",
310 "proto/base_conversions.h",
nyquist04b8bd2e2015-11-24 10:04:17311 "proto/cc_conversions.cc",
312 "proto/cc_conversions.h",
dtrainorddb0b492015-10-19 20:14:44313 "proto/gfx_conversions.cc",
314 "proto/gfx_conversions.h",
nyquist1d29b062015-12-02 02:48:18315 "proto/gpu_conversions.cc",
316 "proto/gpu_conversions.h",
nyquist16febb42016-02-12 00:15:04317 "proto/image_serialization_processor.h",
dtrainor543858f52015-10-23 20:13:55318 "proto/skia_conversions.cc",
319 "proto/skia_conversions.h",
sunxdc36713a2016-03-03 22:31:10320 "proto/synced_property_conversions.cc",
321 "proto/synced_property_conversions.h",
[email protected]d05751a22014-05-29 20:54:24322 "quads/content_draw_quad_base.cc",
323 "quads/content_draw_quad_base.h",
324 "quads/debug_border_draw_quad.cc",
325 "quads/debug_border_draw_quad.h",
[email protected]2a021fb7b2014-08-02 07:53:49326 "quads/draw_polygon.cc",
327 "quads/draw_polygon.h",
[email protected]d05751a22014-05-29 20:54:24328 "quads/draw_quad.cc",
329 "quads/draw_quad.h",
330 "quads/io_surface_draw_quad.cc",
331 "quads/io_surface_draw_quad.h",
weiliangcfe7b51e2014-11-05 18:20:27332 "quads/largest_draw_quad.cc",
satorux457770e2015-02-18 18:33:39333 "quads/largest_draw_quad.h",
[email protected]d05751a22014-05-29 20:54:24334 "quads/picture_draw_quad.cc",
335 "quads/picture_draw_quad.h",
336 "quads/render_pass.cc",
337 "quads/render_pass.h",
338 "quads/render_pass_draw_quad.cc",
339 "quads/render_pass_draw_quad.h",
[email protected]0cd7d6f72014-08-22 14:50:51340 "quads/render_pass_id.cc",
341 "quads/render_pass_id.h",
[email protected]d05751a22014-05-29 20:54:24342 "quads/shared_quad_state.cc",
343 "quads/shared_quad_state.h",
344 "quads/solid_color_draw_quad.cc",
345 "quads/solid_color_draw_quad.h",
346 "quads/stream_video_draw_quad.cc",
347 "quads/stream_video_draw_quad.h",
348 "quads/surface_draw_quad.cc",
349 "quads/surface_draw_quad.h",
350 "quads/texture_draw_quad.cc",
351 "quads/texture_draw_quad.h",
352 "quads/tile_draw_quad.cc",
353 "quads/tile_draw_quad.h",
354 "quads/yuv_video_draw_quad.cc",
355 "quads/yuv_video_draw_quad.h",
prashant.nb4d4f492016-04-29 12:51:28356 "raster/bitmap_raster_buffer_provider.cc",
357 "raster/bitmap_raster_buffer_provider.h",
358 "raster/gpu_raster_buffer_provider.cc",
359 "raster/gpu_raster_buffer_provider.h",
danakj920156852015-05-18 20:22:29360 "raster/gpu_rasterizer.cc",
361 "raster/gpu_rasterizer.h",
prashant.nb4d4f492016-04-29 12:51:28362 "raster/one_copy_raster_buffer_provider.cc",
363 "raster/one_copy_raster_buffer_provider.h",
danakj920156852015-05-18 20:22:29364 "raster/raster_buffer.cc",
365 "raster/raster_buffer.h",
prashant.nb4d4f492016-04-29 12:51:28366 "raster/raster_buffer_provider.cc",
367 "raster/raster_buffer_provider.h",
danakj920156852015-05-18 20:22:29368 "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",
prashant.na9dd9ef2016-04-08 19:57:10372 "raster/staging_buffer_pool.cc",
373 "raster/staging_buffer_pool.h",
ericrk4e3aa5a2015-12-01 03:53:56374 "raster/synchronous_task_graph_runner.cc",
375 "raster/synchronous_task_graph_runner.h",
prashant.n49b3e64652016-04-19 07:04:49376 "raster/task.cc",
377 "raster/task.h",
ericrk374dee72016-01-13 03:38:05378 "raster/task_category.h",
danakj920156852015-05-18 20:22:29379 "raster/task_graph_runner.h",
ericrk4e3aa5a2015-12-01 03:53:56380 "raster/task_graph_work_queue.cc",
381 "raster/task_graph_work_queue.h",
danakj920156852015-05-18 20:22:29382 "raster/texture_compressor.cc",
383 "raster/texture_compressor.h",
384 "raster/texture_compressor_etc1.cc",
385 "raster/texture_compressor_etc1.h",
prashant.n6cb1bb82016-04-20 05:15:58386 "raster/tile_task.cc",
387 "raster/tile_task.h",
prashant.nb4d4f492016-04-29 12:51:28388 "raster/zero_copy_raster_buffer_provider.cc",
389 "raster/zero_copy_raster_buffer_provider.h",
[email protected]d05751a22014-05-29 20:54:24390 "resources/memory_history.cc",
391 "resources/memory_history.h",
[email protected]d05751a22014-05-29 20:54:24392 "resources/platform_color.h",
[email protected]d05751a22014-05-29 20:54:24393 "resources/release_callback.h",
reveman423e7da2014-09-23 16:57:44394 "resources/resource.h",
[email protected]c6f0cf62014-07-22 02:44:41395 "resources/resource_format.cc",
[email protected]bf050582014-07-24 11:10:58396 "resources/resource_format.h",
[email protected]d05751a22014-05-29 20:54:24397 "resources/resource_pool.cc",
398 "resources/resource_pool.h",
399 "resources/resource_provider.cc",
400 "resources/resource_provider.h",
prashant.n8e494282015-08-03 07:13:41401 "resources/resource_util.h",
[email protected]d05751a22014-05-29 20:54:24402 "resources/returned_resource.h",
403 "resources/scoped_resource.cc",
404 "resources/scoped_resource.h",
405 "resources/scoped_ui_resource.cc",
406 "resources/scoped_ui_resource.h",
407 "resources/shared_bitmap.cc",
408 "resources/shared_bitmap.h",
409 "resources/shared_bitmap_manager.h",
410 "resources/single_release_callback.cc",
411 "resources/single_release_callback.h",
skyostil3976a3f2014-09-04 22:07:23412 "resources/single_release_callback_impl.cc",
413 "resources/single_release_callback_impl.h",
[email protected]d05751a22014-05-29 20:54:24414 "resources/texture_mailbox.cc",
reveman423e7da2014-09-23 16:57:44415 "resources/texture_mailbox.h",
[email protected]d05751a22014-05-29 20:54:24416 "resources/transferable_resource.cc",
417 "resources/transferable_resource.h",
418 "resources/ui_resource_bitmap.cc",
419 "resources/ui_resource_bitmap.h",
420 "resources/ui_resource_client.h",
421 "resources/ui_resource_request.cc",
422 "resources/ui_resource_request.h",
423 "resources/video_resource_updater.cc",
424 "resources/video_resource_updater.h",
mithroc34fc0b12014-09-30 09:10:41425 "scheduler/begin_frame_source.cc",
426 "scheduler/begin_frame_source.h",
mithro0bdb49d2015-05-27 13:08:01427 "scheduler/begin_frame_tracker.cc",
428 "scheduler/begin_frame_tracker.h",
khushalsagar0b3d9e12016-01-14 21:10:18429 "scheduler/commit_earlyout_reason.cc",
mithrof7a21502014-12-17 03:24:48430 "scheduler/commit_earlyout_reason.h",
briandersonc9f50352015-06-24 03:38:58431 "scheduler/compositor_timing_history.cc",
432 "scheduler/compositor_timing_history.h",
[email protected]d05751a22014-05-29 20:54:24433 "scheduler/delay_based_time_source.cc",
434 "scheduler/delay_based_time_source.h",
435 "scheduler/draw_result.h",
436 "scheduler/scheduler.cc",
437 "scheduler/scheduler.h",
438 "scheduler/scheduler_settings.cc",
439 "scheduler/scheduler_settings.h",
440 "scheduler/scheduler_state_machine.cc",
441 "scheduler/scheduler_state_machine.h",
sunnyps7d073dc2015-04-16 23:29:12442 "scheduler/video_frame_controller.h",
danakj920156852015-05-18 20:22:29443 "tiles/eviction_tile_priority_queue.cc",
444 "tiles/eviction_tile_priority_queue.h",
vmpstr64cdba32016-03-03 00:38:40445 "tiles/gpu_image_decode_controller.cc",
446 "tiles/gpu_image_decode_controller.h",
vmpstrc8cf52ab2015-08-03 23:12:50447 "tiles/image_decode_controller.h",
danakj920156852015-05-18 20:22:29448 "tiles/picture_layer_tiling.cc",
449 "tiles/picture_layer_tiling.h",
450 "tiles/picture_layer_tiling_set.cc",
451 "tiles/picture_layer_tiling_set.h",
452 "tiles/prioritized_tile.cc",
453 "tiles/prioritized_tile.h",
454 "tiles/raster_tile_priority_queue.cc",
455 "tiles/raster_tile_priority_queue.h",
456 "tiles/raster_tile_priority_queue_all.cc",
457 "tiles/raster_tile_priority_queue_all.h",
458 "tiles/raster_tile_priority_queue_required.cc",
459 "tiles/raster_tile_priority_queue_required.h",
vmpstr64cdba32016-03-03 00:38:40460 "tiles/software_image_decode_controller.cc",
461 "tiles/software_image_decode_controller.h",
danakj920156852015-05-18 20:22:29462 "tiles/tile.cc",
463 "tiles/tile.h",
464 "tiles/tile_draw_info.cc",
465 "tiles/tile_draw_info.h",
466 "tiles/tile_manager.cc",
467 "tiles/tile_manager.h",
468 "tiles/tile_priority.cc",
469 "tiles/tile_priority.h",
prashant.nb4d4f492016-04-29 12:51:28470 "tiles/tile_task_manager.cc",
471 "tiles/tile_task_manager.h",
danakj920156852015-05-18 20:22:29472 "tiles/tiling_set_eviction_queue.cc",
473 "tiles/tiling_set_eviction_queue.h",
474 "tiles/tiling_set_raster_queue_all.cc",
475 "tiles/tiling_set_raster_queue_all.h",
476 "tiles/tiling_set_raster_queue_required.cc",
477 "tiles/tiling_set_raster_queue_required.h",
[email protected]d05751a22014-05-29 20:54:24478 "trees/blocking_task_runner.cc",
479 "trees/blocking_task_runner.h",
khushalsagar5d6eb982015-09-25 22:44:56480 "trees/channel_impl.h",
481 "trees/channel_main.h",
khushalsagar19458bd2015-12-08 02:19:01482 "trees/compositor_mode.h",
[email protected]d05751a22014-05-29 20:54:24483 "trees/damage_tracker.cc",
484 "trees/damage_tracker.h",
vollick51ed1a22014-12-17 02:03:00485 "trees/draw_property_utils.cc",
486 "trees/draw_property_utils.h",
jamesrf313a212015-03-16 21:27:37487 "trees/latency_info_swap_promise_monitor.cc",
488 "trees/latency_info_swap_promise_monitor.h",
[email protected]d05751a22014-05-29 20:54:24489 "trees/layer_tree_host.cc",
490 "trees/layer_tree_host.h",
491 "trees/layer_tree_host_client.h",
492 "trees/layer_tree_host_common.cc",
493 "trees/layer_tree_host_common.h",
494 "trees/layer_tree_host_impl.cc",
495 "trees/layer_tree_host_impl.h",
ccameron00e438cd2015-03-12 06:18:14496 "trees/layer_tree_host_single_thread_client.h",
[email protected]d05751a22014-05-29 20:54:24497 "trees/layer_tree_impl.cc",
498 "trees/layer_tree_impl.h",
499 "trees/layer_tree_settings.cc",
500 "trees/layer_tree_settings.h",
loysobb93befc2015-07-03 00:19:50501 "trees/mutator_host_client.h",
vmpstrcdcb5f72014-09-11 00:58:37502 "trees/occlusion.cc",
503 "trees/occlusion.h",
[email protected]d05751a22014-05-29 20:54:24504 "trees/occlusion_tracker.cc",
505 "trees/occlusion_tracker.h",
vollick51ed1a22014-12-17 02:03:00506 "trees/property_tree.cc",
507 "trees/property_tree.h",
508 "trees/property_tree_builder.cc",
509 "trees/property_tree_builder.h",
[email protected]d05751a22014-05-29 20:54:24510 "trees/proxy.h",
khushalsagare3c9fa92015-10-28 02:08:29511 "trees/proxy_common.cc",
512 "trees/proxy_common.h",
khushalsagar0a226af2015-12-09 10:30:20513 "trees/proxy_impl.cc",
khushalsagar5d6eb982015-09-25 22:44:56514 "trees/proxy_impl.h",
khushalsagar0a226af2015-12-09 10:30:20515 "trees/proxy_main.cc",
khushalsagar5d6eb982015-09-25 22:44:56516 "trees/proxy_main.h",
khushalsagare0a38d42016-01-29 01:15:06517 "trees/remote_channel_impl.cc",
518 "trees/remote_channel_impl.h",
519 "trees/remote_channel_main.cc",
520 "trees/remote_channel_main.h",
dtrainor5ef644e2015-11-19 00:12:47521 "trees/remote_proto_channel.h",
[email protected]aeeedad2014-08-22 18:16:22522 "trees/scoped_abort_remaining_swap_promises.h",
[email protected]d05751a22014-05-29 20:54:24523 "trees/single_thread_proxy.cc",
524 "trees/single_thread_proxy.h",
jamesrf313a212015-03-16 21:27:37525 "trees/swap_promise_monitor.cc",
526 "trees/swap_promise_monitor.h",
khushalsagarb64b360d2015-10-21 19:25:16527 "trees/task_runner_provider.cc",
528 "trees/task_runner_provider.h",
khushalsagar5d6eb982015-09-25 22:44:56529 "trees/threaded_channel.cc",
530 "trees/threaded_channel.h",
[email protected]d05751a22014-05-29 20:54:24531 "trees/tree_synchronizer.cc",
532 "trees/tree_synchronizer.h",
533 ]
534
thakis4a0c5482015-06-08 20:51:29535 if (target_cpu == "x86" || target_cpu == "x64") {
536 sources += [
537 "raster/texture_compressor_etc1_sse.cc",
538 "raster/texture_compressor_etc1_sse.h",
539 ]
540 }
541
brettwbc8b2a22015-07-28 18:24:42542 configs += [ "//build/config:precompiled_headers" ]
543
Brett Wilsone53895272014-09-23 23:41:46544 public_deps = [
jamesrf313a212015-03-16 21:27:37545 "//cc/base",
Brett Wilsone53895272014-09-23 23:41:46546 "//skia",
547 ]
[email protected]d05751a22014-05-29 20:54:24548 deps = [
549 "//base",
550 "//base/third_party/dynamic_annotations",
dtrainorddb0b492015-10-19 20:14:44551 "//cc/proto",
jamesr16c04ff2014-11-24 22:24:57552 "//cc/surfaces:surface_id",
[email protected]d05751a22014-05-29 20:54:24553 "//gpu",
jbromancba3d2fe2014-09-16 01:04:24554 "//gpu/command_buffer/client:gles2_interface",
[email protected]6e44c302014-07-22 21:51:37555 "//media",
Nico Weber9d6e12942016-04-19 18:51:09556 "//ui/events:events_base",
[email protected]d05751a22014-05-29 20:54:24557 "//ui/gfx",
558 "//ui/gfx/geometry",
ericrkf08855b42015-08-06 00:20:22559 "//ui/gl",
[email protected]d05751a22014-05-29 20:54:24560 ]
[email protected]d05751a22014-05-29 20:54:24561
[email protected]3ffa36a2014-07-24 21:01:50562 defines = [ "CC_IMPLEMENTATION=1" ]
[email protected]d05751a22014-05-29 20:54:24563
fdegans75b3d092014-09-17 18:35:55564 if (!is_debug && (is_win || is_android)) {
brettw4cab0f12015-09-14 21:40:01565 configs -= [ "//build/config/compiler:default_optimization" ]
[email protected]d05751a22014-05-29 20:54:24566 configs += [ "//build/config/compiler:optimize_max" ]
567 }
dyen8a145fb72016-03-31 00:37:51568
569 if (enable_vulkan) {
dyen136e05c2016-04-06 22:28:27570 sources += [
dyen136e05c2016-04-06 22:28:27571 "output/vulkan_renderer.cc",
572 "output/vulkan_renderer.h",
dyen8a145fb72016-03-31 00:37:51573 ]
574
dyen136e05c2016-04-06 22:28:27575 deps += [ "//gpu/vulkan" ]
dyen8a145fb72016-03-31 00:37:51576 }
[email protected]d05751a22014-05-29 20:54:24577}
578
[email protected]d05751a22014-05-29 20:54:24579source_set("test_support") {
Brett Wilson8f80ad0b2014-09-08 19:50:24580 testonly = true
[email protected]d05751a22014-05-29 20:54:24581 sources = [
582 "test/animation_test_common.cc",
583 "test/animation_test_common.h",
loysobb93befc2015-07-03 00:19:50584 "test/animation_timelines_test_common.cc",
585 "test/animation_timelines_test_common.h",
[email protected]d05751a22014-05-29 20:54:24586 "test/begin_frame_args_test.cc",
587 "test/begin_frame_args_test.h",
mithro6be81902015-12-04 05:58:46588 "test/begin_frame_source_test.cc",
589 "test/begin_frame_source_test.h",
satorux457770e2015-02-18 18:33:39590 "test/failure_output_surface.cc",
591 "test/failure_output_surface.h",
khushalsagar0f081c42015-12-16 07:04:20592 "test/fake_channel_impl.cc",
593 "test/fake_channel_impl.h",
[email protected]d05751a22014-05-29 20:54:24594 "test/fake_content_layer_client.cc",
595 "test/fake_content_layer_client.h",
danakj6e3bf8012014-12-16 18:27:53596 "test/fake_external_begin_frame_source.cc",
597 "test/fake_external_begin_frame_source.h",
nyquist16febb42016-02-12 00:15:04598 "test/fake_image_serialization_processor.cc",
599 "test/fake_image_serialization_processor.h",
khushalsagarb64b360d2015-10-21 19:25:16600 "test/fake_impl_task_runner_provider.h",
[email protected]d05751a22014-05-29 20:54:24601 "test/fake_layer_tree_host.cc",
602 "test/fake_layer_tree_host.h",
603 "test/fake_layer_tree_host_client.cc",
604 "test/fake_layer_tree_host_client.h",
605 "test/fake_layer_tree_host_impl.cc",
606 "test/fake_layer_tree_host_impl.h",
607 "test/fake_layer_tree_host_impl_client.cc",
608 "test/fake_layer_tree_host_impl_client.h",
ajumad9432e32015-11-30 19:43:44609 "test/fake_mask_layer_impl.cc",
610 "test/fake_mask_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24611 "test/fake_output_surface.cc",
612 "test/fake_output_surface.h",
613 "test/fake_output_surface_client.cc",
614 "test/fake_output_surface_client.h",
615 "test/fake_painted_scrollbar_layer.cc",
616 "test/fake_painted_scrollbar_layer.h",
617 "test/fake_picture_layer.cc",
618 "test/fake_picture_layer.h",
619 "test/fake_picture_layer_impl.cc",
620 "test/fake_picture_layer_impl.h",
621 "test/fake_picture_layer_tiling_client.cc",
622 "test/fake_picture_layer_tiling_client.h",
[email protected]d05751a22014-05-29 20:54:24623 "test/fake_proxy.cc",
624 "test/fake_proxy.h",
prashant.nb4d4f492016-04-29 12:51:28625 "test/fake_raster_buffer_provider.cc",
626 "test/fake_raster_buffer_provider.h",
vmpstr41d68f882016-03-30 01:20:23627 "test/fake_raster_source.cc",
628 "test/fake_raster_source.h",
vmpstre17fd212016-03-30 20:03:32629 "test/fake_recording_source.cc",
630 "test/fake_recording_source.h",
[email protected]d05751a22014-05-29 20:54:24631 "test/fake_renderer_client.cc",
632 "test/fake_renderer_client.h",
633 "test/fake_rendering_stats_instrumentation.h",
danakj61bf05f2015-05-26 23:28:56634 "test/fake_resource_provider.h",
[email protected]d05751a22014-05-29 20:54:24635 "test/fake_scoped_ui_resource.cc",
636 "test/fake_scoped_ui_resource.h",
637 "test/fake_scrollbar.cc",
638 "test/fake_scrollbar.h",
639 "test/fake_tile_manager.cc",
640 "test/fake_tile_manager.h",
641 "test/fake_tile_manager_client.cc",
642 "test/fake_tile_manager_client.h",
prashant.nb4d4f492016-04-29 12:51:28643 "test/fake_tile_task_manager.cc",
644 "test/fake_tile_task_manager.h",
[email protected]d05751a22014-05-29 20:54:24645 "test/fake_ui_resource_layer_tree_host_impl.cc",
646 "test/fake_ui_resource_layer_tree_host_impl.h",
647 "test/fake_video_frame_provider.cc",
648 "test/fake_video_frame_provider.h",
649 "test/geometry_test_utils.cc",
650 "test/geometry_test_utils.h",
[email protected]d05751a22014-05-29 20:54:24651 "test/layer_test_common.cc",
652 "test/layer_test_common.h",
653 "test/layer_tree_host_common_test.cc",
654 "test/layer_tree_host_common_test.h",
655 "test/layer_tree_json_parser.cc",
656 "test/layer_tree_json_parser.h",
enne03dbe8ae2014-10-30 01:32:55657 "test/layer_tree_pixel_resource_test.cc",
658 "test/layer_tree_pixel_resource_test.h",
[email protected]d05751a22014-05-29 20:54:24659 "test/layer_tree_pixel_test.cc",
660 "test/layer_tree_pixel_test.h",
661 "test/layer_tree_test.cc",
662 "test/layer_tree_test.h",
mithro6be81902015-12-04 05:58:46663 "test/mock_helper.h",
[email protected]ba16cce2014-06-17 17:03:50664 "test/mock_occlusion_tracker.h",
[email protected]d5ba08c2014-06-18 07:01:08665 "test/ordered_simple_task_runner.cc",
666 "test/ordered_simple_task_runner.h",
[email protected]d05751a22014-05-29 20:54:24667 "test/ordered_texture_map.cc",
668 "test/ordered_texture_map.h",
669 "test/paths.cc",
670 "test/paths.h",
671 "test/pixel_comparator.cc",
672 "test/pixel_comparator.h",
673 "test/pixel_test.cc",
674 "test/pixel_test.h",
675 "test/pixel_test_output_surface.cc",
676 "test/pixel_test_output_surface.h",
677 "test/pixel_test_software_output_device.cc",
678 "test/pixel_test_software_output_device.h",
679 "test/pixel_test_utils.cc",
680 "test/pixel_test_utils.h",
khushalsagar0a226af2015-12-09 10:30:20681 "test/proxy_impl_for_test.cc",
682 "test/proxy_impl_for_test.h",
683 "test/proxy_main_for_test.cc",
684 "test/proxy_main_for_test.h",
khushalsagare0a38d42016-01-29 01:15:06685 "test/remote_channel_impl_for_test.cc",
686 "test/remote_channel_impl_for_test.h",
687 "test/remote_proto_channel_bridge.cc",
688 "test/remote_proto_channel_bridge.h",
[email protected]d05751a22014-05-29 20:54:24689 "test/render_pass_test_utils.cc",
690 "test/render_pass_test_utils.h",
691 "test/scheduler_test_common.cc",
692 "test/scheduler_test_common.h",
693 "test/skia_common.cc",
694 "test/skia_common.h",
695 "test/solid_color_content_layer_client.cc",
696 "test/solid_color_content_layer_client.h",
fsamuel7a615102015-10-23 21:25:16697 "test/surface_aggregator_test_helpers.cc",
698 "test/surface_aggregator_test_helpers.h",
699 "test/surface_hittest_test_helpers.cc",
700 "test/surface_hittest_test_helpers.h",
ericrk4e3aa5a2015-12-01 03:53:56701 "test/task_graph_runner_test_template.cc",
702 "test/task_graph_runner_test_template.h",
[email protected]d05751a22014-05-29 20:54:24703 "test/test_context_provider.cc",
704 "test/test_context_provider.h",
705 "test/test_context_support.cc",
706 "test/test_context_support.h",
707 "test/test_gles2_interface.cc",
708 "test/test_gles2_interface.h",
reveman22dd9292014-10-13 20:52:05709 "test/test_gpu_memory_buffer_manager.cc",
710 "test/test_gpu_memory_buffer_manager.h",
khushalsagar0a226af2015-12-09 10:30:20711 "test/test_hooks.cc",
712 "test/test_hooks.h",
reveman2232bce2014-10-29 01:28:05713 "test/test_image_factory.cc",
714 "test/test_image_factory.h",
satorux457770e2015-02-18 18:33:39715 "test/test_in_process_context_provider.cc",
716 "test/test_in_process_context_provider.h",
[email protected]d05751a22014-05-29 20:54:24717 "test/test_occlusion_tracker.h",
718 "test/test_shared_bitmap_manager.cc",
719 "test/test_shared_bitmap_manager.h",
reveman34b7a1522015-03-23 20:27:47720 "test/test_task_graph_runner.cc",
721 "test/test_task_graph_runner.h",
[email protected]d05751a22014-05-29 20:54:24722 "test/test_texture.cc",
723 "test/test_texture.h",
724 "test/test_tile_priorities.cc",
725 "test/test_tile_priorities.h",
726 "test/test_web_graphics_context_3d.cc",
727 "test/test_web_graphics_context_3d.h",
khushalsagar0a226af2015-12-09 10:30:20728 "test/threaded_channel_for_test.cc",
729 "test/threaded_channel_for_test.h",
[email protected]d05751a22014-05-29 20:54:24730 ]
731
brettwbc8b2a22015-07-28 18:24:42732 configs += [ "//build/config:precompiled_headers" ]
[email protected]d05751a22014-05-29 20:54:24733
Brett Wilson0380637c2014-09-19 21:24:40734 public_deps = [
735 ":cc",
Brett Wilsone53895272014-09-23 23:41:46736 "//gpu:test_support",
Brett Wilson0380637c2014-09-19 21:24:40737 ]
[email protected]d05751a22014-05-29 20:54:24738 deps = [
739 "//base",
jamesr16c04ff2014-11-24 22:24:57740 "//base/test:test_support",
[email protected]d05751a22014-05-29 20:54:24741 "//base/third_party/dynamic_annotations",
khushalsagare0a38d42016-01-29 01:15:06742 "//cc/proto",
fsamuel7a615102015-10-23 21:25:16743 "//cc/surfaces",
744 "//cc/surfaces:surface_id",
agrieved7a71c882015-11-20 19:53:28745 "//gpu/command_buffer/client:gl_in_process_context",
[email protected]d05751a22014-05-29 20:54:24746 "//gpu/command_buffer/client:gles2_c_lib",
747 "//gpu/command_buffer/client:gles2_implementation",
[email protected]845c4e32014-08-13 11:50:40748 "//gpu/command_buffer/common:gles2_utils",
[email protected]d05751a22014-05-29 20:54:24749 "//gpu/skia_bindings",
jamesr16c04ff2014-11-24 22:24:57750 "//media",
[email protected]d05751a22014-05-29 20:54:24751 "//skia",
752 "//testing/gmock",
753 "//testing/gtest",
brettwf9427f92016-05-05 23:18:55754 "//third_party/mesa:osmesa",
[email protected]d05751a22014-05-29 20:54:24755 "//ui/gfx",
[email protected]e54a1f522014-07-22 23:26:48756 "//ui/gfx:test_support",
agrieved7a71c882015-11-20 19:53:28757 "//ui/gfx/geometry",
[email protected]d05751a22014-05-29 20:54:24758 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26759 "//ui/gl:test_support",
[email protected]d05751a22014-05-29 20:54:24760 ]
761}
762
brettw4897a612015-03-02 23:13:15763test("cc_unittests") {
764 sources = [
loysobb93befc2015-07-03 00:19:50765 "animation/animation_host_unittest.cc",
766 "animation/animation_player_unittest.cc",
767 "animation/animation_timeline_unittest.cc",
brettw4897a612015-03-02 23:13:15768 "animation/animation_unittest.cc",
loysobb93befc2015-07-03 00:19:50769 "animation/element_animations_unittest.cc",
brettw4897a612015-03-02 23:13:15770 "animation/keyframed_animation_curve_unittest.cc",
brettw4897a612015-03-02 23:13:15771 "animation/scroll_offset_animation_curve_unittest.cc",
brettw4897a612015-03-02 23:13:15772 "animation/transform_operations_unittest.cc",
enne797d82332015-12-01 01:34:58773 "base/contiguous_container_unittest.cc",
brettwd649f6b2015-08-18 20:58:51774 "base/delayed_unique_notifier_unittest.cc",
brettw4897a612015-03-02 23:13:15775 "base/float_quad_unittest.cc",
jbroman7b5b0552015-05-28 03:36:58776 "base/histograms_unittest.cc",
prashant.n7f1fe3d2015-06-05 18:26:04777 "base/list_container_unittest.cc",
brettw4897a612015-03-02 23:13:15778 "base/math_util_unittest.cc",
vmpstrb10241fc2015-09-18 01:10:12779 "base/random_access_list_container_unittest.cc",
brettw4897a612015-03-02 23:13:15780 "base/region_unittest.cc",
781 "base/rolling_time_delta_history_unittest.cc",
vmpstrb3ceb8222015-09-23 20:25:25782 "base/rtree_unittest.cc",
brettw4897a612015-03-02 23:13:15783 "base/simple_enclosed_region_unittest.cc",
784 "base/tiling_data_unittest.cc",
brettwd649f6b2015-08-18 20:58:51785 "base/unique_notifier_unittest.cc",
nyquist74a9aca2015-12-01 22:39:04786 "debug/layer_tree_debug_state_unittest.cc",
brettw4897a612015-03-02 23:13:15787 "debug/micro_benchmark_controller_unittest.cc",
brettwd649f6b2015-08-18 20:58:51788 "debug/rendering_stats_unittest.cc",
nyquist9de8ad82015-12-18 20:09:06789 "input/layer_selection_bound_unittest.cc",
tdresserd9e201472015-07-31 13:15:07790 "input/scroll_state_unittest.cc",
loyso455b4f602016-02-24 02:59:42791 "input/scrollbar_animation_controller_linear_fade_unittest.cc",
792 "input/scrollbar_animation_controller_thinning_unittest.cc",
brettw4897a612015-03-02 23:13:15793 "input/top_controls_manager_unittest.cc",
brettw4897a612015-03-02 23:13:15794 "layers/heads_up_display_layer_impl_unittest.cc",
795 "layers/heads_up_display_unittest.cc",
brettw4897a612015-03-02 23:13:15796 "layers/layer_impl_unittest.cc",
797 "layers/layer_iterator_unittest.cc",
vollick44d1c1f2016-03-02 20:59:43798 "layers/layer_list_iterator_unittest.cc",
brettw4897a612015-03-02 23:13:15799 "layers/layer_position_constraint_unittest.cc",
nyquist353b7d52015-11-06 22:26:53800 "layers/layer_proto_converter_unittest.cc",
brettw4897a612015-03-02 23:13:15801 "layers/layer_unittest.cc",
802 "layers/layer_utils_unittest.cc",
803 "layers/nine_patch_layer_impl_unittest.cc",
804 "layers/nine_patch_layer_unittest.cc",
805 "layers/painted_scrollbar_layer_impl_unittest.cc",
ccamerona54da382015-11-27 00:52:33806 "layers/painted_scrollbar_layer_unittest.cc",
brettw4897a612015-03-02 23:13:15807 "layers/picture_image_layer_impl_unittest.cc",
808 "layers/picture_image_layer_unittest.cc",
809 "layers/picture_layer_impl_unittest.cc",
810 "layers/picture_layer_unittest.cc",
811 "layers/render_surface_impl_unittest.cc",
812 "layers/render_surface_unittest.cc",
813 "layers/scrollbar_layer_unittest.cc",
814 "layers/solid_color_layer_impl_unittest.cc",
815 "layers/solid_color_scrollbar_layer_impl_unittest.cc",
816 "layers/surface_layer_impl_unittest.cc",
817 "layers/surface_layer_unittest.cc",
818 "layers/texture_layer_impl_unittest.cc",
819 "layers/texture_layer_unittest.cc",
brettw4897a612015-03-02 23:13:15820 "layers/ui_resource_layer_impl_unittest.cc",
821 "layers/ui_resource_layer_unittest.cc",
dalecurtisb8396642015-06-09 18:38:14822 "layers/video_frame_provider_client_impl_unittest.cc",
brettw4897a612015-03-02 23:13:15823 "layers/video_layer_impl_unittest.cc",
ymalik99740e852016-04-07 04:18:13824 "layers/viewport_unittest.cc",
brettw4897a612015-03-02 23:13:15825 "output/begin_frame_args_unittest.cc",
brettwd649f6b2015-08-18 20:58:51826 "output/bsp_tree_unittest.cc",
brettw4897a612015-03-02 23:13:15827 "output/delegating_renderer_unittest.cc",
828 "output/filter_operations_unittest.cc",
829 "output/gl_renderer_unittest.cc",
danakj920156852015-05-18 20:22:29830 "output/layer_quad_unittest.cc",
nyquist1d29b062015-12-02 02:48:18831 "output/managed_memory_policy_unittest.cc",
brettw4897a612015-03-02 23:13:15832 "output/output_surface_unittest.cc",
833 "output/overlay_unittest.cc",
834 "output/renderer_pixeltest.cc",
nyquistb974b9a2015-12-02 00:08:35835 "output/renderer_settings_unittest.cc",
brettw4897a612015-03-02 23:13:15836 "output/renderer_unittest.cc",
837 "output/shader_unittest.cc",
838 "output/software_renderer_unittest.cc",
danakj920156852015-05-18 20:22:29839 "output/texture_mailbox_deleter_unittest.cc",
fmalita7913ee52015-09-09 19:47:31840 "playback/discardable_image_map_unittest.cc",
danakj920156852015-05-18 20:22:29841 "playback/display_item_list_unittest.cc",
vmpstr41d68f882016-03-30 01:20:23842 "playback/raster_source_unittest.cc",
vmpstre17fd212016-03-30 20:03:32843 "playback/recording_source_unittest.cc",
khushalsagar37694212016-01-15 20:46:48844 "proto/base_conversions_unittest.cc",
nyquist04b8bd2e2015-11-24 10:04:17845 "proto/cc_conversions_unittest.cc",
dtrainorddb0b492015-10-19 20:14:44846 "proto/gfx_conversions_unittest.cc",
nyquist1d29b062015-12-02 02:48:18847 "proto/gpu_conversions_unittest.cc",
dtrainor543858f52015-10-23 20:13:55848 "proto/skia_conversions_unittest.cc",
sunxdc36713a2016-03-03 22:31:10849 "proto/synced_property_conversions_unittest.cc",
brettwd649f6b2015-08-18 20:58:51850 "quads/draw_polygon_unittest.cc",
brettw4897a612015-03-02 23:13:15851 "quads/draw_quad_unittest.cc",
brettw4897a612015-03-02 23:13:15852 "quads/render_pass_unittest.cc",
prashant.nb4d4f492016-04-29 12:51:28853 "raster/raster_buffer_provider_unittest.cc",
danakj920156852015-05-18 20:22:29854 "raster/scoped_gpu_raster_unittest.cc",
ericrk4e3aa5a2015-12-01 03:53:56855 "raster/single_thread_task_graph_runner_unittest.cc",
856 "raster/synchronous_task_graph_runner_unittest.cc",
danakj920156852015-05-18 20:22:29857 "raster/texture_compressor_etc1_unittest.cc",
brettw4897a612015-03-02 23:13:15858 "resources/platform_color_unittest.cc",
boliucb788f42015-07-22 23:49:28859 "resources/resource_pool_unittest.cc",
brettw4897a612015-03-02 23:13:15860 "resources/resource_provider_unittest.cc",
prashant.n8e494282015-08-03 07:13:41861 "resources/resource_util_unittest.cc",
brettw4897a612015-03-02 23:13:15862 "resources/scoped_resource_unittest.cc",
brettw4897a612015-03-02 23:13:15863 "resources/video_resource_updater_unittest.cc",
864 "scheduler/begin_frame_source_unittest.cc",
khushalsagar0b3d9e12016-01-14 21:10:18865 "scheduler/commit_earlyout_reason_unittest.cc",
brianderson68749812015-07-07 22:39:39866 "scheduler/compositor_timing_history_unittest.cc",
brettw4897a612015-03-02 23:13:15867 "scheduler/delay_based_time_source_unittest.cc",
868 "scheduler/scheduler_state_machine_unittest.cc",
869 "scheduler/scheduler_unittest.cc",
mithro6be81902015-12-04 05:58:46870 "test/begin_frame_source_test_unittest.cc",
brettw4897a612015-03-02 23:13:15871 "test/layer_tree_json_parser_unittest.cc",
mithro6be81902015-12-04 05:58:46872 "test/mock_helper_unittest.cc",
brettwd649f6b2015-08-18 20:58:51873 "test/ordered_simple_task_runner_unittest.cc",
brettw4897a612015-03-02 23:13:15874 "test/test_web_graphics_context_3d_unittest.cc",
ericrkd2ff2a132016-04-11 22:16:00875 "tiles/gpu_image_decode_controller_unittest.cc",
danakj920156852015-05-18 20:22:29876 "tiles/picture_layer_tiling_set_unittest.cc",
877 "tiles/picture_layer_tiling_unittest.cc",
vmpstr64cdba32016-03-03 00:38:40878 "tiles/software_image_decode_controller_unittest.cc",
danakj920156852015-05-18 20:22:29879 "tiles/tile_manager_unittest.cc",
880 "tiles/tile_priority_unittest.cc",
brettw4897a612015-03-02 23:13:15881 "trees/blocking_task_runner_unittest.cc",
882 "trees/damage_tracker_unittest.cc",
brettw4897a612015-03-02 23:13:15883 "trees/layer_tree_host_common_unittest.cc",
884 "trees/layer_tree_host_impl_unittest.cc",
885 "trees/layer_tree_host_pixeltest_blending.cc",
886 "trees/layer_tree_host_pixeltest_filters.cc",
887 "trees/layer_tree_host_pixeltest_masks.cc",
888 "trees/layer_tree_host_pixeltest_readback.cc",
889 "trees/layer_tree_host_pixeltest_synchronous.cc",
danakje0b54782015-05-29 22:47:52890 "trees/layer_tree_host_pixeltest_tiles.cc",
brettw4897a612015-03-02 23:13:15891 "trees/layer_tree_host_unittest.cc",
892 "trees/layer_tree_host_unittest_animation.cc",
893 "trees/layer_tree_host_unittest_context.cc",
894 "trees/layer_tree_host_unittest_copyrequest.cc",
895 "trees/layer_tree_host_unittest_damage.cc",
brettw4897a612015-03-02 23:13:15896 "trees/layer_tree_host_unittest_occlusion.cc",
897 "trees/layer_tree_host_unittest_picture.cc",
898 "trees/layer_tree_host_unittest_proxy.cc",
khushalsagarb54107d02015-12-10 20:20:56899 "trees/layer_tree_host_unittest_record_gpu_histogram.cc",
khushalsagarb0d8691b2016-01-30 02:47:17900 "trees/layer_tree_host_unittest_remote_server.cc",
brettw4897a612015-03-02 23:13:15901 "trees/layer_tree_host_unittest_scroll.cc",
nyquist4f5e8afd2016-01-14 17:40:36902 "trees/layer_tree_host_unittest_serialization.cc",
brettw4897a612015-03-02 23:13:15903 "trees/layer_tree_host_unittest_video.cc",
904 "trees/layer_tree_impl_unittest.cc",
nyquist2fe752c2015-12-10 20:12:51905 "trees/layer_tree_settings_unittest.cc",
brettw4897a612015-03-02 23:13:15906 "trees/occlusion_tracker_unittest.cc",
907 "trees/occlusion_unittest.cc",
908 "trees/property_tree_unittest.cc",
khushalsagar37694212016-01-15 20:46:48909 "trees/proxy_common_unittest.cc",
khushalsagar0f081c42015-12-16 07:04:20910 "trees/proxy_impl_unittest.cc",
khushalsagare0a38d42016-01-29 01:15:06911 "trees/remote_channel_unittest.cc",
khushalsagare3c9fa92015-10-28 02:08:29912 "trees/threaded_channel_unittest.cc",
brettw4897a612015-03-02 23:13:15913 "trees/tree_synchronizer_unittest.cc",
[email protected]d05751a22014-05-29 20:54:24914
brettw4897a612015-03-02 23:13:15915 # Surfaces test files.
brettwd649f6b2015-08-18 20:58:51916 "surfaces/display_scheduler_unittest.cc",
917 "surfaces/display_unittest.cc",
brettw4897a612015-03-02 23:13:15918 "surfaces/surface_aggregator_unittest.cc",
brettwd649f6b2015-08-18 20:58:51919 "surfaces/surface_display_output_surface_unittest.cc",
920 "surfaces/surface_factory_unittest.cc",
lfg8d07c91d2015-08-07 16:13:20921 "surfaces/surface_hittest_unittest.cc",
enne4e3c9d52016-03-09 00:25:12922 "surfaces/surface_manager_unittest.cc",
brettw4897a612015-03-02 23:13:15923 "surfaces/surface_unittest.cc",
924 "surfaces/surfaces_pixeltest.cc",
[email protected]d05751a22014-05-29 20:54:24925
brettw4897a612015-03-02 23:13:15926 # Setup.
927 "test/cc_test_suite.cc",
928 "test/run_all_unittests.cc",
929 ]
[email protected]d05751a22014-05-29 20:54:24930
brettwbc8b2a22015-07-28 18:24:42931 configs += [ "//build/config:precompiled_headers" ]
agrievee41ae190d2016-04-25 14:12:51932 if (!is_android) {
933 data = [
934 "test/data/",
935 ]
936 }
dpranke177c1e22015-07-22 23:07:43937
brettw4897a612015-03-02 23:13:15938 deps = [
939 ":cc",
940 ":test_support",
941 "//base/test:test_support",
dtrainorddb0b492015-10-19 20:14:44942 "//cc/proto",
brettw4897a612015-03-02 23:13:15943 "//cc/surfaces",
944 "//cc/surfaces:surface_id",
945 "//gpu",
946 "//gpu:test_support",
947 "//gpu/command_buffer/client:gles2_interface",
948 "//gpu/command_buffer/common:gles2_utils",
949 "//media",
950 "//testing/gmock",
951 "//testing/gtest",
Nico Weber9d6e12942016-04-19 18:51:09952 "//ui/events:events_base",
brettw4897a612015-03-02 23:13:15953 "//ui/gfx",
brettw4897a612015-03-02 23:13:15954 "//ui/gfx:test_support",
agrieved7a71c882015-11-20 19:53:28955 "//ui/gfx/geometry",
brettw4897a612015-03-02 23:13:15956 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26957 "//ui/gl:test_support",
brettw4897a612015-03-02 23:13:15958 ]
dpranke177c1e22015-07-22 23:07:43959
vmpstr9116a70f2015-10-14 23:48:34960 data_deps = [
961 "//third_party/mesa:osmesa",
962 ]
[email protected]d05751a22014-05-29 20:54:24963}
964
965test("cc_perftests") {
[email protected]6e44c302014-07-22 21:51:37966 sources = [
loysoa4a59a42016-02-10 06:49:26967 "animation/animation_host_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37968 "layers/layer_perftest.cc",
969 "layers/picture_layer_impl_perftest.cc",
vmpstr0b044512015-05-29 02:58:03970 "quads/draw_quad_perftest.cc",
prashant.nb4d4f492016-04-29 12:51:28971 "raster/raster_buffer_provider_perftest.cc",
danakj920156852015-05-18 20:22:29972 "raster/task_graph_runner_perftest.cc",
973 "raster/texture_compressor_perftest.cc",
jbauman39be2012015-04-16 01:33:08974 "surfaces/surface_aggregator_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37975 "test/cc_test_suite.cc",
976 "test/run_all_perftests.cc",
danakj920156852015-05-18 20:22:29977 "tiles/tile_manager_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37978 "trees/layer_tree_host_common_perftest.cc",
979 "trees/layer_tree_host_perftest.cc",
980 "trees/occlusion_tracker_perftest.cc",
981 ]
[email protected]d05751a22014-05-29 20:54:24982
[email protected]6e44c302014-07-22 21:51:37983 deps = [
984 ":cc",
985 ":test_support",
986 "//base",
jamesr16c04ff2014-11-24 22:24:57987 "//base/test:test_support",
jbauman39be2012015-04-16 01:33:08988 "//cc/surfaces",
989 "//cc/surfaces:surface_id",
[email protected]6e44c302014-07-22 21:51:37990 "//gpu",
[email protected]c7990dbf2014-07-23 22:35:10991 "//gpu:test_support",
[email protected]845c4e32014-08-13 11:50:40992 "//gpu/command_buffer/common:gles2_utils",
[email protected]6e44c302014-07-22 21:51:37993 "//media",
994 "//skia",
995 "//testing/gmock",
996 "//testing/gtest",
997 "//testing/perf",
998 "//ui/gfx",
999 "//ui/gfx/geometry",
jamesr16c04ff2014-11-24 22:24:571000 "//ui/gl",
sadrulba162cd2015-07-20 22:34:261001 "//ui/gl:test_support",
[email protected]6e44c302014-07-22 21:51:371002 ]
1003}
sunnypse619a362015-03-07 00:03:171004# When adding support for isolates, please have a look at run-time dependencies
1005# in the cc_unittests_run target in cc_tests.gyp.