blob: 8b0d79f5c5b5dca8f573d98a443819991564c7f4 [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",
Bo Liu96368332017-06-15 19:52:4355 "layers/draw_mode.h",
ennefffb119c2015-08-29 09:17:3056 "layers/draw_properties.cc",
[email protected]d05751a22014-05-29 20:54:2457 "layers/draw_properties.h",
ajuma956219582017-04-04 19:58:1458 "layers/effect_tree_layer_list_iterator.cc",
59 "layers/effect_tree_layer_list_iterator.h",
[email protected]d05751a22014-05-29 20:54:2460 "layers/heads_up_display_layer.cc",
61 "layers/heads_up_display_layer.h",
62 "layers/heads_up_display_layer_impl.cc",
63 "layers/heads_up_display_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:2464 "layers/layer.cc",
65 "layers/layer.h",
66 "layers/layer_client.h",
vollick83fbfc82016-03-22 18:33:2767 "layers/layer_collections.h",
[email protected]d05751a22014-05-29 20:54:2468 "layers/layer_impl.cc",
69 "layers/layer_impl.h",
jaydasika1c0a27d42016-04-28 01:54:5670 "layers/layer_impl_test_properties.cc",
71 "layers/layer_impl_test_properties.h",
vollick44d1c1f2016-03-02 20:59:4372 "layers/layer_list_iterator.cc",
73 "layers/layer_list_iterator.h",
[email protected]d05751a22014-05-29 20:54:2474 "layers/layer_position_constraint.cc",
75 "layers/layer_position_constraint.h",
flackr2215b4e2016-09-21 20:16:0176 "layers/layer_sticky_position_constraint.cc",
77 "layers/layer_sticky_position_constraint.h",
[email protected]d05751a22014-05-29 20:54:2478 "layers/layer_utils.cc",
79 "layers/layer_utils.h",
80 "layers/nine_patch_layer.cc",
81 "layers/nine_patch_layer.h",
82 "layers/nine_patch_layer_impl.cc",
83 "layers/nine_patch_layer_impl.h",
bokane7a058a2017-03-02 22:42:5184 "layers/painted_overlay_scrollbar_layer.cc",
85 "layers/painted_overlay_scrollbar_layer.h",
86 "layers/painted_overlay_scrollbar_layer_impl.cc",
87 "layers/painted_overlay_scrollbar_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:2488 "layers/painted_scrollbar_layer.cc",
89 "layers/painted_scrollbar_layer.h",
90 "layers/painted_scrollbar_layer_impl.cc",
91 "layers/painted_scrollbar_layer_impl.h",
92 "layers/picture_image_layer.cc",
93 "layers/picture_image_layer.h",
[email protected]d05751a22014-05-29 20:54:2494 "layers/picture_layer.cc",
95 "layers/picture_layer.h",
96 "layers/picture_layer_impl.cc",
97 "layers/picture_layer_impl.h",
chrishtrac41ff92017-03-17 05:07:3098 "layers/recording_source.cc",
99 "layers/recording_source.h",
[email protected]d05751a22014-05-29 20:54:24100 "layers/render_surface_impl.cc",
101 "layers/render_surface_impl.h",
102 "layers/scrollbar_layer_impl_base.cc",
103 "layers/scrollbar_layer_impl_base.h",
104 "layers/scrollbar_layer_interface.h",
105 "layers/solid_color_layer.cc",
106 "layers/solid_color_layer.h",
107 "layers/solid_color_layer_impl.cc",
108 "layers/solid_color_layer_impl.h",
109 "layers/solid_color_scrollbar_layer.cc",
110 "layers/solid_color_scrollbar_layer.h",
111 "layers/solid_color_scrollbar_layer_impl.cc",
112 "layers/solid_color_scrollbar_layer_impl.h",
113 "layers/surface_layer.cc",
114 "layers/surface_layer.h",
115 "layers/surface_layer_impl.cc",
116 "layers/surface_layer_impl.h",
117 "layers/texture_layer.cc",
118 "layers/texture_layer.h",
119 "layers/texture_layer_client.h",
120 "layers/texture_layer_impl.cc",
121 "layers/texture_layer_impl.h",
Hayley Ferrd9ee3a72017-06-16 14:16:09122 "layers/touch_action_region.cc",
123 "layers/touch_action_region.h",
[email protected]d05751a22014-05-29 20:54:24124 "layers/ui_resource_layer.cc",
125 "layers/ui_resource_layer.h",
126 "layers/ui_resource_layer_impl.cc",
127 "layers/ui_resource_layer_impl.h",
128 "layers/video_frame_provider.h",
129 "layers/video_frame_provider_client_impl.cc",
130 "layers/video_frame_provider_client_impl.h",
131 "layers/video_layer.cc",
132 "layers/video_layer.h",
133 "layers/video_layer_impl.cc",
134 "layers/video_layer_impl.h",
bokanaa2748312015-03-26 00:10:37135 "layers/viewport.cc",
136 "layers/viewport.h",
[email protected]d05751a22014-05-29 20:54:24137 "output/begin_frame_args.cc",
138 "output/begin_frame_args.h",
[email protected]2a021fb7b2014-08-02 07:53:49139 "output/bsp_tree.cc",
140 "output/bsp_tree.h",
141 "output/bsp_walk_action.cc",
142 "output/bsp_walk_action.h",
ericrk9151705c2016-07-26 19:53:16143 "output/buffer_to_texture_target_map.cc",
144 "output/buffer_to_texture_target_map.h",
ccameron35db390a2015-11-17 21:22:55145 "output/ca_layer_overlay.cc",
146 "output/ca_layer_overlay.h",
hubbeaf57af302016-08-11 10:42:32147 "output/color_lut_cache.cc",
148 "output/color_lut_cache.h",
[email protected]d05751a22014-05-29 20:54:24149 "output/compositor_frame.cc",
150 "output/compositor_frame.h",
[email protected]d05751a22014-05-29 20:54:24151 "output/compositor_frame_metadata.cc",
152 "output/compositor_frame_metadata.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",
danakjc7afae52017-06-20 21:12:41179 "output/layer_tree_frame_sink.cc",
180 "output/layer_tree_frame_sink.h",
181 "output/layer_tree_frame_sink_client.h",
[email protected]d05751a22014-05-29 20:54:24182 "output/managed_memory_policy.cc",
183 "output/managed_memory_policy.h",
184 "output/output_surface.cc",
185 "output/output_surface.h",
186 "output/output_surface_client.h",
kylechar5344b39e2016-10-06 23:51:19187 "output/output_surface_frame.cc",
188 "output/output_surface_frame.h",
[email protected]d05751a22014-05-29 20:54:24189 "output/overlay_candidate.cc",
190 "output/overlay_candidate.h",
191 "output/overlay_candidate_validator.h",
192 "output/overlay_processor.cc",
193 "output/overlay_processor.h",
dcastagnaea959b12016-07-20 21:38:58194 "output/overlay_strategy_fullscreen.cc",
195 "output/overlay_strategy_fullscreen.h",
[email protected]d05751a22014-05-29 20:54:24196 "output/overlay_strategy_single_on_top.cc",
197 "output/overlay_strategy_single_on_top.h",
achaulkf47b4942015-04-01 17:26:08198 "output/overlay_strategy_underlay.cc",
199 "output/overlay_strategy_underlay.h",
halliwelldc04cafc2017-02-28 00:53:05200 "output/overlay_strategy_underlay_cast.cc",
201 "output/overlay_strategy_underlay_cast.h",
[email protected]d05751a22014-05-29 20:54:24202 "output/program_binding.cc",
203 "output/program_binding.h",
jbaumanc5be44c2014-11-20 22:17:12204 "output/renderer_settings.cc",
205 "output/renderer_settings.h",
[email protected]d05751a22014-05-29 20:54:24206 "output/shader.cc",
207 "output/shader.h",
[email protected]d05751a22014-05-29 20:54:24208 "output/software_output_device.cc",
209 "output/software_output_device.h",
210 "output/software_renderer.cc",
211 "output/software_renderer.h",
awoloszyn3d8eb1d2015-03-12 14:38:32212 "output/static_geometry_binding.cc",
213 "output/static_geometry_binding.h",
jamesrf313a212015-03-16 21:27:37214 "output/swap_promise.h",
danakj920156852015-05-18 20:22:29215 "output/texture_mailbox_deleter.cc",
216 "output/texture_mailbox_deleter.h",
dyenb52ecd962016-04-20 23:23:44217 "output/vulkan_context_provider.h",
218 "output/vulkan_in_process_context_provider.cc",
219 "output/vulkan_in_process_context_provider.h",
[email protected]d05751a22014-05-29 20:54:24220 "quads/content_draw_quad_base.cc",
221 "quads/content_draw_quad_base.h",
222 "quads/debug_border_draw_quad.cc",
223 "quads/debug_border_draw_quad.h",
[email protected]2a021fb7b2014-08-02 07:53:49224 "quads/draw_polygon.cc",
225 "quads/draw_polygon.h",
[email protected]d05751a22014-05-29 20:54:24226 "quads/draw_quad.cc",
227 "quads/draw_quad.h",
weiliangcfe7b51e2014-11-05 18:20:27228 "quads/largest_draw_quad.cc",
satorux457770e2015-02-18 18:33:39229 "quads/largest_draw_quad.h",
bokane7a058a2017-03-02 22:42:51230 "quads/nine_patch_generator.cc",
231 "quads/nine_patch_generator.h",
[email protected]d05751a22014-05-29 20:54:24232 "quads/picture_draw_quad.cc",
233 "quads/picture_draw_quad.h",
234 "quads/render_pass.cc",
235 "quads/render_pass.h",
236 "quads/render_pass_draw_quad.cc",
237 "quads/render_pass_draw_quad.h",
238 "quads/shared_quad_state.cc",
239 "quads/shared_quad_state.h",
240 "quads/solid_color_draw_quad.cc",
241 "quads/solid_color_draw_quad.h",
242 "quads/stream_video_draw_quad.cc",
243 "quads/stream_video_draw_quad.h",
244 "quads/surface_draw_quad.cc",
245 "quads/surface_draw_quad.h",
246 "quads/texture_draw_quad.cc",
247 "quads/texture_draw_quad.h",
248 "quads/tile_draw_quad.cc",
249 "quads/tile_draw_quad.h",
250 "quads/yuv_video_draw_quad.cc",
251 "quads/yuv_video_draw_quad.h",
prashant.nb4d4f492016-04-29 12:51:28252 "raster/bitmap_raster_buffer_provider.cc",
253 "raster/bitmap_raster_buffer_provider.h",
254 "raster/gpu_raster_buffer_provider.cc",
255 "raster/gpu_raster_buffer_provider.h",
chrishtrac41ff92017-03-17 05:07:30256 "raster/image_hijack_canvas.cc",
257 "raster/image_hijack_canvas.h",
prashant.nb4d4f492016-04-29 12:51:28258 "raster/one_copy_raster_buffer_provider.cc",
259 "raster/one_copy_raster_buffer_provider.h",
danakj920156852015-05-18 20:22:29260 "raster/raster_buffer.cc",
261 "raster/raster_buffer.h",
prashant.nb4d4f492016-04-29 12:51:28262 "raster/raster_buffer_provider.cc",
263 "raster/raster_buffer_provider.h",
chrishtrac41ff92017-03-17 05:07:30264 "raster/raster_source.cc",
265 "raster/raster_source.h",
danakj920156852015-05-18 20:22:29266 "raster/scoped_gpu_raster.cc",
267 "raster/scoped_gpu_raster.h",
ericrk4e3aa5a2015-12-01 03:53:56268 "raster/single_thread_task_graph_runner.cc",
269 "raster/single_thread_task_graph_runner.h",
chrishtrac41ff92017-03-17 05:07:30270 "raster/skip_image_canvas.cc",
271 "raster/skip_image_canvas.h",
prashant.na9dd9ef2016-04-08 19:57:10272 "raster/staging_buffer_pool.cc",
273 "raster/staging_buffer_pool.h",
ericrk4e3aa5a2015-12-01 03:53:56274 "raster/synchronous_task_graph_runner.cc",
275 "raster/synchronous_task_graph_runner.h",
prashant.n49b3e64652016-04-19 07:04:49276 "raster/task.cc",
277 "raster/task.h",
ericrk374dee72016-01-13 03:38:05278 "raster/task_category.h",
danakj920156852015-05-18 20:22:29279 "raster/task_graph_runner.h",
ericrk4e3aa5a2015-12-01 03:53:56280 "raster/task_graph_work_queue.cc",
281 "raster/task_graph_work_queue.h",
danakj920156852015-05-18 20:22:29282 "raster/texture_compressor.cc",
283 "raster/texture_compressor.h",
284 "raster/texture_compressor_etc1.cc",
285 "raster/texture_compressor_etc1.h",
prashant.n6cb1bb82016-04-20 05:15:58286 "raster/tile_task.cc",
287 "raster/tile_task.h",
prashant.nb4d4f492016-04-29 12:51:28288 "raster/zero_copy_raster_buffer_provider.cc",
289 "raster/zero_copy_raster_buffer_provider.h",
[email protected]d05751a22014-05-29 20:54:24290 "resources/memory_history.cc",
291 "resources/memory_history.h",
[email protected]d05751a22014-05-29 20:54:24292 "resources/platform_color.h",
[email protected]d05751a22014-05-29 20:54:24293 "resources/release_callback.h",
reveman423e7da2014-09-23 16:57:44294 "resources/resource.h",
[email protected]c6f0cf62014-07-22 02:44:41295 "resources/resource_format.cc",
[email protected]bf050582014-07-24 11:10:58296 "resources/resource_format.h",
fsamuel6ee49c42016-06-01 11:16:55297 "resources/resource_format_utils.cc",
298 "resources/resource_format_utils.h",
[email protected]d05751a22014-05-29 20:54:24299 "resources/resource_pool.cc",
300 "resources/resource_pool.h",
301 "resources/resource_provider.cc",
302 "resources/resource_provider.h",
Alex Zhang90722d92017-06-05 20:41:07303 "resources/resource_settings.cc",
304 "resources/resource_settings.h",
prashant.n8e494282015-08-03 07:13:41305 "resources/resource_util.h",
[email protected]d05751a22014-05-29 20:54:24306 "resources/returned_resource.h",
307 "resources/scoped_resource.cc",
308 "resources/scoped_resource.h",
309 "resources/scoped_ui_resource.cc",
310 "resources/scoped_ui_resource.h",
311 "resources/shared_bitmap.cc",
312 "resources/shared_bitmap.h",
313 "resources/shared_bitmap_manager.h",
314 "resources/single_release_callback.cc",
315 "resources/single_release_callback.h",
skyostil3976a3f2014-09-04 22:07:23316 "resources/single_release_callback_impl.cc",
317 "resources/single_release_callback_impl.h",
[email protected]d05751a22014-05-29 20:54:24318 "resources/texture_mailbox.cc",
reveman423e7da2014-09-23 16:57:44319 "resources/texture_mailbox.h",
[email protected]d05751a22014-05-29 20:54:24320 "resources/transferable_resource.cc",
321 "resources/transferable_resource.h",
322 "resources/ui_resource_bitmap.cc",
323 "resources/ui_resource_bitmap.h",
324 "resources/ui_resource_client.h",
khushalsagar8ec07402016-09-10 03:13:19325 "resources/ui_resource_manager.cc",
326 "resources/ui_resource_manager.h",
[email protected]d05751a22014-05-29 20:54:24327 "resources/ui_resource_request.cc",
328 "resources/ui_resource_request.h",
329 "resources/video_resource_updater.cc",
330 "resources/video_resource_updater.h",
mithroc34fc0b12014-09-30 09:10:41331 "scheduler/begin_frame_source.cc",
332 "scheduler/begin_frame_source.h",
mithro0bdb49d2015-05-27 13:08:01333 "scheduler/begin_frame_tracker.cc",
334 "scheduler/begin_frame_tracker.h",
mithrof7a21502014-12-17 03:24:48335 "scheduler/commit_earlyout_reason.h",
briandersonc9f50352015-06-24 03:38:58336 "scheduler/compositor_timing_history.cc",
337 "scheduler/compositor_timing_history.h",
[email protected]d05751a22014-05-29 20:54:24338 "scheduler/delay_based_time_source.cc",
339 "scheduler/delay_based_time_source.h",
340 "scheduler/draw_result.h",
341 "scheduler/scheduler.cc",
342 "scheduler/scheduler.h",
343 "scheduler/scheduler_settings.cc",
344 "scheduler/scheduler_settings.h",
345 "scheduler/scheduler_state_machine.cc",
346 "scheduler/scheduler_state_machine.h",
sunnyps7d073dc2015-04-16 23:29:12347 "scheduler/video_frame_controller.h",
khushalsagard3b8827d2017-02-18 18:42:54348 "tiles/checker_image_tracker.cc",
349 "tiles/checker_image_tracker.h",
chrishtrac41ff92017-03-17 05:07:30350 "tiles/decoded_draw_image.cc",
351 "tiles/decoded_draw_image.h",
vmpstra6b30162017-01-12 20:23:03352 "tiles/decoded_image_tracker.cc",
353 "tiles/decoded_image_tracker.h",
danakj920156852015-05-18 20:22:29354 "tiles/eviction_tile_priority_queue.cc",
355 "tiles/eviction_tile_priority_queue.h",
chrishtr82b5d9502017-03-20 18:25:33356 "tiles/frame_viewer_instrumentation.cc",
357 "tiles/frame_viewer_instrumentation.h",
vmpstr70289fb62016-12-01 02:33:05358 "tiles/gpu_image_decode_cache.cc",
359 "tiles/gpu_image_decode_cache.h",
vmpstre556bda62016-12-02 01:51:40360 "tiles/image_controller.cc",
361 "tiles/image_controller.h",
vmpstr70289fb62016-12-01 02:33:05362 "tiles/image_decode_cache.h",
ericrkc7ebaa12016-06-09 21:05:55363 "tiles/mipmap_util.cc",
364 "tiles/mipmap_util.h",
danakj920156852015-05-18 20:22:29365 "tiles/picture_layer_tiling.cc",
366 "tiles/picture_layer_tiling.h",
367 "tiles/picture_layer_tiling_set.cc",
368 "tiles/picture_layer_tiling_set.h",
369 "tiles/prioritized_tile.cc",
370 "tiles/prioritized_tile.h",
371 "tiles/raster_tile_priority_queue.cc",
372 "tiles/raster_tile_priority_queue.h",
373 "tiles/raster_tile_priority_queue_all.cc",
374 "tiles/raster_tile_priority_queue_all.h",
375 "tiles/raster_tile_priority_queue_required.cc",
376 "tiles/raster_tile_priority_queue_required.h",
vmpstr70289fb62016-12-01 02:33:05377 "tiles/software_image_decode_cache.cc",
378 "tiles/software_image_decode_cache.h",
danakj920156852015-05-18 20:22:29379 "tiles/tile.cc",
380 "tiles/tile.h",
381 "tiles/tile_draw_info.cc",
382 "tiles/tile_draw_info.h",
383 "tiles/tile_manager.cc",
384 "tiles/tile_manager.h",
khushalsagard3b8827d2017-02-18 18:42:54385 "tiles/tile_manager_settings.h",
danakj920156852015-05-18 20:22:29386 "tiles/tile_priority.cc",
387 "tiles/tile_priority.h",
prashant.nb4d4f492016-04-29 12:51:28388 "tiles/tile_task_manager.cc",
389 "tiles/tile_task_manager.h",
danakj920156852015-05-18 20:22:29390 "tiles/tiling_set_eviction_queue.cc",
391 "tiles/tiling_set_eviction_queue.h",
392 "tiles/tiling_set_raster_queue_all.cc",
393 "tiles/tiling_set_raster_queue_all.h",
394 "tiles/tiling_set_raster_queue_required.cc",
395 "tiles/tiling_set_raster_queue_required.h",
[email protected]d05751a22014-05-29 20:54:24396 "trees/blocking_task_runner.cc",
397 "trees/blocking_task_runner.h",
ajumae947a352017-01-10 19:17:49398 "trees/clip_expander.cc",
399 "trees/clip_expander.h",
trchendba8b1502016-07-08 09:47:01400 "trees/clip_node.cc",
401 "trees/clip_node.h",
khushalsagar19458bd2015-12-08 02:19:01402 "trees/compositor_mode.h",
[email protected]d05751a22014-05-29 20:54:24403 "trees/damage_tracker.cc",
404 "trees/damage_tracker.h",
chrishtr82b5d9502017-03-20 18:25:33405 "trees/debug_rect_history.cc",
406 "trees/debug_rect_history.h",
vollick51ed1a22014-12-17 02:03:00407 "trees/draw_property_utils.cc",
408 "trees/draw_property_utils.h",
trchendba8b1502016-07-08 09:47:01409 "trees/effect_node.cc",
410 "trees/effect_node.h",
loyso290a27a2016-11-15 01:47:10411 "trees/element_id.cc",
412 "trees/element_id.h",
chrishtr82b5d9502017-03-20 18:25:33413 "trees/frame_rate_counter.cc",
414 "trees/frame_rate_counter.h",
jamesrf313a212015-03-16 21:27:37415 "trees/latency_info_swap_promise_monitor.cc",
416 "trees/latency_info_swap_promise_monitor.h",
khushalsagare0e4486e2017-01-25 03:15:03417 "trees/layer_tree_host.cc",
[email protected]d05751a22014-05-29 20:54:24418 "trees/layer_tree_host.h",
419 "trees/layer_tree_host_client.h",
420 "trees/layer_tree_host_common.cc",
421 "trees/layer_tree_host_common.h",
422 "trees/layer_tree_host_impl.cc",
423 "trees/layer_tree_host_impl.h",
ccameron00e438cd2015-03-12 06:18:14424 "trees/layer_tree_host_single_thread_client.h",
[email protected]d05751a22014-05-29 20:54:24425 "trees/layer_tree_impl.cc",
426 "trees/layer_tree_impl.h",
loyso720c7c552016-11-10 23:16:39427 "trees/layer_tree_mutator.h",
[email protected]d05751a22014-05-29 20:54:24428 "trees/layer_tree_settings.cc",
429 "trees/layer_tree_settings.h",
loyso6bd8b612016-11-11 07:00:02430 "trees/mutable_properties.h",
loyso6d6356e2016-11-02 23:41:08431 "trees/mutator_host.h",
loysobb93befc2015-07-03 00:19:50432 "trees/mutator_host_client.h",
vmpstrcdcb5f72014-09-11 00:58:37433 "trees/occlusion.cc",
434 "trees/occlusion.h",
[email protected]d05751a22014-05-29 20:54:24435 "trees/occlusion_tracker.cc",
436 "trees/occlusion_tracker.h",
loysoab298a032016-11-15 23:42:43437 "trees/property_animation_state.cc",
438 "trees/property_animation_state.h",
vollick51ed1a22014-12-17 02:03:00439 "trees/property_tree.cc",
440 "trees/property_tree.h",
441 "trees/property_tree_builder.cc",
442 "trees/property_tree_builder.h",
[email protected]d05751a22014-05-29 20:54:24443 "trees/proxy.h",
khushalsagare3c9fa92015-10-28 02:08:29444 "trees/proxy_common.cc",
445 "trees/proxy_common.h",
khushalsagar0a226af2015-12-09 10:30:20446 "trees/proxy_impl.cc",
khushalsagar5d6eb982015-09-25 22:44:56447 "trees/proxy_impl.h",
khushalsagar0a226af2015-12-09 10:30:20448 "trees/proxy_main.cc",
khushalsagar5d6eb982015-09-25 22:44:56449 "trees/proxy_main.h",
[email protected]aeeedad2014-08-22 18:16:22450 "trees/scoped_abort_remaining_swap_promises.h",
trchendba8b1502016-07-08 09:47:01451 "trees/scroll_node.cc",
452 "trees/scroll_node.h",
[email protected]d05751a22014-05-29 20:54:24453 "trees/single_thread_proxy.cc",
454 "trees/single_thread_proxy.h",
khushalsagar8297ae992016-09-14 20:51:23455 "trees/swap_promise_manager.cc",
456 "trees/swap_promise_manager.h",
jamesrf313a212015-03-16 21:27:37457 "trees/swap_promise_monitor.cc",
458 "trees/swap_promise_monitor.h",
loysoab298a032016-11-15 23:42:43459 "trees/target_property.cc",
460 "trees/target_property.h",
khushalsagarb64b360d2015-10-21 19:25:16461 "trees/task_runner_provider.cc",
462 "trees/task_runner_provider.h",
trchendba8b1502016-07-08 09:47:01463 "trees/transform_node.cc",
464 "trees/transform_node.h",
[email protected]d05751a22014-05-29 20:54:24465 "trees/tree_synchronizer.cc",
466 "trees/tree_synchronizer.h",
467 ]
468
agrieveefcd0222016-06-08 15:48:19469 if (current_cpu == "x86" || current_cpu == "x64") {
thakis4a0c5482015-06-08 20:51:29470 sources += [
471 "raster/texture_compressor_etc1_sse.cc",
472 "raster/texture_compressor_etc1_sse.h",
473 ]
474 }
475
khushalsagar54203a192017-01-20 21:05:57476 # TODO(khushalsagar): Remove once crbug.com/683263 is fixed.
477 configs = [ "//build/config/compiler:no_size_t_to_int_warning" ]
478
Brett Wilsone53895272014-09-23 23:41:46479 public_deps = [
jamesrf313a212015-03-16 21:27:37480 "//cc/base",
Brett Wilsone53895272014-09-23 23:41:46481 "//skia",
482 ]
[email protected]d05751a22014-05-29 20:54:24483 deps = [
484 "//base",
485 "//base/third_party/dynamic_annotations",
enne34f6084c2017-02-02 22:39:08486 "//cc/paint",
jamesr16c04ff2014-11-24 22:24:57487 "//cc/surfaces:surface_id",
[email protected]d05751a22014-05-29 20:54:24488 "//gpu",
fsamueledc0c2c2016-11-18 22:28:04489 "//gpu/command_buffer/client:gles2_implementation",
jbromancba3d2fe2014-09-16 01:04:24490 "//gpu/command_buffer/client:gles2_interface",
fsamueledc0c2c2016-11-18 22:28:04491 "//gpu/ipc:gl_in_process_context",
492 "//gpu/skia_bindings:skia_bindings",
qyearsleydb0a34872017-03-14 03:24:31493 "//gpu/vulkan:features",
[email protected]6e44c302014-07-22 21:51:37494 "//media",
samansbf8eacc2017-01-27 22:59:25495 "//mojo/public/cpp/bindings:struct_traits",
hubbedc658032016-10-04 01:34:59496 "//third_party/libyuv",
Nico Weber9d6e12942016-04-19 18:51:09497 "//ui/events:events_base",
[email protected]d05751a22014-05-29 20:54:24498 "//ui/gfx",
499 "//ui/gfx/geometry",
ericrkf08855b42015-08-06 00:20:22500 "//ui/gl",
mfomitchev3ba450ad2017-04-03 18:20:40501 "//ui/latency",
[email protected]d05751a22014-05-29 20:54:24502 ]
[email protected]d05751a22014-05-29 20:54:24503
[email protected]3ffa36a2014-07-24 21:01:50504 defines = [ "CC_IMPLEMENTATION=1" ]
[email protected]d05751a22014-05-29 20:54:24505
dyen8a145fb72016-03-31 00:37:51506 if (enable_vulkan) {
dyen136e05c2016-04-06 22:28:27507 sources += [
dyen136e05c2016-04-06 22:28:27508 "output/vulkan_renderer.cc",
509 "output/vulkan_renderer.h",
dyen8a145fb72016-03-31 00:37:51510 ]
511
dyen136e05c2016-04-06 22:28:27512 deps += [ "//gpu/vulkan" ]
dyen8a145fb72016-03-31 00:37:51513 }
[email protected]d05751a22014-05-29 20:54:24514}
515
loyso1fe38ba42016-12-01 00:39:08516cc_static_library("test_support") {
Brett Wilson8f80ad0b2014-09-08 19:50:24517 testonly = true
[email protected]d05751a22014-05-29 20:54:24518 sources = [
519 "test/animation_test_common.cc",
520 "test/animation_test_common.h",
loysobb93befc2015-07-03 00:19:50521 "test/animation_timelines_test_common.cc",
522 "test/animation_timelines_test_common.h",
[email protected]d05751a22014-05-29 20:54:24523 "test/begin_frame_args_test.cc",
524 "test/begin_frame_args_test.h",
mithro6be81902015-12-04 05:58:46525 "test/begin_frame_source_test.cc",
526 "test/begin_frame_source_test.h",
samansb5041222017-04-25 17:34:23527 "test/compositor_frame_helpers.cc",
528 "test/compositor_frame_helpers.h",
staraz04278212017-04-12 23:07:19529 "test/fake_compositor_frame_sink_support_client.cc",
530 "test/fake_compositor_frame_sink_support_client.h",
[email protected]d05751a22014-05-29 20:54:24531 "test/fake_content_layer_client.cc",
532 "test/fake_content_layer_client.h",
danakj6e3bf8012014-12-16 18:27:53533 "test/fake_external_begin_frame_source.cc",
534 "test/fake_external_begin_frame_source.h",
khushalsagarb64b360d2015-10-21 19:25:16535 "test/fake_impl_task_runner_provider.h",
danakjc7afae52017-06-20 21:12:41536 "test/fake_layer_tree_frame_sink.cc",
537 "test/fake_layer_tree_frame_sink.h",
538 "test/fake_layer_tree_frame_sink_client.cc",
539 "test/fake_layer_tree_frame_sink_client.h",
[email protected]d05751a22014-05-29 20:54:24540 "test/fake_layer_tree_host.cc",
541 "test/fake_layer_tree_host.h",
542 "test/fake_layer_tree_host_client.cc",
543 "test/fake_layer_tree_host_client.h",
544 "test/fake_layer_tree_host_impl.cc",
545 "test/fake_layer_tree_host_impl.h",
546 "test/fake_layer_tree_host_impl_client.cc",
547 "test/fake_layer_tree_host_impl_client.h",
ajumad9432e32015-11-30 19:43:44548 "test/fake_mask_layer_impl.cc",
549 "test/fake_mask_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24550 "test/fake_output_surface.cc",
551 "test/fake_output_surface.h",
552 "test/fake_output_surface_client.cc",
553 "test/fake_output_surface_client.h",
554 "test/fake_painted_scrollbar_layer.cc",
555 "test/fake_painted_scrollbar_layer.h",
556 "test/fake_picture_layer.cc",
557 "test/fake_picture_layer.h",
558 "test/fake_picture_layer_impl.cc",
559 "test/fake_picture_layer_impl.h",
560 "test/fake_picture_layer_tiling_client.cc",
561 "test/fake_picture_layer_tiling_client.h",
[email protected]d05751a22014-05-29 20:54:24562 "test/fake_proxy.cc",
563 "test/fake_proxy.h",
prashant.nb4d4f492016-04-29 12:51:28564 "test/fake_raster_buffer_provider.cc",
565 "test/fake_raster_buffer_provider.h",
vmpstr41d68f882016-03-30 01:20:23566 "test/fake_raster_source.cc",
567 "test/fake_raster_source.h",
vmpstre17fd212016-03-30 20:03:32568 "test/fake_recording_source.cc",
569 "test/fake_recording_source.h",
[email protected]d05751a22014-05-29 20:54:24570 "test/fake_rendering_stats_instrumentation.h",
danakj61bf05f2015-05-26 23:28:56571 "test/fake_resource_provider.h",
[email protected]d05751a22014-05-29 20:54:24572 "test/fake_scoped_ui_resource.cc",
573 "test/fake_scoped_ui_resource.h",
574 "test/fake_scrollbar.cc",
575 "test/fake_scrollbar.h",
esecklere356c64f2017-05-26 12:59:12576 "test/fake_surface_observer.cc",
577 "test/fake_surface_observer.h",
starazdcf699d92017-04-21 22:38:55578 "test/fake_surface_resource_holder_client.cc",
579 "test/fake_surface_resource_holder_client.h",
[email protected]d05751a22014-05-29 20:54:24580 "test/fake_tile_manager.cc",
581 "test/fake_tile_manager.h",
582 "test/fake_tile_manager_client.cc",
583 "test/fake_tile_manager_client.h",
prashant.nb4d4f492016-04-29 12:51:28584 "test/fake_tile_task_manager.cc",
585 "test/fake_tile_task_manager.h",
[email protected]d05751a22014-05-29 20:54:24586 "test/fake_ui_resource_layer_tree_host_impl.cc",
587 "test/fake_ui_resource_layer_tree_host_impl.h",
588 "test/fake_video_frame_provider.cc",
589 "test/fake_video_frame_provider.h",
590 "test/geometry_test_utils.cc",
591 "test/geometry_test_utils.h",
[email protected]d05751a22014-05-29 20:54:24592 "test/layer_test_common.cc",
593 "test/layer_test_common.h",
[email protected]d05751a22014-05-29 20:54:24594 "test/layer_tree_json_parser.cc",
595 "test/layer_tree_json_parser.h",
enne03dbe8ae2014-10-30 01:32:55596 "test/layer_tree_pixel_resource_test.cc",
597 "test/layer_tree_pixel_resource_test.h",
[email protected]d05751a22014-05-29 20:54:24598 "test/layer_tree_pixel_test.cc",
599 "test/layer_tree_pixel_test.h",
600 "test/layer_tree_test.cc",
601 "test/layer_tree_test.h",
starazc0f2d73d2017-05-08 10:47:16602 "test/mock_compositor_frame_sink_support_client.cc",
603 "test/mock_compositor_frame_sink_support_client.h",
mithro6be81902015-12-04 05:58:46604 "test/mock_helper.h",
[email protected]ba16cce2014-06-17 17:03:50605 "test/mock_occlusion_tracker.h",
[email protected]d5ba08c2014-06-18 07:01:08606 "test/ordered_simple_task_runner.cc",
607 "test/ordered_simple_task_runner.h",
[email protected]d05751a22014-05-29 20:54:24608 "test/ordered_texture_map.cc",
609 "test/ordered_texture_map.h",
610 "test/paths.cc",
611 "test/paths.h",
612 "test/pixel_comparator.cc",
613 "test/pixel_comparator.h",
614 "test/pixel_test.cc",
615 "test/pixel_test.h",
616 "test/pixel_test_output_surface.cc",
617 "test/pixel_test_output_surface.h",
[email protected]d05751a22014-05-29 20:54:24618 "test/pixel_test_utils.cc",
619 "test/pixel_test_utils.h",
xingliu3c9b4cc2016-11-02 20:52:55620 "test/push_properties_counting_layer.cc",
621 "test/push_properties_counting_layer.h",
622 "test/push_properties_counting_layer_impl.cc",
623 "test/push_properties_counting_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24624 "test/render_pass_test_utils.cc",
625 "test/render_pass_test_utils.h",
626 "test/scheduler_test_common.cc",
627 "test/scheduler_test_common.h",
628 "test/skia_common.cc",
629 "test/skia_common.h",
630 "test/solid_color_content_layer_client.cc",
631 "test/solid_color_content_layer_client.h",
danakjffc181a2016-07-22 22:48:43632 "test/stub_layer_tree_host_client.cc",
633 "test/stub_layer_tree_host_client.h",
634 "test/stub_layer_tree_host_single_thread_client.cc",
635 "test/stub_layer_tree_host_single_thread_client.h",
fsamuel7a615102015-10-23 21:25:16636 "test/surface_aggregator_test_helpers.cc",
637 "test/surface_aggregator_test_helpers.h",
638 "test/surface_hittest_test_helpers.cc",
639 "test/surface_hittest_test_helpers.h",
ericrk4e3aa5a2015-12-01 03:53:56640 "test/task_graph_runner_test_template.cc",
641 "test/task_graph_runner_test_template.h",
[email protected]d05751a22014-05-29 20:54:24642 "test/test_context_provider.cc",
643 "test/test_context_provider.h",
644 "test/test_context_support.cc",
645 "test/test_context_support.h",
646 "test/test_gles2_interface.cc",
647 "test/test_gles2_interface.h",
reveman22dd9292014-10-13 20:52:05648 "test/test_gpu_memory_buffer_manager.cc",
649 "test/test_gpu_memory_buffer_manager.h",
khushalsagar0a226af2015-12-09 10:30:20650 "test/test_hooks.cc",
651 "test/test_hooks.h",
reveman2232bce2014-10-29 01:28:05652 "test/test_image_factory.cc",
653 "test/test_image_factory.h",
satorux457770e2015-02-18 18:33:39654 "test/test_in_process_context_provider.cc",
655 "test/test_in_process_context_provider.h",
danakjc7afae52017-06-20 21:12:41656 "test/test_layer_tree_frame_sink.cc",
657 "test/test_layer_tree_frame_sink.h",
vmpstr6edf66ce2016-05-18 20:12:22658 "test/test_layer_tree_host_base.cc",
659 "test/test_layer_tree_host_base.h",
[email protected]d05751a22014-05-29 20:54:24660 "test/test_occlusion_tracker.h",
661 "test/test_shared_bitmap_manager.cc",
662 "test/test_shared_bitmap_manager.h",
enne59df29de2017-05-02 03:23:37663 "test/test_skcanvas.cc",
664 "test/test_skcanvas.h",
reveman34b7a1522015-03-23 20:27:47665 "test/test_task_graph_runner.cc",
666 "test/test_task_graph_runner.h",
[email protected]d05751a22014-05-29 20:54:24667 "test/test_texture.cc",
668 "test/test_texture.h",
669 "test/test_tile_priorities.cc",
670 "test/test_tile_priorities.h",
prashant.n7c706022016-05-26 19:00:09671 "test/test_tile_task_runner.cc",
672 "test/test_tile_task_runner.h",
[email protected]d05751a22014-05-29 20:54:24673 "test/test_web_graphics_context_3d.cc",
674 "test/test_web_graphics_context_3d.h",
[email protected]d05751a22014-05-29 20:54:24675 ]
676
Brett Wilson0380637c2014-09-19 21:24:40677 public_deps = [
678 ":cc",
loyso3dd20892016-11-22 07:11:01679 "//cc/animation",
Brett Wilsone53895272014-09-23 23:41:46680 "//gpu:test_support",
Brett Wilson0380637c2014-09-19 21:24:40681 ]
[email protected]d05751a22014-05-29 20:54:24682 deps = [
683 "//base",
jamesr16c04ff2014-11-24 22:24:57684 "//base/test:test_support",
[email protected]d05751a22014-05-29 20:54:24685 "//base/third_party/dynamic_annotations",
enne34f6084c2017-02-02 22:39:08686 "//cc/paint",
fsamuel7a615102015-10-23 21:25:16687 "//cc/surfaces",
688 "//cc/surfaces:surface_id",
[email protected]d05751a22014-05-29 20:54:24689 "//gpu/command_buffer/client:gles2_c_lib",
690 "//gpu/command_buffer/client:gles2_implementation",
[email protected]845c4e32014-08-13 11:50:40691 "//gpu/command_buffer/common:gles2_utils",
fsamuel600b99e2016-11-11 07:50:26692 "//gpu/ipc:gl_in_process_context",
[email protected]d05751a22014-05-29 20:54:24693 "//gpu/skia_bindings",
jamesr16c04ff2014-11-24 22:24:57694 "//media",
[email protected]d05751a22014-05-29 20:54:24695 "//skia",
696 "//testing/gmock",
697 "//testing/gtest",
[email protected]d05751a22014-05-29 20:54:24698 "//ui/gfx",
[email protected]e54a1f522014-07-22 23:26:48699 "//ui/gfx:test_support",
agrieved7a71c882015-11-20 19:53:28700 "//ui/gfx/geometry",
[email protected]d05751a22014-05-29 20:54:24701 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26702 "//ui/gl:test_support",
mfomitchev3ba450ad2017-04-03 18:20:40703 "//ui/latency",
[email protected]d05751a22014-05-29 20:54:24704 ]
agrieve48bd27e2016-06-22 21:04:07705 if (!is_android) {
706 data_deps = [
707 "//third_party/mesa:osmesa",
708 ]
709 }
[email protected]d05751a22014-05-29 20:54:24710}
711
loyso1fe38ba42016-12-01 00:39:08712cc_test("cc_unittests") {
brettw4897a612015-03-02 23:13:15713 sources = [
brettwd649f6b2015-08-18 20:58:51714 "base/delayed_unique_notifier_unittest.cc",
chrishtrac41ff92017-03-17 05:07:30715 "base/filter_operations_unittest.cc",
brettw4897a612015-03-02 23:13:15716 "base/float_quad_unittest.cc",
jbroman7b5b0552015-05-28 03:36:58717 "base/histograms_unittest.cc",
prashant.n20ec56f2016-09-22 03:47:32718 "base/index_rect_unittest.cc",
prashant.n7f1fe3d2015-06-05 18:26:04719 "base/list_container_unittest.cc",
brettw4897a612015-03-02 23:13:15720 "base/math_util_unittest.cc",
721 "base/region_unittest.cc",
722 "base/rolling_time_delta_history_unittest.cc",
vmpstrb3ceb8222015-09-23 20:25:25723 "base/rtree_unittest.cc",
brettw4897a612015-03-02 23:13:15724 "base/simple_enclosed_region_unittest.cc",
prashant.n05192792016-09-24 03:38:20725 "base/spiral_iterator_unittest.cc",
brettw4897a612015-03-02 23:13:15726 "base/tiling_data_unittest.cc",
brettwd649f6b2015-08-18 20:58:51727 "base/unique_notifier_unittest.cc",
chrishtr82b5d9502017-03-20 18:25:33728 "benchmarks/micro_benchmark_controller_unittest.cc",
brettwd649f6b2015-08-18 20:58:51729 "debug/rendering_stats_unittest.cc",
mdjones2ee41afd2016-10-27 16:50:20730 "input/browser_controls_offset_manager_unittest.cc",
tdresserd9e201472015-07-31 13:15:07731 "input/scroll_state_unittest.cc",
chaopeng59e6fc02017-02-17 23:35:57732 "input/scrollbar_animation_controller_unittest.cc",
chaopeng2c3e1702017-01-27 04:46:02733 "input/single_scrollbar_animation_controller_thinning_unittest.cc",
fsamuelf76098e2016-05-18 17:26:51734 "ipc/cc_param_traits_unittest.cc",
fsamuel410c9602016-05-31 21:50:20735 "ipc/struct_traits_unittest.cc",
ajuma956219582017-04-04 19:58:14736 "layers/effect_tree_layer_list_iterator_unittest.cc",
brettw4897a612015-03-02 23:13:15737 "layers/heads_up_display_layer_impl_unittest.cc",
738 "layers/heads_up_display_unittest.cc",
brettw4897a612015-03-02 23:13:15739 "layers/layer_impl_unittest.cc",
vollick44d1c1f2016-03-02 20:59:43740 "layers/layer_list_iterator_unittest.cc",
brettw4897a612015-03-02 23:13:15741 "layers/layer_position_constraint_unittest.cc",
742 "layers/layer_unittest.cc",
743 "layers/layer_utils_unittest.cc",
744 "layers/nine_patch_layer_impl_unittest.cc",
745 "layers/nine_patch_layer_unittest.cc",
746 "layers/painted_scrollbar_layer_impl_unittest.cc",
ccamerona54da382015-11-27 00:52:33747 "layers/painted_scrollbar_layer_unittest.cc",
brettw4897a612015-03-02 23:13:15748 "layers/picture_image_layer_unittest.cc",
749 "layers/picture_layer_impl_unittest.cc",
750 "layers/picture_layer_unittest.cc",
chrishtrac41ff92017-03-17 05:07:30751 "layers/recording_source_unittest.cc",
brettw4897a612015-03-02 23:13:15752 "layers/render_surface_impl_unittest.cc",
753 "layers/render_surface_unittest.cc",
754 "layers/scrollbar_layer_unittest.cc",
755 "layers/solid_color_layer_impl_unittest.cc",
756 "layers/solid_color_scrollbar_layer_impl_unittest.cc",
757 "layers/surface_layer_impl_unittest.cc",
758 "layers/surface_layer_unittest.cc",
759 "layers/texture_layer_impl_unittest.cc",
760 "layers/texture_layer_unittest.cc",
Hayley Ferr2b14e2a6c2017-07-04 17:34:43761 "layers/touch_action_region_unittest.cc",
brettw4897a612015-03-02 23:13:15762 "layers/ui_resource_layer_impl_unittest.cc",
763 "layers/ui_resource_layer_unittest.cc",
dalecurtisb8396642015-06-09 18:38:14764 "layers/video_frame_provider_client_impl_unittest.cc",
brettw4897a612015-03-02 23:13:15765 "layers/video_layer_impl_unittest.cc",
ymalik99740e852016-04-07 04:18:13766 "layers/viewport_unittest.cc",
brettw4897a612015-03-02 23:13:15767 "output/begin_frame_args_unittest.cc",
brettwd649f6b2015-08-18 20:58:51768 "output/bsp_tree_unittest.cc",
ericrk9151705c2016-07-26 19:53:16769 "output/buffer_to_texture_target_map_unittest.cc",
ericrkf6c4fb62016-08-30 23:27:24770 "output/context_cache_controller_unittest.cc",
brettw4897a612015-03-02 23:13:15771 "output/gl_renderer_unittest.cc",
danakj920156852015-05-18 20:22:29772 "output/layer_quad_unittest.cc",
danakjc7afae52017-06-20 21:12:41773 "output/layer_tree_frame_sink_unittest.cc",
brettw4897a612015-03-02 23:13:15774 "output/overlay_unittest.cc",
775 "output/renderer_pixeltest.cc",
brettw4897a612015-03-02 23:13:15776 "output/shader_unittest.cc",
777 "output/software_renderer_unittest.cc",
danakj920156852015-05-18 20:22:29778 "output/texture_mailbox_deleter_unittest.cc",
chrishtrac41ff92017-03-17 05:07:30779 "paint/discardable_image_map_unittest.cc",
780 "paint/display_item_list_unittest.cc",
enne59df29de2017-05-02 03:23:37781 "paint/paint_op_buffer_unittest.cc",
Vladimir Levinaee539102017-06-23 16:46:08782 "paint/solid_color_analyzer_unittest.cc",
brettwd649f6b2015-08-18 20:58:51783 "quads/draw_polygon_unittest.cc",
brettw4897a612015-03-02 23:13:15784 "quads/draw_quad_unittest.cc",
bokane7a058a2017-03-02 22:42:51785 "quads/nine_patch_generator_unittest.cc",
brettw4897a612015-03-02 23:13:15786 "quads/render_pass_unittest.cc",
chrishtrac41ff92017-03-17 05:07:30787 "raster/image_hijack_canvas_unittest.cc",
prashant.nb4d4f492016-04-29 12:51:28788 "raster/raster_buffer_provider_unittest.cc",
chrishtrac41ff92017-03-17 05:07:30789 "raster/raster_source_unittest.cc",
danakj920156852015-05-18 20:22:29790 "raster/scoped_gpu_raster_unittest.cc",
ericrk4e3aa5a2015-12-01 03:53:56791 "raster/single_thread_task_graph_runner_unittest.cc",
792 "raster/synchronous_task_graph_runner_unittest.cc",
ericrk0f9ee9862017-01-23 19:05:39793 "raster/task_graph_work_queue_unittest.cc",
danakj920156852015-05-18 20:22:29794 "raster/texture_compressor_etc1_unittest.cc",
brettw4897a612015-03-02 23:13:15795 "resources/platform_color_unittest.cc",
boliucb788f42015-07-22 23:49:28796 "resources/resource_pool_unittest.cc",
brettw4897a612015-03-02 23:13:15797 "resources/resource_provider_unittest.cc",
prashant.n8e494282015-08-03 07:13:41798 "resources/resource_util_unittest.cc",
brettw4897a612015-03-02 23:13:15799 "resources/scoped_resource_unittest.cc",
brettw4897a612015-03-02 23:13:15800 "resources/video_resource_updater_unittest.cc",
801 "scheduler/begin_frame_source_unittest.cc",
brianderson68749812015-07-07 22:39:39802 "scheduler/compositor_timing_history_unittest.cc",
brettw4897a612015-03-02 23:13:15803 "scheduler/delay_based_time_source_unittest.cc",
804 "scheduler/scheduler_state_machine_unittest.cc",
805 "scheduler/scheduler_unittest.cc",
mithro6be81902015-12-04 05:58:46806 "test/begin_frame_source_test_unittest.cc",
brettw4897a612015-03-02 23:13:15807 "test/layer_tree_json_parser_unittest.cc",
mithro6be81902015-12-04 05:58:46808 "test/mock_helper_unittest.cc",
brettwd649f6b2015-08-18 20:58:51809 "test/ordered_simple_task_runner_unittest.cc",
brettw4897a612015-03-02 23:13:15810 "test/test_web_graphics_context_3d_unittest.cc",
khushalsagard3b8827d2017-02-18 18:42:54811 "tiles/checker_image_tracker_unittest.cc",
vmpstra6b30162017-01-12 20:23:03812 "tiles/decoded_image_tracker_unittest.cc",
vmpstr70289fb62016-12-01 02:33:05813 "tiles/gpu_image_decode_cache_unittest.cc",
vmpstre556bda62016-12-02 01:51:40814 "tiles/image_controller_unittest.cc",
ericrkc7ebaa12016-06-09 21:05:55815 "tiles/mipmap_util_unittest.cc",
danakj920156852015-05-18 20:22:29816 "tiles/picture_layer_tiling_set_unittest.cc",
817 "tiles/picture_layer_tiling_unittest.cc",
vmpstr70289fb62016-12-01 02:33:05818 "tiles/software_image_decode_cache_unittest.cc",
danakj920156852015-05-18 20:22:29819 "tiles/tile_manager_unittest.cc",
820 "tiles/tile_priority_unittest.cc",
brettw4897a612015-03-02 23:13:15821 "trees/blocking_task_runner_unittest.cc",
822 "trees/damage_tracker_unittest.cc",
brettw4897a612015-03-02 23:13:15823 "trees/layer_tree_host_common_unittest.cc",
824 "trees/layer_tree_host_impl_unittest.cc",
825 "trees/layer_tree_host_pixeltest_blending.cc",
826 "trees/layer_tree_host_pixeltest_filters.cc",
827 "trees/layer_tree_host_pixeltest_masks.cc",
828 "trees/layer_tree_host_pixeltest_readback.cc",
danakjd63f8a62016-08-24 03:26:48829 "trees/layer_tree_host_pixeltest_scrollbars.cc",
brettw4897a612015-03-02 23:13:15830 "trees/layer_tree_host_pixeltest_synchronous.cc",
danakje0b54782015-05-29 22:47:52831 "trees/layer_tree_host_pixeltest_tiles.cc",
brettw4897a612015-03-02 23:13:15832 "trees/layer_tree_host_unittest.cc",
833 "trees/layer_tree_host_unittest_animation.cc",
khushalsagar6dc91d02017-02-28 05:10:07834 "trees/layer_tree_host_unittest_checkerimaging.cc",
brettw4897a612015-03-02 23:13:15835 "trees/layer_tree_host_unittest_context.cc",
836 "trees/layer_tree_host_unittest_copyrequest.cc",
837 "trees/layer_tree_host_unittest_damage.cc",
brettw4897a612015-03-02 23:13:15838 "trees/layer_tree_host_unittest_occlusion.cc",
839 "trees/layer_tree_host_unittest_picture.cc",
840 "trees/layer_tree_host_unittest_proxy.cc",
khushalsagarb54107d02015-12-10 20:20:56841 "trees/layer_tree_host_unittest_record_gpu_histogram.cc",
brettw4897a612015-03-02 23:13:15842 "trees/layer_tree_host_unittest_scroll.cc",
843 "trees/layer_tree_host_unittest_video.cc",
844 "trees/layer_tree_impl_unittest.cc",
845 "trees/occlusion_tracker_unittest.cc",
846 "trees/occlusion_unittest.cc",
847 "trees/property_tree_unittest.cc",
khushalsagar8297ae992016-09-14 20:51:23848 "trees/swap_promise_manager_unittest.cc",
brettw4897a612015-03-02 23:13:15849 "trees/tree_synchronizer_unittest.cc",
[email protected]d05751a22014-05-29 20:54:24850
loyso3dd20892016-11-22 07:11:01851 # Animation test files.
852 "animation/animation_host_unittest.cc",
853 "animation/animation_player_unittest.cc",
854 "animation/animation_timeline_unittest.cc",
855 "animation/animation_unittest.cc",
856 "animation/element_animations_unittest.cc",
857 "animation/keyframed_animation_curve_unittest.cc",
858 "animation/scroll_offset_animation_curve_unittest.cc",
859 "animation/transform_operations_unittest.cc",
860
brettw4897a612015-03-02 23:13:15861 # Surfaces test files.
fsamuel2a58c062017-02-09 23:54:00862 "surfaces/compositor_frame_sink_support_unittest.cc",
danakjc7afae52017-06-20 21:12:41863 "surfaces/direct_layer_tree_frame_sink_unittest.cc",
brettwd649f6b2015-08-18 20:58:51864 "surfaces/display_scheduler_unittest.cc",
865 "surfaces/display_unittest.cc",
Alex Zhang96cb9e712017-07-07 21:03:47866 "surfaces/frame_sink_manager_unittest.cc",
kylechar4e728be2017-01-19 17:39:30867 "surfaces/referenced_surface_tracker_unittest.cc",
brettw4897a612015-03-02 23:13:15868 "surfaces/surface_aggregator_unittest.cc",
lfg8d07c91d2015-08-07 16:13:20869 "surfaces/surface_hittest_unittest.cc",
kylechar0de37322016-11-03 15:25:57870 "surfaces/surface_manager_ref_unittest.cc",
fsamuel34396562016-10-06 15:01:21871 "surfaces/surface_sequence_generator_unittest.cc",
starazc0f2d73d2017-05-08 10:47:16872 "surfaces/surface_synchronization_unittest.cc",
brettw4897a612015-03-02 23:13:15873 "surfaces/surface_unittest.cc",
874 "surfaces/surfaces_pixeltest.cc",
[email protected]d05751a22014-05-29 20:54:24875
brettw4897a612015-03-02 23:13:15876 # Setup.
877 "test/cc_test_suite.cc",
thakisb8590c92017-03-23 18:14:53878 "test/cc_test_suite.h",
brettw4897a612015-03-02 23:13:15879 "test/run_all_unittests.cc",
880 ]
[email protected]d05751a22014-05-29 20:54:24881
agrievee41ae190d2016-04-25 14:12:51882 if (!is_android) {
883 data = [
884 "test/data/",
885 ]
886 }
dpranke177c1e22015-07-22 23:07:43887
khushalsagar54203a192017-01-20 21:05:57888 # TODO(khushalsagar): Remove once crbug.com/683263 is fixed.
889 configs = [ "//build/config/compiler:no_size_t_to_int_warning" ]
890
brettw4897a612015-03-02 23:13:15891 deps = [
892 ":cc",
893 ":test_support",
894 "//base/test:test_support",
fsamuelf76098e2016-05-18 17:26:51895 "//cc/ipc",
fsamuel410c9602016-05-31 21:50:20896 "//cc/ipc:test_interfaces",
enne34f6084c2017-02-02 22:39:08897 "//cc/paint",
brettw4897a612015-03-02 23:13:15898 "//cc/surfaces",
899 "//cc/surfaces:surface_id",
samans72b2a282016-12-17 02:44:15900 "//cc/surfaces:surfaces",
brettw4897a612015-03-02 23:13:15901 "//gpu",
902 "//gpu:test_support",
903 "//gpu/command_buffer/client:gles2_interface",
904 "//gpu/command_buffer/common:gles2_utils",
905 "//media",
fsamuel410c9602016-05-31 21:50:20906 "//mojo/edk/system",
907 "//mojo/public/cpp/bindings",
brettw4897a612015-03-02 23:13:15908 "//testing/gmock",
909 "//testing/gtest",
Nico Weber9d6e12942016-04-19 18:51:09910 "//ui/events:events_base",
brettw4897a612015-03-02 23:13:15911 "//ui/gfx",
brettw4897a612015-03-02 23:13:15912 "//ui/gfx:test_support",
agrieved7a71c882015-11-20 19:53:28913 "//ui/gfx/geometry",
brettw4897a612015-03-02 23:13:15914 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26915 "//ui/gl:test_support",
brettw4897a612015-03-02 23:13:15916 ]
dpranke177c1e22015-07-22 23:07:43917
vmpstr9116a70f2015-10-14 23:48:34918 data_deps = [
919 "//third_party/mesa:osmesa",
920 ]
[email protected]d05751a22014-05-29 20:54:24921}
922
loyso1fe38ba42016-12-01 00:39:08923cc_test("cc_perftests") {
[email protected]6e44c302014-07-22 21:51:37924 sources = [
loysoa4a59a42016-02-10 06:49:26925 "animation/animation_host_perftest.cc",
vmpstr0d694522016-12-14 23:37:19926 "base/rtree_perftest.cc",
fsamuelbb47aac2016-07-08 01:05:53927 "ipc/cc_serialization_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37928 "layers/layer_perftest.cc",
929 "layers/picture_layer_impl_perftest.cc",
danakj4e214032016-09-08 19:08:23930 "output/bsp_tree_perftest.cc",
vmpstr0b044512015-05-29 02:58:03931 "quads/draw_quad_perftest.cc",
prashant.nb4d4f492016-04-29 12:51:28932 "raster/raster_buffer_provider_perftest.cc",
danakj920156852015-05-18 20:22:29933 "raster/task_graph_runner_perftest.cc",
934 "raster/texture_compressor_perftest.cc",
jbauman39be2012015-04-16 01:33:08935 "surfaces/surface_aggregator_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37936 "test/cc_test_suite.cc",
thakisb8590c92017-03-23 18:14:53937 "test/cc_test_suite.h",
[email protected]6e44c302014-07-22 21:51:37938 "test/run_all_perftests.cc",
vmpstr13778fb2017-02-02 23:44:00939 "tiles/software_image_decode_cache_perftest.cc",
danakj920156852015-05-18 20:22:29940 "tiles/tile_manager_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37941 "trees/layer_tree_host_common_perftest.cc",
942 "trees/layer_tree_host_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37943 ]
[email protected]d05751a22014-05-29 20:54:24944
[email protected]6e44c302014-07-22 21:51:37945 deps = [
946 ":cc",
947 ":test_support",
948 "//base",
jamesr16c04ff2014-11-24 22:24:57949 "//base/test:test_support",
fsamuelf76098e2016-05-18 17:26:51950 "//cc/ipc",
fsamuelbb47aac2016-07-08 01:05:53951 "//cc/ipc:interfaces",
chrishtrac41ff92017-03-17 05:07:30952 "//cc/paint",
jbauman39be2012015-04-16 01:33:08953 "//cc/surfaces",
954 "//cc/surfaces:surface_id",
[email protected]6e44c302014-07-22 21:51:37955 "//gpu",
[email protected]c7990dbf2014-07-23 22:35:10956 "//gpu:test_support",
[email protected]845c4e32014-08-13 11:50:40957 "//gpu/command_buffer/common:gles2_utils",
[email protected]6e44c302014-07-22 21:51:37958 "//media",
fsamuelbb47aac2016-07-08 01:05:53959 "//mojo/edk/system",
960 "//mojo/public/cpp/bindings",
[email protected]6e44c302014-07-22 21:51:37961 "//skia",
962 "//testing/gmock",
963 "//testing/gtest",
964 "//testing/perf",
965 "//ui/gfx",
966 "//ui/gfx/geometry",
jamesr16c04ff2014-11-24 22:24:57967 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26968 "//ui/gl:test_support",
[email protected]6e44c302014-07-22 21:51:37969 ]
krasinca63e412016-05-12 02:53:25970
971 # This target should not require the Chrome executable to run.
972 assert_no_deps = [ "//chrome" ]
jbudorickbdd15902016-09-15 21:05:42973
974 data = [
975 "test/data/",
eyaich7c79b912016-10-29 00:39:25976
977 # Needed for isolate script to execute.
978 "//testing/scripts/common.py",
979 "//testing/xvfb.py",
980 "//testing/scripts/run_gtest_perf_test.py",
eyaich082a30c2016-11-04 20:20:57981 "//tools/perf/generate_legacy_perf_dashboard_json.py",
jbudorickbdd15902016-09-15 21:05:42982 ]
[email protected]6e44c302014-07-22 21:51:37983}