blob: f791854447dcbdfbf87d29dc0f48e9b96eb3372c [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
loyso3dd20892016-11-22 07:11:015import("//cc/cc.gni")
qyearsleydb0a34872017-03-14 03:24:316import("//gpu/vulkan/features.gni")
qsrfb5251d12015-01-21 15:57:227
loyso3dd20892016-11-22 07:11:018cc_component("cc") {
[email protected]d05751a22014-05-29 20:54:249 sources = [
chrishtr82b5d9502017-03-20 18:25:3310 "benchmarks/benchmark_instrumentation.cc",
11 "benchmarks/benchmark_instrumentation.h",
12 "benchmarks/invalidation_benchmark.cc",
13 "benchmarks/invalidation_benchmark.h",
14 "benchmarks/micro_benchmark.cc",
15 "benchmarks/micro_benchmark.h",
16 "benchmarks/micro_benchmark_controller.cc",
17 "benchmarks/micro_benchmark_controller.h",
18 "benchmarks/micro_benchmark_controller_impl.cc",
19 "benchmarks/micro_benchmark_controller_impl.h",
20 "benchmarks/micro_benchmark_impl.cc",
21 "benchmarks/micro_benchmark_impl.h",
22 "benchmarks/rasterize_and_record_benchmark.cc",
23 "benchmarks/rasterize_and_record_benchmark.h",
24 "benchmarks/rasterize_and_record_benchmark_impl.cc",
25 "benchmarks/rasterize_and_record_benchmark_impl.h",
26 "benchmarks/unittest_only_benchmark.cc",
27 "benchmarks/unittest_only_benchmark.h",
28 "benchmarks/unittest_only_benchmark_impl.cc",
29 "benchmarks/unittest_only_benchmark_impl.h",
mdjones2ee41afd2016-10-27 16:50:2030 "input/browser_controls_offset_manager.cc",
31 "input/browser_controls_offset_manager.h",
32 "input/browser_controls_offset_manager_client.h",
ccameron36d091f2014-11-07 03:18:5033 "input/input_handler.cc",
[email protected]d05751a22014-05-29 20:54:2434 "input/input_handler.h",
[email protected]b2ba2d42014-07-03 18:14:5035 "input/layer_selection_bound.cc",
36 "input/layer_selection_bound.h",
wychen800b09972016-11-03 09:00:2037 "input/main_thread_scrolling_reason.h",
satorux457770e2015-02-18 18:33:3938 "input/page_scale_animation.cc",
39 "input/page_scale_animation.h",
ccameron4163cc352014-11-13 19:06:3640 "input/scroll_elasticity_helper.cc",
41 "input/scroll_elasticity_helper.h",
tdresserd9e201472015-07-31 13:15:0742 "input/scroll_state.cc",
43 "input/scroll_state.h",
tdresser99c9ff52015-12-14 15:47:0944 "input/scroll_state_data.cc",
45 "input/scroll_state_data.h",
loyso455b4f602016-02-24 02:59:4246 "input/scrollbar_animation_controller.cc",
47 "input/scrollbar_animation_controller.h",
jdduke449b5292015-04-23 19:36:4448 "input/selection.h",
chaopeng2c3e1702017-01-27 04:46:0249 "input/single_scrollbar_animation_controller_thinning.cc",
50 "input/single_scrollbar_animation_controller_thinning.h",
fsamuela4f81d1f2017-04-07 18:32:3851 "layers/append_quads_data.cc",
[email protected]d05751a22014-05-29 20:54:2452 "layers/append_quads_data.h",
[email protected]d05751a22014-05-29 20:54:2453 "layers/content_layer_client.h",
ennefffb119c2015-08-29 09:17:3054 "layers/draw_properties.cc",
[email protected]d05751a22014-05-29 20:54:2455 "layers/draw_properties.h",
ajuma956219582017-04-04 19:58:1456 "layers/effect_tree_layer_list_iterator.cc",
57 "layers/effect_tree_layer_list_iterator.h",
[email protected]d05751a22014-05-29 20:54:2458 "layers/heads_up_display_layer.cc",
59 "layers/heads_up_display_layer.h",
60 "layers/heads_up_display_layer_impl.cc",
61 "layers/heads_up_display_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:2462 "layers/layer.cc",
63 "layers/layer.h",
64 "layers/layer_client.h",
vollick83fbfc82016-03-22 18:33:2765 "layers/layer_collections.h",
[email protected]d05751a22014-05-29 20:54:2466 "layers/layer_impl.cc",
67 "layers/layer_impl.h",
jaydasika1c0a27d42016-04-28 01:54:5668 "layers/layer_impl_test_properties.cc",
69 "layers/layer_impl_test_properties.h",
vollick44d1c1f2016-03-02 20:59:4370 "layers/layer_list_iterator.cc",
71 "layers/layer_list_iterator.h",
[email protected]d05751a22014-05-29 20:54:2472 "layers/layer_position_constraint.cc",
73 "layers/layer_position_constraint.h",
flackr2215b4e2016-09-21 20:16:0174 "layers/layer_sticky_position_constraint.cc",
75 "layers/layer_sticky_position_constraint.h",
[email protected]d05751a22014-05-29 20:54:2476 "layers/layer_utils.cc",
77 "layers/layer_utils.h",
78 "layers/nine_patch_layer.cc",
79 "layers/nine_patch_layer.h",
80 "layers/nine_patch_layer_impl.cc",
81 "layers/nine_patch_layer_impl.h",
82 "layers/paint_properties.h",
bokane7a058a2017-03-02 22:42:5183 "layers/painted_overlay_scrollbar_layer.cc",
84 "layers/painted_overlay_scrollbar_layer.h",
85 "layers/painted_overlay_scrollbar_layer_impl.cc",
86 "layers/painted_overlay_scrollbar_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:2487 "layers/painted_scrollbar_layer.cc",
88 "layers/painted_scrollbar_layer.h",
89 "layers/painted_scrollbar_layer_impl.cc",
90 "layers/painted_scrollbar_layer_impl.h",
91 "layers/picture_image_layer.cc",
92 "layers/picture_image_layer.h",
[email protected]d05751a22014-05-29 20:54:2493 "layers/picture_layer.cc",
94 "layers/picture_layer.h",
95 "layers/picture_layer_impl.cc",
96 "layers/picture_layer_impl.h",
chrishtrac41ff92017-03-17 05:07:3097 "layers/recording_source.cc",
98 "layers/recording_source.h",
[email protected]d05751a22014-05-29 20:54:2499 "layers/render_surface_impl.cc",
100 "layers/render_surface_impl.h",
101 "layers/scrollbar_layer_impl_base.cc",
102 "layers/scrollbar_layer_impl_base.h",
103 "layers/scrollbar_layer_interface.h",
104 "layers/solid_color_layer.cc",
105 "layers/solid_color_layer.h",
106 "layers/solid_color_layer_impl.cc",
107 "layers/solid_color_layer_impl.h",
108 "layers/solid_color_scrollbar_layer.cc",
109 "layers/solid_color_scrollbar_layer.h",
110 "layers/solid_color_scrollbar_layer_impl.cc",
111 "layers/solid_color_scrollbar_layer_impl.h",
112 "layers/surface_layer.cc",
113 "layers/surface_layer.h",
114 "layers/surface_layer_impl.cc",
115 "layers/surface_layer_impl.h",
116 "layers/texture_layer.cc",
117 "layers/texture_layer.h",
118 "layers/texture_layer_client.h",
119 "layers/texture_layer_impl.cc",
120 "layers/texture_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24121 "layers/ui_resource_layer.cc",
122 "layers/ui_resource_layer.h",
123 "layers/ui_resource_layer_impl.cc",
124 "layers/ui_resource_layer_impl.h",
125 "layers/video_frame_provider.h",
126 "layers/video_frame_provider_client_impl.cc",
127 "layers/video_frame_provider_client_impl.h",
128 "layers/video_layer.cc",
129 "layers/video_layer.h",
130 "layers/video_layer_impl.cc",
131 "layers/video_layer_impl.h",
bokanaa2748312015-03-26 00:10:37132 "layers/viewport.cc",
133 "layers/viewport.h",
[email protected]d05751a22014-05-29 20:54:24134 "output/begin_frame_args.cc",
135 "output/begin_frame_args.h",
[email protected]2a021fb7b2014-08-02 07:53:49136 "output/bsp_tree.cc",
137 "output/bsp_tree.h",
138 "output/bsp_walk_action.cc",
139 "output/bsp_walk_action.h",
ericrk9151705c2016-07-26 19:53:16140 "output/buffer_to_texture_target_map.cc",
141 "output/buffer_to_texture_target_map.h",
ccameron35db390a2015-11-17 21:22:55142 "output/ca_layer_overlay.cc",
143 "output/ca_layer_overlay.h",
hubbeaf57af302016-08-11 10:42:32144 "output/color_lut_cache.cc",
145 "output/color_lut_cache.h",
[email protected]d05751a22014-05-29 20:54:24146 "output/compositor_frame.cc",
147 "output/compositor_frame.h",
[email protected]d05751a22014-05-29 20:54:24148 "output/compositor_frame_metadata.cc",
149 "output/compositor_frame_metadata.h",
danakj1120f4c2016-09-15 02:05:32150 "output/compositor_frame_sink.cc",
151 "output/compositor_frame_sink.h",
152 "output/compositor_frame_sink_client.h",
ericrkf6c4fb62016-08-30 23:27:24153 "output/context_cache_controller.cc",
154 "output/context_cache_controller.h",
ericrk6714c23b2016-09-27 03:35:01155 "output/context_provider.cc",
[email protected]d05751a22014-05-29 20:54:24156 "output/context_provider.h",
157 "output/copy_output_request.cc",
158 "output/copy_output_request.h",
159 "output/copy_output_result.cc",
160 "output/copy_output_result.h",
jbauman80ceeee2017-03-13 22:43:57161 "output/dc_layer_overlay.cc",
162 "output/dc_layer_overlay.h",
[email protected]d05751a22014-05-29 20:54:24163 "output/direct_renderer.cc",
164 "output/direct_renderer.h",
awoloszyn3d8eb1d2015-03-12 14:38:32165 "output/dynamic_geometry_binding.cc",
166 "output/dynamic_geometry_binding.h",
[email protected]d05751a22014-05-29 20:54:24167 "output/geometry_binding.cc",
168 "output/geometry_binding.h",
[email protected]d05751a22014-05-29 20:54:24169 "output/gl_renderer.cc",
170 "output/gl_renderer.h",
171 "output/gl_renderer_draw_cache.cc",
172 "output/gl_renderer_draw_cache.h",
fsamueledc0c2c2016-11-18 22:28:04173 "output/in_process_context_provider.cc",
174 "output/in_process_context_provider.h",
jamesrf313a212015-03-16 21:27:37175 "output/latency_info_swap_promise.cc",
176 "output/latency_info_swap_promise.h",
danakj920156852015-05-18 20:22:29177 "output/layer_quad.cc",
178 "output/layer_quad.h",
[email protected]d05751a22014-05-29 20:54:24179 "output/managed_memory_policy.cc",
180 "output/managed_memory_policy.h",
181 "output/output_surface.cc",
182 "output/output_surface.h",
183 "output/output_surface_client.h",
kylechar5344b39e2016-10-06 23:51:19184 "output/output_surface_frame.cc",
185 "output/output_surface_frame.h",
[email protected]d05751a22014-05-29 20:54:24186 "output/overlay_candidate.cc",
187 "output/overlay_candidate.h",
188 "output/overlay_candidate_validator.h",
189 "output/overlay_processor.cc",
190 "output/overlay_processor.h",
dcastagnaea959b12016-07-20 21:38:58191 "output/overlay_strategy_fullscreen.cc",
192 "output/overlay_strategy_fullscreen.h",
[email protected]d05751a22014-05-29 20:54:24193 "output/overlay_strategy_single_on_top.cc",
194 "output/overlay_strategy_single_on_top.h",
achaulkf47b4942015-04-01 17:26:08195 "output/overlay_strategy_underlay.cc",
196 "output/overlay_strategy_underlay.h",
halliwelldc04cafc2017-02-28 00:53:05197 "output/overlay_strategy_underlay_cast.cc",
198 "output/overlay_strategy_underlay_cast.h",
[email protected]d05751a22014-05-29 20:54:24199 "output/program_binding.cc",
200 "output/program_binding.h",
jbaumanc5be44c2014-11-20 22:17:12201 "output/renderer_settings.cc",
202 "output/renderer_settings.h",
[email protected]d05751a22014-05-29 20:54:24203 "output/shader.cc",
204 "output/shader.h",
[email protected]d05751a22014-05-29 20:54:24205 "output/software_output_device.cc",
206 "output/software_output_device.h",
207 "output/software_renderer.cc",
208 "output/software_renderer.h",
awoloszyn3d8eb1d2015-03-12 14:38:32209 "output/static_geometry_binding.cc",
210 "output/static_geometry_binding.h",
jamesrf313a212015-03-16 21:27:37211 "output/swap_promise.h",
danakj920156852015-05-18 20:22:29212 "output/texture_mailbox_deleter.cc",
213 "output/texture_mailbox_deleter.h",
dyenb52ecd962016-04-20 23:23:44214 "output/vulkan_context_provider.h",
215 "output/vulkan_in_process_context_provider.cc",
216 "output/vulkan_in_process_context_provider.h",
[email protected]d05751a22014-05-29 20:54:24217 "quads/content_draw_quad_base.cc",
218 "quads/content_draw_quad_base.h",
219 "quads/debug_border_draw_quad.cc",
220 "quads/debug_border_draw_quad.h",
[email protected]2a021fb7b2014-08-02 07:53:49221 "quads/draw_polygon.cc",
222 "quads/draw_polygon.h",
[email protected]d05751a22014-05-29 20:54:24223 "quads/draw_quad.cc",
224 "quads/draw_quad.h",
weiliangcfe7b51e2014-11-05 18:20:27225 "quads/largest_draw_quad.cc",
satorux457770e2015-02-18 18:33:39226 "quads/largest_draw_quad.h",
bokane7a058a2017-03-02 22:42:51227 "quads/nine_patch_generator.cc",
228 "quads/nine_patch_generator.h",
[email protected]d05751a22014-05-29 20:54:24229 "quads/picture_draw_quad.cc",
230 "quads/picture_draw_quad.h",
231 "quads/render_pass.cc",
232 "quads/render_pass.h",
233 "quads/render_pass_draw_quad.cc",
234 "quads/render_pass_draw_quad.h",
235 "quads/shared_quad_state.cc",
236 "quads/shared_quad_state.h",
237 "quads/solid_color_draw_quad.cc",
238 "quads/solid_color_draw_quad.h",
239 "quads/stream_video_draw_quad.cc",
240 "quads/stream_video_draw_quad.h",
241 "quads/surface_draw_quad.cc",
242 "quads/surface_draw_quad.h",
243 "quads/texture_draw_quad.cc",
244 "quads/texture_draw_quad.h",
245 "quads/tile_draw_quad.cc",
246 "quads/tile_draw_quad.h",
247 "quads/yuv_video_draw_quad.cc",
248 "quads/yuv_video_draw_quad.h",
prashant.nb4d4f492016-04-29 12:51:28249 "raster/bitmap_raster_buffer_provider.cc",
250 "raster/bitmap_raster_buffer_provider.h",
251 "raster/gpu_raster_buffer_provider.cc",
252 "raster/gpu_raster_buffer_provider.h",
chrishtrac41ff92017-03-17 05:07:30253 "raster/image_hijack_canvas.cc",
254 "raster/image_hijack_canvas.h",
prashant.nb4d4f492016-04-29 12:51:28255 "raster/one_copy_raster_buffer_provider.cc",
256 "raster/one_copy_raster_buffer_provider.h",
danakj920156852015-05-18 20:22:29257 "raster/raster_buffer.cc",
258 "raster/raster_buffer.h",
prashant.nb4d4f492016-04-29 12:51:28259 "raster/raster_buffer_provider.cc",
260 "raster/raster_buffer_provider.h",
chrishtrac41ff92017-03-17 05:07:30261 "raster/raster_source.cc",
262 "raster/raster_source.h",
danakj920156852015-05-18 20:22:29263 "raster/scoped_gpu_raster.cc",
264 "raster/scoped_gpu_raster.h",
ericrk4e3aa5a2015-12-01 03:53:56265 "raster/single_thread_task_graph_runner.cc",
266 "raster/single_thread_task_graph_runner.h",
chrishtrac41ff92017-03-17 05:07:30267 "raster/skip_image_canvas.cc",
268 "raster/skip_image_canvas.h",
prashant.na9dd9ef2016-04-08 19:57:10269 "raster/staging_buffer_pool.cc",
270 "raster/staging_buffer_pool.h",
ericrk4e3aa5a2015-12-01 03:53:56271 "raster/synchronous_task_graph_runner.cc",
272 "raster/synchronous_task_graph_runner.h",
prashant.n49b3e64652016-04-19 07:04:49273 "raster/task.cc",
274 "raster/task.h",
ericrk374dee72016-01-13 03:38:05275 "raster/task_category.h",
danakj920156852015-05-18 20:22:29276 "raster/task_graph_runner.h",
ericrk4e3aa5a2015-12-01 03:53:56277 "raster/task_graph_work_queue.cc",
278 "raster/task_graph_work_queue.h",
danakj920156852015-05-18 20:22:29279 "raster/texture_compressor.cc",
280 "raster/texture_compressor.h",
281 "raster/texture_compressor_etc1.cc",
282 "raster/texture_compressor_etc1.h",
prashant.n6cb1bb82016-04-20 05:15:58283 "raster/tile_task.cc",
284 "raster/tile_task.h",
prashant.nb4d4f492016-04-29 12:51:28285 "raster/zero_copy_raster_buffer_provider.cc",
286 "raster/zero_copy_raster_buffer_provider.h",
[email protected]d05751a22014-05-29 20:54:24287 "resources/memory_history.cc",
288 "resources/memory_history.h",
[email protected]d05751a22014-05-29 20:54:24289 "resources/platform_color.h",
[email protected]d05751a22014-05-29 20:54:24290 "resources/release_callback.h",
reveman423e7da2014-09-23 16:57:44291 "resources/resource.h",
[email protected]c6f0cf62014-07-22 02:44:41292 "resources/resource_format.cc",
[email protected]bf050582014-07-24 11:10:58293 "resources/resource_format.h",
fsamuel6ee49c42016-06-01 11:16:55294 "resources/resource_format_utils.cc",
295 "resources/resource_format_utils.h",
[email protected]d05751a22014-05-29 20:54:24296 "resources/resource_pool.cc",
297 "resources/resource_pool.h",
298 "resources/resource_provider.cc",
299 "resources/resource_provider.h",
prashant.n8e494282015-08-03 07:13:41300 "resources/resource_util.h",
[email protected]d05751a22014-05-29 20:54:24301 "resources/returned_resource.h",
302 "resources/scoped_resource.cc",
303 "resources/scoped_resource.h",
304 "resources/scoped_ui_resource.cc",
305 "resources/scoped_ui_resource.h",
306 "resources/shared_bitmap.cc",
307 "resources/shared_bitmap.h",
308 "resources/shared_bitmap_manager.h",
309 "resources/single_release_callback.cc",
310 "resources/single_release_callback.h",
skyostil3976a3f2014-09-04 22:07:23311 "resources/single_release_callback_impl.cc",
312 "resources/single_release_callback_impl.h",
[email protected]d05751a22014-05-29 20:54:24313 "resources/texture_mailbox.cc",
reveman423e7da2014-09-23 16:57:44314 "resources/texture_mailbox.h",
[email protected]d05751a22014-05-29 20:54:24315 "resources/transferable_resource.cc",
316 "resources/transferable_resource.h",
317 "resources/ui_resource_bitmap.cc",
318 "resources/ui_resource_bitmap.h",
319 "resources/ui_resource_client.h",
khushalsagar8ec07402016-09-10 03:13:19320 "resources/ui_resource_manager.cc",
321 "resources/ui_resource_manager.h",
[email protected]d05751a22014-05-29 20:54:24322 "resources/ui_resource_request.cc",
323 "resources/ui_resource_request.h",
324 "resources/video_resource_updater.cc",
325 "resources/video_resource_updater.h",
mithroc34fc0b12014-09-30 09:10:41326 "scheduler/begin_frame_source.cc",
327 "scheduler/begin_frame_source.h",
mithro0bdb49d2015-05-27 13:08:01328 "scheduler/begin_frame_tracker.cc",
329 "scheduler/begin_frame_tracker.h",
mithrof7a21502014-12-17 03:24:48330 "scheduler/commit_earlyout_reason.h",
briandersonc9f50352015-06-24 03:38:58331 "scheduler/compositor_timing_history.cc",
332 "scheduler/compositor_timing_history.h",
[email protected]d05751a22014-05-29 20:54:24333 "scheduler/delay_based_time_source.cc",
334 "scheduler/delay_based_time_source.h",
335 "scheduler/draw_result.h",
336 "scheduler/scheduler.cc",
337 "scheduler/scheduler.h",
338 "scheduler/scheduler_settings.cc",
339 "scheduler/scheduler_settings.h",
340 "scheduler/scheduler_state_machine.cc",
341 "scheduler/scheduler_state_machine.h",
sunnyps7d073dc2015-04-16 23:29:12342 "scheduler/video_frame_controller.h",
khushalsagard3b8827d2017-02-18 18:42:54343 "tiles/checker_image_tracker.cc",
344 "tiles/checker_image_tracker.h",
chrishtrac41ff92017-03-17 05:07:30345 "tiles/decoded_draw_image.cc",
346 "tiles/decoded_draw_image.h",
vmpstra6b30162017-01-12 20:23:03347 "tiles/decoded_image_tracker.cc",
348 "tiles/decoded_image_tracker.h",
danakj920156852015-05-18 20:22:29349 "tiles/eviction_tile_priority_queue.cc",
350 "tiles/eviction_tile_priority_queue.h",
chrishtr82b5d9502017-03-20 18:25:33351 "tiles/frame_viewer_instrumentation.cc",
352 "tiles/frame_viewer_instrumentation.h",
vmpstr70289fb62016-12-01 02:33:05353 "tiles/gpu_image_decode_cache.cc",
354 "tiles/gpu_image_decode_cache.h",
vmpstre556bda62016-12-02 01:51:40355 "tiles/image_controller.cc",
356 "tiles/image_controller.h",
vmpstr70289fb62016-12-01 02:33:05357 "tiles/image_decode_cache.h",
ericrkc7ebaa12016-06-09 21:05:55358 "tiles/mipmap_util.cc",
359 "tiles/mipmap_util.h",
danakj920156852015-05-18 20:22:29360 "tiles/picture_layer_tiling.cc",
361 "tiles/picture_layer_tiling.h",
362 "tiles/picture_layer_tiling_set.cc",
363 "tiles/picture_layer_tiling_set.h",
364 "tiles/prioritized_tile.cc",
365 "tiles/prioritized_tile.h",
366 "tiles/raster_tile_priority_queue.cc",
367 "tiles/raster_tile_priority_queue.h",
368 "tiles/raster_tile_priority_queue_all.cc",
369 "tiles/raster_tile_priority_queue_all.h",
370 "tiles/raster_tile_priority_queue_required.cc",
371 "tiles/raster_tile_priority_queue_required.h",
vmpstr70289fb62016-12-01 02:33:05372 "tiles/software_image_decode_cache.cc",
373 "tiles/software_image_decode_cache.h",
danakj920156852015-05-18 20:22:29374 "tiles/tile.cc",
375 "tiles/tile.h",
376 "tiles/tile_draw_info.cc",
377 "tiles/tile_draw_info.h",
378 "tiles/tile_manager.cc",
379 "tiles/tile_manager.h",
khushalsagard3b8827d2017-02-18 18:42:54380 "tiles/tile_manager_settings.h",
danakj920156852015-05-18 20:22:29381 "tiles/tile_priority.cc",
382 "tiles/tile_priority.h",
prashant.nb4d4f492016-04-29 12:51:28383 "tiles/tile_task_manager.cc",
384 "tiles/tile_task_manager.h",
danakj920156852015-05-18 20:22:29385 "tiles/tiling_set_eviction_queue.cc",
386 "tiles/tiling_set_eviction_queue.h",
387 "tiles/tiling_set_raster_queue_all.cc",
388 "tiles/tiling_set_raster_queue_all.h",
389 "tiles/tiling_set_raster_queue_required.cc",
390 "tiles/tiling_set_raster_queue_required.h",
[email protected]d05751a22014-05-29 20:54:24391 "trees/blocking_task_runner.cc",
392 "trees/blocking_task_runner.h",
ajumae947a352017-01-10 19:17:49393 "trees/clip_expander.cc",
394 "trees/clip_expander.h",
trchendba8b1502016-07-08 09:47:01395 "trees/clip_node.cc",
396 "trees/clip_node.h",
khushalsagar19458bd2015-12-08 02:19:01397 "trees/compositor_mode.h",
[email protected]d05751a22014-05-29 20:54:24398 "trees/damage_tracker.cc",
399 "trees/damage_tracker.h",
chrishtr82b5d9502017-03-20 18:25:33400 "trees/debug_rect_history.cc",
401 "trees/debug_rect_history.h",
vollick51ed1a22014-12-17 02:03:00402 "trees/draw_property_utils.cc",
403 "trees/draw_property_utils.h",
trchendba8b1502016-07-08 09:47:01404 "trees/effect_node.cc",
405 "trees/effect_node.h",
loyso290a27a2016-11-15 01:47:10406 "trees/element_id.cc",
407 "trees/element_id.h",
chrishtr82b5d9502017-03-20 18:25:33408 "trees/frame_rate_counter.cc",
409 "trees/frame_rate_counter.h",
jamesrf313a212015-03-16 21:27:37410 "trees/latency_info_swap_promise_monitor.cc",
411 "trees/latency_info_swap_promise_monitor.h",
khushalsagare0e4486e2017-01-25 03:15:03412 "trees/layer_tree_host.cc",
[email protected]d05751a22014-05-29 20:54:24413 "trees/layer_tree_host.h",
414 "trees/layer_tree_host_client.h",
415 "trees/layer_tree_host_common.cc",
416 "trees/layer_tree_host_common.h",
417 "trees/layer_tree_host_impl.cc",
418 "trees/layer_tree_host_impl.h",
ccameron00e438cd2015-03-12 06:18:14419 "trees/layer_tree_host_single_thread_client.h",
[email protected]d05751a22014-05-29 20:54:24420 "trees/layer_tree_impl.cc",
421 "trees/layer_tree_impl.h",
loyso720c7c552016-11-10 23:16:39422 "trees/layer_tree_mutator.h",
[email protected]d05751a22014-05-29 20:54:24423 "trees/layer_tree_settings.cc",
424 "trees/layer_tree_settings.h",
loyso6bd8b612016-11-11 07:00:02425 "trees/mutable_properties.h",
loyso6d6356e2016-11-02 23:41:08426 "trees/mutator_host.h",
loysobb93befc2015-07-03 00:19:50427 "trees/mutator_host_client.h",
vmpstrcdcb5f72014-09-11 00:58:37428 "trees/occlusion.cc",
429 "trees/occlusion.h",
[email protected]d05751a22014-05-29 20:54:24430 "trees/occlusion_tracker.cc",
431 "trees/occlusion_tracker.h",
loysoab298a032016-11-15 23:42:43432 "trees/property_animation_state.cc",
433 "trees/property_animation_state.h",
vollick51ed1a22014-12-17 02:03:00434 "trees/property_tree.cc",
435 "trees/property_tree.h",
436 "trees/property_tree_builder.cc",
437 "trees/property_tree_builder.h",
[email protected]d05751a22014-05-29 20:54:24438 "trees/proxy.h",
khushalsagare3c9fa92015-10-28 02:08:29439 "trees/proxy_common.cc",
440 "trees/proxy_common.h",
khushalsagar0a226af2015-12-09 10:30:20441 "trees/proxy_impl.cc",
khushalsagar5d6eb982015-09-25 22:44:56442 "trees/proxy_impl.h",
khushalsagar0a226af2015-12-09 10:30:20443 "trees/proxy_main.cc",
khushalsagar5d6eb982015-09-25 22:44:56444 "trees/proxy_main.h",
[email protected]aeeedad2014-08-22 18:16:22445 "trees/scoped_abort_remaining_swap_promises.h",
trchendba8b1502016-07-08 09:47:01446 "trees/scroll_node.cc",
447 "trees/scroll_node.h",
[email protected]d05751a22014-05-29 20:54:24448 "trees/single_thread_proxy.cc",
449 "trees/single_thread_proxy.h",
khushalsagar8297ae992016-09-14 20:51:23450 "trees/swap_promise_manager.cc",
451 "trees/swap_promise_manager.h",
jamesrf313a212015-03-16 21:27:37452 "trees/swap_promise_monitor.cc",
453 "trees/swap_promise_monitor.h",
loysoab298a032016-11-15 23:42:43454 "trees/target_property.cc",
455 "trees/target_property.h",
khushalsagarb64b360d2015-10-21 19:25:16456 "trees/task_runner_provider.cc",
457 "trees/task_runner_provider.h",
trchendba8b1502016-07-08 09:47:01458 "trees/transform_node.cc",
459 "trees/transform_node.h",
[email protected]d05751a22014-05-29 20:54:24460 "trees/tree_synchronizer.cc",
461 "trees/tree_synchronizer.h",
462 ]
463
agrieveefcd0222016-06-08 15:48:19464 if (current_cpu == "x86" || current_cpu == "x64") {
thakis4a0c5482015-06-08 20:51:29465 sources += [
466 "raster/texture_compressor_etc1_sse.cc",
467 "raster/texture_compressor_etc1_sse.h",
468 ]
469 }
470
khushalsagar54203a192017-01-20 21:05:57471 # TODO(khushalsagar): Remove once crbug.com/683263 is fixed.
472 configs = [ "//build/config/compiler:no_size_t_to_int_warning" ]
473
Brett Wilsone53895272014-09-23 23:41:46474 public_deps = [
jamesrf313a212015-03-16 21:27:37475 "//cc/base",
Brett Wilsone53895272014-09-23 23:41:46476 "//skia",
477 ]
[email protected]d05751a22014-05-29 20:54:24478 deps = [
479 "//base",
480 "//base/third_party/dynamic_annotations",
enne34f6084c2017-02-02 22:39:08481 "//cc/paint",
jamesr16c04ff2014-11-24 22:24:57482 "//cc/surfaces:surface_id",
[email protected]d05751a22014-05-29 20:54:24483 "//gpu",
fsamueledc0c2c2016-11-18 22:28:04484 "//gpu/command_buffer/client:gles2_implementation",
jbromancba3d2fe2014-09-16 01:04:24485 "//gpu/command_buffer/client:gles2_interface",
fsamueledc0c2c2016-11-18 22:28:04486 "//gpu/ipc:gl_in_process_context",
487 "//gpu/skia_bindings:skia_bindings",
qyearsleydb0a34872017-03-14 03:24:31488 "//gpu/vulkan:features",
[email protected]6e44c302014-07-22 21:51:37489 "//media",
samansbf8eacc2017-01-27 22:59:25490 "//mojo/public/cpp/bindings:struct_traits",
hubbedc658032016-10-04 01:34:59491 "//third_party/libyuv",
Nico Weber9d6e12942016-04-19 18:51:09492 "//ui/events:events_base",
[email protected]d05751a22014-05-29 20:54:24493 "//ui/gfx",
494 "//ui/gfx/geometry",
ericrkf08855b42015-08-06 00:20:22495 "//ui/gl",
mfomitchev3ba450ad2017-04-03 18:20:40496 "//ui/latency",
[email protected]d05751a22014-05-29 20:54:24497 ]
[email protected]d05751a22014-05-29 20:54:24498
[email protected]3ffa36a2014-07-24 21:01:50499 defines = [ "CC_IMPLEMENTATION=1" ]
[email protected]d05751a22014-05-29 20:54:24500
dyen8a145fb72016-03-31 00:37:51501 if (enable_vulkan) {
dyen136e05c2016-04-06 22:28:27502 sources += [
dyen136e05c2016-04-06 22:28:27503 "output/vulkan_renderer.cc",
504 "output/vulkan_renderer.h",
dyen8a145fb72016-03-31 00:37:51505 ]
506
dyen136e05c2016-04-06 22:28:27507 deps += [ "//gpu/vulkan" ]
dyen8a145fb72016-03-31 00:37:51508 }
[email protected]d05751a22014-05-29 20:54:24509}
510
loyso1fe38ba42016-12-01 00:39:08511cc_static_library("test_support") {
Brett Wilson8f80ad0b2014-09-08 19:50:24512 testonly = true
[email protected]d05751a22014-05-29 20:54:24513 sources = [
514 "test/animation_test_common.cc",
515 "test/animation_test_common.h",
loysobb93befc2015-07-03 00:19:50516 "test/animation_timelines_test_common.cc",
517 "test/animation_timelines_test_common.h",
[email protected]d05751a22014-05-29 20:54:24518 "test/begin_frame_args_test.cc",
519 "test/begin_frame_args_test.h",
mithro6be81902015-12-04 05:58:46520 "test/begin_frame_source_test.cc",
521 "test/begin_frame_source_test.h",
danakj1120f4c2016-09-15 02:05:32522 "test/fake_compositor_frame_sink.cc",
523 "test/fake_compositor_frame_sink.h",
524 "test/fake_compositor_frame_sink_client.cc",
525 "test/fake_compositor_frame_sink_client.h",
staraz04278212017-04-12 23:07:19526 "test/fake_compositor_frame_sink_support_client.cc",
527 "test/fake_compositor_frame_sink_support_client.h",
[email protected]d05751a22014-05-29 20:54:24528 "test/fake_content_layer_client.cc",
529 "test/fake_content_layer_client.h",
danakj6e3bf8012014-12-16 18:27:53530 "test/fake_external_begin_frame_source.cc",
531 "test/fake_external_begin_frame_source.h",
khushalsagarb64b360d2015-10-21 19:25:16532 "test/fake_impl_task_runner_provider.h",
[email protected]d05751a22014-05-29 20:54:24533 "test/fake_layer_tree_host.cc",
534 "test/fake_layer_tree_host.h",
535 "test/fake_layer_tree_host_client.cc",
536 "test/fake_layer_tree_host_client.h",
537 "test/fake_layer_tree_host_impl.cc",
538 "test/fake_layer_tree_host_impl.h",
539 "test/fake_layer_tree_host_impl_client.cc",
540 "test/fake_layer_tree_host_impl_client.h",
ajumad9432e32015-11-30 19:43:44541 "test/fake_mask_layer_impl.cc",
542 "test/fake_mask_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24543 "test/fake_output_surface.cc",
544 "test/fake_output_surface.h",
545 "test/fake_output_surface_client.cc",
546 "test/fake_output_surface_client.h",
547 "test/fake_painted_scrollbar_layer.cc",
548 "test/fake_painted_scrollbar_layer.h",
549 "test/fake_picture_layer.cc",
550 "test/fake_picture_layer.h",
551 "test/fake_picture_layer_impl.cc",
552 "test/fake_picture_layer_impl.h",
553 "test/fake_picture_layer_tiling_client.cc",
554 "test/fake_picture_layer_tiling_client.h",
[email protected]d05751a22014-05-29 20:54:24555 "test/fake_proxy.cc",
556 "test/fake_proxy.h",
prashant.nb4d4f492016-04-29 12:51:28557 "test/fake_raster_buffer_provider.cc",
558 "test/fake_raster_buffer_provider.h",
vmpstr41d68f882016-03-30 01:20:23559 "test/fake_raster_source.cc",
560 "test/fake_raster_source.h",
vmpstre17fd212016-03-30 20:03:32561 "test/fake_recording_source.cc",
562 "test/fake_recording_source.h",
[email protected]d05751a22014-05-29 20:54:24563 "test/fake_rendering_stats_instrumentation.h",
danakj61bf05f2015-05-26 23:28:56564 "test/fake_resource_provider.h",
[email protected]d05751a22014-05-29 20:54:24565 "test/fake_scoped_ui_resource.cc",
566 "test/fake_scoped_ui_resource.h",
567 "test/fake_scrollbar.cc",
568 "test/fake_scrollbar.h",
569 "test/fake_tile_manager.cc",
570 "test/fake_tile_manager.h",
571 "test/fake_tile_manager_client.cc",
572 "test/fake_tile_manager_client.h",
prashant.nb4d4f492016-04-29 12:51:28573 "test/fake_tile_task_manager.cc",
574 "test/fake_tile_task_manager.h",
[email protected]d05751a22014-05-29 20:54:24575 "test/fake_ui_resource_layer_tree_host_impl.cc",
576 "test/fake_ui_resource_layer_tree_host_impl.h",
577 "test/fake_video_frame_provider.cc",
578 "test/fake_video_frame_provider.h",
579 "test/geometry_test_utils.cc",
580 "test/geometry_test_utils.h",
[email protected]d05751a22014-05-29 20:54:24581 "test/layer_test_common.cc",
582 "test/layer_test_common.h",
[email protected]d05751a22014-05-29 20:54:24583 "test/layer_tree_json_parser.cc",
584 "test/layer_tree_json_parser.h",
enne03dbe8ae2014-10-30 01:32:55585 "test/layer_tree_pixel_resource_test.cc",
586 "test/layer_tree_pixel_resource_test.h",
[email protected]d05751a22014-05-29 20:54:24587 "test/layer_tree_pixel_test.cc",
588 "test/layer_tree_pixel_test.h",
589 "test/layer_tree_test.cc",
590 "test/layer_tree_test.h",
mithro6be81902015-12-04 05:58:46591 "test/mock_helper.h",
[email protected]ba16cce2014-06-17 17:03:50592 "test/mock_occlusion_tracker.h",
[email protected]d5ba08c2014-06-18 07:01:08593 "test/ordered_simple_task_runner.cc",
594 "test/ordered_simple_task_runner.h",
[email protected]d05751a22014-05-29 20:54:24595 "test/ordered_texture_map.cc",
596 "test/ordered_texture_map.h",
597 "test/paths.cc",
598 "test/paths.h",
599 "test/pixel_comparator.cc",
600 "test/pixel_comparator.h",
601 "test/pixel_test.cc",
602 "test/pixel_test.h",
603 "test/pixel_test_output_surface.cc",
604 "test/pixel_test_output_surface.h",
[email protected]d05751a22014-05-29 20:54:24605 "test/pixel_test_utils.cc",
606 "test/pixel_test_utils.h",
xingliu3c9b4cc2016-11-02 20:52:55607 "test/push_properties_counting_layer.cc",
608 "test/push_properties_counting_layer.h",
609 "test/push_properties_counting_layer_impl.cc",
610 "test/push_properties_counting_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24611 "test/render_pass_test_utils.cc",
612 "test/render_pass_test_utils.h",
613 "test/scheduler_test_common.cc",
614 "test/scheduler_test_common.h",
615 "test/skia_common.cc",
616 "test/skia_common.h",
617 "test/solid_color_content_layer_client.cc",
618 "test/solid_color_content_layer_client.h",
danakjffc181a2016-07-22 22:48:43619 "test/stub_layer_tree_host_client.cc",
620 "test/stub_layer_tree_host_client.h",
621 "test/stub_layer_tree_host_single_thread_client.cc",
622 "test/stub_layer_tree_host_single_thread_client.h",
fsamuel7a615102015-10-23 21:25:16623 "test/surface_aggregator_test_helpers.cc",
624 "test/surface_aggregator_test_helpers.h",
625 "test/surface_hittest_test_helpers.cc",
626 "test/surface_hittest_test_helpers.h",
ericrk4e3aa5a2015-12-01 03:53:56627 "test/task_graph_runner_test_template.cc",
628 "test/task_graph_runner_test_template.h",
danakj1120f4c2016-09-15 02:05:32629 "test/test_compositor_frame_sink.cc",
630 "test/test_compositor_frame_sink.h",
[email protected]d05751a22014-05-29 20:54:24631 "test/test_context_provider.cc",
632 "test/test_context_provider.h",
633 "test/test_context_support.cc",
634 "test/test_context_support.h",
635 "test/test_gles2_interface.cc",
636 "test/test_gles2_interface.h",
reveman22dd9292014-10-13 20:52:05637 "test/test_gpu_memory_buffer_manager.cc",
638 "test/test_gpu_memory_buffer_manager.h",
khushalsagar0a226af2015-12-09 10:30:20639 "test/test_hooks.cc",
640 "test/test_hooks.h",
reveman2232bce2014-10-29 01:28:05641 "test/test_image_factory.cc",
642 "test/test_image_factory.h",
satorux457770e2015-02-18 18:33:39643 "test/test_in_process_context_provider.cc",
644 "test/test_in_process_context_provider.h",
vmpstr6edf66ce2016-05-18 20:12:22645 "test/test_layer_tree_host_base.cc",
646 "test/test_layer_tree_host_base.h",
[email protected]d05751a22014-05-29 20:54:24647 "test/test_occlusion_tracker.h",
648 "test/test_shared_bitmap_manager.cc",
649 "test/test_shared_bitmap_manager.h",
reveman34b7a1522015-03-23 20:27:47650 "test/test_task_graph_runner.cc",
651 "test/test_task_graph_runner.h",
[email protected]d05751a22014-05-29 20:54:24652 "test/test_texture.cc",
653 "test/test_texture.h",
654 "test/test_tile_priorities.cc",
655 "test/test_tile_priorities.h",
prashant.n7c706022016-05-26 19:00:09656 "test/test_tile_task_runner.cc",
657 "test/test_tile_task_runner.h",
[email protected]d05751a22014-05-29 20:54:24658 "test/test_web_graphics_context_3d.cc",
659 "test/test_web_graphics_context_3d.h",
[email protected]d05751a22014-05-29 20:54:24660 ]
661
Brett Wilson0380637c2014-09-19 21:24:40662 public_deps = [
663 ":cc",
loyso3dd20892016-11-22 07:11:01664 "//cc/animation",
Brett Wilsone53895272014-09-23 23:41:46665 "//gpu:test_support",
Brett Wilson0380637c2014-09-19 21:24:40666 ]
[email protected]d05751a22014-05-29 20:54:24667 deps = [
668 "//base",
jamesr16c04ff2014-11-24 22:24:57669 "//base/test:test_support",
[email protected]d05751a22014-05-29 20:54:24670 "//base/third_party/dynamic_annotations",
enne34f6084c2017-02-02 22:39:08671 "//cc/paint",
fsamuel7a615102015-10-23 21:25:16672 "//cc/surfaces",
673 "//cc/surfaces:surface_id",
[email protected]d05751a22014-05-29 20:54:24674 "//gpu/command_buffer/client:gles2_c_lib",
675 "//gpu/command_buffer/client:gles2_implementation",
[email protected]845c4e32014-08-13 11:50:40676 "//gpu/command_buffer/common:gles2_utils",
fsamuel600b99e2016-11-11 07:50:26677 "//gpu/ipc:gl_in_process_context",
[email protected]d05751a22014-05-29 20:54:24678 "//gpu/skia_bindings",
jamesr16c04ff2014-11-24 22:24:57679 "//media",
[email protected]d05751a22014-05-29 20:54:24680 "//skia",
681 "//testing/gmock",
682 "//testing/gtest",
[email protected]d05751a22014-05-29 20:54:24683 "//ui/gfx",
[email protected]e54a1f522014-07-22 23:26:48684 "//ui/gfx:test_support",
agrieved7a71c882015-11-20 19:53:28685 "//ui/gfx/geometry",
[email protected]d05751a22014-05-29 20:54:24686 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26687 "//ui/gl:test_support",
mfomitchev3ba450ad2017-04-03 18:20:40688 "//ui/latency",
[email protected]d05751a22014-05-29 20:54:24689 ]
agrieve48bd27e2016-06-22 21:04:07690 if (!is_android) {
691 data_deps = [
692 "//third_party/mesa:osmesa",
693 ]
694 }
[email protected]d05751a22014-05-29 20:54:24695}
696
loyso1fe38ba42016-12-01 00:39:08697cc_test("cc_unittests") {
brettw4897a612015-03-02 23:13:15698 sources = [
enne797d82332015-12-01 01:34:58699 "base/contiguous_container_unittest.cc",
brettwd649f6b2015-08-18 20:58:51700 "base/delayed_unique_notifier_unittest.cc",
chrishtrac41ff92017-03-17 05:07:30701 "base/filter_operations_unittest.cc",
brettw4897a612015-03-02 23:13:15702 "base/float_quad_unittest.cc",
jbroman7b5b0552015-05-28 03:36:58703 "base/histograms_unittest.cc",
prashant.n20ec56f2016-09-22 03:47:32704 "base/index_rect_unittest.cc",
prashant.n7f1fe3d2015-06-05 18:26:04705 "base/list_container_unittest.cc",
brettw4897a612015-03-02 23:13:15706 "base/math_util_unittest.cc",
vmpstrb10241fc2015-09-18 01:10:12707 "base/random_access_list_container_unittest.cc",
brettw4897a612015-03-02 23:13:15708 "base/region_unittest.cc",
709 "base/rolling_time_delta_history_unittest.cc",
vmpstrb3ceb8222015-09-23 20:25:25710 "base/rtree_unittest.cc",
brettw4897a612015-03-02 23:13:15711 "base/simple_enclosed_region_unittest.cc",
prashant.n05192792016-09-24 03:38:20712 "base/spiral_iterator_unittest.cc",
brettw4897a612015-03-02 23:13:15713 "base/tiling_data_unittest.cc",
brettwd649f6b2015-08-18 20:58:51714 "base/unique_notifier_unittest.cc",
chrishtr82b5d9502017-03-20 18:25:33715 "benchmarks/micro_benchmark_controller_unittest.cc",
brettwd649f6b2015-08-18 20:58:51716 "debug/rendering_stats_unittest.cc",
mdjones2ee41afd2016-10-27 16:50:20717 "input/browser_controls_offset_manager_unittest.cc",
tdresserd9e201472015-07-31 13:15:07718 "input/scroll_state_unittest.cc",
chaopeng59e6fc02017-02-17 23:35:57719 "input/scrollbar_animation_controller_unittest.cc",
chaopeng2c3e1702017-01-27 04:46:02720 "input/single_scrollbar_animation_controller_thinning_unittest.cc",
fsamuelf76098e2016-05-18 17:26:51721 "ipc/cc_param_traits_unittest.cc",
fsamuel410c9602016-05-31 21:50:20722 "ipc/struct_traits_unittest.cc",
ajuma956219582017-04-04 19:58:14723 "layers/effect_tree_layer_list_iterator_unittest.cc",
brettw4897a612015-03-02 23:13:15724 "layers/heads_up_display_layer_impl_unittest.cc",
725 "layers/heads_up_display_unittest.cc",
brettw4897a612015-03-02 23:13:15726 "layers/layer_impl_unittest.cc",
vollick44d1c1f2016-03-02 20:59:43727 "layers/layer_list_iterator_unittest.cc",
brettw4897a612015-03-02 23:13:15728 "layers/layer_position_constraint_unittest.cc",
729 "layers/layer_unittest.cc",
730 "layers/layer_utils_unittest.cc",
731 "layers/nine_patch_layer_impl_unittest.cc",
732 "layers/nine_patch_layer_unittest.cc",
733 "layers/painted_scrollbar_layer_impl_unittest.cc",
ccamerona54da382015-11-27 00:52:33734 "layers/painted_scrollbar_layer_unittest.cc",
brettw4897a612015-03-02 23:13:15735 "layers/picture_image_layer_unittest.cc",
736 "layers/picture_layer_impl_unittest.cc",
737 "layers/picture_layer_unittest.cc",
chrishtrac41ff92017-03-17 05:07:30738 "layers/recording_source_unittest.cc",
brettw4897a612015-03-02 23:13:15739 "layers/render_surface_impl_unittest.cc",
740 "layers/render_surface_unittest.cc",
741 "layers/scrollbar_layer_unittest.cc",
742 "layers/solid_color_layer_impl_unittest.cc",
743 "layers/solid_color_scrollbar_layer_impl_unittest.cc",
744 "layers/surface_layer_impl_unittest.cc",
745 "layers/surface_layer_unittest.cc",
746 "layers/texture_layer_impl_unittest.cc",
747 "layers/texture_layer_unittest.cc",
brettw4897a612015-03-02 23:13:15748 "layers/ui_resource_layer_impl_unittest.cc",
749 "layers/ui_resource_layer_unittest.cc",
dalecurtisb8396642015-06-09 18:38:14750 "layers/video_frame_provider_client_impl_unittest.cc",
brettw4897a612015-03-02 23:13:15751 "layers/video_layer_impl_unittest.cc",
ymalik99740e852016-04-07 04:18:13752 "layers/viewport_unittest.cc",
brettw4897a612015-03-02 23:13:15753 "output/begin_frame_args_unittest.cc",
brettwd649f6b2015-08-18 20:58:51754 "output/bsp_tree_unittest.cc",
ericrk9151705c2016-07-26 19:53:16755 "output/buffer_to_texture_target_map_unittest.cc",
danakje41d978a2016-09-19 21:09:28756 "output/compositor_frame_sink_unittest.cc",
ericrkf6c4fb62016-08-30 23:27:24757 "output/context_cache_controller_unittest.cc",
brettw4897a612015-03-02 23:13:15758 "output/gl_renderer_unittest.cc",
danakj920156852015-05-18 20:22:29759 "output/layer_quad_unittest.cc",
brettw4897a612015-03-02 23:13:15760 "output/overlay_unittest.cc",
761 "output/renderer_pixeltest.cc",
brettw4897a612015-03-02 23:13:15762 "output/shader_unittest.cc",
763 "output/software_renderer_unittest.cc",
danakj920156852015-05-18 20:22:29764 "output/texture_mailbox_deleter_unittest.cc",
chrishtrac41ff92017-03-17 05:07:30765 "paint/discardable_image_map_unittest.cc",
766 "paint/display_item_list_unittest.cc",
brettwd649f6b2015-08-18 20:58:51767 "quads/draw_polygon_unittest.cc",
brettw4897a612015-03-02 23:13:15768 "quads/draw_quad_unittest.cc",
bokane7a058a2017-03-02 22:42:51769 "quads/nine_patch_generator_unittest.cc",
brettw4897a612015-03-02 23:13:15770 "quads/render_pass_unittest.cc",
chrishtrac41ff92017-03-17 05:07:30771 "raster/image_hijack_canvas_unittest.cc",
prashant.nb4d4f492016-04-29 12:51:28772 "raster/raster_buffer_provider_unittest.cc",
chrishtrac41ff92017-03-17 05:07:30773 "raster/raster_source_unittest.cc",
danakj920156852015-05-18 20:22:29774 "raster/scoped_gpu_raster_unittest.cc",
ericrk4e3aa5a2015-12-01 03:53:56775 "raster/single_thread_task_graph_runner_unittest.cc",
776 "raster/synchronous_task_graph_runner_unittest.cc",
ericrk0f9ee9862017-01-23 19:05:39777 "raster/task_graph_work_queue_unittest.cc",
danakj920156852015-05-18 20:22:29778 "raster/texture_compressor_etc1_unittest.cc",
brettw4897a612015-03-02 23:13:15779 "resources/platform_color_unittest.cc",
boliucb788f42015-07-22 23:49:28780 "resources/resource_pool_unittest.cc",
brettw4897a612015-03-02 23:13:15781 "resources/resource_provider_unittest.cc",
prashant.n8e494282015-08-03 07:13:41782 "resources/resource_util_unittest.cc",
brettw4897a612015-03-02 23:13:15783 "resources/scoped_resource_unittest.cc",
brettw4897a612015-03-02 23:13:15784 "resources/video_resource_updater_unittest.cc",
785 "scheduler/begin_frame_source_unittest.cc",
brianderson68749812015-07-07 22:39:39786 "scheduler/compositor_timing_history_unittest.cc",
brettw4897a612015-03-02 23:13:15787 "scheduler/delay_based_time_source_unittest.cc",
788 "scheduler/scheduler_state_machine_unittest.cc",
789 "scheduler/scheduler_unittest.cc",
mithro6be81902015-12-04 05:58:46790 "test/begin_frame_source_test_unittest.cc",
brettw4897a612015-03-02 23:13:15791 "test/layer_tree_json_parser_unittest.cc",
mithro6be81902015-12-04 05:58:46792 "test/mock_helper_unittest.cc",
brettwd649f6b2015-08-18 20:58:51793 "test/ordered_simple_task_runner_unittest.cc",
brettw4897a612015-03-02 23:13:15794 "test/test_web_graphics_context_3d_unittest.cc",
khushalsagard3b8827d2017-02-18 18:42:54795 "tiles/checker_image_tracker_unittest.cc",
vmpstra6b30162017-01-12 20:23:03796 "tiles/decoded_image_tracker_unittest.cc",
vmpstr70289fb62016-12-01 02:33:05797 "tiles/gpu_image_decode_cache_unittest.cc",
vmpstre556bda62016-12-02 01:51:40798 "tiles/image_controller_unittest.cc",
ericrkc7ebaa12016-06-09 21:05:55799 "tiles/mipmap_util_unittest.cc",
danakj920156852015-05-18 20:22:29800 "tiles/picture_layer_tiling_set_unittest.cc",
801 "tiles/picture_layer_tiling_unittest.cc",
vmpstr70289fb62016-12-01 02:33:05802 "tiles/software_image_decode_cache_unittest.cc",
danakj920156852015-05-18 20:22:29803 "tiles/tile_manager_unittest.cc",
804 "tiles/tile_priority_unittest.cc",
brettw4897a612015-03-02 23:13:15805 "trees/blocking_task_runner_unittest.cc",
806 "trees/damage_tracker_unittest.cc",
brettw4897a612015-03-02 23:13:15807 "trees/layer_tree_host_common_unittest.cc",
808 "trees/layer_tree_host_impl_unittest.cc",
809 "trees/layer_tree_host_pixeltest_blending.cc",
810 "trees/layer_tree_host_pixeltest_filters.cc",
811 "trees/layer_tree_host_pixeltest_masks.cc",
812 "trees/layer_tree_host_pixeltest_readback.cc",
danakjd63f8a62016-08-24 03:26:48813 "trees/layer_tree_host_pixeltest_scrollbars.cc",
brettw4897a612015-03-02 23:13:15814 "trees/layer_tree_host_pixeltest_synchronous.cc",
danakje0b54782015-05-29 22:47:52815 "trees/layer_tree_host_pixeltest_tiles.cc",
brettw4897a612015-03-02 23:13:15816 "trees/layer_tree_host_unittest.cc",
817 "trees/layer_tree_host_unittest_animation.cc",
khushalsagar6dc91d02017-02-28 05:10:07818 "trees/layer_tree_host_unittest_checkerimaging.cc",
brettw4897a612015-03-02 23:13:15819 "trees/layer_tree_host_unittest_context.cc",
820 "trees/layer_tree_host_unittest_copyrequest.cc",
821 "trees/layer_tree_host_unittest_damage.cc",
brettw4897a612015-03-02 23:13:15822 "trees/layer_tree_host_unittest_occlusion.cc",
823 "trees/layer_tree_host_unittest_picture.cc",
824 "trees/layer_tree_host_unittest_proxy.cc",
khushalsagarb54107d02015-12-10 20:20:56825 "trees/layer_tree_host_unittest_record_gpu_histogram.cc",
brettw4897a612015-03-02 23:13:15826 "trees/layer_tree_host_unittest_scroll.cc",
827 "trees/layer_tree_host_unittest_video.cc",
828 "trees/layer_tree_impl_unittest.cc",
829 "trees/occlusion_tracker_unittest.cc",
830 "trees/occlusion_unittest.cc",
831 "trees/property_tree_unittest.cc",
khushalsagar8297ae992016-09-14 20:51:23832 "trees/swap_promise_manager_unittest.cc",
brettw4897a612015-03-02 23:13:15833 "trees/tree_synchronizer_unittest.cc",
[email protected]d05751a22014-05-29 20:54:24834
loyso3dd20892016-11-22 07:11:01835 # Animation test files.
836 "animation/animation_host_unittest.cc",
837 "animation/animation_player_unittest.cc",
838 "animation/animation_timeline_unittest.cc",
839 "animation/animation_unittest.cc",
840 "animation/element_animations_unittest.cc",
841 "animation/keyframed_animation_curve_unittest.cc",
842 "animation/scroll_offset_animation_curve_unittest.cc",
843 "animation/transform_operations_unittest.cc",
844
brettw4897a612015-03-02 23:13:15845 # Surfaces test files.
fsamuel2a58c062017-02-09 23:54:00846 "surfaces/compositor_frame_sink_support_unittest.cc",
danakj1120f4c2016-09-15 02:05:32847 "surfaces/direct_compositor_frame_sink_unittest.cc",
brettwd649f6b2015-08-18 20:58:51848 "surfaces/display_scheduler_unittest.cc",
849 "surfaces/display_unittest.cc",
kylechar4e728be2017-01-19 17:39:30850 "surfaces/referenced_surface_tracker_unittest.cc",
brettw4897a612015-03-02 23:13:15851 "surfaces/surface_aggregator_unittest.cc",
brettwd649f6b2015-08-18 20:58:51852 "surfaces/surface_factory_unittest.cc",
lfg8d07c91d2015-08-07 16:13:20853 "surfaces/surface_hittest_unittest.cc",
kylechar0de37322016-11-03 15:25:57854 "surfaces/surface_manager_ref_unittest.cc",
enne4e3c9d52016-03-09 00:25:12855 "surfaces/surface_manager_unittest.cc",
fsamuel34396562016-10-06 15:01:21856 "surfaces/surface_sequence_generator_unittest.cc",
brettw4897a612015-03-02 23:13:15857 "surfaces/surface_unittest.cc",
858 "surfaces/surfaces_pixeltest.cc",
[email protected]d05751a22014-05-29 20:54:24859
brettw4897a612015-03-02 23:13:15860 # Setup.
861 "test/cc_test_suite.cc",
thakisb8590c92017-03-23 18:14:53862 "test/cc_test_suite.h",
brettw4897a612015-03-02 23:13:15863 "test/run_all_unittests.cc",
864 ]
[email protected]d05751a22014-05-29 20:54:24865
agrievee41ae190d2016-04-25 14:12:51866 if (!is_android) {
867 data = [
868 "test/data/",
869 ]
870 }
dpranke177c1e22015-07-22 23:07:43871
khushalsagar54203a192017-01-20 21:05:57872 # TODO(khushalsagar): Remove once crbug.com/683263 is fixed.
873 configs = [ "//build/config/compiler:no_size_t_to_int_warning" ]
874
brettw4897a612015-03-02 23:13:15875 deps = [
876 ":cc",
877 ":test_support",
878 "//base/test:test_support",
fsamuelf76098e2016-05-18 17:26:51879 "//cc/ipc",
fsamuel410c9602016-05-31 21:50:20880 "//cc/ipc:test_interfaces",
enne34f6084c2017-02-02 22:39:08881 "//cc/paint",
brettw4897a612015-03-02 23:13:15882 "//cc/surfaces",
883 "//cc/surfaces:surface_id",
samans72b2a282016-12-17 02:44:15884 "//cc/surfaces:surfaces",
brettw4897a612015-03-02 23:13:15885 "//gpu",
886 "//gpu:test_support",
887 "//gpu/command_buffer/client:gles2_interface",
888 "//gpu/command_buffer/common:gles2_utils",
889 "//media",
fsamuel410c9602016-05-31 21:50:20890 "//mojo/edk/system",
891 "//mojo/public/cpp/bindings",
brettw4897a612015-03-02 23:13:15892 "//testing/gmock",
893 "//testing/gtest",
Nico Weber9d6e12942016-04-19 18:51:09894 "//ui/events:events_base",
brettw4897a612015-03-02 23:13:15895 "//ui/gfx",
brettw4897a612015-03-02 23:13:15896 "//ui/gfx:test_support",
agrieved7a71c882015-11-20 19:53:28897 "//ui/gfx/geometry",
brettw4897a612015-03-02 23:13:15898 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26899 "//ui/gl:test_support",
brettw4897a612015-03-02 23:13:15900 ]
dpranke177c1e22015-07-22 23:07:43901
vmpstr9116a70f2015-10-14 23:48:34902 data_deps = [
903 "//third_party/mesa:osmesa",
904 ]
[email protected]d05751a22014-05-29 20:54:24905}
906
loyso1fe38ba42016-12-01 00:39:08907cc_test("cc_perftests") {
[email protected]6e44c302014-07-22 21:51:37908 sources = [
loysoa4a59a42016-02-10 06:49:26909 "animation/animation_host_perftest.cc",
vmpstr0d694522016-12-14 23:37:19910 "base/rtree_perftest.cc",
fsamuelbb47aac2016-07-08 01:05:53911 "ipc/cc_serialization_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37912 "layers/layer_perftest.cc",
913 "layers/picture_layer_impl_perftest.cc",
danakj4e214032016-09-08 19:08:23914 "output/bsp_tree_perftest.cc",
vmpstr0b044512015-05-29 02:58:03915 "quads/draw_quad_perftest.cc",
prashant.nb4d4f492016-04-29 12:51:28916 "raster/raster_buffer_provider_perftest.cc",
danakj920156852015-05-18 20:22:29917 "raster/task_graph_runner_perftest.cc",
918 "raster/texture_compressor_perftest.cc",
jbauman39be2012015-04-16 01:33:08919 "surfaces/surface_aggregator_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37920 "test/cc_test_suite.cc",
thakisb8590c92017-03-23 18:14:53921 "test/cc_test_suite.h",
[email protected]6e44c302014-07-22 21:51:37922 "test/run_all_perftests.cc",
vmpstr13778fb2017-02-02 23:44:00923 "tiles/software_image_decode_cache_perftest.cc",
danakj920156852015-05-18 20:22:29924 "tiles/tile_manager_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37925 "trees/layer_tree_host_common_perftest.cc",
926 "trees/layer_tree_host_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37927 ]
[email protected]d05751a22014-05-29 20:54:24928
[email protected]6e44c302014-07-22 21:51:37929 deps = [
930 ":cc",
931 ":test_support",
932 "//base",
jamesr16c04ff2014-11-24 22:24:57933 "//base/test:test_support",
fsamuelf76098e2016-05-18 17:26:51934 "//cc/ipc",
fsamuelbb47aac2016-07-08 01:05:53935 "//cc/ipc:interfaces",
chrishtrac41ff92017-03-17 05:07:30936 "//cc/paint",
jbauman39be2012015-04-16 01:33:08937 "//cc/surfaces",
938 "//cc/surfaces:surface_id",
[email protected]6e44c302014-07-22 21:51:37939 "//gpu",
[email protected]c7990dbf2014-07-23 22:35:10940 "//gpu:test_support",
[email protected]845c4e32014-08-13 11:50:40941 "//gpu/command_buffer/common:gles2_utils",
[email protected]6e44c302014-07-22 21:51:37942 "//media",
fsamuelbb47aac2016-07-08 01:05:53943 "//mojo/edk/system",
944 "//mojo/public/cpp/bindings",
[email protected]6e44c302014-07-22 21:51:37945 "//skia",
946 "//testing/gmock",
947 "//testing/gtest",
948 "//testing/perf",
949 "//ui/gfx",
950 "//ui/gfx/geometry",
jamesr16c04ff2014-11-24 22:24:57951 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26952 "//ui/gl:test_support",
[email protected]6e44c302014-07-22 21:51:37953 ]
krasinca63e412016-05-12 02:53:25954
955 # This target should not require the Chrome executable to run.
956 assert_no_deps = [ "//chrome" ]
jbudorickbdd15902016-09-15 21:05:42957
958 data = [
959 "test/data/",
eyaich7c79b912016-10-29 00:39:25960
961 # Needed for isolate script to execute.
962 "//testing/scripts/common.py",
963 "//testing/xvfb.py",
964 "//testing/scripts/run_gtest_perf_test.py",
eyaich082a30c2016-11-04 20:20:57965 "//tools/perf/generate_legacy_perf_dashboard_json.py",
jbudorickbdd15902016-09-15 21:05:42966 ]
[email protected]6e44c302014-07-22 21:51:37967}