blob: cb966fd0eb7b84e2c84b240ca5232a0f4d2310a9 [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",
xidachenfa0199e72017-05-11 11:34:2651 "input/touch_action.h",
fsamuela4f81d1f2017-04-07 18:32:3852 "layers/append_quads_data.cc",
[email protected]d05751a22014-05-29 20:54:2453 "layers/append_quads_data.h",
[email protected]d05751a22014-05-29 20:54:2454 "layers/content_layer_client.h",
ennefffb119c2015-08-29 09:17:3055 "layers/draw_properties.cc",
[email protected]d05751a22014-05-29 20:54:2456 "layers/draw_properties.h",
ajuma956219582017-04-04 19:58:1457 "layers/effect_tree_layer_list_iterator.cc",
58 "layers/effect_tree_layer_list_iterator.h",
[email protected]d05751a22014-05-29 20:54:2459 "layers/heads_up_display_layer.cc",
60 "layers/heads_up_display_layer.h",
61 "layers/heads_up_display_layer_impl.cc",
62 "layers/heads_up_display_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:2463 "layers/layer.cc",
64 "layers/layer.h",
65 "layers/layer_client.h",
vollick83fbfc82016-03-22 18:33:2766 "layers/layer_collections.h",
[email protected]d05751a22014-05-29 20:54:2467 "layers/layer_impl.cc",
68 "layers/layer_impl.h",
jaydasika1c0a27d42016-04-28 01:54:5669 "layers/layer_impl_test_properties.cc",
70 "layers/layer_impl_test_properties.h",
vollick44d1c1f2016-03-02 20:59:4371 "layers/layer_list_iterator.cc",
72 "layers/layer_list_iterator.h",
[email protected]d05751a22014-05-29 20:54:2473 "layers/layer_position_constraint.cc",
74 "layers/layer_position_constraint.h",
flackr2215b4e2016-09-21 20:16:0175 "layers/layer_sticky_position_constraint.cc",
76 "layers/layer_sticky_position_constraint.h",
[email protected]d05751a22014-05-29 20:54:2477 "layers/layer_utils.cc",
78 "layers/layer_utils.h",
79 "layers/nine_patch_layer.cc",
80 "layers/nine_patch_layer.h",
81 "layers/nine_patch_layer_impl.cc",
82 "layers/nine_patch_layer_impl.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",
samansb5041222017-04-25 17:34:23522 "test/compositor_frame_helpers.cc",
523 "test/compositor_frame_helpers.h",
danakj1120f4c2016-09-15 02:05:32524 "test/fake_compositor_frame_sink.cc",
525 "test/fake_compositor_frame_sink.h",
526 "test/fake_compositor_frame_sink_client.cc",
527 "test/fake_compositor_frame_sink_client.h",
staraz04278212017-04-12 23:07:19528 "test/fake_compositor_frame_sink_support_client.cc",
529 "test/fake_compositor_frame_sink_support_client.h",
[email protected]d05751a22014-05-29 20:54:24530 "test/fake_content_layer_client.cc",
531 "test/fake_content_layer_client.h",
danakj6e3bf8012014-12-16 18:27:53532 "test/fake_external_begin_frame_source.cc",
533 "test/fake_external_begin_frame_source.h",
khushalsagarb64b360d2015-10-21 19:25:16534 "test/fake_impl_task_runner_provider.h",
[email protected]d05751a22014-05-29 20:54:24535 "test/fake_layer_tree_host.cc",
536 "test/fake_layer_tree_host.h",
537 "test/fake_layer_tree_host_client.cc",
538 "test/fake_layer_tree_host_client.h",
539 "test/fake_layer_tree_host_impl.cc",
540 "test/fake_layer_tree_host_impl.h",
541 "test/fake_layer_tree_host_impl_client.cc",
542 "test/fake_layer_tree_host_impl_client.h",
ajumad9432e32015-11-30 19:43:44543 "test/fake_mask_layer_impl.cc",
544 "test/fake_mask_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24545 "test/fake_output_surface.cc",
546 "test/fake_output_surface.h",
547 "test/fake_output_surface_client.cc",
548 "test/fake_output_surface_client.h",
549 "test/fake_painted_scrollbar_layer.cc",
550 "test/fake_painted_scrollbar_layer.h",
551 "test/fake_picture_layer.cc",
552 "test/fake_picture_layer.h",
553 "test/fake_picture_layer_impl.cc",
554 "test/fake_picture_layer_impl.h",
555 "test/fake_picture_layer_tiling_client.cc",
556 "test/fake_picture_layer_tiling_client.h",
[email protected]d05751a22014-05-29 20:54:24557 "test/fake_proxy.cc",
558 "test/fake_proxy.h",
prashant.nb4d4f492016-04-29 12:51:28559 "test/fake_raster_buffer_provider.cc",
560 "test/fake_raster_buffer_provider.h",
vmpstr41d68f882016-03-30 01:20:23561 "test/fake_raster_source.cc",
562 "test/fake_raster_source.h",
vmpstre17fd212016-03-30 20:03:32563 "test/fake_recording_source.cc",
564 "test/fake_recording_source.h",
[email protected]d05751a22014-05-29 20:54:24565 "test/fake_rendering_stats_instrumentation.h",
danakj61bf05f2015-05-26 23:28:56566 "test/fake_resource_provider.h",
[email protected]d05751a22014-05-29 20:54:24567 "test/fake_scoped_ui_resource.cc",
568 "test/fake_scoped_ui_resource.h",
569 "test/fake_scrollbar.cc",
570 "test/fake_scrollbar.h",
esecklere356c64f2017-05-26 12:59:12571 "test/fake_surface_observer.cc",
572 "test/fake_surface_observer.h",
starazdcf699d92017-04-21 22:38:55573 "test/fake_surface_resource_holder_client.cc",
574 "test/fake_surface_resource_holder_client.h",
[email protected]d05751a22014-05-29 20:54:24575 "test/fake_tile_manager.cc",
576 "test/fake_tile_manager.h",
577 "test/fake_tile_manager_client.cc",
578 "test/fake_tile_manager_client.h",
prashant.nb4d4f492016-04-29 12:51:28579 "test/fake_tile_task_manager.cc",
580 "test/fake_tile_task_manager.h",
[email protected]d05751a22014-05-29 20:54:24581 "test/fake_ui_resource_layer_tree_host_impl.cc",
582 "test/fake_ui_resource_layer_tree_host_impl.h",
583 "test/fake_video_frame_provider.cc",
584 "test/fake_video_frame_provider.h",
585 "test/geometry_test_utils.cc",
586 "test/geometry_test_utils.h",
[email protected]d05751a22014-05-29 20:54:24587 "test/layer_test_common.cc",
588 "test/layer_test_common.h",
[email protected]d05751a22014-05-29 20:54:24589 "test/layer_tree_json_parser.cc",
590 "test/layer_tree_json_parser.h",
enne03dbe8ae2014-10-30 01:32:55591 "test/layer_tree_pixel_resource_test.cc",
592 "test/layer_tree_pixel_resource_test.h",
[email protected]d05751a22014-05-29 20:54:24593 "test/layer_tree_pixel_test.cc",
594 "test/layer_tree_pixel_test.h",
595 "test/layer_tree_test.cc",
596 "test/layer_tree_test.h",
starazc0f2d73d2017-05-08 10:47:16597 "test/mock_compositor_frame_sink_support_client.cc",
598 "test/mock_compositor_frame_sink_support_client.h",
mithro6be81902015-12-04 05:58:46599 "test/mock_helper.h",
[email protected]ba16cce2014-06-17 17:03:50600 "test/mock_occlusion_tracker.h",
[email protected]d5ba08c2014-06-18 07:01:08601 "test/ordered_simple_task_runner.cc",
602 "test/ordered_simple_task_runner.h",
[email protected]d05751a22014-05-29 20:54:24603 "test/ordered_texture_map.cc",
604 "test/ordered_texture_map.h",
605 "test/paths.cc",
606 "test/paths.h",
607 "test/pixel_comparator.cc",
608 "test/pixel_comparator.h",
609 "test/pixel_test.cc",
610 "test/pixel_test.h",
611 "test/pixel_test_output_surface.cc",
612 "test/pixel_test_output_surface.h",
[email protected]d05751a22014-05-29 20:54:24613 "test/pixel_test_utils.cc",
614 "test/pixel_test_utils.h",
xingliu3c9b4cc2016-11-02 20:52:55615 "test/push_properties_counting_layer.cc",
616 "test/push_properties_counting_layer.h",
617 "test/push_properties_counting_layer_impl.cc",
618 "test/push_properties_counting_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24619 "test/render_pass_test_utils.cc",
620 "test/render_pass_test_utils.h",
621 "test/scheduler_test_common.cc",
622 "test/scheduler_test_common.h",
623 "test/skia_common.cc",
624 "test/skia_common.h",
625 "test/solid_color_content_layer_client.cc",
626 "test/solid_color_content_layer_client.h",
danakjffc181a2016-07-22 22:48:43627 "test/stub_layer_tree_host_client.cc",
628 "test/stub_layer_tree_host_client.h",
629 "test/stub_layer_tree_host_single_thread_client.cc",
630 "test/stub_layer_tree_host_single_thread_client.h",
starazdcf699d92017-04-21 22:38:55631 "test/stub_surface_factory_client.h",
fsamuel7a615102015-10-23 21:25:16632 "test/surface_aggregator_test_helpers.cc",
633 "test/surface_aggregator_test_helpers.h",
634 "test/surface_hittest_test_helpers.cc",
635 "test/surface_hittest_test_helpers.h",
ericrk4e3aa5a2015-12-01 03:53:56636 "test/task_graph_runner_test_template.cc",
637 "test/task_graph_runner_test_template.h",
danakj1120f4c2016-09-15 02:05:32638 "test/test_compositor_frame_sink.cc",
639 "test/test_compositor_frame_sink.h",
[email protected]d05751a22014-05-29 20:54:24640 "test/test_context_provider.cc",
641 "test/test_context_provider.h",
642 "test/test_context_support.cc",
643 "test/test_context_support.h",
644 "test/test_gles2_interface.cc",
645 "test/test_gles2_interface.h",
reveman22dd9292014-10-13 20:52:05646 "test/test_gpu_memory_buffer_manager.cc",
647 "test/test_gpu_memory_buffer_manager.h",
khushalsagar0a226af2015-12-09 10:30:20648 "test/test_hooks.cc",
649 "test/test_hooks.h",
reveman2232bce2014-10-29 01:28:05650 "test/test_image_factory.cc",
651 "test/test_image_factory.h",
satorux457770e2015-02-18 18:33:39652 "test/test_in_process_context_provider.cc",
653 "test/test_in_process_context_provider.h",
vmpstr6edf66ce2016-05-18 20:12:22654 "test/test_layer_tree_host_base.cc",
655 "test/test_layer_tree_host_base.h",
[email protected]d05751a22014-05-29 20:54:24656 "test/test_occlusion_tracker.h",
657 "test/test_shared_bitmap_manager.cc",
658 "test/test_shared_bitmap_manager.h",
enne59df29de2017-05-02 03:23:37659 "test/test_skcanvas.cc",
660 "test/test_skcanvas.h",
reveman34b7a1522015-03-23 20:27:47661 "test/test_task_graph_runner.cc",
662 "test/test_task_graph_runner.h",
[email protected]d05751a22014-05-29 20:54:24663 "test/test_texture.cc",
664 "test/test_texture.h",
665 "test/test_tile_priorities.cc",
666 "test/test_tile_priorities.h",
prashant.n7c706022016-05-26 19:00:09667 "test/test_tile_task_runner.cc",
668 "test/test_tile_task_runner.h",
[email protected]d05751a22014-05-29 20:54:24669 "test/test_web_graphics_context_3d.cc",
670 "test/test_web_graphics_context_3d.h",
[email protected]d05751a22014-05-29 20:54:24671 ]
672
Brett Wilson0380637c2014-09-19 21:24:40673 public_deps = [
674 ":cc",
loyso3dd20892016-11-22 07:11:01675 "//cc/animation",
Brett Wilsone53895272014-09-23 23:41:46676 "//gpu:test_support",
Brett Wilson0380637c2014-09-19 21:24:40677 ]
[email protected]d05751a22014-05-29 20:54:24678 deps = [
679 "//base",
jamesr16c04ff2014-11-24 22:24:57680 "//base/test:test_support",
[email protected]d05751a22014-05-29 20:54:24681 "//base/third_party/dynamic_annotations",
enne34f6084c2017-02-02 22:39:08682 "//cc/paint",
fsamuel7a615102015-10-23 21:25:16683 "//cc/surfaces",
684 "//cc/surfaces:surface_id",
[email protected]d05751a22014-05-29 20:54:24685 "//gpu/command_buffer/client:gles2_c_lib",
686 "//gpu/command_buffer/client:gles2_implementation",
[email protected]845c4e32014-08-13 11:50:40687 "//gpu/command_buffer/common:gles2_utils",
fsamuel600b99e2016-11-11 07:50:26688 "//gpu/ipc:gl_in_process_context",
[email protected]d05751a22014-05-29 20:54:24689 "//gpu/skia_bindings",
jamesr16c04ff2014-11-24 22:24:57690 "//media",
[email protected]d05751a22014-05-29 20:54:24691 "//skia",
692 "//testing/gmock",
693 "//testing/gtest",
[email protected]d05751a22014-05-29 20:54:24694 "//ui/gfx",
[email protected]e54a1f522014-07-22 23:26:48695 "//ui/gfx:test_support",
agrieved7a71c882015-11-20 19:53:28696 "//ui/gfx/geometry",
[email protected]d05751a22014-05-29 20:54:24697 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26698 "//ui/gl:test_support",
mfomitchev3ba450ad2017-04-03 18:20:40699 "//ui/latency",
[email protected]d05751a22014-05-29 20:54:24700 ]
agrieve48bd27e2016-06-22 21:04:07701 if (!is_android) {
702 data_deps = [
703 "//third_party/mesa:osmesa",
704 ]
705 }
[email protected]d05751a22014-05-29 20:54:24706}
707
loyso1fe38ba42016-12-01 00:39:08708cc_test("cc_unittests") {
brettw4897a612015-03-02 23:13:15709 sources = [
enne797d82332015-12-01 01:34:58710 "base/contiguous_container_unittest.cc",
brettwd649f6b2015-08-18 20:58:51711 "base/delayed_unique_notifier_unittest.cc",
chrishtrac41ff92017-03-17 05:07:30712 "base/filter_operations_unittest.cc",
brettw4897a612015-03-02 23:13:15713 "base/float_quad_unittest.cc",
jbroman7b5b0552015-05-28 03:36:58714 "base/histograms_unittest.cc",
prashant.n20ec56f2016-09-22 03:47:32715 "base/index_rect_unittest.cc",
prashant.n7f1fe3d2015-06-05 18:26:04716 "base/list_container_unittest.cc",
brettw4897a612015-03-02 23:13:15717 "base/math_util_unittest.cc",
718 "base/region_unittest.cc",
719 "base/rolling_time_delta_history_unittest.cc",
vmpstrb3ceb8222015-09-23 20:25:25720 "base/rtree_unittest.cc",
brettw4897a612015-03-02 23:13:15721 "base/simple_enclosed_region_unittest.cc",
prashant.n05192792016-09-24 03:38:20722 "base/spiral_iterator_unittest.cc",
brettw4897a612015-03-02 23:13:15723 "base/tiling_data_unittest.cc",
brettwd649f6b2015-08-18 20:58:51724 "base/unique_notifier_unittest.cc",
chrishtr82b5d9502017-03-20 18:25:33725 "benchmarks/micro_benchmark_controller_unittest.cc",
brettwd649f6b2015-08-18 20:58:51726 "debug/rendering_stats_unittest.cc",
mdjones2ee41afd2016-10-27 16:50:20727 "input/browser_controls_offset_manager_unittest.cc",
tdresserd9e201472015-07-31 13:15:07728 "input/scroll_state_unittest.cc",
chaopeng59e6fc02017-02-17 23:35:57729 "input/scrollbar_animation_controller_unittest.cc",
chaopeng2c3e1702017-01-27 04:46:02730 "input/single_scrollbar_animation_controller_thinning_unittest.cc",
fsamuelf76098e2016-05-18 17:26:51731 "ipc/cc_param_traits_unittest.cc",
fsamuel410c9602016-05-31 21:50:20732 "ipc/struct_traits_unittest.cc",
ajuma956219582017-04-04 19:58:14733 "layers/effect_tree_layer_list_iterator_unittest.cc",
brettw4897a612015-03-02 23:13:15734 "layers/heads_up_display_layer_impl_unittest.cc",
735 "layers/heads_up_display_unittest.cc",
brettw4897a612015-03-02 23:13:15736 "layers/layer_impl_unittest.cc",
vollick44d1c1f2016-03-02 20:59:43737 "layers/layer_list_iterator_unittest.cc",
brettw4897a612015-03-02 23:13:15738 "layers/layer_position_constraint_unittest.cc",
739 "layers/layer_unittest.cc",
740 "layers/layer_utils_unittest.cc",
741 "layers/nine_patch_layer_impl_unittest.cc",
742 "layers/nine_patch_layer_unittest.cc",
743 "layers/painted_scrollbar_layer_impl_unittest.cc",
ccamerona54da382015-11-27 00:52:33744 "layers/painted_scrollbar_layer_unittest.cc",
brettw4897a612015-03-02 23:13:15745 "layers/picture_image_layer_unittest.cc",
746 "layers/picture_layer_impl_unittest.cc",
747 "layers/picture_layer_unittest.cc",
chrishtrac41ff92017-03-17 05:07:30748 "layers/recording_source_unittest.cc",
brettw4897a612015-03-02 23:13:15749 "layers/render_surface_impl_unittest.cc",
750 "layers/render_surface_unittest.cc",
751 "layers/scrollbar_layer_unittest.cc",
752 "layers/solid_color_layer_impl_unittest.cc",
753 "layers/solid_color_scrollbar_layer_impl_unittest.cc",
754 "layers/surface_layer_impl_unittest.cc",
755 "layers/surface_layer_unittest.cc",
756 "layers/texture_layer_impl_unittest.cc",
757 "layers/texture_layer_unittest.cc",
brettw4897a612015-03-02 23:13:15758 "layers/ui_resource_layer_impl_unittest.cc",
759 "layers/ui_resource_layer_unittest.cc",
dalecurtisb8396642015-06-09 18:38:14760 "layers/video_frame_provider_client_impl_unittest.cc",
brettw4897a612015-03-02 23:13:15761 "layers/video_layer_impl_unittest.cc",
ymalik99740e852016-04-07 04:18:13762 "layers/viewport_unittest.cc",
brettw4897a612015-03-02 23:13:15763 "output/begin_frame_args_unittest.cc",
brettwd649f6b2015-08-18 20:58:51764 "output/bsp_tree_unittest.cc",
ericrk9151705c2016-07-26 19:53:16765 "output/buffer_to_texture_target_map_unittest.cc",
danakje41d978a2016-09-19 21:09:28766 "output/compositor_frame_sink_unittest.cc",
ericrkf6c4fb62016-08-30 23:27:24767 "output/context_cache_controller_unittest.cc",
brettw4897a612015-03-02 23:13:15768 "output/gl_renderer_unittest.cc",
danakj920156852015-05-18 20:22:29769 "output/layer_quad_unittest.cc",
brettw4897a612015-03-02 23:13:15770 "output/overlay_unittest.cc",
771 "output/renderer_pixeltest.cc",
brettw4897a612015-03-02 23:13:15772 "output/shader_unittest.cc",
773 "output/software_renderer_unittest.cc",
danakj920156852015-05-18 20:22:29774 "output/texture_mailbox_deleter_unittest.cc",
chrishtrac41ff92017-03-17 05:07:30775 "paint/discardable_image_map_unittest.cc",
776 "paint/display_item_list_unittest.cc",
enne59df29de2017-05-02 03:23:37777 "paint/paint_op_buffer_unittest.cc",
brettwd649f6b2015-08-18 20:58:51778 "quads/draw_polygon_unittest.cc",
brettw4897a612015-03-02 23:13:15779 "quads/draw_quad_unittest.cc",
bokane7a058a2017-03-02 22:42:51780 "quads/nine_patch_generator_unittest.cc",
brettw4897a612015-03-02 23:13:15781 "quads/render_pass_unittest.cc",
chrishtrac41ff92017-03-17 05:07:30782 "raster/image_hijack_canvas_unittest.cc",
prashant.nb4d4f492016-04-29 12:51:28783 "raster/raster_buffer_provider_unittest.cc",
chrishtrac41ff92017-03-17 05:07:30784 "raster/raster_source_unittest.cc",
danakj920156852015-05-18 20:22:29785 "raster/scoped_gpu_raster_unittest.cc",
ericrk4e3aa5a2015-12-01 03:53:56786 "raster/single_thread_task_graph_runner_unittest.cc",
787 "raster/synchronous_task_graph_runner_unittest.cc",
ericrk0f9ee9862017-01-23 19:05:39788 "raster/task_graph_work_queue_unittest.cc",
danakj920156852015-05-18 20:22:29789 "raster/texture_compressor_etc1_unittest.cc",
brettw4897a612015-03-02 23:13:15790 "resources/platform_color_unittest.cc",
boliucb788f42015-07-22 23:49:28791 "resources/resource_pool_unittest.cc",
brettw4897a612015-03-02 23:13:15792 "resources/resource_provider_unittest.cc",
prashant.n8e494282015-08-03 07:13:41793 "resources/resource_util_unittest.cc",
brettw4897a612015-03-02 23:13:15794 "resources/scoped_resource_unittest.cc",
brettw4897a612015-03-02 23:13:15795 "resources/video_resource_updater_unittest.cc",
796 "scheduler/begin_frame_source_unittest.cc",
brianderson68749812015-07-07 22:39:39797 "scheduler/compositor_timing_history_unittest.cc",
brettw4897a612015-03-02 23:13:15798 "scheduler/delay_based_time_source_unittest.cc",
799 "scheduler/scheduler_state_machine_unittest.cc",
800 "scheduler/scheduler_unittest.cc",
mithro6be81902015-12-04 05:58:46801 "test/begin_frame_source_test_unittest.cc",
brettw4897a612015-03-02 23:13:15802 "test/layer_tree_json_parser_unittest.cc",
mithro6be81902015-12-04 05:58:46803 "test/mock_helper_unittest.cc",
brettwd649f6b2015-08-18 20:58:51804 "test/ordered_simple_task_runner_unittest.cc",
brettw4897a612015-03-02 23:13:15805 "test/test_web_graphics_context_3d_unittest.cc",
khushalsagard3b8827d2017-02-18 18:42:54806 "tiles/checker_image_tracker_unittest.cc",
vmpstra6b30162017-01-12 20:23:03807 "tiles/decoded_image_tracker_unittest.cc",
vmpstr70289fb62016-12-01 02:33:05808 "tiles/gpu_image_decode_cache_unittest.cc",
vmpstre556bda62016-12-02 01:51:40809 "tiles/image_controller_unittest.cc",
ericrkc7ebaa12016-06-09 21:05:55810 "tiles/mipmap_util_unittest.cc",
danakj920156852015-05-18 20:22:29811 "tiles/picture_layer_tiling_set_unittest.cc",
812 "tiles/picture_layer_tiling_unittest.cc",
vmpstr70289fb62016-12-01 02:33:05813 "tiles/software_image_decode_cache_unittest.cc",
danakj920156852015-05-18 20:22:29814 "tiles/tile_manager_unittest.cc",
815 "tiles/tile_priority_unittest.cc",
brettw4897a612015-03-02 23:13:15816 "trees/blocking_task_runner_unittest.cc",
817 "trees/damage_tracker_unittest.cc",
brettw4897a612015-03-02 23:13:15818 "trees/layer_tree_host_common_unittest.cc",
819 "trees/layer_tree_host_impl_unittest.cc",
820 "trees/layer_tree_host_pixeltest_blending.cc",
821 "trees/layer_tree_host_pixeltest_filters.cc",
822 "trees/layer_tree_host_pixeltest_masks.cc",
823 "trees/layer_tree_host_pixeltest_readback.cc",
danakjd63f8a62016-08-24 03:26:48824 "trees/layer_tree_host_pixeltest_scrollbars.cc",
brettw4897a612015-03-02 23:13:15825 "trees/layer_tree_host_pixeltest_synchronous.cc",
danakje0b54782015-05-29 22:47:52826 "trees/layer_tree_host_pixeltest_tiles.cc",
brettw4897a612015-03-02 23:13:15827 "trees/layer_tree_host_unittest.cc",
828 "trees/layer_tree_host_unittest_animation.cc",
khushalsagar6dc91d02017-02-28 05:10:07829 "trees/layer_tree_host_unittest_checkerimaging.cc",
brettw4897a612015-03-02 23:13:15830 "trees/layer_tree_host_unittest_context.cc",
831 "trees/layer_tree_host_unittest_copyrequest.cc",
832 "trees/layer_tree_host_unittest_damage.cc",
brettw4897a612015-03-02 23:13:15833 "trees/layer_tree_host_unittest_occlusion.cc",
834 "trees/layer_tree_host_unittest_picture.cc",
835 "trees/layer_tree_host_unittest_proxy.cc",
khushalsagarb54107d02015-12-10 20:20:56836 "trees/layer_tree_host_unittest_record_gpu_histogram.cc",
brettw4897a612015-03-02 23:13:15837 "trees/layer_tree_host_unittest_scroll.cc",
838 "trees/layer_tree_host_unittest_video.cc",
839 "trees/layer_tree_impl_unittest.cc",
840 "trees/occlusion_tracker_unittest.cc",
841 "trees/occlusion_unittest.cc",
842 "trees/property_tree_unittest.cc",
khushalsagar8297ae992016-09-14 20:51:23843 "trees/swap_promise_manager_unittest.cc",
brettw4897a612015-03-02 23:13:15844 "trees/tree_synchronizer_unittest.cc",
[email protected]d05751a22014-05-29 20:54:24845
loyso3dd20892016-11-22 07:11:01846 # Animation test files.
847 "animation/animation_host_unittest.cc",
848 "animation/animation_player_unittest.cc",
849 "animation/animation_timeline_unittest.cc",
850 "animation/animation_unittest.cc",
851 "animation/element_animations_unittest.cc",
852 "animation/keyframed_animation_curve_unittest.cc",
853 "animation/scroll_offset_animation_curve_unittest.cc",
854 "animation/transform_operations_unittest.cc",
855
brettw4897a612015-03-02 23:13:15856 # Surfaces test files.
fsamuel2a58c062017-02-09 23:54:00857 "surfaces/compositor_frame_sink_support_unittest.cc",
danakj1120f4c2016-09-15 02:05:32858 "surfaces/direct_compositor_frame_sink_unittest.cc",
brettwd649f6b2015-08-18 20:58:51859 "surfaces/display_scheduler_unittest.cc",
860 "surfaces/display_unittest.cc",
kylechar4e728be2017-01-19 17:39:30861 "surfaces/referenced_surface_tracker_unittest.cc",
brettw4897a612015-03-02 23:13:15862 "surfaces/surface_aggregator_unittest.cc",
lfg8d07c91d2015-08-07 16:13:20863 "surfaces/surface_hittest_unittest.cc",
kylechar0de37322016-11-03 15:25:57864 "surfaces/surface_manager_ref_unittest.cc",
enne4e3c9d52016-03-09 00:25:12865 "surfaces/surface_manager_unittest.cc",
fsamuel34396562016-10-06 15:01:21866 "surfaces/surface_sequence_generator_unittest.cc",
starazc0f2d73d2017-05-08 10:47:16867 "surfaces/surface_synchronization_unittest.cc",
brettw4897a612015-03-02 23:13:15868 "surfaces/surface_unittest.cc",
869 "surfaces/surfaces_pixeltest.cc",
[email protected]d05751a22014-05-29 20:54:24870
brettw4897a612015-03-02 23:13:15871 # Setup.
872 "test/cc_test_suite.cc",
thakisb8590c92017-03-23 18:14:53873 "test/cc_test_suite.h",
brettw4897a612015-03-02 23:13:15874 "test/run_all_unittests.cc",
875 ]
[email protected]d05751a22014-05-29 20:54:24876
agrievee41ae190d2016-04-25 14:12:51877 if (!is_android) {
878 data = [
879 "test/data/",
880 ]
881 }
dpranke177c1e22015-07-22 23:07:43882
khushalsagar54203a192017-01-20 21:05:57883 # TODO(khushalsagar): Remove once crbug.com/683263 is fixed.
884 configs = [ "//build/config/compiler:no_size_t_to_int_warning" ]
885
brettw4897a612015-03-02 23:13:15886 deps = [
887 ":cc",
888 ":test_support",
889 "//base/test:test_support",
fsamuelf76098e2016-05-18 17:26:51890 "//cc/ipc",
fsamuel410c9602016-05-31 21:50:20891 "//cc/ipc:test_interfaces",
enne34f6084c2017-02-02 22:39:08892 "//cc/paint",
brettw4897a612015-03-02 23:13:15893 "//cc/surfaces",
894 "//cc/surfaces:surface_id",
samans72b2a282016-12-17 02:44:15895 "//cc/surfaces:surfaces",
brettw4897a612015-03-02 23:13:15896 "//gpu",
897 "//gpu:test_support",
898 "//gpu/command_buffer/client:gles2_interface",
899 "//gpu/command_buffer/common:gles2_utils",
900 "//media",
fsamuel410c9602016-05-31 21:50:20901 "//mojo/edk/system",
902 "//mojo/public/cpp/bindings",
brettw4897a612015-03-02 23:13:15903 "//testing/gmock",
904 "//testing/gtest",
Nico Weber9d6e12942016-04-19 18:51:09905 "//ui/events:events_base",
brettw4897a612015-03-02 23:13:15906 "//ui/gfx",
brettw4897a612015-03-02 23:13:15907 "//ui/gfx:test_support",
agrieved7a71c882015-11-20 19:53:28908 "//ui/gfx/geometry",
brettw4897a612015-03-02 23:13:15909 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26910 "//ui/gl:test_support",
brettw4897a612015-03-02 23:13:15911 ]
dpranke177c1e22015-07-22 23:07:43912
vmpstr9116a70f2015-10-14 23:48:34913 data_deps = [
914 "//third_party/mesa:osmesa",
915 ]
[email protected]d05751a22014-05-29 20:54:24916}
917
loyso1fe38ba42016-12-01 00:39:08918cc_test("cc_perftests") {
[email protected]6e44c302014-07-22 21:51:37919 sources = [
loysoa4a59a42016-02-10 06:49:26920 "animation/animation_host_perftest.cc",
vmpstr0d694522016-12-14 23:37:19921 "base/rtree_perftest.cc",
fsamuelbb47aac2016-07-08 01:05:53922 "ipc/cc_serialization_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37923 "layers/layer_perftest.cc",
924 "layers/picture_layer_impl_perftest.cc",
danakj4e214032016-09-08 19:08:23925 "output/bsp_tree_perftest.cc",
vmpstr0b044512015-05-29 02:58:03926 "quads/draw_quad_perftest.cc",
prashant.nb4d4f492016-04-29 12:51:28927 "raster/raster_buffer_provider_perftest.cc",
danakj920156852015-05-18 20:22:29928 "raster/task_graph_runner_perftest.cc",
929 "raster/texture_compressor_perftest.cc",
jbauman39be2012015-04-16 01:33:08930 "surfaces/surface_aggregator_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37931 "test/cc_test_suite.cc",
thakisb8590c92017-03-23 18:14:53932 "test/cc_test_suite.h",
[email protected]6e44c302014-07-22 21:51:37933 "test/run_all_perftests.cc",
vmpstr13778fb2017-02-02 23:44:00934 "tiles/software_image_decode_cache_perftest.cc",
danakj920156852015-05-18 20:22:29935 "tiles/tile_manager_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37936 "trees/layer_tree_host_common_perftest.cc",
937 "trees/layer_tree_host_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37938 ]
[email protected]d05751a22014-05-29 20:54:24939
[email protected]6e44c302014-07-22 21:51:37940 deps = [
941 ":cc",
942 ":test_support",
943 "//base",
jamesr16c04ff2014-11-24 22:24:57944 "//base/test:test_support",
fsamuelf76098e2016-05-18 17:26:51945 "//cc/ipc",
fsamuelbb47aac2016-07-08 01:05:53946 "//cc/ipc:interfaces",
chrishtrac41ff92017-03-17 05:07:30947 "//cc/paint",
jbauman39be2012015-04-16 01:33:08948 "//cc/surfaces",
949 "//cc/surfaces:surface_id",
[email protected]6e44c302014-07-22 21:51:37950 "//gpu",
[email protected]c7990dbf2014-07-23 22:35:10951 "//gpu:test_support",
[email protected]845c4e32014-08-13 11:50:40952 "//gpu/command_buffer/common:gles2_utils",
[email protected]6e44c302014-07-22 21:51:37953 "//media",
fsamuelbb47aac2016-07-08 01:05:53954 "//mojo/edk/system",
955 "//mojo/public/cpp/bindings",
[email protected]6e44c302014-07-22 21:51:37956 "//skia",
957 "//testing/gmock",
958 "//testing/gtest",
959 "//testing/perf",
960 "//ui/gfx",
961 "//ui/gfx/geometry",
jamesr16c04ff2014-11-24 22:24:57962 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26963 "//ui/gl:test_support",
[email protected]6e44c302014-07-22 21:51:37964 ]
krasinca63e412016-05-12 02:53:25965
966 # This target should not require the Chrome executable to run.
967 assert_no_deps = [ "//chrome" ]
jbudorickbdd15902016-09-15 21:05:42968
969 data = [
970 "test/data/",
eyaich7c79b912016-10-29 00:39:25971
972 # Needed for isolate script to execute.
973 "//testing/scripts/common.py",
974 "//testing/xvfb.py",
975 "//testing/scripts/run_gtest_perf_test.py",
eyaich082a30c2016-11-04 20:20:57976 "//tools/perf/generate_legacy_perf_dashboard_json.py",
jbudorickbdd15902016-09-15 21:05:42977 ]
[email protected]6e44c302014-07-22 21:51:37978}