blob: bb6708c5edd74de79d9d6af8aa53df0d01bdddd2 [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",
vollickef2ae922016-06-29 17:54:2727 "animation/element_id.cc",
28 "animation/element_id.h",
[email protected]d05751a22014-05-29 20:54:2429 "animation/keyframed_animation_curve.cc",
30 "animation/keyframed_animation_curve.h",
[email protected]d05751a22014-05-29 20:54:2431 "animation/scroll_offset_animation_curve.cc",
32 "animation/scroll_offset_animation_curve.h",
ymalikf3a9e63572016-05-20 01:31:0733 "animation/scroll_offset_animations.cc",
34 "animation/scroll_offset_animations.h",
ymalik1b8eeda2016-05-04 16:18:1735 "animation/scroll_offset_animations_impl.cc",
36 "animation/scroll_offset_animations_impl.h",
loyso0c8e4402016-02-25 04:12:3037 "animation/target_property.cc",
38 "animation/target_property.h",
[email protected]d05751a22014-05-29 20:54:2439 "animation/timing_function.cc",
40 "animation/timing_function.h",
41 "animation/transform_operation.cc",
42 "animation/transform_operation.h",
43 "animation/transform_operations.cc",
44 "animation/transform_operations.h",
nyquistfbaee112016-06-24 23:15:1345 "blimp/client_picture_cache.h",
46 "blimp/engine_picture_cache.h",
47 "blimp/image_serialization_processor.h",
48 "blimp/picture_data.cc",
49 "blimp/picture_data.h",
50 "blimp/picture_data_conversions.cc",
51 "blimp/picture_data_conversions.h",
[email protected]d05751a22014-05-29 20:54:2452 "debug/benchmark_instrumentation.cc",
53 "debug/benchmark_instrumentation.h",
54 "debug/debug_colors.cc",
55 "debug/debug_colors.h",
56 "debug/debug_rect_history.cc",
57 "debug/debug_rect_history.h",
58 "debug/devtools_instrumentation.h",
59 "debug/frame_rate_counter.cc",
60 "debug/frame_rate_counter.h",
hendrikw9385e492014-12-17 21:42:5961 "debug/frame_viewer_instrumentation.cc",
[email protected]d05751a22014-05-29 20:54:2462 "debug/frame_viewer_instrumentation.h",
[email protected]d5ba08c2014-06-18 07:01:0863 "debug/invalidation_benchmark.cc",
64 "debug/invalidation_benchmark.h",
[email protected]d05751a22014-05-29 20:54:2465 "debug/lap_timer.cc",
66 "debug/lap_timer.h",
67 "debug/layer_tree_debug_state.cc",
68 "debug/layer_tree_debug_state.h",
69 "debug/micro_benchmark.cc",
70 "debug/micro_benchmark.h",
[email protected]d05751a22014-05-29 20:54:2471 "debug/micro_benchmark_controller.cc",
72 "debug/micro_benchmark_controller.h",
73 "debug/micro_benchmark_controller_impl.cc",
74 "debug/micro_benchmark_controller_impl.h",
satorux457770e2015-02-18 18:33:3975 "debug/micro_benchmark_impl.cc",
76 "debug/micro_benchmark_impl.h",
ajumad7dd21a2015-01-09 00:57:3177 "debug/picture_debug_util.cc",
78 "debug/picture_debug_util.h",
[email protected]d05751a22014-05-29 20:54:2479 "debug/rasterize_and_record_benchmark.cc",
80 "debug/rasterize_and_record_benchmark.h",
81 "debug/rasterize_and_record_benchmark_impl.cc",
82 "debug/rasterize_and_record_benchmark_impl.h",
83 "debug/rendering_stats.cc",
84 "debug/rendering_stats.h",
85 "debug/rendering_stats_instrumentation.cc",
86 "debug/rendering_stats_instrumentation.h",
87 "debug/ring_buffer.h",
caseq252613a72015-06-19 11:12:5788 "debug/traced_display_item_list.cc",
89 "debug/traced_display_item_list.h",
[email protected]d05751a22014-05-29 20:54:2490 "debug/traced_value.cc",
91 "debug/traced_value.h",
92 "debug/unittest_only_benchmark.cc",
93 "debug/unittest_only_benchmark.h",
94 "debug/unittest_only_benchmark_impl.cc",
95 "debug/unittest_only_benchmark_impl.h",
ccameron36d091f2014-11-07 03:18:5096 "input/input_handler.cc",
[email protected]d05751a22014-05-29 20:54:2497 "input/input_handler.h",
[email protected]b2ba2d42014-07-03 18:14:5098 "input/layer_selection_bound.cc",
99 "input/layer_selection_bound.h",
satorux457770e2015-02-18 18:33:39100 "input/page_scale_animation.cc",
101 "input/page_scale_animation.h",
ccameron4163cc352014-11-13 19:06:36102 "input/scroll_elasticity_helper.cc",
103 "input/scroll_elasticity_helper.h",
tdresserd9e201472015-07-31 13:15:07104 "input/scroll_state.cc",
105 "input/scroll_state.h",
tdresser99c9ff52015-12-14 15:47:09106 "input/scroll_state_data.cc",
107 "input/scroll_state_data.h",
loyso455b4f602016-02-24 02:59:42108 "input/scrollbar_animation_controller.cc",
109 "input/scrollbar_animation_controller.h",
110 "input/scrollbar_animation_controller_linear_fade.cc",
111 "input/scrollbar_animation_controller_linear_fade.h",
112 "input/scrollbar_animation_controller_thinning.cc",
113 "input/scrollbar_animation_controller_thinning.h",
jdduke449b5292015-04-23 19:36:44114 "input/selection.h",
[email protected]d05751a22014-05-29 20:54:24115 "input/top_controls_manager.cc",
116 "input/top_controls_manager.h",
117 "input/top_controls_manager_client.h",
118 "layers/append_quads_data.h",
[email protected]d05751a22014-05-29 20:54:24119 "layers/content_layer_client.h",
ennefffb119c2015-08-29 09:17:30120 "layers/draw_properties.cc",
[email protected]d05751a22014-05-29 20:54:24121 "layers/draw_properties.h",
dtrainor8e9da482016-01-04 09:53:05122 "layers/empty_content_layer_client.cc",
123 "layers/empty_content_layer_client.h",
[email protected]d05751a22014-05-29 20:54:24124 "layers/heads_up_display_layer.cc",
125 "layers/heads_up_display_layer.h",
126 "layers/heads_up_display_layer_impl.cc",
127 "layers/heads_up_display_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24128 "layers/layer.cc",
129 "layers/layer.h",
130 "layers/layer_client.h",
vollick83fbfc82016-03-22 18:33:27131 "layers/layer_collections.h",
[email protected]d05751a22014-05-29 20:54:24132 "layers/layer_impl.cc",
133 "layers/layer_impl.h",
jaydasika1c0a27d42016-04-28 01:54:56134 "layers/layer_impl_test_properties.cc",
135 "layers/layer_impl_test_properties.h",
[email protected]d05751a22014-05-29 20:54:24136 "layers/layer_iterator.h",
vollick44d1c1f2016-03-02 20:59:43137 "layers/layer_list_iterator.cc",
138 "layers/layer_list_iterator.h",
[email protected]d05751a22014-05-29 20:54:24139 "layers/layer_position_constraint.cc",
140 "layers/layer_position_constraint.h",
nyquist353b7d52015-11-06 22:26:53141 "layers/layer_proto_converter.cc",
142 "layers/layer_proto_converter.h",
flackr2215b4e2016-09-21 20:16:01143 "layers/layer_sticky_position_constraint.cc",
144 "layers/layer_sticky_position_constraint.h",
[email protected]d05751a22014-05-29 20:54:24145 "layers/layer_utils.cc",
146 "layers/layer_utils.h",
147 "layers/nine_patch_layer.cc",
148 "layers/nine_patch_layer.h",
149 "layers/nine_patch_layer_impl.cc",
150 "layers/nine_patch_layer_impl.h",
151 "layers/paint_properties.h",
152 "layers/painted_scrollbar_layer.cc",
153 "layers/painted_scrollbar_layer.h",
154 "layers/painted_scrollbar_layer_impl.cc",
155 "layers/painted_scrollbar_layer_impl.h",
156 "layers/picture_image_layer.cc",
157 "layers/picture_image_layer.h",
[email protected]d05751a22014-05-29 20:54:24158 "layers/picture_layer.cc",
159 "layers/picture_layer.h",
160 "layers/picture_layer_impl.cc",
161 "layers/picture_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24162 "layers/render_pass_sink.h",
[email protected]d05751a22014-05-29 20:54:24163 "layers/render_surface_impl.cc",
164 "layers/render_surface_impl.h",
165 "layers/scrollbar_layer_impl_base.cc",
166 "layers/scrollbar_layer_impl_base.h",
167 "layers/scrollbar_layer_interface.h",
168 "layers/solid_color_layer.cc",
169 "layers/solid_color_layer.h",
170 "layers/solid_color_layer_impl.cc",
171 "layers/solid_color_layer_impl.h",
172 "layers/solid_color_scrollbar_layer.cc",
173 "layers/solid_color_scrollbar_layer.h",
174 "layers/solid_color_scrollbar_layer_impl.cc",
175 "layers/solid_color_scrollbar_layer_impl.h",
176 "layers/surface_layer.cc",
177 "layers/surface_layer.h",
178 "layers/surface_layer_impl.cc",
179 "layers/surface_layer_impl.h",
180 "layers/texture_layer.cc",
181 "layers/texture_layer.h",
182 "layers/texture_layer_client.h",
183 "layers/texture_layer_impl.cc",
184 "layers/texture_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24185 "layers/ui_resource_layer.cc",
186 "layers/ui_resource_layer.h",
187 "layers/ui_resource_layer_impl.cc",
188 "layers/ui_resource_layer_impl.h",
189 "layers/video_frame_provider.h",
190 "layers/video_frame_provider_client_impl.cc",
191 "layers/video_frame_provider_client_impl.h",
192 "layers/video_layer.cc",
193 "layers/video_layer.h",
194 "layers/video_layer_impl.cc",
195 "layers/video_layer_impl.h",
bokanaa2748312015-03-26 00:10:37196 "layers/viewport.cc",
197 "layers/viewport.h",
[email protected]d05751a22014-05-29 20:54:24198 "output/begin_frame_args.cc",
199 "output/begin_frame_args.h",
[email protected]2a021fb7b2014-08-02 07:53:49200 "output/bsp_tree.cc",
201 "output/bsp_tree.h",
202 "output/bsp_walk_action.cc",
203 "output/bsp_walk_action.h",
ericrk9151705c2016-07-26 19:53:16204 "output/buffer_to_texture_target_map.cc",
205 "output/buffer_to_texture_target_map.h",
ccameron35db390a2015-11-17 21:22:55206 "output/ca_layer_overlay.cc",
207 "output/ca_layer_overlay.h",
hubbeaf57af302016-08-11 10:42:32208 "output/color_lut_cache.cc",
209 "output/color_lut_cache.h",
[email protected]d05751a22014-05-29 20:54:24210 "output/compositor_frame.cc",
211 "output/compositor_frame.h",
[email protected]d05751a22014-05-29 20:54:24212 "output/compositor_frame_metadata.cc",
213 "output/compositor_frame_metadata.h",
danakj1120f4c2016-09-15 02:05:32214 "output/compositor_frame_sink.cc",
215 "output/compositor_frame_sink.h",
216 "output/compositor_frame_sink_client.h",
ericrkf6c4fb62016-08-30 23:27:24217 "output/context_cache_controller.cc",
218 "output/context_cache_controller.h",
[email protected]d05751a22014-05-29 20:54:24219 "output/context_provider.h",
220 "output/copy_output_request.cc",
221 "output/copy_output_request.h",
222 "output/copy_output_result.cc",
223 "output/copy_output_result.h",
[email protected]d05751a22014-05-29 20:54:24224 "output/delegated_frame_data.cc",
[email protected]b2ba2d42014-07-03 18:14:50225 "output/delegated_frame_data.h",
[email protected]d05751a22014-05-29 20:54:24226 "output/direct_renderer.cc",
227 "output/direct_renderer.h",
awoloszyn3d8eb1d2015-03-12 14:38:32228 "output/dynamic_geometry_binding.cc",
229 "output/dynamic_geometry_binding.h",
[email protected]d05751a22014-05-29 20:54:24230 "output/filter_operation.cc",
231 "output/filter_operation.h",
232 "output/filter_operations.cc",
233 "output/filter_operations.h",
234 "output/geometry_binding.cc",
235 "output/geometry_binding.h",
[email protected]d05751a22014-05-29 20:54:24236 "output/gl_frame_data.cc",
[email protected]b2ba2d42014-07-03 18:14:50237 "output/gl_frame_data.h",
[email protected]d05751a22014-05-29 20:54:24238 "output/gl_renderer.cc",
239 "output/gl_renderer.h",
240 "output/gl_renderer_draw_cache.cc",
241 "output/gl_renderer_draw_cache.h",
jamesrf313a212015-03-16 21:27:37242 "output/latency_info_swap_promise.cc",
243 "output/latency_info_swap_promise.h",
danakj920156852015-05-18 20:22:29244 "output/layer_quad.cc",
245 "output/layer_quad.h",
[email protected]d05751a22014-05-29 20:54:24246 "output/managed_memory_policy.cc",
247 "output/managed_memory_policy.h",
248 "output/output_surface.cc",
249 "output/output_surface.h",
250 "output/output_surface_client.h",
251 "output/overlay_candidate.cc",
252 "output/overlay_candidate.h",
253 "output/overlay_candidate_validator.h",
254 "output/overlay_processor.cc",
255 "output/overlay_processor.h",
dcastagnaea959b12016-07-20 21:38:58256 "output/overlay_strategy_fullscreen.cc",
257 "output/overlay_strategy_fullscreen.h",
[email protected]d05751a22014-05-29 20:54:24258 "output/overlay_strategy_single_on_top.cc",
259 "output/overlay_strategy_single_on_top.h",
achaulkf47b4942015-04-01 17:26:08260 "output/overlay_strategy_underlay.cc",
261 "output/overlay_strategy_underlay.h",
[email protected]d05751a22014-05-29 20:54:24262 "output/program_binding.cc",
263 "output/program_binding.h",
264 "output/render_surface_filters.cc",
265 "output/render_surface_filters.h",
jbaumanc5be44c2014-11-20 22:17:12266 "output/renderer_settings.cc",
267 "output/renderer_settings.h",
[email protected]d05751a22014-05-29 20:54:24268 "output/shader.cc",
269 "output/shader.h",
[email protected]d05751a22014-05-29 20:54:24270 "output/software_output_device.cc",
271 "output/software_output_device.h",
272 "output/software_renderer.cc",
273 "output/software_renderer.h",
awoloszyn3d8eb1d2015-03-12 14:38:32274 "output/static_geometry_binding.cc",
275 "output/static_geometry_binding.h",
jamesrf313a212015-03-16 21:27:37276 "output/swap_promise.h",
danakj920156852015-05-18 20:22:29277 "output/texture_mailbox_deleter.cc",
278 "output/texture_mailbox_deleter.h",
dyenb52ecd962016-04-20 23:23:44279 "output/vulkan_context_provider.h",
280 "output/vulkan_in_process_context_provider.cc",
281 "output/vulkan_in_process_context_provider.h",
danakj920156852015-05-18 20:22:29282 "playback/clip_display_item.cc",
283 "playback/clip_display_item.h",
284 "playback/clip_path_display_item.cc",
285 "playback/clip_path_display_item.h",
286 "playback/compositing_display_item.cc",
287 "playback/compositing_display_item.h",
tomhudson836d8182016-04-22 22:15:45288 "playback/decoded_draw_image.cc",
vmpstr9dd810a2016-01-19 21:16:10289 "playback/decoded_draw_image.h",
fmalita7913ee52015-09-09 19:47:31290 "playback/discardable_image_map.cc",
291 "playback/discardable_image_map.h",
danakj920156852015-05-18 20:22:29292 "playback/display_item.cc",
293 "playback/display_item.h",
294 "playback/display_item_list.cc",
295 "playback/display_item_list.h",
jbroman7ae1e4bf2015-06-02 01:44:28296 "playback/display_item_list_settings.cc",
297 "playback/display_item_list_settings.h",
dtrainor2191e4d2015-10-28 16:02:52298 "playback/display_item_proto_factory.cc",
299 "playback/display_item_proto_factory.h",
vmpstr9dd810a2016-01-19 21:16:10300 "playback/draw_image.cc",
vmpstr9116a70f2015-10-14 23:48:34301 "playback/draw_image.h",
danakj920156852015-05-18 20:22:29302 "playback/drawing_display_item.cc",
303 "playback/drawing_display_item.h",
304 "playback/filter_display_item.cc",
305 "playback/filter_display_item.h",
306 "playback/float_clip_display_item.cc",
307 "playback/float_clip_display_item.h",
vmpstr2c9805c2016-03-04 00:07:41308 "playback/image_hijack_canvas.cc",
309 "playback/image_hijack_canvas.h",
danakj920156852015-05-18 20:22:29310 "playback/largest_display_item.cc",
311 "playback/largest_display_item.h",
vmpstr41d68f882016-03-30 01:20:23312 "playback/raster_source.cc",
313 "playback/raster_source.h",
vmpstre17fd212016-03-30 20:03:32314 "playback/recording_source.cc",
315 "playback/recording_source.h",
vmpstrec4a4172016-03-14 22:51:06316 "playback/skip_image_canvas.cc",
317 "playback/skip_image_canvas.h",
danakj920156852015-05-18 20:22:29318 "playback/transform_display_item.cc",
319 "playback/transform_display_item.h",
khushalsagar37694212016-01-15 20:46:48320 "proto/base_conversions.cc",
321 "proto/base_conversions.h",
nyquist04b8bd2e2015-11-24 10:04:17322 "proto/cc_conversions.cc",
323 "proto/cc_conversions.h",
dtrainorddb0b492015-10-19 20:14:44324 "proto/gfx_conversions.cc",
325 "proto/gfx_conversions.h",
nyquist1d29b062015-12-02 02:48:18326 "proto/gpu_conversions.cc",
327 "proto/gpu_conversions.h",
dtrainor543858f52015-10-23 20:13:55328 "proto/skia_conversions.cc",
329 "proto/skia_conversions.h",
sunxdc36713a2016-03-03 22:31:10330 "proto/synced_property_conversions.cc",
331 "proto/synced_property_conversions.h",
[email protected]d05751a22014-05-29 20:54:24332 "quads/content_draw_quad_base.cc",
333 "quads/content_draw_quad_base.h",
334 "quads/debug_border_draw_quad.cc",
335 "quads/debug_border_draw_quad.h",
[email protected]2a021fb7b2014-08-02 07:53:49336 "quads/draw_polygon.cc",
337 "quads/draw_polygon.h",
[email protected]d05751a22014-05-29 20:54:24338 "quads/draw_quad.cc",
339 "quads/draw_quad.h",
weiliangcfe7b51e2014-11-05 18:20:27340 "quads/largest_draw_quad.cc",
satorux457770e2015-02-18 18:33:39341 "quads/largest_draw_quad.h",
[email protected]d05751a22014-05-29 20:54:24342 "quads/picture_draw_quad.cc",
343 "quads/picture_draw_quad.h",
344 "quads/render_pass.cc",
345 "quads/render_pass.h",
346 "quads/render_pass_draw_quad.cc",
347 "quads/render_pass_draw_quad.h",
[email protected]0cd7d6f72014-08-22 14:50:51348 "quads/render_pass_id.cc",
349 "quads/render_pass_id.h",
[email protected]d05751a22014-05-29 20:54:24350 "quads/shared_quad_state.cc",
351 "quads/shared_quad_state.h",
352 "quads/solid_color_draw_quad.cc",
353 "quads/solid_color_draw_quad.h",
354 "quads/stream_video_draw_quad.cc",
355 "quads/stream_video_draw_quad.h",
356 "quads/surface_draw_quad.cc",
357 "quads/surface_draw_quad.h",
358 "quads/texture_draw_quad.cc",
359 "quads/texture_draw_quad.h",
360 "quads/tile_draw_quad.cc",
361 "quads/tile_draw_quad.h",
362 "quads/yuv_video_draw_quad.cc",
363 "quads/yuv_video_draw_quad.h",
prashant.nb4d4f492016-04-29 12:51:28364 "raster/bitmap_raster_buffer_provider.cc",
365 "raster/bitmap_raster_buffer_provider.h",
366 "raster/gpu_raster_buffer_provider.cc",
367 "raster/gpu_raster_buffer_provider.h",
prashant.nb4d4f492016-04-29 12:51:28368 "raster/one_copy_raster_buffer_provider.cc",
369 "raster/one_copy_raster_buffer_provider.h",
danakj920156852015-05-18 20:22:29370 "raster/raster_buffer.cc",
371 "raster/raster_buffer.h",
prashant.nb4d4f492016-04-29 12:51:28372 "raster/raster_buffer_provider.cc",
373 "raster/raster_buffer_provider.h",
danakj920156852015-05-18 20:22:29374 "raster/scoped_gpu_raster.cc",
375 "raster/scoped_gpu_raster.h",
ericrk4e3aa5a2015-12-01 03:53:56376 "raster/single_thread_task_graph_runner.cc",
377 "raster/single_thread_task_graph_runner.h",
prashant.na9dd9ef2016-04-08 19:57:10378 "raster/staging_buffer_pool.cc",
379 "raster/staging_buffer_pool.h",
ericrk4e3aa5a2015-12-01 03:53:56380 "raster/synchronous_task_graph_runner.cc",
381 "raster/synchronous_task_graph_runner.h",
prashant.n49b3e64652016-04-19 07:04:49382 "raster/task.cc",
383 "raster/task.h",
ericrk374dee72016-01-13 03:38:05384 "raster/task_category.h",
danakj920156852015-05-18 20:22:29385 "raster/task_graph_runner.h",
ericrk4e3aa5a2015-12-01 03:53:56386 "raster/task_graph_work_queue.cc",
387 "raster/task_graph_work_queue.h",
danakj920156852015-05-18 20:22:29388 "raster/texture_compressor.cc",
389 "raster/texture_compressor.h",
390 "raster/texture_compressor_etc1.cc",
391 "raster/texture_compressor_etc1.h",
prashant.n6cb1bb82016-04-20 05:15:58392 "raster/tile_task.cc",
393 "raster/tile_task.h",
prashant.nb4d4f492016-04-29 12:51:28394 "raster/zero_copy_raster_buffer_provider.cc",
395 "raster/zero_copy_raster_buffer_provider.h",
[email protected]d05751a22014-05-29 20:54:24396 "resources/memory_history.cc",
397 "resources/memory_history.h",
[email protected]d05751a22014-05-29 20:54:24398 "resources/platform_color.h",
[email protected]d05751a22014-05-29 20:54:24399 "resources/release_callback.h",
reveman423e7da2014-09-23 16:57:44400 "resources/resource.h",
[email protected]c6f0cf62014-07-22 02:44:41401 "resources/resource_format.cc",
[email protected]bf050582014-07-24 11:10:58402 "resources/resource_format.h",
fsamuel6ee49c42016-06-01 11:16:55403 "resources/resource_format_utils.cc",
404 "resources/resource_format_utils.h",
[email protected]d05751a22014-05-29 20:54:24405 "resources/resource_pool.cc",
406 "resources/resource_pool.h",
407 "resources/resource_provider.cc",
408 "resources/resource_provider.h",
prashant.n8e494282015-08-03 07:13:41409 "resources/resource_util.h",
[email protected]d05751a22014-05-29 20:54:24410 "resources/returned_resource.h",
411 "resources/scoped_resource.cc",
412 "resources/scoped_resource.h",
413 "resources/scoped_ui_resource.cc",
414 "resources/scoped_ui_resource.h",
415 "resources/shared_bitmap.cc",
416 "resources/shared_bitmap.h",
417 "resources/shared_bitmap_manager.h",
418 "resources/single_release_callback.cc",
419 "resources/single_release_callback.h",
skyostil3976a3f2014-09-04 22:07:23420 "resources/single_release_callback_impl.cc",
421 "resources/single_release_callback_impl.h",
[email protected]d05751a22014-05-29 20:54:24422 "resources/texture_mailbox.cc",
reveman423e7da2014-09-23 16:57:44423 "resources/texture_mailbox.h",
[email protected]d05751a22014-05-29 20:54:24424 "resources/transferable_resource.cc",
425 "resources/transferable_resource.h",
426 "resources/ui_resource_bitmap.cc",
427 "resources/ui_resource_bitmap.h",
428 "resources/ui_resource_client.h",
khushalsagar8ec07402016-09-10 03:13:19429 "resources/ui_resource_manager.cc",
430 "resources/ui_resource_manager.h",
[email protected]d05751a22014-05-29 20:54:24431 "resources/ui_resource_request.cc",
432 "resources/ui_resource_request.h",
433 "resources/video_resource_updater.cc",
434 "resources/video_resource_updater.h",
mithroc34fc0b12014-09-30 09:10:41435 "scheduler/begin_frame_source.cc",
436 "scheduler/begin_frame_source.h",
mithro0bdb49d2015-05-27 13:08:01437 "scheduler/begin_frame_tracker.cc",
438 "scheduler/begin_frame_tracker.h",
khushalsagar0b3d9e12016-01-14 21:10:18439 "scheduler/commit_earlyout_reason.cc",
mithrof7a21502014-12-17 03:24:48440 "scheduler/commit_earlyout_reason.h",
briandersonc9f50352015-06-24 03:38:58441 "scheduler/compositor_timing_history.cc",
442 "scheduler/compositor_timing_history.h",
[email protected]d05751a22014-05-29 20:54:24443 "scheduler/delay_based_time_source.cc",
444 "scheduler/delay_based_time_source.h",
445 "scheduler/draw_result.h",
446 "scheduler/scheduler.cc",
447 "scheduler/scheduler.h",
448 "scheduler/scheduler_settings.cc",
449 "scheduler/scheduler_settings.h",
450 "scheduler/scheduler_state_machine.cc",
451 "scheduler/scheduler_state_machine.h",
sunnyps7d073dc2015-04-16 23:29:12452 "scheduler/video_frame_controller.h",
danakj920156852015-05-18 20:22:29453 "tiles/eviction_tile_priority_queue.cc",
454 "tiles/eviction_tile_priority_queue.h",
vmpstr64cdba32016-03-03 00:38:40455 "tiles/gpu_image_decode_controller.cc",
456 "tiles/gpu_image_decode_controller.h",
vmpstrc8cf52ab2015-08-03 23:12:50457 "tiles/image_decode_controller.h",
vmpstr26ce8fb2016-09-15 20:47:05458 "tiles/image_manager.cc",
459 "tiles/image_manager.h",
ericrkc7ebaa12016-06-09 21:05:55460 "tiles/mipmap_util.cc",
461 "tiles/mipmap_util.h",
danakj920156852015-05-18 20:22:29462 "tiles/picture_layer_tiling.cc",
463 "tiles/picture_layer_tiling.h",
464 "tiles/picture_layer_tiling_set.cc",
465 "tiles/picture_layer_tiling_set.h",
466 "tiles/prioritized_tile.cc",
467 "tiles/prioritized_tile.h",
468 "tiles/raster_tile_priority_queue.cc",
469 "tiles/raster_tile_priority_queue.h",
470 "tiles/raster_tile_priority_queue_all.cc",
471 "tiles/raster_tile_priority_queue_all.h",
472 "tiles/raster_tile_priority_queue_required.cc",
473 "tiles/raster_tile_priority_queue_required.h",
vmpstr64cdba32016-03-03 00:38:40474 "tiles/software_image_decode_controller.cc",
475 "tiles/software_image_decode_controller.h",
danakj920156852015-05-18 20:22:29476 "tiles/tile.cc",
477 "tiles/tile.h",
478 "tiles/tile_draw_info.cc",
479 "tiles/tile_draw_info.h",
480 "tiles/tile_manager.cc",
481 "tiles/tile_manager.h",
482 "tiles/tile_priority.cc",
483 "tiles/tile_priority.h",
prashant.nb4d4f492016-04-29 12:51:28484 "tiles/tile_task_manager.cc",
485 "tiles/tile_task_manager.h",
danakj920156852015-05-18 20:22:29486 "tiles/tiling_set_eviction_queue.cc",
487 "tiles/tiling_set_eviction_queue.h",
488 "tiles/tiling_set_raster_queue_all.cc",
489 "tiles/tiling_set_raster_queue_all.h",
490 "tiles/tiling_set_raster_queue_required.cc",
491 "tiles/tiling_set_raster_queue_required.h",
[email protected]d05751a22014-05-29 20:54:24492 "trees/blocking_task_runner.cc",
493 "trees/blocking_task_runner.h",
khushalsagar5d6eb982015-09-25 22:44:56494 "trees/channel_impl.h",
495 "trees/channel_main.h",
trchendba8b1502016-07-08 09:47:01496 "trees/clip_node.cc",
497 "trees/clip_node.h",
khushalsagar19458bd2015-12-08 02:19:01498 "trees/compositor_mode.h",
[email protected]d05751a22014-05-29 20:54:24499 "trees/damage_tracker.cc",
500 "trees/damage_tracker.h",
vollick51ed1a22014-12-17 02:03:00501 "trees/draw_property_utils.cc",
502 "trees/draw_property_utils.h",
trchendba8b1502016-07-08 09:47:01503 "trees/effect_node.cc",
504 "trees/effect_node.h",
jamesrf313a212015-03-16 21:27:37505 "trees/latency_info_swap_promise_monitor.cc",
506 "trees/latency_info_swap_promise_monitor.h",
xingliue43518a2016-07-28 23:59:47507 "trees/layer_tree.cc",
508 "trees/layer_tree.h",
[email protected]d05751a22014-05-29 20:54:24509 "trees/layer_tree_host.h",
510 "trees/layer_tree_host_client.h",
511 "trees/layer_tree_host_common.cc",
512 "trees/layer_tree_host_common.h",
513 "trees/layer_tree_host_impl.cc",
514 "trees/layer_tree_host_impl.h",
khushalsagar61567792016-09-17 00:13:58515 "trees/layer_tree_host_in_process.cc",
516 "trees/layer_tree_host_in_process.h",
ccameron00e438cd2015-03-12 06:18:14517 "trees/layer_tree_host_single_thread_client.h",
[email protected]d05751a22014-05-29 20:54:24518 "trees/layer_tree_impl.cc",
519 "trees/layer_tree_impl.h",
520 "trees/layer_tree_settings.cc",
521 "trees/layer_tree_settings.h",
loysobb93befc2015-07-03 00:19:50522 "trees/mutator_host_client.h",
vmpstrcdcb5f72014-09-11 00:58:37523 "trees/occlusion.cc",
524 "trees/occlusion.h",
[email protected]d05751a22014-05-29 20:54:24525 "trees/occlusion_tracker.cc",
526 "trees/occlusion_tracker.h",
vollick51ed1a22014-12-17 02:03:00527 "trees/property_tree.cc",
528 "trees/property_tree.h",
529 "trees/property_tree_builder.cc",
530 "trees/property_tree_builder.h",
[email protected]d05751a22014-05-29 20:54:24531 "trees/proxy.h",
khushalsagare3c9fa92015-10-28 02:08:29532 "trees/proxy_common.cc",
533 "trees/proxy_common.h",
khushalsagar0a226af2015-12-09 10:30:20534 "trees/proxy_impl.cc",
khushalsagar5d6eb982015-09-25 22:44:56535 "trees/proxy_impl.h",
khushalsagar0a226af2015-12-09 10:30:20536 "trees/proxy_main.cc",
khushalsagar5d6eb982015-09-25 22:44:56537 "trees/proxy_main.h",
khushalsagare0a38d42016-01-29 01:15:06538 "trees/remote_channel_impl.cc",
539 "trees/remote_channel_impl.h",
540 "trees/remote_channel_main.cc",
541 "trees/remote_channel_main.h",
dtrainor5ef644e2015-11-19 00:12:47542 "trees/remote_proto_channel.h",
[email protected]aeeedad2014-08-22 18:16:22543 "trees/scoped_abort_remaining_swap_promises.h",
trchendba8b1502016-07-08 09:47:01544 "trees/scroll_node.cc",
545 "trees/scroll_node.h",
[email protected]d05751a22014-05-29 20:54:24546 "trees/single_thread_proxy.cc",
547 "trees/single_thread_proxy.h",
khushalsagar8297ae992016-09-14 20:51:23548 "trees/surface_sequence_generator.cc",
549 "trees/surface_sequence_generator.h",
550 "trees/swap_promise_manager.cc",
551 "trees/swap_promise_manager.h",
jamesrf313a212015-03-16 21:27:37552 "trees/swap_promise_monitor.cc",
553 "trees/swap_promise_monitor.h",
khushalsagarb64b360d2015-10-21 19:25:16554 "trees/task_runner_provider.cc",
555 "trees/task_runner_provider.h",
khushalsagar5d6eb982015-09-25 22:44:56556 "trees/threaded_channel.cc",
557 "trees/threaded_channel.h",
trchendba8b1502016-07-08 09:47:01558 "trees/transform_node.cc",
559 "trees/transform_node.h",
[email protected]d05751a22014-05-29 20:54:24560 "trees/tree_synchronizer.cc",
561 "trees/tree_synchronizer.h",
562 ]
563
agrieveefcd0222016-06-08 15:48:19564 if (current_cpu == "x86" || current_cpu == "x64") {
thakis4a0c5482015-06-08 20:51:29565 sources += [
566 "raster/texture_compressor_etc1_sse.cc",
567 "raster/texture_compressor_etc1_sse.h",
568 ]
569 }
570
brettwbc8b2a22015-07-28 18:24:42571 configs += [ "//build/config:precompiled_headers" ]
572
Brett Wilsone53895272014-09-23 23:41:46573 public_deps = [
jamesrf313a212015-03-16 21:27:37574 "//cc/base",
Brett Wilsone53895272014-09-23 23:41:46575 "//skia",
576 ]
[email protected]d05751a22014-05-29 20:54:24577 deps = [
578 "//base",
579 "//base/third_party/dynamic_annotations",
dtrainorddb0b492015-10-19 20:14:44580 "//cc/proto",
jamesr16c04ff2014-11-24 22:24:57581 "//cc/surfaces:surface_id",
[email protected]d05751a22014-05-29 20:54:24582 "//gpu",
jbromancba3d2fe2014-09-16 01:04:24583 "//gpu/command_buffer/client:gles2_interface",
[email protected]6e44c302014-07-22 21:51:37584 "//media",
Nico Weber9d6e12942016-04-19 18:51:09585 "//ui/events:events_base",
[email protected]d05751a22014-05-29 20:54:24586 "//ui/gfx",
587 "//ui/gfx/geometry",
ericrkf08855b42015-08-06 00:20:22588 "//ui/gl",
[email protected]d05751a22014-05-29 20:54:24589 ]
[email protected]d05751a22014-05-29 20:54:24590
[email protected]3ffa36a2014-07-24 21:01:50591 defines = [ "CC_IMPLEMENTATION=1" ]
[email protected]d05751a22014-05-29 20:54:24592
fdegans75b3d092014-09-17 18:35:55593 if (!is_debug && (is_win || is_android)) {
brettw4cab0f12015-09-14 21:40:01594 configs -= [ "//build/config/compiler:default_optimization" ]
[email protected]d05751a22014-05-29 20:54:24595 configs += [ "//build/config/compiler:optimize_max" ]
596 }
dyen8a145fb72016-03-31 00:37:51597
598 if (enable_vulkan) {
dyen136e05c2016-04-06 22:28:27599 sources += [
dyen136e05c2016-04-06 22:28:27600 "output/vulkan_renderer.cc",
601 "output/vulkan_renderer.h",
dyen8a145fb72016-03-31 00:37:51602 ]
603
dyen136e05c2016-04-06 22:28:27604 deps += [ "//gpu/vulkan" ]
dyen8a145fb72016-03-31 00:37:51605 }
[email protected]d05751a22014-05-29 20:54:24606}
607
brettw2dbbe5b02016-07-14 19:38:57608static_library("test_support") {
Brett Wilson8f80ad0b2014-09-08 19:50:24609 testonly = true
[email protected]d05751a22014-05-29 20:54:24610 sources = [
611 "test/animation_test_common.cc",
612 "test/animation_test_common.h",
loysobb93befc2015-07-03 00:19:50613 "test/animation_timelines_test_common.cc",
614 "test/animation_timelines_test_common.h",
[email protected]d05751a22014-05-29 20:54:24615 "test/begin_frame_args_test.cc",
616 "test/begin_frame_args_test.h",
mithro6be81902015-12-04 05:58:46617 "test/begin_frame_source_test.cc",
618 "test/begin_frame_source_test.h",
khushalsagar0f081c42015-12-16 07:04:20619 "test/fake_channel_impl.cc",
620 "test/fake_channel_impl.h",
nyquistfbaee112016-06-24 23:15:13621 "test/fake_client_picture_cache.cc",
622 "test/fake_client_picture_cache.h",
danakj1120f4c2016-09-15 02:05:32623 "test/fake_compositor_frame_sink.cc",
624 "test/fake_compositor_frame_sink.h",
625 "test/fake_compositor_frame_sink_client.cc",
626 "test/fake_compositor_frame_sink_client.h",
[email protected]d05751a22014-05-29 20:54:24627 "test/fake_content_layer_client.cc",
628 "test/fake_content_layer_client.h",
nyquistfbaee112016-06-24 23:15:13629 "test/fake_engine_picture_cache.cc",
630 "test/fake_engine_picture_cache.h",
danakj6e3bf8012014-12-16 18:27:53631 "test/fake_external_begin_frame_source.cc",
632 "test/fake_external_begin_frame_source.h",
nyquist16febb42016-02-12 00:15:04633 "test/fake_image_serialization_processor.cc",
634 "test/fake_image_serialization_processor.h",
khushalsagarb64b360d2015-10-21 19:25:16635 "test/fake_impl_task_runner_provider.h",
[email protected]d05751a22014-05-29 20:54:24636 "test/fake_layer_tree_host.cc",
637 "test/fake_layer_tree_host.h",
638 "test/fake_layer_tree_host_client.cc",
639 "test/fake_layer_tree_host_client.h",
640 "test/fake_layer_tree_host_impl.cc",
641 "test/fake_layer_tree_host_impl.h",
642 "test/fake_layer_tree_host_impl_client.cc",
643 "test/fake_layer_tree_host_impl_client.h",
ajumad9432e32015-11-30 19:43:44644 "test/fake_mask_layer_impl.cc",
645 "test/fake_mask_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24646 "test/fake_output_surface.cc",
647 "test/fake_output_surface.h",
648 "test/fake_output_surface_client.cc",
649 "test/fake_output_surface_client.h",
650 "test/fake_painted_scrollbar_layer.cc",
651 "test/fake_painted_scrollbar_layer.h",
652 "test/fake_picture_layer.cc",
653 "test/fake_picture_layer.h",
654 "test/fake_picture_layer_impl.cc",
655 "test/fake_picture_layer_impl.h",
656 "test/fake_picture_layer_tiling_client.cc",
657 "test/fake_picture_layer_tiling_client.h",
[email protected]d05751a22014-05-29 20:54:24658 "test/fake_proxy.cc",
659 "test/fake_proxy.h",
prashant.nb4d4f492016-04-29 12:51:28660 "test/fake_raster_buffer_provider.cc",
661 "test/fake_raster_buffer_provider.h",
vmpstr41d68f882016-03-30 01:20:23662 "test/fake_raster_source.cc",
663 "test/fake_raster_source.h",
vmpstre17fd212016-03-30 20:03:32664 "test/fake_recording_source.cc",
665 "test/fake_recording_source.h",
[email protected]d05751a22014-05-29 20:54:24666 "test/fake_rendering_stats_instrumentation.h",
danakj61bf05f2015-05-26 23:28:56667 "test/fake_resource_provider.h",
[email protected]d05751a22014-05-29 20:54:24668 "test/fake_scoped_ui_resource.cc",
669 "test/fake_scoped_ui_resource.h",
670 "test/fake_scrollbar.cc",
671 "test/fake_scrollbar.h",
672 "test/fake_tile_manager.cc",
673 "test/fake_tile_manager.h",
674 "test/fake_tile_manager_client.cc",
675 "test/fake_tile_manager_client.h",
prashant.nb4d4f492016-04-29 12:51:28676 "test/fake_tile_task_manager.cc",
677 "test/fake_tile_task_manager.h",
[email protected]d05751a22014-05-29 20:54:24678 "test/fake_ui_resource_layer_tree_host_impl.cc",
679 "test/fake_ui_resource_layer_tree_host_impl.h",
680 "test/fake_video_frame_provider.cc",
681 "test/fake_video_frame_provider.h",
682 "test/geometry_test_utils.cc",
683 "test/geometry_test_utils.h",
khushalsagarb51998f2016-07-08 01:04:21684 "test/layer_internals_for_test.cc",
685 "test/layer_internals_for_test.h",
[email protected]d05751a22014-05-29 20:54:24686 "test/layer_test_common.cc",
687 "test/layer_test_common.h",
[email protected]d05751a22014-05-29 20:54:24688 "test/layer_tree_json_parser.cc",
689 "test/layer_tree_json_parser.h",
enne03dbe8ae2014-10-30 01:32:55690 "test/layer_tree_pixel_resource_test.cc",
691 "test/layer_tree_pixel_resource_test.h",
[email protected]d05751a22014-05-29 20:54:24692 "test/layer_tree_pixel_test.cc",
693 "test/layer_tree_pixel_test.h",
weiliangc365a6fe2016-05-12 19:32:31694 "test/layer_tree_settings_for_testing.cc",
695 "test/layer_tree_settings_for_testing.h",
[email protected]d05751a22014-05-29 20:54:24696 "test/layer_tree_test.cc",
697 "test/layer_tree_test.h",
mithro6be81902015-12-04 05:58:46698 "test/mock_helper.h",
[email protected]ba16cce2014-06-17 17:03:50699 "test/mock_occlusion_tracker.h",
[email protected]d5ba08c2014-06-18 07:01:08700 "test/ordered_simple_task_runner.cc",
701 "test/ordered_simple_task_runner.h",
[email protected]d05751a22014-05-29 20:54:24702 "test/ordered_texture_map.cc",
703 "test/ordered_texture_map.h",
704 "test/paths.cc",
705 "test/paths.h",
nyquistfbaee112016-06-24 23:15:13706 "test/picture_cache_model.cc",
707 "test/picture_cache_model.h",
[email protected]d05751a22014-05-29 20:54:24708 "test/pixel_comparator.cc",
709 "test/pixel_comparator.h",
710 "test/pixel_test.cc",
711 "test/pixel_test.h",
712 "test/pixel_test_output_surface.cc",
713 "test/pixel_test_output_surface.h",
714 "test/pixel_test_software_output_device.cc",
715 "test/pixel_test_software_output_device.h",
716 "test/pixel_test_utils.cc",
717 "test/pixel_test_utils.h",
khushalsagare0a38d42016-01-29 01:15:06718 "test/remote_proto_channel_bridge.cc",
719 "test/remote_proto_channel_bridge.h",
[email protected]d05751a22014-05-29 20:54:24720 "test/render_pass_test_utils.cc",
721 "test/render_pass_test_utils.h",
722 "test/scheduler_test_common.cc",
723 "test/scheduler_test_common.h",
724 "test/skia_common.cc",
725 "test/skia_common.h",
726 "test/solid_color_content_layer_client.cc",
727 "test/solid_color_content_layer_client.h",
danakjffc181a2016-07-22 22:48:43728 "test/stub_layer_tree_host_client.cc",
729 "test/stub_layer_tree_host_client.h",
730 "test/stub_layer_tree_host_single_thread_client.cc",
731 "test/stub_layer_tree_host_single_thread_client.h",
fsamuel7a615102015-10-23 21:25:16732 "test/surface_aggregator_test_helpers.cc",
733 "test/surface_aggregator_test_helpers.h",
734 "test/surface_hittest_test_helpers.cc",
735 "test/surface_hittest_test_helpers.h",
ericrk4e3aa5a2015-12-01 03:53:56736 "test/task_graph_runner_test_template.cc",
737 "test/task_graph_runner_test_template.h",
danakj1120f4c2016-09-15 02:05:32738 "test/test_compositor_frame_sink.cc",
739 "test/test_compositor_frame_sink.h",
[email protected]d05751a22014-05-29 20:54:24740 "test/test_context_provider.cc",
741 "test/test_context_provider.h",
742 "test/test_context_support.cc",
743 "test/test_context_support.h",
744 "test/test_gles2_interface.cc",
745 "test/test_gles2_interface.h",
reveman22dd9292014-10-13 20:52:05746 "test/test_gpu_memory_buffer_manager.cc",
747 "test/test_gpu_memory_buffer_manager.h",
khushalsagar0a226af2015-12-09 10:30:20748 "test/test_hooks.cc",
749 "test/test_hooks.h",
reveman2232bce2014-10-29 01:28:05750 "test/test_image_factory.cc",
751 "test/test_image_factory.h",
satorux457770e2015-02-18 18:33:39752 "test/test_in_process_context_provider.cc",
753 "test/test_in_process_context_provider.h",
vmpstr6edf66ce2016-05-18 20:12:22754 "test/test_layer_tree_host_base.cc",
755 "test/test_layer_tree_host_base.h",
[email protected]d05751a22014-05-29 20:54:24756 "test/test_occlusion_tracker.h",
757 "test/test_shared_bitmap_manager.cc",
758 "test/test_shared_bitmap_manager.h",
reveman34b7a1522015-03-23 20:27:47759 "test/test_task_graph_runner.cc",
760 "test/test_task_graph_runner.h",
[email protected]d05751a22014-05-29 20:54:24761 "test/test_texture.cc",
762 "test/test_texture.h",
763 "test/test_tile_priorities.cc",
764 "test/test_tile_priorities.h",
prashant.n7c706022016-05-26 19:00:09765 "test/test_tile_task_runner.cc",
766 "test/test_tile_task_runner.h",
[email protected]d05751a22014-05-29 20:54:24767 "test/test_web_graphics_context_3d.cc",
768 "test/test_web_graphics_context_3d.h",
[email protected]d05751a22014-05-29 20:54:24769 ]
770
brettwbc8b2a22015-07-28 18:24:42771 configs += [ "//build/config:precompiled_headers" ]
[email protected]d05751a22014-05-29 20:54:24772
Brett Wilson0380637c2014-09-19 21:24:40773 public_deps = [
774 ":cc",
Brett Wilsone53895272014-09-23 23:41:46775 "//gpu:test_support",
Brett Wilson0380637c2014-09-19 21:24:40776 ]
[email protected]d05751a22014-05-29 20:54:24777 deps = [
778 "//base",
jamesr16c04ff2014-11-24 22:24:57779 "//base/test:test_support",
[email protected]d05751a22014-05-29 20:54:24780 "//base/third_party/dynamic_annotations",
khushalsagare0a38d42016-01-29 01:15:06781 "//cc/proto",
fsamuel7a615102015-10-23 21:25:16782 "//cc/surfaces",
783 "//cc/surfaces:surface_id",
agrieved7a71c882015-11-20 19:53:28784 "//gpu/command_buffer/client:gl_in_process_context",
[email protected]d05751a22014-05-29 20:54:24785 "//gpu/command_buffer/client:gles2_c_lib",
786 "//gpu/command_buffer/client:gles2_implementation",
[email protected]845c4e32014-08-13 11:50:40787 "//gpu/command_buffer/common:gles2_utils",
[email protected]d05751a22014-05-29 20:54:24788 "//gpu/skia_bindings",
jamesr16c04ff2014-11-24 22:24:57789 "//media",
[email protected]d05751a22014-05-29 20:54:24790 "//skia",
791 "//testing/gmock",
792 "//testing/gtest",
[email protected]d05751a22014-05-29 20:54:24793 "//ui/gfx",
[email protected]e54a1f522014-07-22 23:26:48794 "//ui/gfx:test_support",
agrieved7a71c882015-11-20 19:53:28795 "//ui/gfx/geometry",
[email protected]d05751a22014-05-29 20:54:24796 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26797 "//ui/gl:test_support",
[email protected]d05751a22014-05-29 20:54:24798 ]
agrieve48bd27e2016-06-22 21:04:07799 if (!is_android) {
800 data_deps = [
801 "//third_party/mesa:osmesa",
802 ]
803 }
[email protected]d05751a22014-05-29 20:54:24804}
805
brettw4897a612015-03-02 23:13:15806test("cc_unittests") {
807 sources = [
loysobb93befc2015-07-03 00:19:50808 "animation/animation_host_unittest.cc",
809 "animation/animation_player_unittest.cc",
810 "animation/animation_timeline_unittest.cc",
brettw4897a612015-03-02 23:13:15811 "animation/animation_unittest.cc",
loysobb93befc2015-07-03 00:19:50812 "animation/element_animations_unittest.cc",
brettw4897a612015-03-02 23:13:15813 "animation/keyframed_animation_curve_unittest.cc",
brettw4897a612015-03-02 23:13:15814 "animation/scroll_offset_animation_curve_unittest.cc",
brettw4897a612015-03-02 23:13:15815 "animation/transform_operations_unittest.cc",
enne797d82332015-12-01 01:34:58816 "base/contiguous_container_unittest.cc",
brettwd649f6b2015-08-18 20:58:51817 "base/delayed_unique_notifier_unittest.cc",
brettw4897a612015-03-02 23:13:15818 "base/float_quad_unittest.cc",
jbroman7b5b0552015-05-28 03:36:58819 "base/histograms_unittest.cc",
prashant.n20ec56f2016-09-22 03:47:32820 "base/index_rect_unittest.cc",
prashant.n7f1fe3d2015-06-05 18:26:04821 "base/list_container_unittest.cc",
brettw4897a612015-03-02 23:13:15822 "base/math_util_unittest.cc",
vmpstrb10241fc2015-09-18 01:10:12823 "base/random_access_list_container_unittest.cc",
brettw4897a612015-03-02 23:13:15824 "base/region_unittest.cc",
825 "base/rolling_time_delta_history_unittest.cc",
vmpstrb3ceb8222015-09-23 20:25:25826 "base/rtree_unittest.cc",
brettw4897a612015-03-02 23:13:15827 "base/simple_enclosed_region_unittest.cc",
prashant.n05192792016-09-24 03:38:20828 "base/spiral_iterator_unittest.cc",
brettw4897a612015-03-02 23:13:15829 "base/tiling_data_unittest.cc",
brettwd649f6b2015-08-18 20:58:51830 "base/unique_notifier_unittest.cc",
nyquistfbaee112016-06-24 23:15:13831 "blimp/picture_data_conversions_unittest.cc",
nyquist74a9aca2015-12-01 22:39:04832 "debug/layer_tree_debug_state_unittest.cc",
brettw4897a612015-03-02 23:13:15833 "debug/micro_benchmark_controller_unittest.cc",
brettwd649f6b2015-08-18 20:58:51834 "debug/rendering_stats_unittest.cc",
nyquist9de8ad82015-12-18 20:09:06835 "input/layer_selection_bound_unittest.cc",
tdresserd9e201472015-07-31 13:15:07836 "input/scroll_state_unittest.cc",
loyso455b4f602016-02-24 02:59:42837 "input/scrollbar_animation_controller_linear_fade_unittest.cc",
838 "input/scrollbar_animation_controller_thinning_unittest.cc",
brettw4897a612015-03-02 23:13:15839 "input/top_controls_manager_unittest.cc",
fsamuelf76098e2016-05-18 17:26:51840 "ipc/cc_param_traits_unittest.cc",
fsamuel410c9602016-05-31 21:50:20841 "ipc/struct_traits_unittest.cc",
brettw4897a612015-03-02 23:13:15842 "layers/heads_up_display_layer_impl_unittest.cc",
843 "layers/heads_up_display_unittest.cc",
brettw4897a612015-03-02 23:13:15844 "layers/layer_impl_unittest.cc",
845 "layers/layer_iterator_unittest.cc",
vollick44d1c1f2016-03-02 20:59:43846 "layers/layer_list_iterator_unittest.cc",
brettw4897a612015-03-02 23:13:15847 "layers/layer_position_constraint_unittest.cc",
nyquist353b7d52015-11-06 22:26:53848 "layers/layer_proto_converter_unittest.cc",
brettw4897a612015-03-02 23:13:15849 "layers/layer_unittest.cc",
850 "layers/layer_utils_unittest.cc",
851 "layers/nine_patch_layer_impl_unittest.cc",
852 "layers/nine_patch_layer_unittest.cc",
853 "layers/painted_scrollbar_layer_impl_unittest.cc",
ccamerona54da382015-11-27 00:52:33854 "layers/painted_scrollbar_layer_unittest.cc",
brettw4897a612015-03-02 23:13:15855 "layers/picture_image_layer_unittest.cc",
856 "layers/picture_layer_impl_unittest.cc",
857 "layers/picture_layer_unittest.cc",
858 "layers/render_surface_impl_unittest.cc",
859 "layers/render_surface_unittest.cc",
860 "layers/scrollbar_layer_unittest.cc",
861 "layers/solid_color_layer_impl_unittest.cc",
862 "layers/solid_color_scrollbar_layer_impl_unittest.cc",
863 "layers/surface_layer_impl_unittest.cc",
864 "layers/surface_layer_unittest.cc",
865 "layers/texture_layer_impl_unittest.cc",
866 "layers/texture_layer_unittest.cc",
brettw4897a612015-03-02 23:13:15867 "layers/ui_resource_layer_impl_unittest.cc",
868 "layers/ui_resource_layer_unittest.cc",
dalecurtisb8396642015-06-09 18:38:14869 "layers/video_frame_provider_client_impl_unittest.cc",
brettw4897a612015-03-02 23:13:15870 "layers/video_layer_impl_unittest.cc",
ymalik99740e852016-04-07 04:18:13871 "layers/viewport_unittest.cc",
brettw4897a612015-03-02 23:13:15872 "output/begin_frame_args_unittest.cc",
brettwd649f6b2015-08-18 20:58:51873 "output/bsp_tree_unittest.cc",
ericrk9151705c2016-07-26 19:53:16874 "output/buffer_to_texture_target_map_unittest.cc",
danakje41d978a2016-09-19 21:09:28875 "output/compositor_frame_sink_unittest.cc",
ericrkf6c4fb62016-08-30 23:27:24876 "output/context_cache_controller_unittest.cc",
brettw4897a612015-03-02 23:13:15877 "output/filter_operations_unittest.cc",
878 "output/gl_renderer_unittest.cc",
danakj920156852015-05-18 20:22:29879 "output/layer_quad_unittest.cc",
nyquist1d29b062015-12-02 02:48:18880 "output/managed_memory_policy_unittest.cc",
brettw4897a612015-03-02 23:13:15881 "output/output_surface_unittest.cc",
882 "output/overlay_unittest.cc",
883 "output/renderer_pixeltest.cc",
nyquistb974b9a2015-12-02 00:08:35884 "output/renderer_settings_unittest.cc",
brettw4897a612015-03-02 23:13:15885 "output/shader_unittest.cc",
886 "output/software_renderer_unittest.cc",
danakj920156852015-05-18 20:22:29887 "output/texture_mailbox_deleter_unittest.cc",
fmalita7913ee52015-09-09 19:47:31888 "playback/discardable_image_map_unittest.cc",
danakj920156852015-05-18 20:22:29889 "playback/display_item_list_unittest.cc",
vmpstr41d68f882016-03-30 01:20:23890 "playback/raster_source_unittest.cc",
vmpstre17fd212016-03-30 20:03:32891 "playback/recording_source_unittest.cc",
khushalsagar37694212016-01-15 20:46:48892 "proto/base_conversions_unittest.cc",
nyquist04b8bd2e2015-11-24 10:04:17893 "proto/cc_conversions_unittest.cc",
dtrainorddb0b492015-10-19 20:14:44894 "proto/gfx_conversions_unittest.cc",
nyquist1d29b062015-12-02 02:48:18895 "proto/gpu_conversions_unittest.cc",
dtrainor543858f52015-10-23 20:13:55896 "proto/skia_conversions_unittest.cc",
sunxdc36713a2016-03-03 22:31:10897 "proto/synced_property_conversions_unittest.cc",
brettwd649f6b2015-08-18 20:58:51898 "quads/draw_polygon_unittest.cc",
brettw4897a612015-03-02 23:13:15899 "quads/draw_quad_unittest.cc",
brettw4897a612015-03-02 23:13:15900 "quads/render_pass_unittest.cc",
prashant.nb4d4f492016-04-29 12:51:28901 "raster/raster_buffer_provider_unittest.cc",
danakj920156852015-05-18 20:22:29902 "raster/scoped_gpu_raster_unittest.cc",
ericrk4e3aa5a2015-12-01 03:53:56903 "raster/single_thread_task_graph_runner_unittest.cc",
904 "raster/synchronous_task_graph_runner_unittest.cc",
danakj920156852015-05-18 20:22:29905 "raster/texture_compressor_etc1_unittest.cc",
brettw4897a612015-03-02 23:13:15906 "resources/platform_color_unittest.cc",
boliucb788f42015-07-22 23:49:28907 "resources/resource_pool_unittest.cc",
brettw4897a612015-03-02 23:13:15908 "resources/resource_provider_unittest.cc",
prashant.n8e494282015-08-03 07:13:41909 "resources/resource_util_unittest.cc",
brettw4897a612015-03-02 23:13:15910 "resources/scoped_resource_unittest.cc",
brettw4897a612015-03-02 23:13:15911 "resources/video_resource_updater_unittest.cc",
912 "scheduler/begin_frame_source_unittest.cc",
khushalsagar0b3d9e12016-01-14 21:10:18913 "scheduler/commit_earlyout_reason_unittest.cc",
brianderson68749812015-07-07 22:39:39914 "scheduler/compositor_timing_history_unittest.cc",
brettw4897a612015-03-02 23:13:15915 "scheduler/delay_based_time_source_unittest.cc",
916 "scheduler/scheduler_state_machine_unittest.cc",
917 "scheduler/scheduler_unittest.cc",
mithro6be81902015-12-04 05:58:46918 "test/begin_frame_source_test_unittest.cc",
brettw4897a612015-03-02 23:13:15919 "test/layer_tree_json_parser_unittest.cc",
mithro6be81902015-12-04 05:58:46920 "test/mock_helper_unittest.cc",
brettwd649f6b2015-08-18 20:58:51921 "test/ordered_simple_task_runner_unittest.cc",
brettw4897a612015-03-02 23:13:15922 "test/test_web_graphics_context_3d_unittest.cc",
ericrkd2ff2a132016-04-11 22:16:00923 "tiles/gpu_image_decode_controller_unittest.cc",
vmpstrf8c96db2016-09-19 20:04:51924 "tiles/image_manager_unittest.cc",
ericrkc7ebaa12016-06-09 21:05:55925 "tiles/mipmap_util_unittest.cc",
danakj920156852015-05-18 20:22:29926 "tiles/picture_layer_tiling_set_unittest.cc",
927 "tiles/picture_layer_tiling_unittest.cc",
vmpstr64cdba32016-03-03 00:38:40928 "tiles/software_image_decode_controller_unittest.cc",
danakj920156852015-05-18 20:22:29929 "tiles/tile_manager_unittest.cc",
930 "tiles/tile_priority_unittest.cc",
brettw4897a612015-03-02 23:13:15931 "trees/blocking_task_runner_unittest.cc",
932 "trees/damage_tracker_unittest.cc",
brettw4897a612015-03-02 23:13:15933 "trees/layer_tree_host_common_unittest.cc",
934 "trees/layer_tree_host_impl_unittest.cc",
935 "trees/layer_tree_host_pixeltest_blending.cc",
936 "trees/layer_tree_host_pixeltest_filters.cc",
937 "trees/layer_tree_host_pixeltest_masks.cc",
938 "trees/layer_tree_host_pixeltest_readback.cc",
danakjd63f8a62016-08-24 03:26:48939 "trees/layer_tree_host_pixeltest_scrollbars.cc",
brettw4897a612015-03-02 23:13:15940 "trees/layer_tree_host_pixeltest_synchronous.cc",
danakje0b54782015-05-29 22:47:52941 "trees/layer_tree_host_pixeltest_tiles.cc",
brettw4897a612015-03-02 23:13:15942 "trees/layer_tree_host_unittest.cc",
943 "trees/layer_tree_host_unittest_animation.cc",
944 "trees/layer_tree_host_unittest_context.cc",
945 "trees/layer_tree_host_unittest_copyrequest.cc",
946 "trees/layer_tree_host_unittest_damage.cc",
brettw4897a612015-03-02 23:13:15947 "trees/layer_tree_host_unittest_occlusion.cc",
948 "trees/layer_tree_host_unittest_picture.cc",
949 "trees/layer_tree_host_unittest_proxy.cc",
khushalsagarb54107d02015-12-10 20:20:56950 "trees/layer_tree_host_unittest_record_gpu_histogram.cc",
khushalsagarb0d8691b2016-01-30 02:47:17951 "trees/layer_tree_host_unittest_remote_server.cc",
brettw4897a612015-03-02 23:13:15952 "trees/layer_tree_host_unittest_scroll.cc",
nyquist4f5e8afd2016-01-14 17:40:36953 "trees/layer_tree_host_unittest_serialization.cc",
brettw4897a612015-03-02 23:13:15954 "trees/layer_tree_host_unittest_video.cc",
955 "trees/layer_tree_impl_unittest.cc",
956 "trees/occlusion_tracker_unittest.cc",
957 "trees/occlusion_unittest.cc",
958 "trees/property_tree_unittest.cc",
khushalsagar37694212016-01-15 20:46:48959 "trees/proxy_common_unittest.cc",
khushalsagar8297ae992016-09-14 20:51:23960 "trees/surface_sequence_generator_unittest.cc",
961 "trees/swap_promise_manager_unittest.cc",
brettw4897a612015-03-02 23:13:15962 "trees/tree_synchronizer_unittest.cc",
[email protected]d05751a22014-05-29 20:54:24963
brettw4897a612015-03-02 23:13:15964 # Surfaces test files.
danakj1120f4c2016-09-15 02:05:32965 "surfaces/direct_compositor_frame_sink_unittest.cc",
brettwd649f6b2015-08-18 20:58:51966 "surfaces/display_scheduler_unittest.cc",
967 "surfaces/display_unittest.cc",
brettw4897a612015-03-02 23:13:15968 "surfaces/surface_aggregator_unittest.cc",
brettwd649f6b2015-08-18 20:58:51969 "surfaces/surface_factory_unittest.cc",
lfg8d07c91d2015-08-07 16:13:20970 "surfaces/surface_hittest_unittest.cc",
enne4e3c9d52016-03-09 00:25:12971 "surfaces/surface_manager_unittest.cc",
brettw4897a612015-03-02 23:13:15972 "surfaces/surface_unittest.cc",
973 "surfaces/surfaces_pixeltest.cc",
[email protected]d05751a22014-05-29 20:54:24974
brettw4897a612015-03-02 23:13:15975 # Setup.
976 "test/cc_test_suite.cc",
977 "test/run_all_unittests.cc",
978 ]
[email protected]d05751a22014-05-29 20:54:24979
brettwbc8b2a22015-07-28 18:24:42980 configs += [ "//build/config:precompiled_headers" ]
agrievee41ae190d2016-04-25 14:12:51981 if (!is_android) {
982 data = [
983 "test/data/",
984 ]
985 }
dpranke177c1e22015-07-22 23:07:43986
brettw4897a612015-03-02 23:13:15987 deps = [
988 ":cc",
989 ":test_support",
990 "//base/test:test_support",
fsamuelf76098e2016-05-18 17:26:51991 "//cc/ipc",
fsamuel410c9602016-05-31 21:50:20992 "//cc/ipc:test_interfaces",
dtrainorddb0b492015-10-19 20:14:44993 "//cc/proto",
brettw4897a612015-03-02 23:13:15994 "//cc/surfaces",
995 "//cc/surfaces:surface_id",
996 "//gpu",
997 "//gpu:test_support",
998 "//gpu/command_buffer/client:gles2_interface",
999 "//gpu/command_buffer/common:gles2_utils",
1000 "//media",
fsamuel410c9602016-05-31 21:50:201001 "//mojo/edk/system",
1002 "//mojo/public/cpp/bindings",
brettw4897a612015-03-02 23:13:151003 "//testing/gmock",
1004 "//testing/gtest",
Nico Weber9d6e12942016-04-19 18:51:091005 "//ui/events:events_base",
brettw4897a612015-03-02 23:13:151006 "//ui/gfx",
brettw4897a612015-03-02 23:13:151007 "//ui/gfx:test_support",
agrieved7a71c882015-11-20 19:53:281008 "//ui/gfx/geometry",
brettw4897a612015-03-02 23:13:151009 "//ui/gl",
sadrulba162cd2015-07-20 22:34:261010 "//ui/gl:test_support",
brettw4897a612015-03-02 23:13:151011 ]
dpranke177c1e22015-07-22 23:07:431012
vmpstr9116a70f2015-10-14 23:48:341013 data_deps = [
1014 "//third_party/mesa:osmesa",
1015 ]
[email protected]d05751a22014-05-29 20:54:241016}
1017
1018test("cc_perftests") {
[email protected]6e44c302014-07-22 21:51:371019 sources = [
loysoa4a59a42016-02-10 06:49:261020 "animation/animation_host_perftest.cc",
fsamuelbb47aac2016-07-08 01:05:531021 "ipc/cc_serialization_perftest.cc",
[email protected]6e44c302014-07-22 21:51:371022 "layers/layer_perftest.cc",
1023 "layers/picture_layer_impl_perftest.cc",
danakj4e214032016-09-08 19:08:231024 "output/bsp_tree_perftest.cc",
vmpstr0b044512015-05-29 02:58:031025 "quads/draw_quad_perftest.cc",
prashant.nb4d4f492016-04-29 12:51:281026 "raster/raster_buffer_provider_perftest.cc",
danakj920156852015-05-18 20:22:291027 "raster/task_graph_runner_perftest.cc",
1028 "raster/texture_compressor_perftest.cc",
jbauman39be2012015-04-16 01:33:081029 "surfaces/surface_aggregator_perftest.cc",
[email protected]6e44c302014-07-22 21:51:371030 "test/cc_test_suite.cc",
1031 "test/run_all_perftests.cc",
danakj920156852015-05-18 20:22:291032 "tiles/tile_manager_perftest.cc",
[email protected]6e44c302014-07-22 21:51:371033 "trees/layer_tree_host_common_perftest.cc",
1034 "trees/layer_tree_host_perftest.cc",
[email protected]6e44c302014-07-22 21:51:371035 ]
[email protected]d05751a22014-05-29 20:54:241036
[email protected]6e44c302014-07-22 21:51:371037 deps = [
1038 ":cc",
1039 ":test_support",
1040 "//base",
jamesr16c04ff2014-11-24 22:24:571041 "//base/test:test_support",
fsamuelf76098e2016-05-18 17:26:511042 "//cc/ipc",
fsamuelbb47aac2016-07-08 01:05:531043 "//cc/ipc:interfaces",
jbauman39be2012015-04-16 01:33:081044 "//cc/surfaces",
1045 "//cc/surfaces:surface_id",
[email protected]6e44c302014-07-22 21:51:371046 "//gpu",
[email protected]c7990dbf2014-07-23 22:35:101047 "//gpu:test_support",
[email protected]845c4e32014-08-13 11:50:401048 "//gpu/command_buffer/common:gles2_utils",
[email protected]6e44c302014-07-22 21:51:371049 "//media",
fsamuelbb47aac2016-07-08 01:05:531050 "//mojo/edk/system",
1051 "//mojo/public/cpp/bindings",
[email protected]6e44c302014-07-22 21:51:371052 "//skia",
1053 "//testing/gmock",
1054 "//testing/gtest",
1055 "//testing/perf",
1056 "//ui/gfx",
1057 "//ui/gfx/geometry",
jamesr16c04ff2014-11-24 22:24:571058 "//ui/gl",
sadrulba162cd2015-07-20 22:34:261059 "//ui/gl:test_support",
[email protected]6e44c302014-07-22 21:51:371060 ]
krasinca63e412016-05-12 02:53:251061
1062 # This target should not require the Chrome executable to run.
1063 assert_no_deps = [ "//chrome" ]
jbudorickbdd15902016-09-15 21:05:421064
1065 data = [
1066 "test/data/",
1067 ]
[email protected]6e44c302014-07-22 21:51:371068}