blob: a02ae530e2ce4d1a0738a49870ff6dbc980fb4d9 [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",
ymalikf3a9e63572016-05-20 01:31:0731 "animation/scroll_offset_animations.cc",
32 "animation/scroll_offset_animations.h",
ymalik1b8eeda2016-05-04 16:18:1733 "animation/scroll_offset_animations_impl.cc",
34 "animation/scroll_offset_animations_impl.h",
loyso0c8e4402016-02-25 04:12:3035 "animation/target_property.cc",
36 "animation/target_property.h",
[email protected]d05751a22014-05-29 20:54:2437 "animation/timing_function.cc",
38 "animation/timing_function.h",
39 "animation/transform_operation.cc",
40 "animation/transform_operation.h",
41 "animation/transform_operations.cc",
42 "animation/transform_operations.h",
[email protected]d05751a22014-05-29 20:54:2443 "debug/benchmark_instrumentation.cc",
44 "debug/benchmark_instrumentation.h",
45 "debug/debug_colors.cc",
46 "debug/debug_colors.h",
47 "debug/debug_rect_history.cc",
48 "debug/debug_rect_history.h",
49 "debug/devtools_instrumentation.h",
50 "debug/frame_rate_counter.cc",
51 "debug/frame_rate_counter.h",
hendrikw9385e492014-12-17 21:42:5952 "debug/frame_viewer_instrumentation.cc",
[email protected]d05751a22014-05-29 20:54:2453 "debug/frame_viewer_instrumentation.h",
[email protected]d5ba08c2014-06-18 07:01:0854 "debug/invalidation_benchmark.cc",
55 "debug/invalidation_benchmark.h",
[email protected]d05751a22014-05-29 20:54:2456 "debug/lap_timer.cc",
57 "debug/lap_timer.h",
58 "debug/layer_tree_debug_state.cc",
59 "debug/layer_tree_debug_state.h",
60 "debug/micro_benchmark.cc",
61 "debug/micro_benchmark.h",
[email protected]d05751a22014-05-29 20:54:2462 "debug/micro_benchmark_controller.cc",
63 "debug/micro_benchmark_controller.h",
64 "debug/micro_benchmark_controller_impl.cc",
65 "debug/micro_benchmark_controller_impl.h",
satorux457770e2015-02-18 18:33:3966 "debug/micro_benchmark_impl.cc",
67 "debug/micro_benchmark_impl.h",
ajumad7dd21a2015-01-09 00:57:3168 "debug/picture_debug_util.cc",
69 "debug/picture_debug_util.h",
[email protected]d05751a22014-05-29 20:54:2470 "debug/rasterize_and_record_benchmark.cc",
71 "debug/rasterize_and_record_benchmark.h",
72 "debug/rasterize_and_record_benchmark_impl.cc",
73 "debug/rasterize_and_record_benchmark_impl.h",
74 "debug/rendering_stats.cc",
75 "debug/rendering_stats.h",
76 "debug/rendering_stats_instrumentation.cc",
77 "debug/rendering_stats_instrumentation.h",
78 "debug/ring_buffer.h",
caseq252613a72015-06-19 11:12:5779 "debug/traced_display_item_list.cc",
80 "debug/traced_display_item_list.h",
[email protected]d05751a22014-05-29 20:54:2481 "debug/traced_value.cc",
82 "debug/traced_value.h",
83 "debug/unittest_only_benchmark.cc",
84 "debug/unittest_only_benchmark.h",
85 "debug/unittest_only_benchmark_impl.cc",
86 "debug/unittest_only_benchmark_impl.h",
ccameron36d091f2014-11-07 03:18:5087 "input/input_handler.cc",
[email protected]d05751a22014-05-29 20:54:2488 "input/input_handler.h",
[email protected]b2ba2d42014-07-03 18:14:5089 "input/layer_selection_bound.cc",
90 "input/layer_selection_bound.h",
satorux457770e2015-02-18 18:33:3991 "input/page_scale_animation.cc",
92 "input/page_scale_animation.h",
ccameron4163cc352014-11-13 19:06:3693 "input/scroll_elasticity_helper.cc",
94 "input/scroll_elasticity_helper.h",
tdresserd9e201472015-07-31 13:15:0795 "input/scroll_state.cc",
96 "input/scroll_state.h",
tdresser99c9ff52015-12-14 15:47:0997 "input/scroll_state_data.cc",
98 "input/scroll_state_data.h",
loyso455b4f602016-02-24 02:59:4299 "input/scrollbar_animation_controller.cc",
100 "input/scrollbar_animation_controller.h",
101 "input/scrollbar_animation_controller_linear_fade.cc",
102 "input/scrollbar_animation_controller_linear_fade.h",
103 "input/scrollbar_animation_controller_thinning.cc",
104 "input/scrollbar_animation_controller_thinning.h",
jdduke449b5292015-04-23 19:36:44105 "input/selection.h",
[email protected]d05751a22014-05-29 20:54:24106 "input/top_controls_manager.cc",
107 "input/top_controls_manager.h",
108 "input/top_controls_manager_client.h",
109 "layers/append_quads_data.h",
[email protected]d05751a22014-05-29 20:54:24110 "layers/content_layer_client.h",
ennefffb119c2015-08-29 09:17:30111 "layers/draw_properties.cc",
[email protected]d05751a22014-05-29 20:54:24112 "layers/draw_properties.h",
dtrainor8e9da482016-01-04 09:53:05113 "layers/empty_content_layer_client.cc",
114 "layers/empty_content_layer_client.h",
[email protected]d05751a22014-05-29 20:54:24115 "layers/heads_up_display_layer.cc",
116 "layers/heads_up_display_layer.h",
117 "layers/heads_up_display_layer_impl.cc",
118 "layers/heads_up_display_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24119 "layers/layer.cc",
120 "layers/layer.h",
121 "layers/layer_client.h",
vollick83fbfc82016-03-22 18:33:27122 "layers/layer_collections.h",
[email protected]d05751a22014-05-29 20:54:24123 "layers/layer_impl.cc",
124 "layers/layer_impl.h",
jaydasika1c0a27d42016-04-28 01:54:56125 "layers/layer_impl_test_properties.cc",
126 "layers/layer_impl_test_properties.h",
[email protected]d05751a22014-05-29 20:54:24127 "layers/layer_iterator.h",
vollick44d1c1f2016-03-02 20:59:43128 "layers/layer_list_iterator.cc",
129 "layers/layer_list_iterator.h",
[email protected]d05751a22014-05-29 20:54:24130 "layers/layer_position_constraint.cc",
131 "layers/layer_position_constraint.h",
nyquist353b7d52015-11-06 22:26:53132 "layers/layer_proto_converter.cc",
133 "layers/layer_proto_converter.h",
[email protected]d05751a22014-05-29 20:54:24134 "layers/layer_utils.cc",
135 "layers/layer_utils.h",
136 "layers/nine_patch_layer.cc",
137 "layers/nine_patch_layer.h",
138 "layers/nine_patch_layer_impl.cc",
139 "layers/nine_patch_layer_impl.h",
140 "layers/paint_properties.h",
141 "layers/painted_scrollbar_layer.cc",
142 "layers/painted_scrollbar_layer.h",
143 "layers/painted_scrollbar_layer_impl.cc",
144 "layers/painted_scrollbar_layer_impl.h",
145 "layers/picture_image_layer.cc",
146 "layers/picture_image_layer.h",
147 "layers/picture_image_layer_impl.cc",
148 "layers/picture_image_layer_impl.h",
149 "layers/picture_layer.cc",
150 "layers/picture_layer.h",
151 "layers/picture_layer_impl.cc",
152 "layers/picture_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24153 "layers/render_pass_sink.h",
[email protected]d05751a22014-05-29 20:54:24154 "layers/render_surface_impl.cc",
155 "layers/render_surface_impl.h",
156 "layers/scrollbar_layer_impl_base.cc",
157 "layers/scrollbar_layer_impl_base.h",
158 "layers/scrollbar_layer_interface.h",
159 "layers/solid_color_layer.cc",
160 "layers/solid_color_layer.h",
161 "layers/solid_color_layer_impl.cc",
162 "layers/solid_color_layer_impl.h",
163 "layers/solid_color_scrollbar_layer.cc",
164 "layers/solid_color_scrollbar_layer.h",
165 "layers/solid_color_scrollbar_layer_impl.cc",
166 "layers/solid_color_scrollbar_layer_impl.h",
167 "layers/surface_layer.cc",
168 "layers/surface_layer.h",
169 "layers/surface_layer_impl.cc",
170 "layers/surface_layer_impl.h",
171 "layers/texture_layer.cc",
172 "layers/texture_layer.h",
173 "layers/texture_layer_client.h",
174 "layers/texture_layer_impl.cc",
175 "layers/texture_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24176 "layers/ui_resource_layer.cc",
177 "layers/ui_resource_layer.h",
178 "layers/ui_resource_layer_impl.cc",
179 "layers/ui_resource_layer_impl.h",
180 "layers/video_frame_provider.h",
181 "layers/video_frame_provider_client_impl.cc",
182 "layers/video_frame_provider_client_impl.h",
183 "layers/video_layer.cc",
184 "layers/video_layer.h",
185 "layers/video_layer_impl.cc",
186 "layers/video_layer_impl.h",
bokanaa2748312015-03-26 00:10:37187 "layers/viewport.cc",
188 "layers/viewport.h",
[email protected]d05751a22014-05-29 20:54:24189 "output/begin_frame_args.cc",
190 "output/begin_frame_args.h",
[email protected]2a021fb7b2014-08-02 07:53:49191 "output/bsp_tree.cc",
192 "output/bsp_tree.h",
193 "output/bsp_walk_action.cc",
194 "output/bsp_walk_action.h",
ccameron35db390a2015-11-17 21:22:55195 "output/ca_layer_overlay.cc",
196 "output/ca_layer_overlay.h",
[email protected]d05751a22014-05-29 20:54:24197 "output/compositor_frame.cc",
198 "output/compositor_frame.h",
199 "output/compositor_frame_ack.cc",
200 "output/compositor_frame_ack.h",
201 "output/compositor_frame_metadata.cc",
202 "output/compositor_frame_metadata.h",
[email protected]d05751a22014-05-29 20:54:24203 "output/context_provider.h",
204 "output/copy_output_request.cc",
205 "output/copy_output_request.h",
206 "output/copy_output_result.cc",
207 "output/copy_output_result.h",
[email protected]d05751a22014-05-29 20:54:24208 "output/delegated_frame_data.cc",
[email protected]b2ba2d42014-07-03 18:14:50209 "output/delegated_frame_data.h",
[email protected]d05751a22014-05-29 20:54:24210 "output/delegating_renderer.cc",
211 "output/delegating_renderer.h",
212 "output/direct_renderer.cc",
213 "output/direct_renderer.h",
awoloszyn3d8eb1d2015-03-12 14:38:32214 "output/dynamic_geometry_binding.cc",
215 "output/dynamic_geometry_binding.h",
[email protected]d05751a22014-05-29 20:54:24216 "output/filter_operation.cc",
217 "output/filter_operation.h",
218 "output/filter_operations.cc",
219 "output/filter_operations.h",
220 "output/geometry_binding.cc",
221 "output/geometry_binding.h",
[email protected]d05751a22014-05-29 20:54:24222 "output/gl_frame_data.cc",
[email protected]b2ba2d42014-07-03 18:14:50223 "output/gl_frame_data.h",
[email protected]d05751a22014-05-29 20:54:24224 "output/gl_renderer.cc",
225 "output/gl_renderer.h",
226 "output/gl_renderer_draw_cache.cc",
227 "output/gl_renderer_draw_cache.h",
jamesrf313a212015-03-16 21:27:37228 "output/latency_info_swap_promise.cc",
229 "output/latency_info_swap_promise.h",
danakj920156852015-05-18 20:22:29230 "output/layer_quad.cc",
231 "output/layer_quad.h",
[email protected]d05751a22014-05-29 20:54:24232 "output/managed_memory_policy.cc",
233 "output/managed_memory_policy.h",
234 "output/output_surface.cc",
235 "output/output_surface.h",
236 "output/output_surface_client.h",
237 "output/overlay_candidate.cc",
238 "output/overlay_candidate.h",
239 "output/overlay_candidate_validator.h",
240 "output/overlay_processor.cc",
241 "output/overlay_processor.h",
242 "output/overlay_strategy_single_on_top.cc",
243 "output/overlay_strategy_single_on_top.h",
achaulkf47b4942015-04-01 17:26:08244 "output/overlay_strategy_underlay.cc",
245 "output/overlay_strategy_underlay.h",
[email protected]d05751a22014-05-29 20:54:24246 "output/program_binding.cc",
247 "output/program_binding.h",
248 "output/render_surface_filters.cc",
249 "output/render_surface_filters.h",
250 "output/renderer.cc",
251 "output/renderer.h",
jamesr9b8fda32015-03-16 19:11:05252 "output/renderer_capabilities.cc",
253 "output/renderer_capabilities.h",
jbaumanc5be44c2014-11-20 22:17:12254 "output/renderer_settings.cc",
255 "output/renderer_settings.h",
[email protected]d05751a22014-05-29 20:54:24256 "output/shader.cc",
257 "output/shader.h",
[email protected]d05751a22014-05-29 20:54:24258 "output/software_output_device.cc",
259 "output/software_output_device.h",
260 "output/software_renderer.cc",
261 "output/software_renderer.h",
awoloszyn3d8eb1d2015-03-12 14:38:32262 "output/static_geometry_binding.cc",
263 "output/static_geometry_binding.h",
jamesrf313a212015-03-16 21:27:37264 "output/swap_promise.h",
danakj920156852015-05-18 20:22:29265 "output/texture_mailbox_deleter.cc",
266 "output/texture_mailbox_deleter.h",
dyenb52ecd962016-04-20 23:23:44267 "output/vulkan_context_provider.h",
268 "output/vulkan_in_process_context_provider.cc",
269 "output/vulkan_in_process_context_provider.h",
danakj920156852015-05-18 20:22:29270 "playback/clip_display_item.cc",
271 "playback/clip_display_item.h",
272 "playback/clip_path_display_item.cc",
273 "playback/clip_path_display_item.h",
274 "playback/compositing_display_item.cc",
275 "playback/compositing_display_item.h",
tomhudson836d8182016-04-22 22:15:45276 "playback/decoded_draw_image.cc",
vmpstr9dd810a2016-01-19 21:16:10277 "playback/decoded_draw_image.h",
fmalita7913ee52015-09-09 19:47:31278 "playback/discardable_image_map.cc",
279 "playback/discardable_image_map.h",
danakj920156852015-05-18 20:22:29280 "playback/display_item.cc",
281 "playback/display_item.h",
282 "playback/display_item_list.cc",
283 "playback/display_item_list.h",
jbroman7ae1e4bf2015-06-02 01:44:28284 "playback/display_item_list_settings.cc",
285 "playback/display_item_list_settings.h",
dtrainor2191e4d2015-10-28 16:02:52286 "playback/display_item_proto_factory.cc",
287 "playback/display_item_proto_factory.h",
vmpstr9dd810a2016-01-19 21:16:10288 "playback/draw_image.cc",
vmpstr9116a70f2015-10-14 23:48:34289 "playback/draw_image.h",
danakj920156852015-05-18 20:22:29290 "playback/drawing_display_item.cc",
291 "playback/drawing_display_item.h",
292 "playback/filter_display_item.cc",
293 "playback/filter_display_item.h",
294 "playback/float_clip_display_item.cc",
295 "playback/float_clip_display_item.h",
vmpstr2c9805c2016-03-04 00:07:41296 "playback/image_hijack_canvas.cc",
297 "playback/image_hijack_canvas.h",
danakj920156852015-05-18 20:22:29298 "playback/largest_display_item.cc",
299 "playback/largest_display_item.h",
vmpstr41d68f882016-03-30 01:20:23300 "playback/raster_source.cc",
301 "playback/raster_source.h",
vmpstre17fd212016-03-30 20:03:32302 "playback/recording_source.cc",
303 "playback/recording_source.h",
vmpstrec4a4172016-03-14 22:51:06304 "playback/skip_image_canvas.cc",
305 "playback/skip_image_canvas.h",
danakj920156852015-05-18 20:22:29306 "playback/transform_display_item.cc",
307 "playback/transform_display_item.h",
khushalsagar37694212016-01-15 20:46:48308 "proto/base_conversions.cc",
309 "proto/base_conversions.h",
nyquist04b8bd2e2015-11-24 10:04:17310 "proto/cc_conversions.cc",
311 "proto/cc_conversions.h",
dtrainorddb0b492015-10-19 20:14:44312 "proto/gfx_conversions.cc",
313 "proto/gfx_conversions.h",
nyquist1d29b062015-12-02 02:48:18314 "proto/gpu_conversions.cc",
315 "proto/gpu_conversions.h",
nyquist16febb42016-02-12 00:15:04316 "proto/image_serialization_processor.h",
dtrainor543858f52015-10-23 20:13:55317 "proto/skia_conversions.cc",
318 "proto/skia_conversions.h",
sunxdc36713a2016-03-03 22:31:10319 "proto/synced_property_conversions.cc",
320 "proto/synced_property_conversions.h",
[email protected]d05751a22014-05-29 20:54:24321 "quads/content_draw_quad_base.cc",
322 "quads/content_draw_quad_base.h",
323 "quads/debug_border_draw_quad.cc",
324 "quads/debug_border_draw_quad.h",
[email protected]2a021fb7b2014-08-02 07:53:49325 "quads/draw_polygon.cc",
326 "quads/draw_polygon.h",
[email protected]d05751a22014-05-29 20:54:24327 "quads/draw_quad.cc",
328 "quads/draw_quad.h",
weiliangcfe7b51e2014-11-05 18:20:27329 "quads/largest_draw_quad.cc",
satorux457770e2015-02-18 18:33:39330 "quads/largest_draw_quad.h",
[email protected]d05751a22014-05-29 20:54:24331 "quads/picture_draw_quad.cc",
332 "quads/picture_draw_quad.h",
333 "quads/render_pass.cc",
334 "quads/render_pass.h",
335 "quads/render_pass_draw_quad.cc",
336 "quads/render_pass_draw_quad.h",
[email protected]0cd7d6f72014-08-22 14:50:51337 "quads/render_pass_id.cc",
338 "quads/render_pass_id.h",
[email protected]d05751a22014-05-29 20:54:24339 "quads/shared_quad_state.cc",
340 "quads/shared_quad_state.h",
341 "quads/solid_color_draw_quad.cc",
342 "quads/solid_color_draw_quad.h",
343 "quads/stream_video_draw_quad.cc",
344 "quads/stream_video_draw_quad.h",
345 "quads/surface_draw_quad.cc",
346 "quads/surface_draw_quad.h",
347 "quads/texture_draw_quad.cc",
348 "quads/texture_draw_quad.h",
349 "quads/tile_draw_quad.cc",
350 "quads/tile_draw_quad.h",
351 "quads/yuv_video_draw_quad.cc",
352 "quads/yuv_video_draw_quad.h",
prashant.nb4d4f492016-04-29 12:51:28353 "raster/bitmap_raster_buffer_provider.cc",
354 "raster/bitmap_raster_buffer_provider.h",
355 "raster/gpu_raster_buffer_provider.cc",
356 "raster/gpu_raster_buffer_provider.h",
sunnyps12074d3d2016-06-21 01:57:48357 "raster/gpu_rasterizer.cc",
358 "raster/gpu_rasterizer.h",
prashant.nb4d4f492016-04-29 12:51:28359 "raster/one_copy_raster_buffer_provider.cc",
360 "raster/one_copy_raster_buffer_provider.h",
danakj920156852015-05-18 20:22:29361 "raster/raster_buffer.cc",
362 "raster/raster_buffer.h",
prashant.nb4d4f492016-04-29 12:51:28363 "raster/raster_buffer_provider.cc",
364 "raster/raster_buffer_provider.h",
danakj920156852015-05-18 20:22:29365 "raster/scoped_gpu_raster.cc",
366 "raster/scoped_gpu_raster.h",
ericrk4e3aa5a2015-12-01 03:53:56367 "raster/single_thread_task_graph_runner.cc",
368 "raster/single_thread_task_graph_runner.h",
prashant.na9dd9ef2016-04-08 19:57:10369 "raster/staging_buffer_pool.cc",
370 "raster/staging_buffer_pool.h",
ericrk4e3aa5a2015-12-01 03:53:56371 "raster/synchronous_task_graph_runner.cc",
372 "raster/synchronous_task_graph_runner.h",
prashant.n49b3e64652016-04-19 07:04:49373 "raster/task.cc",
374 "raster/task.h",
ericrk374dee72016-01-13 03:38:05375 "raster/task_category.h",
danakj920156852015-05-18 20:22:29376 "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",
prashant.n6cb1bb82016-04-20 05:15:58383 "raster/tile_task.cc",
384 "raster/tile_task.h",
prashant.nb4d4f492016-04-29 12:51:28385 "raster/zero_copy_raster_buffer_provider.cc",
386 "raster/zero_copy_raster_buffer_provider.h",
[email protected]d05751a22014-05-29 20:54:24387 "resources/memory_history.cc",
388 "resources/memory_history.h",
[email protected]d05751a22014-05-29 20:54:24389 "resources/platform_color.h",
[email protected]d05751a22014-05-29 20:54:24390 "resources/release_callback.h",
reveman423e7da2014-09-23 16:57:44391 "resources/resource.h",
[email protected]c6f0cf62014-07-22 02:44:41392 "resources/resource_format.cc",
[email protected]bf050582014-07-24 11:10:58393 "resources/resource_format.h",
fsamuel6ee49c42016-06-01 11:16:55394 "resources/resource_format_utils.cc",
395 "resources/resource_format_utils.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",
vmpstr64cdba32016-03-03 00:38:40444 "tiles/gpu_image_decode_controller.cc",
445 "tiles/gpu_image_decode_controller.h",
vmpstrc8cf52ab2015-08-03 23:12:50446 "tiles/image_decode_controller.h",
ericrkc7ebaa12016-06-09 21:05:55447 "tiles/mipmap_util.cc",
448 "tiles/mipmap_util.h",
danakj920156852015-05-18 20:22:29449 "tiles/picture_layer_tiling.cc",
450 "tiles/picture_layer_tiling.h",
451 "tiles/picture_layer_tiling_set.cc",
452 "tiles/picture_layer_tiling_set.h",
453 "tiles/prioritized_tile.cc",
454 "tiles/prioritized_tile.h",
455 "tiles/raster_tile_priority_queue.cc",
456 "tiles/raster_tile_priority_queue.h",
457 "tiles/raster_tile_priority_queue_all.cc",
458 "tiles/raster_tile_priority_queue_all.h",
459 "tiles/raster_tile_priority_queue_required.cc",
460 "tiles/raster_tile_priority_queue_required.h",
vmpstr64cdba32016-03-03 00:38:40461 "tiles/software_image_decode_controller.cc",
462 "tiles/software_image_decode_controller.h",
danakj920156852015-05-18 20:22:29463 "tiles/tile.cc",
464 "tiles/tile.h",
465 "tiles/tile_draw_info.cc",
466 "tiles/tile_draw_info.h",
467 "tiles/tile_manager.cc",
468 "tiles/tile_manager.h",
469 "tiles/tile_priority.cc",
470 "tiles/tile_priority.h",
prashant.nb4d4f492016-04-29 12:51:28471 "tiles/tile_task_manager.cc",
472 "tiles/tile_task_manager.h",
danakj920156852015-05-18 20:22:29473 "tiles/tiling_set_eviction_queue.cc",
474 "tiles/tiling_set_eviction_queue.h",
475 "tiles/tiling_set_raster_queue_all.cc",
476 "tiles/tiling_set_raster_queue_all.h",
477 "tiles/tiling_set_raster_queue_required.cc",
478 "tiles/tiling_set_raster_queue_required.h",
[email protected]d05751a22014-05-29 20:54:24479 "trees/blocking_task_runner.cc",
480 "trees/blocking_task_runner.h",
khushalsagar5d6eb982015-09-25 22:44:56481 "trees/channel_impl.h",
482 "trees/channel_main.h",
khushalsagar19458bd2015-12-08 02:19:01483 "trees/compositor_mode.h",
[email protected]d05751a22014-05-29 20:54:24484 "trees/damage_tracker.cc",
485 "trees/damage_tracker.h",
vollick51ed1a22014-12-17 02:03:00486 "trees/draw_property_utils.cc",
487 "trees/draw_property_utils.h",
jamesrf313a212015-03-16 21:27:37488 "trees/latency_info_swap_promise_monitor.cc",
489 "trees/latency_info_swap_promise_monitor.h",
[email protected]d05751a22014-05-29 20:54:24490 "trees/layer_tree_host.cc",
491 "trees/layer_tree_host.h",
492 "trees/layer_tree_host_client.h",
493 "trees/layer_tree_host_common.cc",
494 "trees/layer_tree_host_common.h",
495 "trees/layer_tree_host_impl.cc",
496 "trees/layer_tree_host_impl.h",
ccameron00e438cd2015-03-12 06:18:14497 "trees/layer_tree_host_single_thread_client.h",
[email protected]d05751a22014-05-29 20:54:24498 "trees/layer_tree_impl.cc",
499 "trees/layer_tree_impl.h",
500 "trees/layer_tree_settings.cc",
501 "trees/layer_tree_settings.h",
loysobb93befc2015-07-03 00:19:50502 "trees/mutator_host_client.h",
vmpstrcdcb5f72014-09-11 00:58:37503 "trees/occlusion.cc",
504 "trees/occlusion.h",
[email protected]d05751a22014-05-29 20:54:24505 "trees/occlusion_tracker.cc",
506 "trees/occlusion_tracker.h",
vollick51ed1a22014-12-17 02:03:00507 "trees/property_tree.cc",
508 "trees/property_tree.h",
509 "trees/property_tree_builder.cc",
510 "trees/property_tree_builder.h",
[email protected]d05751a22014-05-29 20:54:24511 "trees/proxy.h",
khushalsagare3c9fa92015-10-28 02:08:29512 "trees/proxy_common.cc",
513 "trees/proxy_common.h",
khushalsagar0a226af2015-12-09 10:30:20514 "trees/proxy_impl.cc",
khushalsagar5d6eb982015-09-25 22:44:56515 "trees/proxy_impl.h",
khushalsagar0a226af2015-12-09 10:30:20516 "trees/proxy_main.cc",
khushalsagar5d6eb982015-09-25 22:44:56517 "trees/proxy_main.h",
khushalsagare0a38d42016-01-29 01:15:06518 "trees/remote_channel_impl.cc",
519 "trees/remote_channel_impl.h",
520 "trees/remote_channel_main.cc",
521 "trees/remote_channel_main.h",
dtrainor5ef644e2015-11-19 00:12:47522 "trees/remote_proto_channel.h",
[email protected]aeeedad2014-08-22 18:16:22523 "trees/scoped_abort_remaining_swap_promises.h",
[email protected]d05751a22014-05-29 20:54:24524 "trees/single_thread_proxy.cc",
525 "trees/single_thread_proxy.h",
jamesrf313a212015-03-16 21:27:37526 "trees/swap_promise_monitor.cc",
527 "trees/swap_promise_monitor.h",
khushalsagarb64b360d2015-10-21 19:25:16528 "trees/task_runner_provider.cc",
529 "trees/task_runner_provider.h",
khushalsagar5d6eb982015-09-25 22:44:56530 "trees/threaded_channel.cc",
531 "trees/threaded_channel.h",
[email protected]d05751a22014-05-29 20:54:24532 "trees/tree_synchronizer.cc",
533 "trees/tree_synchronizer.h",
534 ]
535
agrieveefcd0222016-06-08 15:48:19536 if (current_cpu == "x86" || current_cpu == "x64") {
thakis4a0c5482015-06-08 20:51:29537 sources += [
538 "raster/texture_compressor_etc1_sse.cc",
539 "raster/texture_compressor_etc1_sse.h",
540 ]
541 }
542
brettwbc8b2a22015-07-28 18:24:42543 configs += [ "//build/config:precompiled_headers" ]
544
Brett Wilsone53895272014-09-23 23:41:46545 public_deps = [
jamesrf313a212015-03-16 21:27:37546 "//cc/base",
Brett Wilsone53895272014-09-23 23:41:46547 "//skia",
548 ]
[email protected]d05751a22014-05-29 20:54:24549 deps = [
550 "//base",
551 "//base/third_party/dynamic_annotations",
dtrainorddb0b492015-10-19 20:14:44552 "//cc/proto",
jamesr16c04ff2014-11-24 22:24:57553 "//cc/surfaces:surface_id",
[email protected]d05751a22014-05-29 20:54:24554 "//gpu",
jbromancba3d2fe2014-09-16 01:04:24555 "//gpu/command_buffer/client:gles2_interface",
[email protected]6e44c302014-07-22 21:51:37556 "//media",
Nico Weber9d6e12942016-04-19 18:51:09557 "//ui/events:events_base",
[email protected]d05751a22014-05-29 20:54:24558 "//ui/gfx",
559 "//ui/gfx/geometry",
ericrkf08855b42015-08-06 00:20:22560 "//ui/gl",
[email protected]d05751a22014-05-29 20:54:24561 ]
[email protected]d05751a22014-05-29 20:54:24562
[email protected]3ffa36a2014-07-24 21:01:50563 defines = [ "CC_IMPLEMENTATION=1" ]
[email protected]d05751a22014-05-29 20:54:24564
fdegans75b3d092014-09-17 18:35:55565 if (!is_debug && (is_win || is_android)) {
brettw4cab0f12015-09-14 21:40:01566 configs -= [ "//build/config/compiler:default_optimization" ]
[email protected]d05751a22014-05-29 20:54:24567 configs += [ "//build/config/compiler:optimize_max" ]
568 }
dyen8a145fb72016-03-31 00:37:51569
570 if (enable_vulkan) {
dyen136e05c2016-04-06 22:28:27571 sources += [
dyen136e05c2016-04-06 22:28:27572 "output/vulkan_renderer.cc",
573 "output/vulkan_renderer.h",
dyen8a145fb72016-03-31 00:37:51574 ]
575
dyen136e05c2016-04-06 22:28:27576 deps += [ "//gpu/vulkan" ]
dyen8a145fb72016-03-31 00:37:51577 }
[email protected]d05751a22014-05-29 20:54:24578}
579
[email protected]d05751a22014-05-29 20:54:24580source_set("test_support") {
Brett Wilson8f80ad0b2014-09-08 19:50:24581 testonly = true
[email protected]d05751a22014-05-29 20:54:24582 sources = [
583 "test/animation_test_common.cc",
584 "test/animation_test_common.h",
loysobb93befc2015-07-03 00:19:50585 "test/animation_timelines_test_common.cc",
586 "test/animation_timelines_test_common.h",
[email protected]d05751a22014-05-29 20:54:24587 "test/begin_frame_args_test.cc",
588 "test/begin_frame_args_test.h",
mithro6be81902015-12-04 05:58:46589 "test/begin_frame_source_test.cc",
590 "test/begin_frame_source_test.h",
satorux457770e2015-02-18 18:33:39591 "test/failure_output_surface.cc",
592 "test/failure_output_surface.h",
khushalsagar0f081c42015-12-16 07:04:20593 "test/fake_channel_impl.cc",
594 "test/fake_channel_impl.h",
[email protected]d05751a22014-05-29 20:54:24595 "test/fake_content_layer_client.cc",
596 "test/fake_content_layer_client.h",
danakj6e3bf8012014-12-16 18:27:53597 "test/fake_external_begin_frame_source.cc",
598 "test/fake_external_begin_frame_source.h",
nyquist16febb42016-02-12 00:15:04599 "test/fake_image_serialization_processor.cc",
600 "test/fake_image_serialization_processor.h",
khushalsagarb64b360d2015-10-21 19:25:16601 "test/fake_impl_task_runner_provider.h",
[email protected]d05751a22014-05-29 20:54:24602 "test/fake_layer_tree_host.cc",
603 "test/fake_layer_tree_host.h",
604 "test/fake_layer_tree_host_client.cc",
605 "test/fake_layer_tree_host_client.h",
606 "test/fake_layer_tree_host_impl.cc",
607 "test/fake_layer_tree_host_impl.h",
608 "test/fake_layer_tree_host_impl_client.cc",
609 "test/fake_layer_tree_host_impl_client.h",
ajumad9432e32015-11-30 19:43:44610 "test/fake_mask_layer_impl.cc",
611 "test/fake_mask_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24612 "test/fake_output_surface.cc",
613 "test/fake_output_surface.h",
614 "test/fake_output_surface_client.cc",
615 "test/fake_output_surface_client.h",
616 "test/fake_painted_scrollbar_layer.cc",
617 "test/fake_painted_scrollbar_layer.h",
618 "test/fake_picture_layer.cc",
619 "test/fake_picture_layer.h",
620 "test/fake_picture_layer_impl.cc",
621 "test/fake_picture_layer_impl.h",
622 "test/fake_picture_layer_tiling_client.cc",
623 "test/fake_picture_layer_tiling_client.h",
[email protected]d05751a22014-05-29 20:54:24624 "test/fake_proxy.cc",
625 "test/fake_proxy.h",
prashant.nb4d4f492016-04-29 12:51:28626 "test/fake_raster_buffer_provider.cc",
627 "test/fake_raster_buffer_provider.h",
vmpstr41d68f882016-03-30 01:20:23628 "test/fake_raster_source.cc",
629 "test/fake_raster_source.h",
vmpstre17fd212016-03-30 20:03:32630 "test/fake_recording_source.cc",
631 "test/fake_recording_source.h",
[email protected]d05751a22014-05-29 20:54:24632 "test/fake_renderer_client.cc",
633 "test/fake_renderer_client.h",
634 "test/fake_rendering_stats_instrumentation.h",
danakj61bf05f2015-05-26 23:28:56635 "test/fake_resource_provider.h",
[email protected]d05751a22014-05-29 20:54:24636 "test/fake_scoped_ui_resource.cc",
637 "test/fake_scoped_ui_resource.h",
638 "test/fake_scrollbar.cc",
639 "test/fake_scrollbar.h",
640 "test/fake_tile_manager.cc",
641 "test/fake_tile_manager.h",
642 "test/fake_tile_manager_client.cc",
643 "test/fake_tile_manager_client.h",
prashant.nb4d4f492016-04-29 12:51:28644 "test/fake_tile_task_manager.cc",
645 "test/fake_tile_task_manager.h",
[email protected]d05751a22014-05-29 20:54:24646 "test/fake_ui_resource_layer_tree_host_impl.cc",
647 "test/fake_ui_resource_layer_tree_host_impl.h",
648 "test/fake_video_frame_provider.cc",
649 "test/fake_video_frame_provider.h",
650 "test/geometry_test_utils.cc",
651 "test/geometry_test_utils.h",
[email protected]d05751a22014-05-29 20:54:24652 "test/layer_test_common.cc",
653 "test/layer_test_common.h",
654 "test/layer_tree_host_common_test.cc",
655 "test/layer_tree_host_common_test.h",
656 "test/layer_tree_json_parser.cc",
657 "test/layer_tree_json_parser.h",
enne03dbe8ae2014-10-30 01:32:55658 "test/layer_tree_pixel_resource_test.cc",
659 "test/layer_tree_pixel_resource_test.h",
[email protected]d05751a22014-05-29 20:54:24660 "test/layer_tree_pixel_test.cc",
661 "test/layer_tree_pixel_test.h",
weiliangc365a6fe2016-05-12 19:32:31662 "test/layer_tree_settings_for_testing.cc",
663 "test/layer_tree_settings_for_testing.h",
[email protected]d05751a22014-05-29 20:54:24664 "test/layer_tree_test.cc",
665 "test/layer_tree_test.h",
mithro6be81902015-12-04 05:58:46666 "test/mock_helper.h",
[email protected]ba16cce2014-06-17 17:03:50667 "test/mock_occlusion_tracker.h",
[email protected]d5ba08c2014-06-18 07:01:08668 "test/ordered_simple_task_runner.cc",
669 "test/ordered_simple_task_runner.h",
[email protected]d05751a22014-05-29 20:54:24670 "test/ordered_texture_map.cc",
671 "test/ordered_texture_map.h",
672 "test/paths.cc",
673 "test/paths.h",
674 "test/pixel_comparator.cc",
675 "test/pixel_comparator.h",
676 "test/pixel_test.cc",
677 "test/pixel_test.h",
danakjeaba8a82016-05-27 01:21:43678 "test/pixel_test_delegating_output_surface.cc",
679 "test/pixel_test_delegating_output_surface.h",
[email protected]d05751a22014-05-29 20:54:24680 "test/pixel_test_output_surface.cc",
681 "test/pixel_test_output_surface.h",
682 "test/pixel_test_software_output_device.cc",
683 "test/pixel_test_software_output_device.h",
684 "test/pixel_test_utils.cc",
685 "test/pixel_test_utils.h",
khushalsagar0a226af2015-12-09 10:30:20686 "test/proxy_impl_for_test.cc",
687 "test/proxy_impl_for_test.h",
688 "test/proxy_main_for_test.cc",
689 "test/proxy_main_for_test.h",
khushalsagare0a38d42016-01-29 01:15:06690 "test/remote_channel_impl_for_test.cc",
691 "test/remote_channel_impl_for_test.h",
692 "test/remote_proto_channel_bridge.cc",
693 "test/remote_proto_channel_bridge.h",
[email protected]d05751a22014-05-29 20:54:24694 "test/render_pass_test_utils.cc",
695 "test/render_pass_test_utils.h",
696 "test/scheduler_test_common.cc",
697 "test/scheduler_test_common.h",
698 "test/skia_common.cc",
699 "test/skia_common.h",
700 "test/solid_color_content_layer_client.cc",
701 "test/solid_color_content_layer_client.h",
fsamuel7a615102015-10-23 21:25:16702 "test/surface_aggregator_test_helpers.cc",
703 "test/surface_aggregator_test_helpers.h",
704 "test/surface_hittest_test_helpers.cc",
705 "test/surface_hittest_test_helpers.h",
ericrk4e3aa5a2015-12-01 03:53:56706 "test/task_graph_runner_test_template.cc",
707 "test/task_graph_runner_test_template.h",
[email protected]d05751a22014-05-29 20:54:24708 "test/test_context_provider.cc",
709 "test/test_context_provider.h",
710 "test/test_context_support.cc",
711 "test/test_context_support.h",
712 "test/test_gles2_interface.cc",
713 "test/test_gles2_interface.h",
reveman22dd9292014-10-13 20:52:05714 "test/test_gpu_memory_buffer_manager.cc",
715 "test/test_gpu_memory_buffer_manager.h",
khushalsagar0a226af2015-12-09 10:30:20716 "test/test_hooks.cc",
717 "test/test_hooks.h",
reveman2232bce2014-10-29 01:28:05718 "test/test_image_factory.cc",
719 "test/test_image_factory.h",
satorux457770e2015-02-18 18:33:39720 "test/test_in_process_context_provider.cc",
721 "test/test_in_process_context_provider.h",
vmpstr6edf66ce2016-05-18 20:12:22722 "test/test_layer_tree_host_base.cc",
723 "test/test_layer_tree_host_base.h",
[email protected]d05751a22014-05-29 20:54:24724 "test/test_occlusion_tracker.h",
725 "test/test_shared_bitmap_manager.cc",
726 "test/test_shared_bitmap_manager.h",
reveman34b7a1522015-03-23 20:27:47727 "test/test_task_graph_runner.cc",
728 "test/test_task_graph_runner.h",
[email protected]d05751a22014-05-29 20:54:24729 "test/test_texture.cc",
730 "test/test_texture.h",
731 "test/test_tile_priorities.cc",
732 "test/test_tile_priorities.h",
prashant.n7c706022016-05-26 19:00:09733 "test/test_tile_task_runner.cc",
734 "test/test_tile_task_runner.h",
[email protected]d05751a22014-05-29 20:54:24735 "test/test_web_graphics_context_3d.cc",
736 "test/test_web_graphics_context_3d.h",
khushalsagar0a226af2015-12-09 10:30:20737 "test/threaded_channel_for_test.cc",
738 "test/threaded_channel_for_test.h",
[email protected]d05751a22014-05-29 20:54:24739 ]
740
brettwbc8b2a22015-07-28 18:24:42741 configs += [ "//build/config:precompiled_headers" ]
[email protected]d05751a22014-05-29 20:54:24742
Brett Wilson0380637c2014-09-19 21:24:40743 public_deps = [
744 ":cc",
Brett Wilsone53895272014-09-23 23:41:46745 "//gpu:test_support",
Brett Wilson0380637c2014-09-19 21:24:40746 ]
[email protected]d05751a22014-05-29 20:54:24747 deps = [
748 "//base",
jamesr16c04ff2014-11-24 22:24:57749 "//base/test:test_support",
[email protected]d05751a22014-05-29 20:54:24750 "//base/third_party/dynamic_annotations",
khushalsagare0a38d42016-01-29 01:15:06751 "//cc/proto",
fsamuel7a615102015-10-23 21:25:16752 "//cc/surfaces",
753 "//cc/surfaces:surface_id",
agrieved7a71c882015-11-20 19:53:28754 "//gpu/command_buffer/client:gl_in_process_context",
[email protected]d05751a22014-05-29 20:54:24755 "//gpu/command_buffer/client:gles2_c_lib",
756 "//gpu/command_buffer/client:gles2_implementation",
[email protected]845c4e32014-08-13 11:50:40757 "//gpu/command_buffer/common:gles2_utils",
[email protected]d05751a22014-05-29 20:54:24758 "//gpu/skia_bindings",
jamesr16c04ff2014-11-24 22:24:57759 "//media",
[email protected]d05751a22014-05-29 20:54:24760 "//skia",
761 "//testing/gmock",
762 "//testing/gtest",
brettwf9427f92016-05-05 23:18:55763 "//third_party/mesa:osmesa",
[email protected]d05751a22014-05-29 20:54:24764 "//ui/gfx",
[email protected]e54a1f522014-07-22 23:26:48765 "//ui/gfx:test_support",
agrieved7a71c882015-11-20 19:53:28766 "//ui/gfx/geometry",
[email protected]d05751a22014-05-29 20:54:24767 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26768 "//ui/gl:test_support",
[email protected]d05751a22014-05-29 20:54:24769 ]
770}
771
brettw4897a612015-03-02 23:13:15772test("cc_unittests") {
773 sources = [
loysobb93befc2015-07-03 00:19:50774 "animation/animation_host_unittest.cc",
775 "animation/animation_player_unittest.cc",
776 "animation/animation_timeline_unittest.cc",
brettw4897a612015-03-02 23:13:15777 "animation/animation_unittest.cc",
loysobb93befc2015-07-03 00:19:50778 "animation/element_animations_unittest.cc",
brettw4897a612015-03-02 23:13:15779 "animation/keyframed_animation_curve_unittest.cc",
brettw4897a612015-03-02 23:13:15780 "animation/scroll_offset_animation_curve_unittest.cc",
brettw4897a612015-03-02 23:13:15781 "animation/transform_operations_unittest.cc",
enne797d82332015-12-01 01:34:58782 "base/contiguous_container_unittest.cc",
brettwd649f6b2015-08-18 20:58:51783 "base/delayed_unique_notifier_unittest.cc",
brettw4897a612015-03-02 23:13:15784 "base/float_quad_unittest.cc",
jbroman7b5b0552015-05-28 03:36:58785 "base/histograms_unittest.cc",
prashant.n7f1fe3d2015-06-05 18:26:04786 "base/list_container_unittest.cc",
brettw4897a612015-03-02 23:13:15787 "base/math_util_unittest.cc",
vmpstrb10241fc2015-09-18 01:10:12788 "base/random_access_list_container_unittest.cc",
brettw4897a612015-03-02 23:13:15789 "base/region_unittest.cc",
790 "base/rolling_time_delta_history_unittest.cc",
vmpstrb3ceb8222015-09-23 20:25:25791 "base/rtree_unittest.cc",
brettw4897a612015-03-02 23:13:15792 "base/simple_enclosed_region_unittest.cc",
793 "base/tiling_data_unittest.cc",
brettwd649f6b2015-08-18 20:58:51794 "base/unique_notifier_unittest.cc",
nyquist74a9aca2015-12-01 22:39:04795 "debug/layer_tree_debug_state_unittest.cc",
brettw4897a612015-03-02 23:13:15796 "debug/micro_benchmark_controller_unittest.cc",
brettwd649f6b2015-08-18 20:58:51797 "debug/rendering_stats_unittest.cc",
nyquist9de8ad82015-12-18 20:09:06798 "input/layer_selection_bound_unittest.cc",
tdresserd9e201472015-07-31 13:15:07799 "input/scroll_state_unittest.cc",
loyso455b4f602016-02-24 02:59:42800 "input/scrollbar_animation_controller_linear_fade_unittest.cc",
801 "input/scrollbar_animation_controller_thinning_unittest.cc",
brettw4897a612015-03-02 23:13:15802 "input/top_controls_manager_unittest.cc",
fsamuelf76098e2016-05-18 17:26:51803 "ipc/cc_param_traits_unittest.cc",
fsamuel410c9602016-05-31 21:50:20804 "ipc/struct_traits_unittest.cc",
brettw4897a612015-03-02 23:13:15805 "layers/heads_up_display_layer_impl_unittest.cc",
806 "layers/heads_up_display_unittest.cc",
brettw4897a612015-03-02 23:13:15807 "layers/layer_impl_unittest.cc",
808 "layers/layer_iterator_unittest.cc",
vollick44d1c1f2016-03-02 20:59:43809 "layers/layer_list_iterator_unittest.cc",
brettw4897a612015-03-02 23:13:15810 "layers/layer_position_constraint_unittest.cc",
nyquist353b7d52015-11-06 22:26:53811 "layers/layer_proto_converter_unittest.cc",
brettw4897a612015-03-02 23:13:15812 "layers/layer_unittest.cc",
813 "layers/layer_utils_unittest.cc",
814 "layers/nine_patch_layer_impl_unittest.cc",
815 "layers/nine_patch_layer_unittest.cc",
816 "layers/painted_scrollbar_layer_impl_unittest.cc",
ccamerona54da382015-11-27 00:52:33817 "layers/painted_scrollbar_layer_unittest.cc",
brettw4897a612015-03-02 23:13:15818 "layers/picture_image_layer_impl_unittest.cc",
819 "layers/picture_image_layer_unittest.cc",
820 "layers/picture_layer_impl_unittest.cc",
821 "layers/picture_layer_unittest.cc",
822 "layers/render_surface_impl_unittest.cc",
823 "layers/render_surface_unittest.cc",
824 "layers/scrollbar_layer_unittest.cc",
825 "layers/solid_color_layer_impl_unittest.cc",
826 "layers/solid_color_scrollbar_layer_impl_unittest.cc",
827 "layers/surface_layer_impl_unittest.cc",
828 "layers/surface_layer_unittest.cc",
829 "layers/texture_layer_impl_unittest.cc",
830 "layers/texture_layer_unittest.cc",
brettw4897a612015-03-02 23:13:15831 "layers/ui_resource_layer_impl_unittest.cc",
832 "layers/ui_resource_layer_unittest.cc",
dalecurtisb8396642015-06-09 18:38:14833 "layers/video_frame_provider_client_impl_unittest.cc",
brettw4897a612015-03-02 23:13:15834 "layers/video_layer_impl_unittest.cc",
ymalik99740e852016-04-07 04:18:13835 "layers/viewport_unittest.cc",
brettw4897a612015-03-02 23:13:15836 "output/begin_frame_args_unittest.cc",
brettwd649f6b2015-08-18 20:58:51837 "output/bsp_tree_unittest.cc",
brettw4897a612015-03-02 23:13:15838 "output/delegating_renderer_unittest.cc",
839 "output/filter_operations_unittest.cc",
840 "output/gl_renderer_unittest.cc",
danakj920156852015-05-18 20:22:29841 "output/layer_quad_unittest.cc",
nyquist1d29b062015-12-02 02:48:18842 "output/managed_memory_policy_unittest.cc",
brettw4897a612015-03-02 23:13:15843 "output/output_surface_unittest.cc",
844 "output/overlay_unittest.cc",
845 "output/renderer_pixeltest.cc",
nyquistb974b9a2015-12-02 00:08:35846 "output/renderer_settings_unittest.cc",
brettw4897a612015-03-02 23:13:15847 "output/renderer_unittest.cc",
848 "output/shader_unittest.cc",
849 "output/software_renderer_unittest.cc",
danakj920156852015-05-18 20:22:29850 "output/texture_mailbox_deleter_unittest.cc",
fmalita7913ee52015-09-09 19:47:31851 "playback/discardable_image_map_unittest.cc",
danakj920156852015-05-18 20:22:29852 "playback/display_item_list_unittest.cc",
vmpstr41d68f882016-03-30 01:20:23853 "playback/raster_source_unittest.cc",
vmpstre17fd212016-03-30 20:03:32854 "playback/recording_source_unittest.cc",
khushalsagar37694212016-01-15 20:46:48855 "proto/base_conversions_unittest.cc",
nyquist04b8bd2e2015-11-24 10:04:17856 "proto/cc_conversions_unittest.cc",
dtrainorddb0b492015-10-19 20:14:44857 "proto/gfx_conversions_unittest.cc",
nyquist1d29b062015-12-02 02:48:18858 "proto/gpu_conversions_unittest.cc",
dtrainor543858f52015-10-23 20:13:55859 "proto/skia_conversions_unittest.cc",
sunxdc36713a2016-03-03 22:31:10860 "proto/synced_property_conversions_unittest.cc",
brettwd649f6b2015-08-18 20:58:51861 "quads/draw_polygon_unittest.cc",
brettw4897a612015-03-02 23:13:15862 "quads/draw_quad_unittest.cc",
brettw4897a612015-03-02 23:13:15863 "quads/render_pass_unittest.cc",
prashant.nb4d4f492016-04-29 12:51:28864 "raster/raster_buffer_provider_unittest.cc",
danakj920156852015-05-18 20:22:29865 "raster/scoped_gpu_raster_unittest.cc",
ericrk4e3aa5a2015-12-01 03:53:56866 "raster/single_thread_task_graph_runner_unittest.cc",
867 "raster/synchronous_task_graph_runner_unittest.cc",
danakj920156852015-05-18 20:22:29868 "raster/texture_compressor_etc1_unittest.cc",
brettw4897a612015-03-02 23:13:15869 "resources/platform_color_unittest.cc",
boliucb788f42015-07-22 23:49:28870 "resources/resource_pool_unittest.cc",
brettw4897a612015-03-02 23:13:15871 "resources/resource_provider_unittest.cc",
prashant.n8e494282015-08-03 07:13:41872 "resources/resource_util_unittest.cc",
brettw4897a612015-03-02 23:13:15873 "resources/scoped_resource_unittest.cc",
brettw4897a612015-03-02 23:13:15874 "resources/video_resource_updater_unittest.cc",
875 "scheduler/begin_frame_source_unittest.cc",
khushalsagar0b3d9e12016-01-14 21:10:18876 "scheduler/commit_earlyout_reason_unittest.cc",
brianderson68749812015-07-07 22:39:39877 "scheduler/compositor_timing_history_unittest.cc",
brettw4897a612015-03-02 23:13:15878 "scheduler/delay_based_time_source_unittest.cc",
879 "scheduler/scheduler_state_machine_unittest.cc",
880 "scheduler/scheduler_unittest.cc",
mithro6be81902015-12-04 05:58:46881 "test/begin_frame_source_test_unittest.cc",
brettw4897a612015-03-02 23:13:15882 "test/layer_tree_json_parser_unittest.cc",
mithro6be81902015-12-04 05:58:46883 "test/mock_helper_unittest.cc",
brettwd649f6b2015-08-18 20:58:51884 "test/ordered_simple_task_runner_unittest.cc",
brettw4897a612015-03-02 23:13:15885 "test/test_web_graphics_context_3d_unittest.cc",
ericrkd2ff2a132016-04-11 22:16:00886 "tiles/gpu_image_decode_controller_unittest.cc",
ericrkc7ebaa12016-06-09 21:05:55887 "tiles/mipmap_util_unittest.cc",
danakj920156852015-05-18 20:22:29888 "tiles/picture_layer_tiling_set_unittest.cc",
889 "tiles/picture_layer_tiling_unittest.cc",
vmpstr64cdba32016-03-03 00:38:40890 "tiles/software_image_decode_controller_unittest.cc",
danakj920156852015-05-18 20:22:29891 "tiles/tile_manager_unittest.cc",
892 "tiles/tile_priority_unittest.cc",
brettw4897a612015-03-02 23:13:15893 "trees/blocking_task_runner_unittest.cc",
894 "trees/damage_tracker_unittest.cc",
brettw4897a612015-03-02 23:13:15895 "trees/layer_tree_host_common_unittest.cc",
896 "trees/layer_tree_host_impl_unittest.cc",
897 "trees/layer_tree_host_pixeltest_blending.cc",
898 "trees/layer_tree_host_pixeltest_filters.cc",
899 "trees/layer_tree_host_pixeltest_masks.cc",
900 "trees/layer_tree_host_pixeltest_readback.cc",
901 "trees/layer_tree_host_pixeltest_synchronous.cc",
danakje0b54782015-05-29 22:47:52902 "trees/layer_tree_host_pixeltest_tiles.cc",
brettw4897a612015-03-02 23:13:15903 "trees/layer_tree_host_unittest.cc",
904 "trees/layer_tree_host_unittest_animation.cc",
905 "trees/layer_tree_host_unittest_context.cc",
906 "trees/layer_tree_host_unittest_copyrequest.cc",
907 "trees/layer_tree_host_unittest_damage.cc",
brettw4897a612015-03-02 23:13:15908 "trees/layer_tree_host_unittest_occlusion.cc",
909 "trees/layer_tree_host_unittest_picture.cc",
910 "trees/layer_tree_host_unittest_proxy.cc",
khushalsagarb54107d02015-12-10 20:20:56911 "trees/layer_tree_host_unittest_record_gpu_histogram.cc",
khushalsagarb0d8691b2016-01-30 02:47:17912 "trees/layer_tree_host_unittest_remote_server.cc",
brettw4897a612015-03-02 23:13:15913 "trees/layer_tree_host_unittest_scroll.cc",
nyquist4f5e8afd2016-01-14 17:40:36914 "trees/layer_tree_host_unittest_serialization.cc",
brettw4897a612015-03-02 23:13:15915 "trees/layer_tree_host_unittest_video.cc",
916 "trees/layer_tree_impl_unittest.cc",
nyquist2fe752c2015-12-10 20:12:51917 "trees/layer_tree_settings_unittest.cc",
brettw4897a612015-03-02 23:13:15918 "trees/occlusion_tracker_unittest.cc",
919 "trees/occlusion_unittest.cc",
920 "trees/property_tree_unittest.cc",
khushalsagar37694212016-01-15 20:46:48921 "trees/proxy_common_unittest.cc",
khushalsagar0f081c42015-12-16 07:04:20922 "trees/proxy_impl_unittest.cc",
khushalsagare0a38d42016-01-29 01:15:06923 "trees/remote_channel_unittest.cc",
khushalsagare3c9fa92015-10-28 02:08:29924 "trees/threaded_channel_unittest.cc",
brettw4897a612015-03-02 23:13:15925 "trees/tree_synchronizer_unittest.cc",
[email protected]d05751a22014-05-29 20:54:24926
brettw4897a612015-03-02 23:13:15927 # Surfaces test files.
brettwd649f6b2015-08-18 20:58:51928 "surfaces/display_scheduler_unittest.cc",
929 "surfaces/display_unittest.cc",
brettw4897a612015-03-02 23:13:15930 "surfaces/surface_aggregator_unittest.cc",
brettwd649f6b2015-08-18 20:58:51931 "surfaces/surface_display_output_surface_unittest.cc",
932 "surfaces/surface_factory_unittest.cc",
lfg8d07c91d2015-08-07 16:13:20933 "surfaces/surface_hittest_unittest.cc",
enne4e3c9d52016-03-09 00:25:12934 "surfaces/surface_manager_unittest.cc",
brettw4897a612015-03-02 23:13:15935 "surfaces/surface_unittest.cc",
936 "surfaces/surfaces_pixeltest.cc",
[email protected]d05751a22014-05-29 20:54:24937
brettw4897a612015-03-02 23:13:15938 # Setup.
939 "test/cc_test_suite.cc",
940 "test/run_all_unittests.cc",
941 ]
[email protected]d05751a22014-05-29 20:54:24942
brettwbc8b2a22015-07-28 18:24:42943 configs += [ "//build/config:precompiled_headers" ]
agrievee41ae190d2016-04-25 14:12:51944 if (!is_android) {
945 data = [
946 "test/data/",
947 ]
948 }
dpranke177c1e22015-07-22 23:07:43949
brettw4897a612015-03-02 23:13:15950 deps = [
951 ":cc",
952 ":test_support",
953 "//base/test:test_support",
fsamuelf76098e2016-05-18 17:26:51954 "//cc/ipc",
fsamuel410c9602016-05-31 21:50:20955 "//cc/ipc:test_interfaces",
dtrainorddb0b492015-10-19 20:14:44956 "//cc/proto",
brettw4897a612015-03-02 23:13:15957 "//cc/surfaces",
958 "//cc/surfaces:surface_id",
959 "//gpu",
960 "//gpu:test_support",
961 "//gpu/command_buffer/client:gles2_interface",
962 "//gpu/command_buffer/common:gles2_utils",
963 "//media",
fsamuel410c9602016-05-31 21:50:20964 "//mojo/edk/system",
965 "//mojo/public/cpp/bindings",
brettw4897a612015-03-02 23:13:15966 "//testing/gmock",
967 "//testing/gtest",
Nico Weber9d6e12942016-04-19 18:51:09968 "//ui/events:events_base",
brettw4897a612015-03-02 23:13:15969 "//ui/gfx",
brettw4897a612015-03-02 23:13:15970 "//ui/gfx:test_support",
agrieved7a71c882015-11-20 19:53:28971 "//ui/gfx/geometry",
brettw4897a612015-03-02 23:13:15972 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26973 "//ui/gl:test_support",
brettw4897a612015-03-02 23:13:15974 ]
dpranke177c1e22015-07-22 23:07:43975
vmpstr9116a70f2015-10-14 23:48:34976 data_deps = [
977 "//third_party/mesa:osmesa",
978 ]
[email protected]d05751a22014-05-29 20:54:24979}
980
981test("cc_perftests") {
[email protected]6e44c302014-07-22 21:51:37982 sources = [
loysoa4a59a42016-02-10 06:49:26983 "animation/animation_host_perftest.cc",
fsamuelf76098e2016-05-18 17:26:51984 "ipc/cc_param_traits_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37985 "layers/layer_perftest.cc",
986 "layers/picture_layer_impl_perftest.cc",
vmpstr0b044512015-05-29 02:58:03987 "quads/draw_quad_perftest.cc",
prashant.nb4d4f492016-04-29 12:51:28988 "raster/raster_buffer_provider_perftest.cc",
danakj920156852015-05-18 20:22:29989 "raster/task_graph_runner_perftest.cc",
990 "raster/texture_compressor_perftest.cc",
jbauman39be2012015-04-16 01:33:08991 "surfaces/surface_aggregator_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37992 "test/cc_test_suite.cc",
993 "test/run_all_perftests.cc",
danakj920156852015-05-18 20:22:29994 "tiles/tile_manager_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37995 "trees/layer_tree_host_common_perftest.cc",
996 "trees/layer_tree_host_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37997 ]
[email protected]d05751a22014-05-29 20:54:24998
[email protected]6e44c302014-07-22 21:51:37999 deps = [
1000 ":cc",
1001 ":test_support",
1002 "//base",
jamesr16c04ff2014-11-24 22:24:571003 "//base/test:test_support",
fsamuelf76098e2016-05-18 17:26:511004 "//cc/ipc",
jbauman39be2012015-04-16 01:33:081005 "//cc/surfaces",
1006 "//cc/surfaces:surface_id",
[email protected]6e44c302014-07-22 21:51:371007 "//gpu",
[email protected]c7990dbf2014-07-23 22:35:101008 "//gpu:test_support",
[email protected]845c4e32014-08-13 11:50:401009 "//gpu/command_buffer/common:gles2_utils",
[email protected]6e44c302014-07-22 21:51:371010 "//media",
1011 "//skia",
1012 "//testing/gmock",
1013 "//testing/gtest",
1014 "//testing/perf",
1015 "//ui/gfx",
1016 "//ui/gfx/geometry",
jamesr16c04ff2014-11-24 22:24:571017 "//ui/gl",
sadrulba162cd2015-07-20 22:34:261018 "//ui/gl:test_support",
[email protected]6e44c302014-07-22 21:51:371019 ]
krasinca63e412016-05-12 02:53:251020
1021 # This target should not require the Chrome executable to run.
1022 assert_no_deps = [ "//chrome" ]
[email protected]6e44c302014-07-22 21:51:371023}
sunnypse619a362015-03-07 00:03:171024# When adding support for isolates, please have a look at run-time dependencies
1025# in the cc_unittests_run target in cc_tests.gyp.