blob: 2064895febede6a491977df673654b722bff43bf [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",
nyquistfbaee112016-06-24 23:15:1343 "blimp/client_picture_cache.h",
44 "blimp/engine_picture_cache.h",
45 "blimp/image_serialization_processor.h",
46 "blimp/picture_data.cc",
47 "blimp/picture_data.h",
48 "blimp/picture_data_conversions.cc",
49 "blimp/picture_data_conversions.h",
[email protected]d05751a22014-05-29 20:54:2450 "debug/benchmark_instrumentation.cc",
51 "debug/benchmark_instrumentation.h",
52 "debug/debug_colors.cc",
53 "debug/debug_colors.h",
54 "debug/debug_rect_history.cc",
55 "debug/debug_rect_history.h",
56 "debug/devtools_instrumentation.h",
57 "debug/frame_rate_counter.cc",
58 "debug/frame_rate_counter.h",
hendrikw9385e492014-12-17 21:42:5959 "debug/frame_viewer_instrumentation.cc",
[email protected]d05751a22014-05-29 20:54:2460 "debug/frame_viewer_instrumentation.h",
[email protected]d5ba08c2014-06-18 07:01:0861 "debug/invalidation_benchmark.cc",
62 "debug/invalidation_benchmark.h",
[email protected]d05751a22014-05-29 20:54:2463 "debug/lap_timer.cc",
64 "debug/lap_timer.h",
65 "debug/layer_tree_debug_state.cc",
66 "debug/layer_tree_debug_state.h",
67 "debug/micro_benchmark.cc",
68 "debug/micro_benchmark.h",
[email protected]d05751a22014-05-29 20:54:2469 "debug/micro_benchmark_controller.cc",
70 "debug/micro_benchmark_controller.h",
71 "debug/micro_benchmark_controller_impl.cc",
72 "debug/micro_benchmark_controller_impl.h",
satorux457770e2015-02-18 18:33:3973 "debug/micro_benchmark_impl.cc",
74 "debug/micro_benchmark_impl.h",
ajumad7dd21a2015-01-09 00:57:3175 "debug/picture_debug_util.cc",
76 "debug/picture_debug_util.h",
[email protected]d05751a22014-05-29 20:54:2477 "debug/rasterize_and_record_benchmark.cc",
78 "debug/rasterize_and_record_benchmark.h",
79 "debug/rasterize_and_record_benchmark_impl.cc",
80 "debug/rasterize_and_record_benchmark_impl.h",
81 "debug/rendering_stats.cc",
82 "debug/rendering_stats.h",
83 "debug/rendering_stats_instrumentation.cc",
84 "debug/rendering_stats_instrumentation.h",
85 "debug/ring_buffer.h",
caseq252613a72015-06-19 11:12:5786 "debug/traced_display_item_list.cc",
87 "debug/traced_display_item_list.h",
[email protected]d05751a22014-05-29 20:54:2488 "debug/traced_value.cc",
89 "debug/traced_value.h",
90 "debug/unittest_only_benchmark.cc",
91 "debug/unittest_only_benchmark.h",
92 "debug/unittest_only_benchmark_impl.cc",
93 "debug/unittest_only_benchmark_impl.h",
ccameron36d091f2014-11-07 03:18:5094 "input/input_handler.cc",
[email protected]d05751a22014-05-29 20:54:2495 "input/input_handler.h",
[email protected]b2ba2d42014-07-03 18:14:5096 "input/layer_selection_bound.cc",
97 "input/layer_selection_bound.h",
satorux457770e2015-02-18 18:33:3998 "input/page_scale_animation.cc",
99 "input/page_scale_animation.h",
ccameron4163cc352014-11-13 19:06:36100 "input/scroll_elasticity_helper.cc",
101 "input/scroll_elasticity_helper.h",
tdresserd9e201472015-07-31 13:15:07102 "input/scroll_state.cc",
103 "input/scroll_state.h",
tdresser99c9ff52015-12-14 15:47:09104 "input/scroll_state_data.cc",
105 "input/scroll_state_data.h",
loyso455b4f602016-02-24 02:59:42106 "input/scrollbar_animation_controller.cc",
107 "input/scrollbar_animation_controller.h",
108 "input/scrollbar_animation_controller_linear_fade.cc",
109 "input/scrollbar_animation_controller_linear_fade.h",
110 "input/scrollbar_animation_controller_thinning.cc",
111 "input/scrollbar_animation_controller_thinning.h",
jdduke449b5292015-04-23 19:36:44112 "input/selection.h",
[email protected]d05751a22014-05-29 20:54:24113 "input/top_controls_manager.cc",
114 "input/top_controls_manager.h",
115 "input/top_controls_manager_client.h",
116 "layers/append_quads_data.h",
[email protected]d05751a22014-05-29 20:54:24117 "layers/content_layer_client.h",
ennefffb119c2015-08-29 09:17:30118 "layers/draw_properties.cc",
[email protected]d05751a22014-05-29 20:54:24119 "layers/draw_properties.h",
dtrainor8e9da482016-01-04 09:53:05120 "layers/empty_content_layer_client.cc",
121 "layers/empty_content_layer_client.h",
[email protected]d05751a22014-05-29 20:54:24122 "layers/heads_up_display_layer.cc",
123 "layers/heads_up_display_layer.h",
124 "layers/heads_up_display_layer_impl.cc",
125 "layers/heads_up_display_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24126 "layers/layer.cc",
127 "layers/layer.h",
128 "layers/layer_client.h",
vollick83fbfc82016-03-22 18:33:27129 "layers/layer_collections.h",
[email protected]d05751a22014-05-29 20:54:24130 "layers/layer_impl.cc",
131 "layers/layer_impl.h",
jaydasika1c0a27d42016-04-28 01:54:56132 "layers/layer_impl_test_properties.cc",
133 "layers/layer_impl_test_properties.h",
[email protected]d05751a22014-05-29 20:54:24134 "layers/layer_iterator.h",
vollick44d1c1f2016-03-02 20:59:43135 "layers/layer_list_iterator.cc",
136 "layers/layer_list_iterator.h",
[email protected]d05751a22014-05-29 20:54:24137 "layers/layer_position_constraint.cc",
138 "layers/layer_position_constraint.h",
nyquist353b7d52015-11-06 22:26:53139 "layers/layer_proto_converter.cc",
140 "layers/layer_proto_converter.h",
[email protected]d05751a22014-05-29 20:54:24141 "layers/layer_utils.cc",
142 "layers/layer_utils.h",
143 "layers/nine_patch_layer.cc",
144 "layers/nine_patch_layer.h",
145 "layers/nine_patch_layer_impl.cc",
146 "layers/nine_patch_layer_impl.h",
147 "layers/paint_properties.h",
148 "layers/painted_scrollbar_layer.cc",
149 "layers/painted_scrollbar_layer.h",
150 "layers/painted_scrollbar_layer_impl.cc",
151 "layers/painted_scrollbar_layer_impl.h",
152 "layers/picture_image_layer.cc",
153 "layers/picture_image_layer.h",
[email protected]d05751a22014-05-29 20:54:24154 "layers/picture_layer.cc",
155 "layers/picture_layer.h",
156 "layers/picture_layer_impl.cc",
157 "layers/picture_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24158 "layers/render_pass_sink.h",
[email protected]d05751a22014-05-29 20:54:24159 "layers/render_surface_impl.cc",
160 "layers/render_surface_impl.h",
161 "layers/scrollbar_layer_impl_base.cc",
162 "layers/scrollbar_layer_impl_base.h",
163 "layers/scrollbar_layer_interface.h",
164 "layers/solid_color_layer.cc",
165 "layers/solid_color_layer.h",
166 "layers/solid_color_layer_impl.cc",
167 "layers/solid_color_layer_impl.h",
168 "layers/solid_color_scrollbar_layer.cc",
169 "layers/solid_color_scrollbar_layer.h",
170 "layers/solid_color_scrollbar_layer_impl.cc",
171 "layers/solid_color_scrollbar_layer_impl.h",
172 "layers/surface_layer.cc",
173 "layers/surface_layer.h",
174 "layers/surface_layer_impl.cc",
175 "layers/surface_layer_impl.h",
176 "layers/texture_layer.cc",
177 "layers/texture_layer.h",
178 "layers/texture_layer_client.h",
179 "layers/texture_layer_impl.cc",
180 "layers/texture_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24181 "layers/ui_resource_layer.cc",
182 "layers/ui_resource_layer.h",
183 "layers/ui_resource_layer_impl.cc",
184 "layers/ui_resource_layer_impl.h",
185 "layers/video_frame_provider.h",
186 "layers/video_frame_provider_client_impl.cc",
187 "layers/video_frame_provider_client_impl.h",
188 "layers/video_layer.cc",
189 "layers/video_layer.h",
190 "layers/video_layer_impl.cc",
191 "layers/video_layer_impl.h",
bokanaa2748312015-03-26 00:10:37192 "layers/viewport.cc",
193 "layers/viewport.h",
[email protected]d05751a22014-05-29 20:54:24194 "output/begin_frame_args.cc",
195 "output/begin_frame_args.h",
[email protected]2a021fb7b2014-08-02 07:53:49196 "output/bsp_tree.cc",
197 "output/bsp_tree.h",
198 "output/bsp_walk_action.cc",
199 "output/bsp_walk_action.h",
ccameron35db390a2015-11-17 21:22:55200 "output/ca_layer_overlay.cc",
201 "output/ca_layer_overlay.h",
[email protected]d05751a22014-05-29 20:54:24202 "output/compositor_frame.cc",
203 "output/compositor_frame.h",
204 "output/compositor_frame_ack.cc",
205 "output/compositor_frame_ack.h",
206 "output/compositor_frame_metadata.cc",
207 "output/compositor_frame_metadata.h",
[email protected]d05751a22014-05-29 20:54:24208 "output/context_provider.h",
209 "output/copy_output_request.cc",
210 "output/copy_output_request.h",
211 "output/copy_output_result.cc",
212 "output/copy_output_result.h",
[email protected]d05751a22014-05-29 20:54:24213 "output/delegated_frame_data.cc",
[email protected]b2ba2d42014-07-03 18:14:50214 "output/delegated_frame_data.h",
[email protected]d05751a22014-05-29 20:54:24215 "output/delegating_renderer.cc",
216 "output/delegating_renderer.h",
217 "output/direct_renderer.cc",
218 "output/direct_renderer.h",
awoloszyn3d8eb1d2015-03-12 14:38:32219 "output/dynamic_geometry_binding.cc",
220 "output/dynamic_geometry_binding.h",
[email protected]d05751a22014-05-29 20:54:24221 "output/filter_operation.cc",
222 "output/filter_operation.h",
223 "output/filter_operations.cc",
224 "output/filter_operations.h",
225 "output/geometry_binding.cc",
226 "output/geometry_binding.h",
[email protected]d05751a22014-05-29 20:54:24227 "output/gl_frame_data.cc",
[email protected]b2ba2d42014-07-03 18:14:50228 "output/gl_frame_data.h",
[email protected]d05751a22014-05-29 20:54:24229 "output/gl_renderer.cc",
230 "output/gl_renderer.h",
231 "output/gl_renderer_draw_cache.cc",
232 "output/gl_renderer_draw_cache.h",
jamesrf313a212015-03-16 21:27:37233 "output/latency_info_swap_promise.cc",
234 "output/latency_info_swap_promise.h",
danakj920156852015-05-18 20:22:29235 "output/layer_quad.cc",
236 "output/layer_quad.h",
[email protected]d05751a22014-05-29 20:54:24237 "output/managed_memory_policy.cc",
238 "output/managed_memory_policy.h",
239 "output/output_surface.cc",
240 "output/output_surface.h",
241 "output/output_surface_client.h",
242 "output/overlay_candidate.cc",
243 "output/overlay_candidate.h",
244 "output/overlay_candidate_validator.h",
245 "output/overlay_processor.cc",
246 "output/overlay_processor.h",
247 "output/overlay_strategy_single_on_top.cc",
248 "output/overlay_strategy_single_on_top.h",
achaulkf47b4942015-04-01 17:26:08249 "output/overlay_strategy_underlay.cc",
250 "output/overlay_strategy_underlay.h",
[email protected]d05751a22014-05-29 20:54:24251 "output/program_binding.cc",
252 "output/program_binding.h",
253 "output/render_surface_filters.cc",
254 "output/render_surface_filters.h",
255 "output/renderer.cc",
256 "output/renderer.h",
jamesr9b8fda32015-03-16 19:11:05257 "output/renderer_capabilities.cc",
258 "output/renderer_capabilities.h",
jbaumanc5be44c2014-11-20 22:17:12259 "output/renderer_settings.cc",
260 "output/renderer_settings.h",
[email protected]d05751a22014-05-29 20:54:24261 "output/shader.cc",
262 "output/shader.h",
[email protected]d05751a22014-05-29 20:54:24263 "output/software_output_device.cc",
264 "output/software_output_device.h",
265 "output/software_renderer.cc",
266 "output/software_renderer.h",
awoloszyn3d8eb1d2015-03-12 14:38:32267 "output/static_geometry_binding.cc",
268 "output/static_geometry_binding.h",
jamesrf313a212015-03-16 21:27:37269 "output/swap_promise.h",
danakj920156852015-05-18 20:22:29270 "output/texture_mailbox_deleter.cc",
271 "output/texture_mailbox_deleter.h",
dyenb52ecd962016-04-20 23:23:44272 "output/vulkan_context_provider.h",
273 "output/vulkan_in_process_context_provider.cc",
274 "output/vulkan_in_process_context_provider.h",
danakj920156852015-05-18 20:22:29275 "playback/clip_display_item.cc",
276 "playback/clip_display_item.h",
277 "playback/clip_path_display_item.cc",
278 "playback/clip_path_display_item.h",
279 "playback/compositing_display_item.cc",
280 "playback/compositing_display_item.h",
tomhudson836d8182016-04-22 22:15:45281 "playback/decoded_draw_image.cc",
vmpstr9dd810a2016-01-19 21:16:10282 "playback/decoded_draw_image.h",
fmalita7913ee52015-09-09 19:47:31283 "playback/discardable_image_map.cc",
284 "playback/discardable_image_map.h",
danakj920156852015-05-18 20:22:29285 "playback/display_item.cc",
286 "playback/display_item.h",
287 "playback/display_item_list.cc",
288 "playback/display_item_list.h",
jbroman7ae1e4bf2015-06-02 01:44:28289 "playback/display_item_list_settings.cc",
290 "playback/display_item_list_settings.h",
dtrainor2191e4d2015-10-28 16:02:52291 "playback/display_item_proto_factory.cc",
292 "playback/display_item_proto_factory.h",
vmpstr9dd810a2016-01-19 21:16:10293 "playback/draw_image.cc",
vmpstr9116a70f2015-10-14 23:48:34294 "playback/draw_image.h",
danakj920156852015-05-18 20:22:29295 "playback/drawing_display_item.cc",
296 "playback/drawing_display_item.h",
297 "playback/filter_display_item.cc",
298 "playback/filter_display_item.h",
299 "playback/float_clip_display_item.cc",
300 "playback/float_clip_display_item.h",
vmpstr2c9805c2016-03-04 00:07:41301 "playback/image_hijack_canvas.cc",
302 "playback/image_hijack_canvas.h",
danakj920156852015-05-18 20:22:29303 "playback/largest_display_item.cc",
304 "playback/largest_display_item.h",
vmpstr41d68f882016-03-30 01:20:23305 "playback/raster_source.cc",
306 "playback/raster_source.h",
vmpstre17fd212016-03-30 20:03:32307 "playback/recording_source.cc",
308 "playback/recording_source.h",
vmpstrec4a4172016-03-14 22:51:06309 "playback/skip_image_canvas.cc",
310 "playback/skip_image_canvas.h",
danakj920156852015-05-18 20:22:29311 "playback/transform_display_item.cc",
312 "playback/transform_display_item.h",
khushalsagar37694212016-01-15 20:46:48313 "proto/base_conversions.cc",
314 "proto/base_conversions.h",
nyquist04b8bd2e2015-11-24 10:04:17315 "proto/cc_conversions.cc",
316 "proto/cc_conversions.h",
dtrainorddb0b492015-10-19 20:14:44317 "proto/gfx_conversions.cc",
318 "proto/gfx_conversions.h",
nyquist1d29b062015-12-02 02:48:18319 "proto/gpu_conversions.cc",
320 "proto/gpu_conversions.h",
dtrainor543858f52015-10-23 20:13:55321 "proto/skia_conversions.cc",
322 "proto/skia_conversions.h",
sunxdc36713a2016-03-03 22:31:10323 "proto/synced_property_conversions.cc",
324 "proto/synced_property_conversions.h",
[email protected]d05751a22014-05-29 20:54:24325 "quads/content_draw_quad_base.cc",
326 "quads/content_draw_quad_base.h",
327 "quads/debug_border_draw_quad.cc",
328 "quads/debug_border_draw_quad.h",
[email protected]2a021fb7b2014-08-02 07:53:49329 "quads/draw_polygon.cc",
330 "quads/draw_polygon.h",
[email protected]d05751a22014-05-29 20:54:24331 "quads/draw_quad.cc",
332 "quads/draw_quad.h",
weiliangcfe7b51e2014-11-05 18:20:27333 "quads/largest_draw_quad.cc",
satorux457770e2015-02-18 18:33:39334 "quads/largest_draw_quad.h",
[email protected]d05751a22014-05-29 20:54:24335 "quads/picture_draw_quad.cc",
336 "quads/picture_draw_quad.h",
337 "quads/render_pass.cc",
338 "quads/render_pass.h",
339 "quads/render_pass_draw_quad.cc",
340 "quads/render_pass_draw_quad.h",
[email protected]0cd7d6f72014-08-22 14:50:51341 "quads/render_pass_id.cc",
342 "quads/render_pass_id.h",
[email protected]d05751a22014-05-29 20:54:24343 "quads/shared_quad_state.cc",
344 "quads/shared_quad_state.h",
345 "quads/solid_color_draw_quad.cc",
346 "quads/solid_color_draw_quad.h",
347 "quads/stream_video_draw_quad.cc",
348 "quads/stream_video_draw_quad.h",
349 "quads/surface_draw_quad.cc",
350 "quads/surface_draw_quad.h",
351 "quads/texture_draw_quad.cc",
352 "quads/texture_draw_quad.h",
353 "quads/tile_draw_quad.cc",
354 "quads/tile_draw_quad.h",
355 "quads/yuv_video_draw_quad.cc",
356 "quads/yuv_video_draw_quad.h",
prashant.nb4d4f492016-04-29 12:51:28357 "raster/bitmap_raster_buffer_provider.cc",
358 "raster/bitmap_raster_buffer_provider.h",
359 "raster/gpu_raster_buffer_provider.cc",
360 "raster/gpu_raster_buffer_provider.h",
prashant.nb4d4f492016-04-29 12:51:28361 "raster/one_copy_raster_buffer_provider.cc",
362 "raster/one_copy_raster_buffer_provider.h",
danakj920156852015-05-18 20:22:29363 "raster/raster_buffer.cc",
364 "raster/raster_buffer.h",
prashant.nb4d4f492016-04-29 12:51:28365 "raster/raster_buffer_provider.cc",
366 "raster/raster_buffer_provider.h",
danakj920156852015-05-18 20:22:29367 "raster/scoped_gpu_raster.cc",
368 "raster/scoped_gpu_raster.h",
ericrk4e3aa5a2015-12-01 03:53:56369 "raster/single_thread_task_graph_runner.cc",
370 "raster/single_thread_task_graph_runner.h",
prashant.na9dd9ef2016-04-08 19:57:10371 "raster/staging_buffer_pool.cc",
372 "raster/staging_buffer_pool.h",
ericrk4e3aa5a2015-12-01 03:53:56373 "raster/synchronous_task_graph_runner.cc",
374 "raster/synchronous_task_graph_runner.h",
prashant.n49b3e64652016-04-19 07:04:49375 "raster/task.cc",
376 "raster/task.h",
ericrk374dee72016-01-13 03:38:05377 "raster/task_category.h",
danakj920156852015-05-18 20:22:29378 "raster/task_graph_runner.h",
ericrk4e3aa5a2015-12-01 03:53:56379 "raster/task_graph_work_queue.cc",
380 "raster/task_graph_work_queue.h",
danakj920156852015-05-18 20:22:29381 "raster/texture_compressor.cc",
382 "raster/texture_compressor.h",
383 "raster/texture_compressor_etc1.cc",
384 "raster/texture_compressor_etc1.h",
prashant.n6cb1bb82016-04-20 05:15:58385 "raster/tile_task.cc",
386 "raster/tile_task.h",
prashant.nb4d4f492016-04-29 12:51:28387 "raster/zero_copy_raster_buffer_provider.cc",
388 "raster/zero_copy_raster_buffer_provider.h",
[email protected]d05751a22014-05-29 20:54:24389 "resources/memory_history.cc",
390 "resources/memory_history.h",
[email protected]d05751a22014-05-29 20:54:24391 "resources/platform_color.h",
[email protected]d05751a22014-05-29 20:54:24392 "resources/release_callback.h",
reveman423e7da2014-09-23 16:57:44393 "resources/resource.h",
[email protected]c6f0cf62014-07-22 02:44:41394 "resources/resource_format.cc",
[email protected]bf050582014-07-24 11:10:58395 "resources/resource_format.h",
fsamuel6ee49c42016-06-01 11:16:55396 "resources/resource_format_utils.cc",
397 "resources/resource_format_utils.h",
[email protected]d05751a22014-05-29 20:54:24398 "resources/resource_pool.cc",
399 "resources/resource_pool.h",
400 "resources/resource_provider.cc",
401 "resources/resource_provider.h",
prashant.n8e494282015-08-03 07:13:41402 "resources/resource_util.h",
[email protected]d05751a22014-05-29 20:54:24403 "resources/returned_resource.h",
404 "resources/scoped_resource.cc",
405 "resources/scoped_resource.h",
406 "resources/scoped_ui_resource.cc",
407 "resources/scoped_ui_resource.h",
408 "resources/shared_bitmap.cc",
409 "resources/shared_bitmap.h",
410 "resources/shared_bitmap_manager.h",
411 "resources/single_release_callback.cc",
412 "resources/single_release_callback.h",
skyostil3976a3f2014-09-04 22:07:23413 "resources/single_release_callback_impl.cc",
414 "resources/single_release_callback_impl.h",
[email protected]d05751a22014-05-29 20:54:24415 "resources/texture_mailbox.cc",
reveman423e7da2014-09-23 16:57:44416 "resources/texture_mailbox.h",
[email protected]d05751a22014-05-29 20:54:24417 "resources/transferable_resource.cc",
418 "resources/transferable_resource.h",
419 "resources/ui_resource_bitmap.cc",
420 "resources/ui_resource_bitmap.h",
421 "resources/ui_resource_client.h",
422 "resources/ui_resource_request.cc",
423 "resources/ui_resource_request.h",
424 "resources/video_resource_updater.cc",
425 "resources/video_resource_updater.h",
mithroc34fc0b12014-09-30 09:10:41426 "scheduler/begin_frame_source.cc",
427 "scheduler/begin_frame_source.h",
mithro0bdb49d2015-05-27 13:08:01428 "scheduler/begin_frame_tracker.cc",
429 "scheduler/begin_frame_tracker.h",
khushalsagar0b3d9e12016-01-14 21:10:18430 "scheduler/commit_earlyout_reason.cc",
mithrof7a21502014-12-17 03:24:48431 "scheduler/commit_earlyout_reason.h",
briandersonc9f50352015-06-24 03:38:58432 "scheduler/compositor_timing_history.cc",
433 "scheduler/compositor_timing_history.h",
[email protected]d05751a22014-05-29 20:54:24434 "scheduler/delay_based_time_source.cc",
435 "scheduler/delay_based_time_source.h",
436 "scheduler/draw_result.h",
437 "scheduler/scheduler.cc",
438 "scheduler/scheduler.h",
439 "scheduler/scheduler_settings.cc",
440 "scheduler/scheduler_settings.h",
441 "scheduler/scheduler_state_machine.cc",
442 "scheduler/scheduler_state_machine.h",
sunnyps7d073dc2015-04-16 23:29:12443 "scheduler/video_frame_controller.h",
danakj920156852015-05-18 20:22:29444 "tiles/eviction_tile_priority_queue.cc",
445 "tiles/eviction_tile_priority_queue.h",
vmpstr64cdba32016-03-03 00:38:40446 "tiles/gpu_image_decode_controller.cc",
447 "tiles/gpu_image_decode_controller.h",
vmpstrc8cf52ab2015-08-03 23:12:50448 "tiles/image_decode_controller.h",
ericrkc7ebaa12016-06-09 21:05:55449 "tiles/mipmap_util.cc",
450 "tiles/mipmap_util.h",
danakj920156852015-05-18 20:22:29451 "tiles/picture_layer_tiling.cc",
452 "tiles/picture_layer_tiling.h",
453 "tiles/picture_layer_tiling_set.cc",
454 "tiles/picture_layer_tiling_set.h",
455 "tiles/prioritized_tile.cc",
456 "tiles/prioritized_tile.h",
457 "tiles/raster_tile_priority_queue.cc",
458 "tiles/raster_tile_priority_queue.h",
459 "tiles/raster_tile_priority_queue_all.cc",
460 "tiles/raster_tile_priority_queue_all.h",
461 "tiles/raster_tile_priority_queue_required.cc",
462 "tiles/raster_tile_priority_queue_required.h",
vmpstr64cdba32016-03-03 00:38:40463 "tiles/software_image_decode_controller.cc",
464 "tiles/software_image_decode_controller.h",
danakj920156852015-05-18 20:22:29465 "tiles/tile.cc",
466 "tiles/tile.h",
467 "tiles/tile_draw_info.cc",
468 "tiles/tile_draw_info.h",
469 "tiles/tile_manager.cc",
470 "tiles/tile_manager.h",
471 "tiles/tile_priority.cc",
472 "tiles/tile_priority.h",
prashant.nb4d4f492016-04-29 12:51:28473 "tiles/tile_task_manager.cc",
474 "tiles/tile_task_manager.h",
danakj920156852015-05-18 20:22:29475 "tiles/tiling_set_eviction_queue.cc",
476 "tiles/tiling_set_eviction_queue.h",
477 "tiles/tiling_set_raster_queue_all.cc",
478 "tiles/tiling_set_raster_queue_all.h",
479 "tiles/tiling_set_raster_queue_required.cc",
480 "tiles/tiling_set_raster_queue_required.h",
[email protected]d05751a22014-05-29 20:54:24481 "trees/blocking_task_runner.cc",
482 "trees/blocking_task_runner.h",
khushalsagar5d6eb982015-09-25 22:44:56483 "trees/channel_impl.h",
484 "trees/channel_main.h",
khushalsagar19458bd2015-12-08 02:19:01485 "trees/compositor_mode.h",
[email protected]d05751a22014-05-29 20:54:24486 "trees/damage_tracker.cc",
487 "trees/damage_tracker.h",
vollick51ed1a22014-12-17 02:03:00488 "trees/draw_property_utils.cc",
489 "trees/draw_property_utils.h",
jamesrf313a212015-03-16 21:27:37490 "trees/latency_info_swap_promise_monitor.cc",
491 "trees/latency_info_swap_promise_monitor.h",
[email protected]d05751a22014-05-29 20:54:24492 "trees/layer_tree_host.cc",
493 "trees/layer_tree_host.h",
494 "trees/layer_tree_host_client.h",
495 "trees/layer_tree_host_common.cc",
496 "trees/layer_tree_host_common.h",
497 "trees/layer_tree_host_impl.cc",
498 "trees/layer_tree_host_impl.h",
ccameron00e438cd2015-03-12 06:18:14499 "trees/layer_tree_host_single_thread_client.h",
[email protected]d05751a22014-05-29 20:54:24500 "trees/layer_tree_impl.cc",
501 "trees/layer_tree_impl.h",
502 "trees/layer_tree_settings.cc",
503 "trees/layer_tree_settings.h",
loysobb93befc2015-07-03 00:19:50504 "trees/mutator_host_client.h",
vmpstrcdcb5f72014-09-11 00:58:37505 "trees/occlusion.cc",
506 "trees/occlusion.h",
[email protected]d05751a22014-05-29 20:54:24507 "trees/occlusion_tracker.cc",
508 "trees/occlusion_tracker.h",
vollick51ed1a22014-12-17 02:03:00509 "trees/property_tree.cc",
510 "trees/property_tree.h",
511 "trees/property_tree_builder.cc",
512 "trees/property_tree_builder.h",
[email protected]d05751a22014-05-29 20:54:24513 "trees/proxy.h",
khushalsagare3c9fa92015-10-28 02:08:29514 "trees/proxy_common.cc",
515 "trees/proxy_common.h",
khushalsagar0a226af2015-12-09 10:30:20516 "trees/proxy_impl.cc",
khushalsagar5d6eb982015-09-25 22:44:56517 "trees/proxy_impl.h",
khushalsagar0a226af2015-12-09 10:30:20518 "trees/proxy_main.cc",
khushalsagar5d6eb982015-09-25 22:44:56519 "trees/proxy_main.h",
khushalsagare0a38d42016-01-29 01:15:06520 "trees/remote_channel_impl.cc",
521 "trees/remote_channel_impl.h",
522 "trees/remote_channel_main.cc",
523 "trees/remote_channel_main.h",
dtrainor5ef644e2015-11-19 00:12:47524 "trees/remote_proto_channel.h",
[email protected]aeeedad2014-08-22 18:16:22525 "trees/scoped_abort_remaining_swap_promises.h",
[email protected]d05751a22014-05-29 20:54:24526 "trees/single_thread_proxy.cc",
527 "trees/single_thread_proxy.h",
jamesrf313a212015-03-16 21:27:37528 "trees/swap_promise_monitor.cc",
529 "trees/swap_promise_monitor.h",
khushalsagarb64b360d2015-10-21 19:25:16530 "trees/task_runner_provider.cc",
531 "trees/task_runner_provider.h",
khushalsagar5d6eb982015-09-25 22:44:56532 "trees/threaded_channel.cc",
533 "trees/threaded_channel.h",
[email protected]d05751a22014-05-29 20:54:24534 "trees/tree_synchronizer.cc",
535 "trees/tree_synchronizer.h",
536 ]
537
agrieveefcd0222016-06-08 15:48:19538 if (current_cpu == "x86" || current_cpu == "x64") {
thakis4a0c5482015-06-08 20:51:29539 sources += [
540 "raster/texture_compressor_etc1_sse.cc",
541 "raster/texture_compressor_etc1_sse.h",
542 ]
543 }
544
brettwbc8b2a22015-07-28 18:24:42545 configs += [ "//build/config:precompiled_headers" ]
546
Brett Wilsone53895272014-09-23 23:41:46547 public_deps = [
jamesrf313a212015-03-16 21:27:37548 "//cc/base",
Brett Wilsone53895272014-09-23 23:41:46549 "//skia",
550 ]
[email protected]d05751a22014-05-29 20:54:24551 deps = [
552 "//base",
553 "//base/third_party/dynamic_annotations",
dtrainorddb0b492015-10-19 20:14:44554 "//cc/proto",
jamesr16c04ff2014-11-24 22:24:57555 "//cc/surfaces:surface_id",
[email protected]d05751a22014-05-29 20:54:24556 "//gpu",
jbromancba3d2fe2014-09-16 01:04:24557 "//gpu/command_buffer/client:gles2_interface",
[email protected]6e44c302014-07-22 21:51:37558 "//media",
Nico Weber9d6e12942016-04-19 18:51:09559 "//ui/events:events_base",
[email protected]d05751a22014-05-29 20:54:24560 "//ui/gfx",
561 "//ui/gfx/geometry",
ericrkf08855b42015-08-06 00:20:22562 "//ui/gl",
[email protected]d05751a22014-05-29 20:54:24563 ]
[email protected]d05751a22014-05-29 20:54:24564
[email protected]3ffa36a2014-07-24 21:01:50565 defines = [ "CC_IMPLEMENTATION=1" ]
[email protected]d05751a22014-05-29 20:54:24566
fdegans75b3d092014-09-17 18:35:55567 if (!is_debug && (is_win || is_android)) {
brettw4cab0f12015-09-14 21:40:01568 configs -= [ "//build/config/compiler:default_optimization" ]
[email protected]d05751a22014-05-29 20:54:24569 configs += [ "//build/config/compiler:optimize_max" ]
570 }
dyen8a145fb72016-03-31 00:37:51571
572 if (enable_vulkan) {
dyen136e05c2016-04-06 22:28:27573 sources += [
dyen136e05c2016-04-06 22:28:27574 "output/vulkan_renderer.cc",
575 "output/vulkan_renderer.h",
dyen8a145fb72016-03-31 00:37:51576 ]
577
dyen136e05c2016-04-06 22:28:27578 deps += [ "//gpu/vulkan" ]
dyen8a145fb72016-03-31 00:37:51579 }
[email protected]d05751a22014-05-29 20:54:24580}
581
[email protected]d05751a22014-05-29 20:54:24582source_set("test_support") {
Brett Wilson8f80ad0b2014-09-08 19:50:24583 testonly = true
[email protected]d05751a22014-05-29 20:54:24584 sources = [
585 "test/animation_test_common.cc",
586 "test/animation_test_common.h",
loysobb93befc2015-07-03 00:19:50587 "test/animation_timelines_test_common.cc",
588 "test/animation_timelines_test_common.h",
[email protected]d05751a22014-05-29 20:54:24589 "test/begin_frame_args_test.cc",
590 "test/begin_frame_args_test.h",
mithro6be81902015-12-04 05:58:46591 "test/begin_frame_source_test.cc",
592 "test/begin_frame_source_test.h",
satorux457770e2015-02-18 18:33:39593 "test/failure_output_surface.cc",
594 "test/failure_output_surface.h",
khushalsagar0f081c42015-12-16 07:04:20595 "test/fake_channel_impl.cc",
596 "test/fake_channel_impl.h",
nyquistfbaee112016-06-24 23:15:13597 "test/fake_client_picture_cache.cc",
598 "test/fake_client_picture_cache.h",
[email protected]d05751a22014-05-29 20:54:24599 "test/fake_content_layer_client.cc",
600 "test/fake_content_layer_client.h",
nyquistfbaee112016-06-24 23:15:13601 "test/fake_engine_picture_cache.cc",
602 "test/fake_engine_picture_cache.h",
danakj6e3bf8012014-12-16 18:27:53603 "test/fake_external_begin_frame_source.cc",
604 "test/fake_external_begin_frame_source.h",
nyquist16febb42016-02-12 00:15:04605 "test/fake_image_serialization_processor.cc",
606 "test/fake_image_serialization_processor.h",
khushalsagarb64b360d2015-10-21 19:25:16607 "test/fake_impl_task_runner_provider.h",
[email protected]d05751a22014-05-29 20:54:24608 "test/fake_layer_tree_host.cc",
609 "test/fake_layer_tree_host.h",
610 "test/fake_layer_tree_host_client.cc",
611 "test/fake_layer_tree_host_client.h",
612 "test/fake_layer_tree_host_impl.cc",
613 "test/fake_layer_tree_host_impl.h",
614 "test/fake_layer_tree_host_impl_client.cc",
615 "test/fake_layer_tree_host_impl_client.h",
ajumad9432e32015-11-30 19:43:44616 "test/fake_mask_layer_impl.cc",
617 "test/fake_mask_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24618 "test/fake_output_surface.cc",
619 "test/fake_output_surface.h",
620 "test/fake_output_surface_client.cc",
621 "test/fake_output_surface_client.h",
622 "test/fake_painted_scrollbar_layer.cc",
623 "test/fake_painted_scrollbar_layer.h",
624 "test/fake_picture_layer.cc",
625 "test/fake_picture_layer.h",
626 "test/fake_picture_layer_impl.cc",
627 "test/fake_picture_layer_impl.h",
628 "test/fake_picture_layer_tiling_client.cc",
629 "test/fake_picture_layer_tiling_client.h",
[email protected]d05751a22014-05-29 20:54:24630 "test/fake_proxy.cc",
631 "test/fake_proxy.h",
prashant.nb4d4f492016-04-29 12:51:28632 "test/fake_raster_buffer_provider.cc",
633 "test/fake_raster_buffer_provider.h",
vmpstr41d68f882016-03-30 01:20:23634 "test/fake_raster_source.cc",
635 "test/fake_raster_source.h",
vmpstre17fd212016-03-30 20:03:32636 "test/fake_recording_source.cc",
637 "test/fake_recording_source.h",
[email protected]d05751a22014-05-29 20:54:24638 "test/fake_renderer_client.cc",
639 "test/fake_renderer_client.h",
640 "test/fake_rendering_stats_instrumentation.h",
danakj61bf05f2015-05-26 23:28:56641 "test/fake_resource_provider.h",
[email protected]d05751a22014-05-29 20:54:24642 "test/fake_scoped_ui_resource.cc",
643 "test/fake_scoped_ui_resource.h",
644 "test/fake_scrollbar.cc",
645 "test/fake_scrollbar.h",
646 "test/fake_tile_manager.cc",
647 "test/fake_tile_manager.h",
648 "test/fake_tile_manager_client.cc",
649 "test/fake_tile_manager_client.h",
prashant.nb4d4f492016-04-29 12:51:28650 "test/fake_tile_task_manager.cc",
651 "test/fake_tile_task_manager.h",
[email protected]d05751a22014-05-29 20:54:24652 "test/fake_ui_resource_layer_tree_host_impl.cc",
653 "test/fake_ui_resource_layer_tree_host_impl.h",
654 "test/fake_video_frame_provider.cc",
655 "test/fake_video_frame_provider.h",
656 "test/geometry_test_utils.cc",
657 "test/geometry_test_utils.h",
[email protected]d05751a22014-05-29 20:54:24658 "test/layer_test_common.cc",
659 "test/layer_test_common.h",
660 "test/layer_tree_host_common_test.cc",
661 "test/layer_tree_host_common_test.h",
662 "test/layer_tree_json_parser.cc",
663 "test/layer_tree_json_parser.h",
enne03dbe8ae2014-10-30 01:32:55664 "test/layer_tree_pixel_resource_test.cc",
665 "test/layer_tree_pixel_resource_test.h",
[email protected]d05751a22014-05-29 20:54:24666 "test/layer_tree_pixel_test.cc",
667 "test/layer_tree_pixel_test.h",
weiliangc365a6fe2016-05-12 19:32:31668 "test/layer_tree_settings_for_testing.cc",
669 "test/layer_tree_settings_for_testing.h",
[email protected]d05751a22014-05-29 20:54:24670 "test/layer_tree_test.cc",
671 "test/layer_tree_test.h",
mithro6be81902015-12-04 05:58:46672 "test/mock_helper.h",
[email protected]ba16cce2014-06-17 17:03:50673 "test/mock_occlusion_tracker.h",
[email protected]d5ba08c2014-06-18 07:01:08674 "test/ordered_simple_task_runner.cc",
675 "test/ordered_simple_task_runner.h",
[email protected]d05751a22014-05-29 20:54:24676 "test/ordered_texture_map.cc",
677 "test/ordered_texture_map.h",
678 "test/paths.cc",
679 "test/paths.h",
nyquistfbaee112016-06-24 23:15:13680 "test/picture_cache_model.cc",
681 "test/picture_cache_model.h",
[email protected]d05751a22014-05-29 20:54:24682 "test/pixel_comparator.cc",
683 "test/pixel_comparator.h",
684 "test/pixel_test.cc",
685 "test/pixel_test.h",
danakjeaba8a82016-05-27 01:21:43686 "test/pixel_test_delegating_output_surface.cc",
687 "test/pixel_test_delegating_output_surface.h",
[email protected]d05751a22014-05-29 20:54:24688 "test/pixel_test_output_surface.cc",
689 "test/pixel_test_output_surface.h",
690 "test/pixel_test_software_output_device.cc",
691 "test/pixel_test_software_output_device.h",
692 "test/pixel_test_utils.cc",
693 "test/pixel_test_utils.h",
khushalsagar0a226af2015-12-09 10:30:20694 "test/proxy_impl_for_test.cc",
695 "test/proxy_impl_for_test.h",
696 "test/proxy_main_for_test.cc",
697 "test/proxy_main_for_test.h",
khushalsagare0a38d42016-01-29 01:15:06698 "test/remote_channel_impl_for_test.cc",
699 "test/remote_channel_impl_for_test.h",
700 "test/remote_proto_channel_bridge.cc",
701 "test/remote_proto_channel_bridge.h",
[email protected]d05751a22014-05-29 20:54:24702 "test/render_pass_test_utils.cc",
703 "test/render_pass_test_utils.h",
704 "test/scheduler_test_common.cc",
705 "test/scheduler_test_common.h",
706 "test/skia_common.cc",
707 "test/skia_common.h",
708 "test/solid_color_content_layer_client.cc",
709 "test/solid_color_content_layer_client.h",
fsamuel7a615102015-10-23 21:25:16710 "test/surface_aggregator_test_helpers.cc",
711 "test/surface_aggregator_test_helpers.h",
712 "test/surface_hittest_test_helpers.cc",
713 "test/surface_hittest_test_helpers.h",
ericrk4e3aa5a2015-12-01 03:53:56714 "test/task_graph_runner_test_template.cc",
715 "test/task_graph_runner_test_template.h",
[email protected]d05751a22014-05-29 20:54:24716 "test/test_context_provider.cc",
717 "test/test_context_provider.h",
718 "test/test_context_support.cc",
719 "test/test_context_support.h",
720 "test/test_gles2_interface.cc",
721 "test/test_gles2_interface.h",
reveman22dd9292014-10-13 20:52:05722 "test/test_gpu_memory_buffer_manager.cc",
723 "test/test_gpu_memory_buffer_manager.h",
khushalsagar0a226af2015-12-09 10:30:20724 "test/test_hooks.cc",
725 "test/test_hooks.h",
reveman2232bce2014-10-29 01:28:05726 "test/test_image_factory.cc",
727 "test/test_image_factory.h",
satorux457770e2015-02-18 18:33:39728 "test/test_in_process_context_provider.cc",
729 "test/test_in_process_context_provider.h",
vmpstr6edf66ce2016-05-18 20:12:22730 "test/test_layer_tree_host_base.cc",
731 "test/test_layer_tree_host_base.h",
[email protected]d05751a22014-05-29 20:54:24732 "test/test_occlusion_tracker.h",
733 "test/test_shared_bitmap_manager.cc",
734 "test/test_shared_bitmap_manager.h",
reveman34b7a1522015-03-23 20:27:47735 "test/test_task_graph_runner.cc",
736 "test/test_task_graph_runner.h",
[email protected]d05751a22014-05-29 20:54:24737 "test/test_texture.cc",
738 "test/test_texture.h",
739 "test/test_tile_priorities.cc",
740 "test/test_tile_priorities.h",
prashant.n7c706022016-05-26 19:00:09741 "test/test_tile_task_runner.cc",
742 "test/test_tile_task_runner.h",
[email protected]d05751a22014-05-29 20:54:24743 "test/test_web_graphics_context_3d.cc",
744 "test/test_web_graphics_context_3d.h",
khushalsagar0a226af2015-12-09 10:30:20745 "test/threaded_channel_for_test.cc",
746 "test/threaded_channel_for_test.h",
[email protected]d05751a22014-05-29 20:54:24747 ]
748
brettwbc8b2a22015-07-28 18:24:42749 configs += [ "//build/config:precompiled_headers" ]
[email protected]d05751a22014-05-29 20:54:24750
Brett Wilson0380637c2014-09-19 21:24:40751 public_deps = [
752 ":cc",
Brett Wilsone53895272014-09-23 23:41:46753 "//gpu:test_support",
Brett Wilson0380637c2014-09-19 21:24:40754 ]
[email protected]d05751a22014-05-29 20:54:24755 deps = [
756 "//base",
jamesr16c04ff2014-11-24 22:24:57757 "//base/test:test_support",
[email protected]d05751a22014-05-29 20:54:24758 "//base/third_party/dynamic_annotations",
khushalsagare0a38d42016-01-29 01:15:06759 "//cc/proto",
fsamuel7a615102015-10-23 21:25:16760 "//cc/surfaces",
761 "//cc/surfaces:surface_id",
agrieved7a71c882015-11-20 19:53:28762 "//gpu/command_buffer/client:gl_in_process_context",
[email protected]d05751a22014-05-29 20:54:24763 "//gpu/command_buffer/client:gles2_c_lib",
764 "//gpu/command_buffer/client:gles2_implementation",
[email protected]845c4e32014-08-13 11:50:40765 "//gpu/command_buffer/common:gles2_utils",
[email protected]d05751a22014-05-29 20:54:24766 "//gpu/skia_bindings",
jamesr16c04ff2014-11-24 22:24:57767 "//media",
[email protected]d05751a22014-05-29 20:54:24768 "//skia",
769 "//testing/gmock",
770 "//testing/gtest",
[email protected]d05751a22014-05-29 20:54:24771 "//ui/gfx",
[email protected]e54a1f522014-07-22 23:26:48772 "//ui/gfx:test_support",
agrieved7a71c882015-11-20 19:53:28773 "//ui/gfx/geometry",
[email protected]d05751a22014-05-29 20:54:24774 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26775 "//ui/gl:test_support",
[email protected]d05751a22014-05-29 20:54:24776 ]
agrieve48bd27e2016-06-22 21:04:07777 if (!is_android) {
778 data_deps = [
779 "//third_party/mesa:osmesa",
780 ]
781 }
[email protected]d05751a22014-05-29 20:54:24782}
783
brettw4897a612015-03-02 23:13:15784test("cc_unittests") {
785 sources = [
loysobb93befc2015-07-03 00:19:50786 "animation/animation_host_unittest.cc",
787 "animation/animation_player_unittest.cc",
788 "animation/animation_timeline_unittest.cc",
brettw4897a612015-03-02 23:13:15789 "animation/animation_unittest.cc",
loysobb93befc2015-07-03 00:19:50790 "animation/element_animations_unittest.cc",
brettw4897a612015-03-02 23:13:15791 "animation/keyframed_animation_curve_unittest.cc",
brettw4897a612015-03-02 23:13:15792 "animation/scroll_offset_animation_curve_unittest.cc",
brettw4897a612015-03-02 23:13:15793 "animation/transform_operations_unittest.cc",
enne797d82332015-12-01 01:34:58794 "base/contiguous_container_unittest.cc",
brettwd649f6b2015-08-18 20:58:51795 "base/delayed_unique_notifier_unittest.cc",
brettw4897a612015-03-02 23:13:15796 "base/float_quad_unittest.cc",
jbroman7b5b0552015-05-28 03:36:58797 "base/histograms_unittest.cc",
prashant.n7f1fe3d2015-06-05 18:26:04798 "base/list_container_unittest.cc",
brettw4897a612015-03-02 23:13:15799 "base/math_util_unittest.cc",
vmpstrb10241fc2015-09-18 01:10:12800 "base/random_access_list_container_unittest.cc",
brettw4897a612015-03-02 23:13:15801 "base/region_unittest.cc",
802 "base/rolling_time_delta_history_unittest.cc",
vmpstrb3ceb8222015-09-23 20:25:25803 "base/rtree_unittest.cc",
brettw4897a612015-03-02 23:13:15804 "base/simple_enclosed_region_unittest.cc",
805 "base/tiling_data_unittest.cc",
brettwd649f6b2015-08-18 20:58:51806 "base/unique_notifier_unittest.cc",
nyquistfbaee112016-06-24 23:15:13807 "blimp/picture_data_conversions_unittest.cc",
nyquist74a9aca2015-12-01 22:39:04808 "debug/layer_tree_debug_state_unittest.cc",
brettw4897a612015-03-02 23:13:15809 "debug/micro_benchmark_controller_unittest.cc",
brettwd649f6b2015-08-18 20:58:51810 "debug/rendering_stats_unittest.cc",
nyquist9de8ad82015-12-18 20:09:06811 "input/layer_selection_bound_unittest.cc",
tdresserd9e201472015-07-31 13:15:07812 "input/scroll_state_unittest.cc",
loyso455b4f602016-02-24 02:59:42813 "input/scrollbar_animation_controller_linear_fade_unittest.cc",
814 "input/scrollbar_animation_controller_thinning_unittest.cc",
brettw4897a612015-03-02 23:13:15815 "input/top_controls_manager_unittest.cc",
fsamuelf76098e2016-05-18 17:26:51816 "ipc/cc_param_traits_unittest.cc",
fsamuel410c9602016-05-31 21:50:20817 "ipc/struct_traits_unittest.cc",
brettw4897a612015-03-02 23:13:15818 "layers/heads_up_display_layer_impl_unittest.cc",
819 "layers/heads_up_display_unittest.cc",
brettw4897a612015-03-02 23:13:15820 "layers/layer_impl_unittest.cc",
821 "layers/layer_iterator_unittest.cc",
vollick44d1c1f2016-03-02 20:59:43822 "layers/layer_list_iterator_unittest.cc",
brettw4897a612015-03-02 23:13:15823 "layers/layer_position_constraint_unittest.cc",
nyquist353b7d52015-11-06 22:26:53824 "layers/layer_proto_converter_unittest.cc",
brettw4897a612015-03-02 23:13:15825 "layers/layer_unittest.cc",
826 "layers/layer_utils_unittest.cc",
827 "layers/nine_patch_layer_impl_unittest.cc",
828 "layers/nine_patch_layer_unittest.cc",
829 "layers/painted_scrollbar_layer_impl_unittest.cc",
ccamerona54da382015-11-27 00:52:33830 "layers/painted_scrollbar_layer_unittest.cc",
brettw4897a612015-03-02 23:13:15831 "layers/picture_image_layer_unittest.cc",
832 "layers/picture_layer_impl_unittest.cc",
833 "layers/picture_layer_unittest.cc",
834 "layers/render_surface_impl_unittest.cc",
835 "layers/render_surface_unittest.cc",
836 "layers/scrollbar_layer_unittest.cc",
837 "layers/solid_color_layer_impl_unittest.cc",
838 "layers/solid_color_scrollbar_layer_impl_unittest.cc",
839 "layers/surface_layer_impl_unittest.cc",
840 "layers/surface_layer_unittest.cc",
841 "layers/texture_layer_impl_unittest.cc",
842 "layers/texture_layer_unittest.cc",
brettw4897a612015-03-02 23:13:15843 "layers/ui_resource_layer_impl_unittest.cc",
844 "layers/ui_resource_layer_unittest.cc",
dalecurtisb8396642015-06-09 18:38:14845 "layers/video_frame_provider_client_impl_unittest.cc",
brettw4897a612015-03-02 23:13:15846 "layers/video_layer_impl_unittest.cc",
ymalik99740e852016-04-07 04:18:13847 "layers/viewport_unittest.cc",
brettw4897a612015-03-02 23:13:15848 "output/begin_frame_args_unittest.cc",
brettwd649f6b2015-08-18 20:58:51849 "output/bsp_tree_unittest.cc",
brettw4897a612015-03-02 23:13:15850 "output/delegating_renderer_unittest.cc",
851 "output/filter_operations_unittest.cc",
852 "output/gl_renderer_unittest.cc",
danakj920156852015-05-18 20:22:29853 "output/layer_quad_unittest.cc",
nyquist1d29b062015-12-02 02:48:18854 "output/managed_memory_policy_unittest.cc",
brettw4897a612015-03-02 23:13:15855 "output/output_surface_unittest.cc",
856 "output/overlay_unittest.cc",
857 "output/renderer_pixeltest.cc",
nyquistb974b9a2015-12-02 00:08:35858 "output/renderer_settings_unittest.cc",
brettw4897a612015-03-02 23:13:15859 "output/renderer_unittest.cc",
860 "output/shader_unittest.cc",
861 "output/software_renderer_unittest.cc",
danakj920156852015-05-18 20:22:29862 "output/texture_mailbox_deleter_unittest.cc",
fmalita7913ee52015-09-09 19:47:31863 "playback/discardable_image_map_unittest.cc",
danakj920156852015-05-18 20:22:29864 "playback/display_item_list_unittest.cc",
vmpstr41d68f882016-03-30 01:20:23865 "playback/raster_source_unittest.cc",
vmpstre17fd212016-03-30 20:03:32866 "playback/recording_source_unittest.cc",
khushalsagar37694212016-01-15 20:46:48867 "proto/base_conversions_unittest.cc",
nyquist04b8bd2e2015-11-24 10:04:17868 "proto/cc_conversions_unittest.cc",
dtrainorddb0b492015-10-19 20:14:44869 "proto/gfx_conversions_unittest.cc",
nyquist1d29b062015-12-02 02:48:18870 "proto/gpu_conversions_unittest.cc",
dtrainor543858f52015-10-23 20:13:55871 "proto/skia_conversions_unittest.cc",
sunxdc36713a2016-03-03 22:31:10872 "proto/synced_property_conversions_unittest.cc",
brettwd649f6b2015-08-18 20:58:51873 "quads/draw_polygon_unittest.cc",
brettw4897a612015-03-02 23:13:15874 "quads/draw_quad_unittest.cc",
brettw4897a612015-03-02 23:13:15875 "quads/render_pass_unittest.cc",
prashant.nb4d4f492016-04-29 12:51:28876 "raster/raster_buffer_provider_unittest.cc",
danakj920156852015-05-18 20:22:29877 "raster/scoped_gpu_raster_unittest.cc",
ericrk4e3aa5a2015-12-01 03:53:56878 "raster/single_thread_task_graph_runner_unittest.cc",
879 "raster/synchronous_task_graph_runner_unittest.cc",
danakj920156852015-05-18 20:22:29880 "raster/texture_compressor_etc1_unittest.cc",
brettw4897a612015-03-02 23:13:15881 "resources/platform_color_unittest.cc",
boliucb788f42015-07-22 23:49:28882 "resources/resource_pool_unittest.cc",
brettw4897a612015-03-02 23:13:15883 "resources/resource_provider_unittest.cc",
prashant.n8e494282015-08-03 07:13:41884 "resources/resource_util_unittest.cc",
brettw4897a612015-03-02 23:13:15885 "resources/scoped_resource_unittest.cc",
brettw4897a612015-03-02 23:13:15886 "resources/video_resource_updater_unittest.cc",
887 "scheduler/begin_frame_source_unittest.cc",
khushalsagar0b3d9e12016-01-14 21:10:18888 "scheduler/commit_earlyout_reason_unittest.cc",
brianderson68749812015-07-07 22:39:39889 "scheduler/compositor_timing_history_unittest.cc",
brettw4897a612015-03-02 23:13:15890 "scheduler/delay_based_time_source_unittest.cc",
891 "scheduler/scheduler_state_machine_unittest.cc",
892 "scheduler/scheduler_unittest.cc",
mithro6be81902015-12-04 05:58:46893 "test/begin_frame_source_test_unittest.cc",
brettw4897a612015-03-02 23:13:15894 "test/layer_tree_json_parser_unittest.cc",
mithro6be81902015-12-04 05:58:46895 "test/mock_helper_unittest.cc",
brettwd649f6b2015-08-18 20:58:51896 "test/ordered_simple_task_runner_unittest.cc",
brettw4897a612015-03-02 23:13:15897 "test/test_web_graphics_context_3d_unittest.cc",
ericrkd2ff2a132016-04-11 22:16:00898 "tiles/gpu_image_decode_controller_unittest.cc",
ericrkc7ebaa12016-06-09 21:05:55899 "tiles/mipmap_util_unittest.cc",
danakj920156852015-05-18 20:22:29900 "tiles/picture_layer_tiling_set_unittest.cc",
901 "tiles/picture_layer_tiling_unittest.cc",
vmpstr64cdba32016-03-03 00:38:40902 "tiles/software_image_decode_controller_unittest.cc",
danakj920156852015-05-18 20:22:29903 "tiles/tile_manager_unittest.cc",
904 "tiles/tile_priority_unittest.cc",
brettw4897a612015-03-02 23:13:15905 "trees/blocking_task_runner_unittest.cc",
906 "trees/damage_tracker_unittest.cc",
brettw4897a612015-03-02 23:13:15907 "trees/layer_tree_host_common_unittest.cc",
908 "trees/layer_tree_host_impl_unittest.cc",
909 "trees/layer_tree_host_pixeltest_blending.cc",
910 "trees/layer_tree_host_pixeltest_filters.cc",
911 "trees/layer_tree_host_pixeltest_masks.cc",
912 "trees/layer_tree_host_pixeltest_readback.cc",
913 "trees/layer_tree_host_pixeltest_synchronous.cc",
danakje0b54782015-05-29 22:47:52914 "trees/layer_tree_host_pixeltest_tiles.cc",
brettw4897a612015-03-02 23:13:15915 "trees/layer_tree_host_unittest.cc",
916 "trees/layer_tree_host_unittest_animation.cc",
917 "trees/layer_tree_host_unittest_context.cc",
918 "trees/layer_tree_host_unittest_copyrequest.cc",
919 "trees/layer_tree_host_unittest_damage.cc",
brettw4897a612015-03-02 23:13:15920 "trees/layer_tree_host_unittest_occlusion.cc",
921 "trees/layer_tree_host_unittest_picture.cc",
922 "trees/layer_tree_host_unittest_proxy.cc",
khushalsagarb54107d02015-12-10 20:20:56923 "trees/layer_tree_host_unittest_record_gpu_histogram.cc",
khushalsagarb0d8691b2016-01-30 02:47:17924 "trees/layer_tree_host_unittest_remote_server.cc",
brettw4897a612015-03-02 23:13:15925 "trees/layer_tree_host_unittest_scroll.cc",
nyquist4f5e8afd2016-01-14 17:40:36926 "trees/layer_tree_host_unittest_serialization.cc",
brettw4897a612015-03-02 23:13:15927 "trees/layer_tree_host_unittest_video.cc",
928 "trees/layer_tree_impl_unittest.cc",
nyquist2fe752c2015-12-10 20:12:51929 "trees/layer_tree_settings_unittest.cc",
brettw4897a612015-03-02 23:13:15930 "trees/occlusion_tracker_unittest.cc",
931 "trees/occlusion_unittest.cc",
932 "trees/property_tree_unittest.cc",
khushalsagar37694212016-01-15 20:46:48933 "trees/proxy_common_unittest.cc",
khushalsagar0f081c42015-12-16 07:04:20934 "trees/proxy_impl_unittest.cc",
khushalsagare0a38d42016-01-29 01:15:06935 "trees/remote_channel_unittest.cc",
khushalsagare3c9fa92015-10-28 02:08:29936 "trees/threaded_channel_unittest.cc",
brettw4897a612015-03-02 23:13:15937 "trees/tree_synchronizer_unittest.cc",
[email protected]d05751a22014-05-29 20:54:24938
brettw4897a612015-03-02 23:13:15939 # Surfaces test files.
brettwd649f6b2015-08-18 20:58:51940 "surfaces/display_scheduler_unittest.cc",
941 "surfaces/display_unittest.cc",
brettw4897a612015-03-02 23:13:15942 "surfaces/surface_aggregator_unittest.cc",
brettwd649f6b2015-08-18 20:58:51943 "surfaces/surface_display_output_surface_unittest.cc",
944 "surfaces/surface_factory_unittest.cc",
lfg8d07c91d2015-08-07 16:13:20945 "surfaces/surface_hittest_unittest.cc",
enne4e3c9d52016-03-09 00:25:12946 "surfaces/surface_manager_unittest.cc",
brettw4897a612015-03-02 23:13:15947 "surfaces/surface_unittest.cc",
948 "surfaces/surfaces_pixeltest.cc",
[email protected]d05751a22014-05-29 20:54:24949
brettw4897a612015-03-02 23:13:15950 # Setup.
951 "test/cc_test_suite.cc",
952 "test/run_all_unittests.cc",
953 ]
[email protected]d05751a22014-05-29 20:54:24954
brettwbc8b2a22015-07-28 18:24:42955 configs += [ "//build/config:precompiled_headers" ]
agrievee41ae190d2016-04-25 14:12:51956 if (!is_android) {
957 data = [
958 "test/data/",
959 ]
960 }
dpranke177c1e22015-07-22 23:07:43961
brettw4897a612015-03-02 23:13:15962 deps = [
963 ":cc",
964 ":test_support",
965 "//base/test:test_support",
fsamuelf76098e2016-05-18 17:26:51966 "//cc/ipc",
fsamuel410c9602016-05-31 21:50:20967 "//cc/ipc:test_interfaces",
dtrainorddb0b492015-10-19 20:14:44968 "//cc/proto",
brettw4897a612015-03-02 23:13:15969 "//cc/surfaces",
970 "//cc/surfaces:surface_id",
971 "//gpu",
972 "//gpu:test_support",
973 "//gpu/command_buffer/client:gles2_interface",
974 "//gpu/command_buffer/common:gles2_utils",
975 "//media",
fsamuel410c9602016-05-31 21:50:20976 "//mojo/edk/system",
977 "//mojo/public/cpp/bindings",
brettw4897a612015-03-02 23:13:15978 "//testing/gmock",
979 "//testing/gtest",
Nico Weber9d6e12942016-04-19 18:51:09980 "//ui/events:events_base",
brettw4897a612015-03-02 23:13:15981 "//ui/gfx",
brettw4897a612015-03-02 23:13:15982 "//ui/gfx:test_support",
agrieved7a71c882015-11-20 19:53:28983 "//ui/gfx/geometry",
brettw4897a612015-03-02 23:13:15984 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26985 "//ui/gl:test_support",
brettw4897a612015-03-02 23:13:15986 ]
dpranke177c1e22015-07-22 23:07:43987
vmpstr9116a70f2015-10-14 23:48:34988 data_deps = [
989 "//third_party/mesa:osmesa",
990 ]
[email protected]d05751a22014-05-29 20:54:24991}
992
993test("cc_perftests") {
[email protected]6e44c302014-07-22 21:51:37994 sources = [
loysoa4a59a42016-02-10 06:49:26995 "animation/animation_host_perftest.cc",
fsamuelf76098e2016-05-18 17:26:51996 "ipc/cc_param_traits_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37997 "layers/layer_perftest.cc",
998 "layers/picture_layer_impl_perftest.cc",
vmpstr0b044512015-05-29 02:58:03999 "quads/draw_quad_perftest.cc",
prashant.nb4d4f492016-04-29 12:51:281000 "raster/raster_buffer_provider_perftest.cc",
danakj920156852015-05-18 20:22:291001 "raster/task_graph_runner_perftest.cc",
1002 "raster/texture_compressor_perftest.cc",
jbauman39be2012015-04-16 01:33:081003 "surfaces/surface_aggregator_perftest.cc",
[email protected]6e44c302014-07-22 21:51:371004 "test/cc_test_suite.cc",
1005 "test/run_all_perftests.cc",
danakj920156852015-05-18 20:22:291006 "tiles/tile_manager_perftest.cc",
[email protected]6e44c302014-07-22 21:51:371007 "trees/layer_tree_host_common_perftest.cc",
1008 "trees/layer_tree_host_perftest.cc",
[email protected]6e44c302014-07-22 21:51:371009 ]
[email protected]d05751a22014-05-29 20:54:241010
[email protected]6e44c302014-07-22 21:51:371011 deps = [
1012 ":cc",
1013 ":test_support",
1014 "//base",
jamesr16c04ff2014-11-24 22:24:571015 "//base/test:test_support",
fsamuelf76098e2016-05-18 17:26:511016 "//cc/ipc",
jbauman39be2012015-04-16 01:33:081017 "//cc/surfaces",
1018 "//cc/surfaces:surface_id",
[email protected]6e44c302014-07-22 21:51:371019 "//gpu",
[email protected]c7990dbf2014-07-23 22:35:101020 "//gpu:test_support",
[email protected]845c4e32014-08-13 11:50:401021 "//gpu/command_buffer/common:gles2_utils",
[email protected]6e44c302014-07-22 21:51:371022 "//media",
1023 "//skia",
1024 "//testing/gmock",
1025 "//testing/gtest",
1026 "//testing/perf",
1027 "//ui/gfx",
1028 "//ui/gfx/geometry",
jamesr16c04ff2014-11-24 22:24:571029 "//ui/gl",
sadrulba162cd2015-07-20 22:34:261030 "//ui/gl:test_support",
[email protected]6e44c302014-07-22 21:51:371031 ]
krasinca63e412016-05-12 02:53:251032
1033 # This target should not require the Chrome executable to run.
1034 assert_no_deps = [ "//chrome" ]
[email protected]6e44c302014-07-22 21:51:371035}
sunnypse619a362015-03-07 00:03:171036# When adding support for isolates, please have a look at run-time dependencies
1037# in the cc_unittests_run target in cc_tests.gyp.