blob: 359e2e2ab1f4d15e20070d4d1066461372ae5bfa [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",
ccameron35db390a2015-11-17 21:22:55143 "output/ca_layer_overlay.cc",
144 "output/ca_layer_overlay.h",
hubbeaf57af302016-08-11 10:42:32145 "output/color_lut_cache.cc",
146 "output/color_lut_cache.h",
[email protected]d05751a22014-05-29 20:54:24147 "output/compositor_frame.cc",
148 "output/compositor_frame.h",
[email protected]d05751a22014-05-29 20:54:24149 "output/compositor_frame_metadata.cc",
150 "output/compositor_frame_metadata.h",
ericrkf6c4fb62016-08-30 23:27:24151 "output/context_cache_controller.cc",
152 "output/context_cache_controller.h",
ericrk6714c23b2016-09-27 03:35:01153 "output/context_provider.cc",
[email protected]d05751a22014-05-29 20:54:24154 "output/context_provider.h",
155 "output/copy_output_request.cc",
156 "output/copy_output_request.h",
157 "output/copy_output_result.cc",
158 "output/copy_output_result.h",
jbauman80ceeee2017-03-13 22:43:57159 "output/dc_layer_overlay.cc",
160 "output/dc_layer_overlay.h",
[email protected]d05751a22014-05-29 20:54:24161 "output/direct_renderer.cc",
162 "output/direct_renderer.h",
awoloszyn3d8eb1d2015-03-12 14:38:32163 "output/dynamic_geometry_binding.cc",
164 "output/dynamic_geometry_binding.h",
[email protected]d05751a22014-05-29 20:54:24165 "output/geometry_binding.cc",
166 "output/geometry_binding.h",
[email protected]d05751a22014-05-29 20:54:24167 "output/gl_renderer.cc",
168 "output/gl_renderer.h",
169 "output/gl_renderer_draw_cache.cc",
170 "output/gl_renderer_draw_cache.h",
fsamueledc0c2c2016-11-18 22:28:04171 "output/in_process_context_provider.cc",
172 "output/in_process_context_provider.h",
jamesrf313a212015-03-16 21:27:37173 "output/latency_info_swap_promise.cc",
174 "output/latency_info_swap_promise.h",
danakj920156852015-05-18 20:22:29175 "output/layer_quad.cc",
176 "output/layer_quad.h",
danakjc7afae52017-06-20 21:12:41177 "output/layer_tree_frame_sink.cc",
178 "output/layer_tree_frame_sink.h",
179 "output/layer_tree_frame_sink_client.h",
[email protected]d05751a22014-05-29 20:54:24180 "output/managed_memory_policy.cc",
181 "output/managed_memory_policy.h",
182 "output/output_surface.cc",
183 "output/output_surface.h",
184 "output/output_surface_client.h",
kylechar5344b39e2016-10-06 23:51:19185 "output/output_surface_frame.cc",
186 "output/output_surface_frame.h",
[email protected]d05751a22014-05-29 20:54:24187 "output/overlay_candidate.cc",
188 "output/overlay_candidate.h",
189 "output/overlay_candidate_validator.h",
190 "output/overlay_processor.cc",
191 "output/overlay_processor.h",
dcastagnaea959b12016-07-20 21:38:58192 "output/overlay_strategy_fullscreen.cc",
193 "output/overlay_strategy_fullscreen.h",
[email protected]d05751a22014-05-29 20:54:24194 "output/overlay_strategy_single_on_top.cc",
195 "output/overlay_strategy_single_on_top.h",
achaulkf47b4942015-04-01 17:26:08196 "output/overlay_strategy_underlay.cc",
197 "output/overlay_strategy_underlay.h",
halliwelldc04cafc2017-02-28 00:53:05198 "output/overlay_strategy_underlay_cast.cc",
199 "output/overlay_strategy_underlay_cast.h",
[email protected]d05751a22014-05-29 20:54:24200 "output/program_binding.cc",
201 "output/program_binding.h",
jbaumanc5be44c2014-11-20 22:17:12202 "output/renderer_settings.cc",
203 "output/renderer_settings.h",
[email protected]d05751a22014-05-29 20:54:24204 "output/shader.cc",
205 "output/shader.h",
[email protected]d05751a22014-05-29 20:54:24206 "output/software_output_device.cc",
207 "output/software_output_device.h",
208 "output/software_renderer.cc",
209 "output/software_renderer.h",
awoloszyn3d8eb1d2015-03-12 14:38:32210 "output/static_geometry_binding.cc",
211 "output/static_geometry_binding.h",
jamesrf313a212015-03-16 21:27:37212 "output/swap_promise.h",
danakj920156852015-05-18 20:22:29213 "output/texture_mailbox_deleter.cc",
214 "output/texture_mailbox_deleter.h",
dyenb52ecd962016-04-20 23:23:44215 "output/vulkan_context_provider.h",
216 "output/vulkan_in_process_context_provider.cc",
217 "output/vulkan_in_process_context_provider.h",
[email protected]d05751a22014-05-29 20:54:24218 "quads/content_draw_quad_base.cc",
219 "quads/content_draw_quad_base.h",
220 "quads/debug_border_draw_quad.cc",
221 "quads/debug_border_draw_quad.h",
[email protected]2a021fb7b2014-08-02 07:53:49222 "quads/draw_polygon.cc",
223 "quads/draw_polygon.h",
[email protected]d05751a22014-05-29 20:54:24224 "quads/draw_quad.cc",
225 "quads/draw_quad.h",
weiliangcfe7b51e2014-11-05 18:20:27226 "quads/largest_draw_quad.cc",
satorux457770e2015-02-18 18:33:39227 "quads/largest_draw_quad.h",
bokane7a058a2017-03-02 22:42:51228 "quads/nine_patch_generator.cc",
229 "quads/nine_patch_generator.h",
[email protected]d05751a22014-05-29 20:54:24230 "quads/picture_draw_quad.cc",
231 "quads/picture_draw_quad.h",
232 "quads/render_pass.cc",
233 "quads/render_pass.h",
234 "quads/render_pass_draw_quad.cc",
235 "quads/render_pass_draw_quad.h",
236 "quads/shared_quad_state.cc",
237 "quads/shared_quad_state.h",
238 "quads/solid_color_draw_quad.cc",
239 "quads/solid_color_draw_quad.h",
240 "quads/stream_video_draw_quad.cc",
241 "quads/stream_video_draw_quad.h",
242 "quads/surface_draw_quad.cc",
243 "quads/surface_draw_quad.h",
244 "quads/texture_draw_quad.cc",
245 "quads/texture_draw_quad.h",
246 "quads/tile_draw_quad.cc",
247 "quads/tile_draw_quad.h",
248 "quads/yuv_video_draw_quad.cc",
249 "quads/yuv_video_draw_quad.h",
prashant.nb4d4f492016-04-29 12:51:28250 "raster/bitmap_raster_buffer_provider.cc",
251 "raster/bitmap_raster_buffer_provider.h",
252 "raster/gpu_raster_buffer_provider.cc",
253 "raster/gpu_raster_buffer_provider.h",
chrishtrac41ff92017-03-17 05:07:30254 "raster/image_hijack_canvas.cc",
255 "raster/image_hijack_canvas.h",
prashant.nb4d4f492016-04-29 12:51:28256 "raster/one_copy_raster_buffer_provider.cc",
257 "raster/one_copy_raster_buffer_provider.h",
danakj920156852015-05-18 20:22:29258 "raster/raster_buffer.cc",
259 "raster/raster_buffer.h",
prashant.nb4d4f492016-04-29 12:51:28260 "raster/raster_buffer_provider.cc",
261 "raster/raster_buffer_provider.h",
chrishtrac41ff92017-03-17 05:07:30262 "raster/raster_source.cc",
263 "raster/raster_source.h",
danakj920156852015-05-18 20:22:29264 "raster/scoped_gpu_raster.cc",
265 "raster/scoped_gpu_raster.h",
ericrk4e3aa5a2015-12-01 03:53:56266 "raster/single_thread_task_graph_runner.cc",
267 "raster/single_thread_task_graph_runner.h",
chrishtrac41ff92017-03-17 05:07:30268 "raster/skip_image_canvas.cc",
269 "raster/skip_image_canvas.h",
prashant.na9dd9ef2016-04-08 19:57:10270 "raster/staging_buffer_pool.cc",
271 "raster/staging_buffer_pool.h",
ericrk4e3aa5a2015-12-01 03:53:56272 "raster/synchronous_task_graph_runner.cc",
273 "raster/synchronous_task_graph_runner.h",
prashant.n49b3e64652016-04-19 07:04:49274 "raster/task.cc",
275 "raster/task.h",
ericrk374dee72016-01-13 03:38:05276 "raster/task_category.h",
danakj920156852015-05-18 20:22:29277 "raster/task_graph_runner.h",
ericrk4e3aa5a2015-12-01 03:53:56278 "raster/task_graph_work_queue.cc",
279 "raster/task_graph_work_queue.h",
danakj920156852015-05-18 20:22:29280 "raster/texture_compressor.cc",
281 "raster/texture_compressor.h",
282 "raster/texture_compressor_etc1.cc",
283 "raster/texture_compressor_etc1.h",
prashant.n6cb1bb82016-04-20 05:15:58284 "raster/tile_task.cc",
285 "raster/tile_task.h",
prashant.nb4d4f492016-04-29 12:51:28286 "raster/zero_copy_raster_buffer_provider.cc",
287 "raster/zero_copy_raster_buffer_provider.h",
[email protected]d05751a22014-05-29 20:54:24288 "resources/memory_history.cc",
289 "resources/memory_history.h",
[email protected]d05751a22014-05-29 20:54:24290 "resources/release_callback.h",
reveman423e7da2014-09-23 16:57:44291 "resources/resource.h",
[email protected]d05751a22014-05-29 20:54:24292 "resources/resource_pool.cc",
293 "resources/resource_pool.h",
294 "resources/resource_provider.cc",
295 "resources/resource_provider.h",
prashant.n8e494282015-08-03 07:13:41296 "resources/resource_util.h",
[email protected]d05751a22014-05-29 20:54:24297 "resources/returned_resource.h",
298 "resources/scoped_resource.cc",
299 "resources/scoped_resource.h",
300 "resources/scoped_ui_resource.cc",
301 "resources/scoped_ui_resource.h",
[email protected]d05751a22014-05-29 20:54:24302 "resources/single_release_callback.cc",
303 "resources/single_release_callback.h",
skyostil3976a3f2014-09-04 22:07:23304 "resources/single_release_callback_impl.cc",
305 "resources/single_release_callback_impl.h",
[email protected]d05751a22014-05-29 20:54:24306 "resources/transferable_resource.cc",
307 "resources/transferable_resource.h",
308 "resources/ui_resource_bitmap.cc",
309 "resources/ui_resource_bitmap.h",
310 "resources/ui_resource_client.h",
khushalsagar8ec07402016-09-10 03:13:19311 "resources/ui_resource_manager.cc",
312 "resources/ui_resource_manager.h",
[email protected]d05751a22014-05-29 20:54:24313 "resources/ui_resource_request.cc",
314 "resources/ui_resource_request.h",
315 "resources/video_resource_updater.cc",
316 "resources/video_resource_updater.h",
mithroc34fc0b12014-09-30 09:10:41317 "scheduler/begin_frame_source.cc",
318 "scheduler/begin_frame_source.h",
mithro0bdb49d2015-05-27 13:08:01319 "scheduler/begin_frame_tracker.cc",
320 "scheduler/begin_frame_tracker.h",
mithrof7a21502014-12-17 03:24:48321 "scheduler/commit_earlyout_reason.h",
briandersonc9f50352015-06-24 03:38:58322 "scheduler/compositor_timing_history.cc",
323 "scheduler/compositor_timing_history.h",
[email protected]d05751a22014-05-29 20:54:24324 "scheduler/delay_based_time_source.cc",
325 "scheduler/delay_based_time_source.h",
326 "scheduler/draw_result.h",
327 "scheduler/scheduler.cc",
328 "scheduler/scheduler.h",
329 "scheduler/scheduler_settings.cc",
330 "scheduler/scheduler_settings.h",
331 "scheduler/scheduler_state_machine.cc",
332 "scheduler/scheduler_state_machine.h",
sunnyps7d073dc2015-04-16 23:29:12333 "scheduler/video_frame_controller.h",
khushalsagard3b8827d2017-02-18 18:42:54334 "tiles/checker_image_tracker.cc",
335 "tiles/checker_image_tracker.h",
chrishtrac41ff92017-03-17 05:07:30336 "tiles/decoded_draw_image.cc",
337 "tiles/decoded_draw_image.h",
vmpstra6b30162017-01-12 20:23:03338 "tiles/decoded_image_tracker.cc",
339 "tiles/decoded_image_tracker.h",
danakj920156852015-05-18 20:22:29340 "tiles/eviction_tile_priority_queue.cc",
341 "tiles/eviction_tile_priority_queue.h",
chrishtr82b5d9502017-03-20 18:25:33342 "tiles/frame_viewer_instrumentation.cc",
343 "tiles/frame_viewer_instrumentation.h",
vmpstr70289fb62016-12-01 02:33:05344 "tiles/gpu_image_decode_cache.cc",
345 "tiles/gpu_image_decode_cache.h",
vmpstre556bda62016-12-02 01:51:40346 "tiles/image_controller.cc",
347 "tiles/image_controller.h",
vmpstr70289fb62016-12-01 02:33:05348 "tiles/image_decode_cache.h",
ericrkc7ebaa12016-06-09 21:05:55349 "tiles/mipmap_util.cc",
350 "tiles/mipmap_util.h",
danakj920156852015-05-18 20:22:29351 "tiles/picture_layer_tiling.cc",
352 "tiles/picture_layer_tiling.h",
353 "tiles/picture_layer_tiling_set.cc",
354 "tiles/picture_layer_tiling_set.h",
355 "tiles/prioritized_tile.cc",
356 "tiles/prioritized_tile.h",
357 "tiles/raster_tile_priority_queue.cc",
358 "tiles/raster_tile_priority_queue.h",
359 "tiles/raster_tile_priority_queue_all.cc",
360 "tiles/raster_tile_priority_queue_all.h",
361 "tiles/raster_tile_priority_queue_required.cc",
362 "tiles/raster_tile_priority_queue_required.h",
vmpstr70289fb62016-12-01 02:33:05363 "tiles/software_image_decode_cache.cc",
364 "tiles/software_image_decode_cache.h",
danakj920156852015-05-18 20:22:29365 "tiles/tile.cc",
366 "tiles/tile.h",
367 "tiles/tile_draw_info.cc",
368 "tiles/tile_draw_info.h",
369 "tiles/tile_manager.cc",
370 "tiles/tile_manager.h",
khushalsagard3b8827d2017-02-18 18:42:54371 "tiles/tile_manager_settings.h",
danakj920156852015-05-18 20:22:29372 "tiles/tile_priority.cc",
373 "tiles/tile_priority.h",
prashant.nb4d4f492016-04-29 12:51:28374 "tiles/tile_task_manager.cc",
375 "tiles/tile_task_manager.h",
danakj920156852015-05-18 20:22:29376 "tiles/tiling_set_eviction_queue.cc",
377 "tiles/tiling_set_eviction_queue.h",
378 "tiles/tiling_set_raster_queue_all.cc",
379 "tiles/tiling_set_raster_queue_all.h",
380 "tiles/tiling_set_raster_queue_required.cc",
381 "tiles/tiling_set_raster_queue_required.h",
[email protected]d05751a22014-05-29 20:54:24382 "trees/blocking_task_runner.cc",
383 "trees/blocking_task_runner.h",
ajumae947a352017-01-10 19:17:49384 "trees/clip_expander.cc",
385 "trees/clip_expander.h",
trchendba8b1502016-07-08 09:47:01386 "trees/clip_node.cc",
387 "trees/clip_node.h",
khushalsagar19458bd2015-12-08 02:19:01388 "trees/compositor_mode.h",
[email protected]d05751a22014-05-29 20:54:24389 "trees/damage_tracker.cc",
390 "trees/damage_tracker.h",
chrishtr82b5d9502017-03-20 18:25:33391 "trees/debug_rect_history.cc",
392 "trees/debug_rect_history.h",
vollick51ed1a22014-12-17 02:03:00393 "trees/draw_property_utils.cc",
394 "trees/draw_property_utils.h",
trchendba8b1502016-07-08 09:47:01395 "trees/effect_node.cc",
396 "trees/effect_node.h",
loyso290a27a2016-11-15 01:47:10397 "trees/element_id.cc",
398 "trees/element_id.h",
chrishtr82b5d9502017-03-20 18:25:33399 "trees/frame_rate_counter.cc",
400 "trees/frame_rate_counter.h",
jamesrf313a212015-03-16 21:27:37401 "trees/latency_info_swap_promise_monitor.cc",
402 "trees/latency_info_swap_promise_monitor.h",
khushalsagare0e4486e2017-01-25 03:15:03403 "trees/layer_tree_host.cc",
[email protected]d05751a22014-05-29 20:54:24404 "trees/layer_tree_host.h",
405 "trees/layer_tree_host_client.h",
406 "trees/layer_tree_host_common.cc",
407 "trees/layer_tree_host_common.h",
408 "trees/layer_tree_host_impl.cc",
409 "trees/layer_tree_host_impl.h",
ccameron00e438cd2015-03-12 06:18:14410 "trees/layer_tree_host_single_thread_client.h",
[email protected]d05751a22014-05-29 20:54:24411 "trees/layer_tree_impl.cc",
412 "trees/layer_tree_impl.h",
loyso720c7c552016-11-10 23:16:39413 "trees/layer_tree_mutator.h",
[email protected]d05751a22014-05-29 20:54:24414 "trees/layer_tree_settings.cc",
415 "trees/layer_tree_settings.h",
loyso6bd8b612016-11-11 07:00:02416 "trees/mutable_properties.h",
loyso6d6356e2016-11-02 23:41:08417 "trees/mutator_host.h",
loysobb93befc2015-07-03 00:19:50418 "trees/mutator_host_client.h",
vmpstrcdcb5f72014-09-11 00:58:37419 "trees/occlusion.cc",
420 "trees/occlusion.h",
[email protected]d05751a22014-05-29 20:54:24421 "trees/occlusion_tracker.cc",
422 "trees/occlusion_tracker.h",
loysoab298a032016-11-15 23:42:43423 "trees/property_animation_state.cc",
424 "trees/property_animation_state.h",
vollick51ed1a22014-12-17 02:03:00425 "trees/property_tree.cc",
426 "trees/property_tree.h",
427 "trees/property_tree_builder.cc",
428 "trees/property_tree_builder.h",
[email protected]d05751a22014-05-29 20:54:24429 "trees/proxy.h",
khushalsagare3c9fa92015-10-28 02:08:29430 "trees/proxy_common.cc",
431 "trees/proxy_common.h",
khushalsagar0a226af2015-12-09 10:30:20432 "trees/proxy_impl.cc",
khushalsagar5d6eb982015-09-25 22:44:56433 "trees/proxy_impl.h",
khushalsagar0a226af2015-12-09 10:30:20434 "trees/proxy_main.cc",
khushalsagar5d6eb982015-09-25 22:44:56435 "trees/proxy_main.h",
[email protected]aeeedad2014-08-22 18:16:22436 "trees/scoped_abort_remaining_swap_promises.h",
trchendba8b1502016-07-08 09:47:01437 "trees/scroll_node.cc",
438 "trees/scroll_node.h",
[email protected]d05751a22014-05-29 20:54:24439 "trees/single_thread_proxy.cc",
440 "trees/single_thread_proxy.h",
khushalsagar8297ae992016-09-14 20:51:23441 "trees/swap_promise_manager.cc",
442 "trees/swap_promise_manager.h",
jamesrf313a212015-03-16 21:27:37443 "trees/swap_promise_monitor.cc",
444 "trees/swap_promise_monitor.h",
loysoab298a032016-11-15 23:42:43445 "trees/target_property.cc",
446 "trees/target_property.h",
khushalsagarb64b360d2015-10-21 19:25:16447 "trees/task_runner_provider.cc",
448 "trees/task_runner_provider.h",
trchendba8b1502016-07-08 09:47:01449 "trees/transform_node.cc",
450 "trees/transform_node.h",
[email protected]d05751a22014-05-29 20:54:24451 "trees/tree_synchronizer.cc",
452 "trees/tree_synchronizer.h",
453 ]
454
agrieveefcd0222016-06-08 15:48:19455 if (current_cpu == "x86" || current_cpu == "x64") {
thakis4a0c5482015-06-08 20:51:29456 sources += [
457 "raster/texture_compressor_etc1_sse.cc",
458 "raster/texture_compressor_etc1_sse.h",
459 ]
460 }
461
khushalsagar54203a192017-01-20 21:05:57462 # TODO(khushalsagar): Remove once crbug.com/683263 is fixed.
463 configs = [ "//build/config/compiler:no_size_t_to_int_warning" ]
464
Brett Wilsone53895272014-09-23 23:41:46465 public_deps = [
jamesrf313a212015-03-16 21:27:37466 "//cc/base",
Fady Samuel555c8d12017-07-07 23:14:09467 "//components/viz/common",
Brett Wilsone53895272014-09-23 23:41:46468 "//skia",
469 ]
[email protected]d05751a22014-05-29 20:54:24470 deps = [
471 "//base",
472 "//base/third_party/dynamic_annotations",
enne34f6084c2017-02-02 22:39:08473 "//cc/paint",
jamesr16c04ff2014-11-24 22:24:57474 "//cc/surfaces:surface_id",
[email protected]d05751a22014-05-29 20:54:24475 "//gpu",
fsamueledc0c2c2016-11-18 22:28:04476 "//gpu/command_buffer/client:gles2_implementation",
jbromancba3d2fe2014-09-16 01:04:24477 "//gpu/command_buffer/client:gles2_interface",
fsamueledc0c2c2016-11-18 22:28:04478 "//gpu/ipc:gl_in_process_context",
479 "//gpu/skia_bindings:skia_bindings",
qyearsleydb0a34872017-03-14 03:24:31480 "//gpu/vulkan:features",
[email protected]6e44c302014-07-22 21:51:37481 "//media",
samansbf8eacc2017-01-27 22:59:25482 "//mojo/public/cpp/bindings:struct_traits",
hubbedc658032016-10-04 01:34:59483 "//third_party/libyuv",
Nico Weber9d6e12942016-04-19 18:51:09484 "//ui/events:events_base",
[email protected]d05751a22014-05-29 20:54:24485 "//ui/gfx",
486 "//ui/gfx/geometry",
ericrkf08855b42015-08-06 00:20:22487 "//ui/gl",
mfomitchev3ba450ad2017-04-03 18:20:40488 "//ui/latency",
[email protected]d05751a22014-05-29 20:54:24489 ]
[email protected]d05751a22014-05-29 20:54:24490
[email protected]3ffa36a2014-07-24 21:01:50491 defines = [ "CC_IMPLEMENTATION=1" ]
[email protected]d05751a22014-05-29 20:54:24492
dyen8a145fb72016-03-31 00:37:51493 if (enable_vulkan) {
dyen136e05c2016-04-06 22:28:27494 sources += [
dyen136e05c2016-04-06 22:28:27495 "output/vulkan_renderer.cc",
496 "output/vulkan_renderer.h",
dyen8a145fb72016-03-31 00:37:51497 ]
498
dyen136e05c2016-04-06 22:28:27499 deps += [ "//gpu/vulkan" ]
dyen8a145fb72016-03-31 00:37:51500 }
[email protected]d05751a22014-05-29 20:54:24501}
502
loyso1fe38ba42016-12-01 00:39:08503cc_static_library("test_support") {
Brett Wilson8f80ad0b2014-09-08 19:50:24504 testonly = true
[email protected]d05751a22014-05-29 20:54:24505 sources = [
506 "test/animation_test_common.cc",
507 "test/animation_test_common.h",
loysobb93befc2015-07-03 00:19:50508 "test/animation_timelines_test_common.cc",
509 "test/animation_timelines_test_common.h",
[email protected]d05751a22014-05-29 20:54:24510 "test/begin_frame_args_test.cc",
511 "test/begin_frame_args_test.h",
mithro6be81902015-12-04 05:58:46512 "test/begin_frame_source_test.cc",
513 "test/begin_frame_source_test.h",
samansb5041222017-04-25 17:34:23514 "test/compositor_frame_helpers.cc",
515 "test/compositor_frame_helpers.h",
staraz04278212017-04-12 23:07:19516 "test/fake_compositor_frame_sink_support_client.cc",
517 "test/fake_compositor_frame_sink_support_client.h",
[email protected]d05751a22014-05-29 20:54:24518 "test/fake_content_layer_client.cc",
519 "test/fake_content_layer_client.h",
danakj6e3bf8012014-12-16 18:27:53520 "test/fake_external_begin_frame_source.cc",
521 "test/fake_external_begin_frame_source.h",
khushalsagarb64b360d2015-10-21 19:25:16522 "test/fake_impl_task_runner_provider.h",
danakjc7afae52017-06-20 21:12:41523 "test/fake_layer_tree_frame_sink.cc",
524 "test/fake_layer_tree_frame_sink.h",
525 "test/fake_layer_tree_frame_sink_client.cc",
526 "test/fake_layer_tree_frame_sink_client.h",
[email protected]d05751a22014-05-29 20:54:24527 "test/fake_layer_tree_host.cc",
528 "test/fake_layer_tree_host.h",
529 "test/fake_layer_tree_host_client.cc",
530 "test/fake_layer_tree_host_client.h",
531 "test/fake_layer_tree_host_impl.cc",
532 "test/fake_layer_tree_host_impl.h",
533 "test/fake_layer_tree_host_impl_client.cc",
534 "test/fake_layer_tree_host_impl_client.h",
ajumad9432e32015-11-30 19:43:44535 "test/fake_mask_layer_impl.cc",
536 "test/fake_mask_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24537 "test/fake_output_surface.cc",
538 "test/fake_output_surface.h",
539 "test/fake_output_surface_client.cc",
540 "test/fake_output_surface_client.h",
541 "test/fake_painted_scrollbar_layer.cc",
542 "test/fake_painted_scrollbar_layer.h",
543 "test/fake_picture_layer.cc",
544 "test/fake_picture_layer.h",
545 "test/fake_picture_layer_impl.cc",
546 "test/fake_picture_layer_impl.h",
547 "test/fake_picture_layer_tiling_client.cc",
548 "test/fake_picture_layer_tiling_client.h",
[email protected]d05751a22014-05-29 20:54:24549 "test/fake_proxy.cc",
550 "test/fake_proxy.h",
prashant.nb4d4f492016-04-29 12:51:28551 "test/fake_raster_buffer_provider.cc",
552 "test/fake_raster_buffer_provider.h",
vmpstr41d68f882016-03-30 01:20:23553 "test/fake_raster_source.cc",
554 "test/fake_raster_source.h",
vmpstre17fd212016-03-30 20:03:32555 "test/fake_recording_source.cc",
556 "test/fake_recording_source.h",
[email protected]d05751a22014-05-29 20:54:24557 "test/fake_rendering_stats_instrumentation.h",
danakj61bf05f2015-05-26 23:28:56558 "test/fake_resource_provider.h",
[email protected]d05751a22014-05-29 20:54:24559 "test/fake_scoped_ui_resource.cc",
560 "test/fake_scoped_ui_resource.h",
561 "test/fake_scrollbar.cc",
562 "test/fake_scrollbar.h",
esecklere356c64f2017-05-26 12:59:12563 "test/fake_surface_observer.cc",
564 "test/fake_surface_observer.h",
starazdcf699d92017-04-21 22:38:55565 "test/fake_surface_resource_holder_client.cc",
566 "test/fake_surface_resource_holder_client.h",
[email protected]d05751a22014-05-29 20:54:24567 "test/fake_tile_manager.cc",
568 "test/fake_tile_manager.h",
569 "test/fake_tile_manager_client.cc",
570 "test/fake_tile_manager_client.h",
prashant.nb4d4f492016-04-29 12:51:28571 "test/fake_tile_task_manager.cc",
572 "test/fake_tile_task_manager.h",
[email protected]d05751a22014-05-29 20:54:24573 "test/fake_ui_resource_layer_tree_host_impl.cc",
574 "test/fake_ui_resource_layer_tree_host_impl.h",
575 "test/fake_video_frame_provider.cc",
576 "test/fake_video_frame_provider.h",
577 "test/geometry_test_utils.cc",
578 "test/geometry_test_utils.h",
[email protected]d05751a22014-05-29 20:54:24579 "test/layer_test_common.cc",
580 "test/layer_test_common.h",
[email protected]d05751a22014-05-29 20:54:24581 "test/layer_tree_json_parser.cc",
582 "test/layer_tree_json_parser.h",
enne03dbe8ae2014-10-30 01:32:55583 "test/layer_tree_pixel_resource_test.cc",
584 "test/layer_tree_pixel_resource_test.h",
[email protected]d05751a22014-05-29 20:54:24585 "test/layer_tree_pixel_test.cc",
586 "test/layer_tree_pixel_test.h",
587 "test/layer_tree_test.cc",
588 "test/layer_tree_test.h",
starazc0f2d73d2017-05-08 10:47:16589 "test/mock_compositor_frame_sink_support_client.cc",
590 "test/mock_compositor_frame_sink_support_client.h",
mithro6be81902015-12-04 05:58:46591 "test/mock_helper.h",
[email protected]ba16cce2014-06-17 17:03:50592 "test/mock_occlusion_tracker.h",
[email protected]d5ba08c2014-06-18 07:01:08593 "test/ordered_simple_task_runner.cc",
594 "test/ordered_simple_task_runner.h",
[email protected]d05751a22014-05-29 20:54:24595 "test/ordered_texture_map.cc",
596 "test/ordered_texture_map.h",
[email protected]d05751a22014-05-29 20:54:24597 "test/pixel_comparator.cc",
598 "test/pixel_comparator.h",
599 "test/pixel_test.cc",
600 "test/pixel_test.h",
601 "test/pixel_test_output_surface.cc",
602 "test/pixel_test_output_surface.h",
[email protected]d05751a22014-05-29 20:54:24603 "test/pixel_test_utils.cc",
604 "test/pixel_test_utils.h",
xingliu3c9b4cc2016-11-02 20:52:55605 "test/push_properties_counting_layer.cc",
606 "test/push_properties_counting_layer.h",
607 "test/push_properties_counting_layer_impl.cc",
608 "test/push_properties_counting_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24609 "test/render_pass_test_utils.cc",
610 "test/render_pass_test_utils.h",
611 "test/scheduler_test_common.cc",
612 "test/scheduler_test_common.h",
613 "test/skia_common.cc",
614 "test/skia_common.h",
615 "test/solid_color_content_layer_client.cc",
616 "test/solid_color_content_layer_client.h",
danakjffc181a2016-07-22 22:48:43617 "test/stub_layer_tree_host_client.cc",
618 "test/stub_layer_tree_host_client.h",
619 "test/stub_layer_tree_host_single_thread_client.cc",
620 "test/stub_layer_tree_host_single_thread_client.h",
fsamuel7a615102015-10-23 21:25:16621 "test/surface_hittest_test_helpers.cc",
622 "test/surface_hittest_test_helpers.h",
ericrk4e3aa5a2015-12-01 03:53:56623 "test/task_graph_runner_test_template.cc",
624 "test/task_graph_runner_test_template.h",
[email protected]d05751a22014-05-29 20:54:24625 "test/test_context_provider.cc",
626 "test/test_context_provider.h",
627 "test/test_context_support.cc",
628 "test/test_context_support.h",
629 "test/test_gles2_interface.cc",
630 "test/test_gles2_interface.h",
reveman22dd9292014-10-13 20:52:05631 "test/test_gpu_memory_buffer_manager.cc",
632 "test/test_gpu_memory_buffer_manager.h",
khushalsagar0a226af2015-12-09 10:30:20633 "test/test_hooks.cc",
634 "test/test_hooks.h",
reveman2232bce2014-10-29 01:28:05635 "test/test_image_factory.cc",
636 "test/test_image_factory.h",
satorux457770e2015-02-18 18:33:39637 "test/test_in_process_context_provider.cc",
638 "test/test_in_process_context_provider.h",
vmpstr6edf66ce2016-05-18 20:12:22639 "test/test_layer_tree_host_base.cc",
640 "test/test_layer_tree_host_base.h",
[email protected]d05751a22014-05-29 20:54:24641 "test/test_occlusion_tracker.h",
642 "test/test_shared_bitmap_manager.cc",
643 "test/test_shared_bitmap_manager.h",
enne59df29de2017-05-02 03:23:37644 "test/test_skcanvas.cc",
645 "test/test_skcanvas.h",
reveman34b7a1522015-03-23 20:27:47646 "test/test_task_graph_runner.cc",
647 "test/test_task_graph_runner.h",
[email protected]d05751a22014-05-29 20:54:24648 "test/test_texture.cc",
649 "test/test_texture.h",
650 "test/test_tile_priorities.cc",
651 "test/test_tile_priorities.h",
prashant.n7c706022016-05-26 19:00:09652 "test/test_tile_task_runner.cc",
653 "test/test_tile_task_runner.h",
[email protected]d05751a22014-05-29 20:54:24654 "test/test_web_graphics_context_3d.cc",
655 "test/test_web_graphics_context_3d.h",
[email protected]d05751a22014-05-29 20:54:24656 ]
657
Brett Wilson0380637c2014-09-19 21:24:40658 public_deps = [
659 ":cc",
loyso3dd20892016-11-22 07:11:01660 "//cc/animation",
Brett Wilsone53895272014-09-23 23:41:46661 "//gpu:test_support",
Brett Wilson0380637c2014-09-19 21:24:40662 ]
[email protected]d05751a22014-05-29 20:54:24663 deps = [
664 "//base",
jamesr16c04ff2014-11-24 22:24:57665 "//base/test:test_support",
[email protected]d05751a22014-05-29 20:54:24666 "//base/third_party/dynamic_annotations",
enne34f6084c2017-02-02 22:39:08667 "//cc/paint",
fsamuel7a615102015-10-23 21:25:16668 "//cc/surfaces",
669 "//cc/surfaces:surface_id",
Fady Samuel1d744b22017-07-10 21:23:55670 "//components/viz/common",
danakjc391f332017-07-12 20:45:52671 "//components/viz/service",
672 "//components/viz/test:test_support",
[email protected]d05751a22014-05-29 20:54:24673 "//gpu/command_buffer/client:gles2_c_lib",
674 "//gpu/command_buffer/client:gles2_implementation",
[email protected]845c4e32014-08-13 11:50:40675 "//gpu/command_buffer/common:gles2_utils",
fsamuel600b99e2016-11-11 07:50:26676 "//gpu/ipc:gl_in_process_context",
[email protected]d05751a22014-05-29 20:54:24677 "//gpu/skia_bindings",
jamesr16c04ff2014-11-24 22:24:57678 "//media",
[email protected]d05751a22014-05-29 20:54:24679 "//skia",
680 "//testing/gmock",
681 "//testing/gtest",
[email protected]d05751a22014-05-29 20:54:24682 "//ui/gfx",
[email protected]e54a1f522014-07-22 23:26:48683 "//ui/gfx:test_support",
agrieved7a71c882015-11-20 19:53:28684 "//ui/gfx/geometry",
[email protected]d05751a22014-05-29 20:54:24685 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26686 "//ui/gl:test_support",
mfomitchev3ba450ad2017-04-03 18:20:40687 "//ui/latency",
[email protected]d05751a22014-05-29 20:54:24688 ]
agrieve48bd27e2016-06-22 21:04:07689 if (!is_android) {
690 data_deps = [
691 "//third_party/mesa:osmesa",
692 ]
693 }
[email protected]d05751a22014-05-29 20:54:24694}
695
loyso1fe38ba42016-12-01 00:39:08696cc_test("cc_unittests") {
brettw4897a612015-03-02 23:13:15697 sources = [
brettwd649f6b2015-08-18 20:58:51698 "base/delayed_unique_notifier_unittest.cc",
chrishtrac41ff92017-03-17 05:07:30699 "base/filter_operations_unittest.cc",
brettw4897a612015-03-02 23:13:15700 "base/float_quad_unittest.cc",
jbroman7b5b0552015-05-28 03:36:58701 "base/histograms_unittest.cc",
prashant.n20ec56f2016-09-22 03:47:32702 "base/index_rect_unittest.cc",
prashant.n7f1fe3d2015-06-05 18:26:04703 "base/list_container_unittest.cc",
brettw4897a612015-03-02 23:13:15704 "base/math_util_unittest.cc",
705 "base/region_unittest.cc",
706 "base/rolling_time_delta_history_unittest.cc",
vmpstrb3ceb8222015-09-23 20:25:25707 "base/rtree_unittest.cc",
brettw4897a612015-03-02 23:13:15708 "base/simple_enclosed_region_unittest.cc",
prashant.n05192792016-09-24 03:38:20709 "base/spiral_iterator_unittest.cc",
brettw4897a612015-03-02 23:13:15710 "base/tiling_data_unittest.cc",
brettwd649f6b2015-08-18 20:58:51711 "base/unique_notifier_unittest.cc",
chrishtr82b5d9502017-03-20 18:25:33712 "benchmarks/micro_benchmark_controller_unittest.cc",
brettwd649f6b2015-08-18 20:58:51713 "debug/rendering_stats_unittest.cc",
mdjones2ee41afd2016-10-27 16:50:20714 "input/browser_controls_offset_manager_unittest.cc",
tdresserd9e201472015-07-31 13:15:07715 "input/scroll_state_unittest.cc",
chaopeng59e6fc02017-02-17 23:35:57716 "input/scrollbar_animation_controller_unittest.cc",
chaopeng2c3e1702017-01-27 04:46:02717 "input/single_scrollbar_animation_controller_thinning_unittest.cc",
fsamuelf76098e2016-05-18 17:26:51718 "ipc/cc_param_traits_unittest.cc",
fsamuel410c9602016-05-31 21:50:20719 "ipc/struct_traits_unittest.cc",
ajuma956219582017-04-04 19:58:14720 "layers/effect_tree_layer_list_iterator_unittest.cc",
brettw4897a612015-03-02 23:13:15721 "layers/heads_up_display_layer_impl_unittest.cc",
722 "layers/heads_up_display_unittest.cc",
brettw4897a612015-03-02 23:13:15723 "layers/layer_impl_unittest.cc",
vollick44d1c1f2016-03-02 20:59:43724 "layers/layer_list_iterator_unittest.cc",
brettw4897a612015-03-02 23:13:15725 "layers/layer_position_constraint_unittest.cc",
726 "layers/layer_unittest.cc",
727 "layers/layer_utils_unittest.cc",
728 "layers/nine_patch_layer_impl_unittest.cc",
729 "layers/nine_patch_layer_unittest.cc",
730 "layers/painted_scrollbar_layer_impl_unittest.cc",
ccamerona54da382015-11-27 00:52:33731 "layers/painted_scrollbar_layer_unittest.cc",
brettw4897a612015-03-02 23:13:15732 "layers/picture_image_layer_unittest.cc",
733 "layers/picture_layer_impl_unittest.cc",
734 "layers/picture_layer_unittest.cc",
chrishtrac41ff92017-03-17 05:07:30735 "layers/recording_source_unittest.cc",
brettw4897a612015-03-02 23:13:15736 "layers/render_surface_impl_unittest.cc",
737 "layers/render_surface_unittest.cc",
738 "layers/scrollbar_layer_unittest.cc",
739 "layers/solid_color_layer_impl_unittest.cc",
740 "layers/solid_color_scrollbar_layer_impl_unittest.cc",
741 "layers/surface_layer_impl_unittest.cc",
742 "layers/surface_layer_unittest.cc",
743 "layers/texture_layer_impl_unittest.cc",
744 "layers/texture_layer_unittest.cc",
Hayley Ferr2b14e2a6c2017-07-04 17:34:43745 "layers/touch_action_region_unittest.cc",
brettw4897a612015-03-02 23:13:15746 "layers/ui_resource_layer_impl_unittest.cc",
747 "layers/ui_resource_layer_unittest.cc",
dalecurtisb8396642015-06-09 18:38:14748 "layers/video_frame_provider_client_impl_unittest.cc",
brettw4897a612015-03-02 23:13:15749 "layers/video_layer_impl_unittest.cc",
ymalik99740e852016-04-07 04:18:13750 "layers/viewport_unittest.cc",
brettw4897a612015-03-02 23:13:15751 "output/begin_frame_args_unittest.cc",
brettwd649f6b2015-08-18 20:58:51752 "output/bsp_tree_unittest.cc",
ericrkf6c4fb62016-08-30 23:27:24753 "output/context_cache_controller_unittest.cc",
brettw4897a612015-03-02 23:13:15754 "output/gl_renderer_unittest.cc",
danakj920156852015-05-18 20:22:29755 "output/layer_quad_unittest.cc",
danakjc7afae52017-06-20 21:12:41756 "output/layer_tree_frame_sink_unittest.cc",
brettw4897a612015-03-02 23:13:15757 "output/overlay_unittest.cc",
758 "output/renderer_pixeltest.cc",
brettw4897a612015-03-02 23:13:15759 "output/shader_unittest.cc",
760 "output/software_renderer_unittest.cc",
danakj920156852015-05-18 20:22:29761 "output/texture_mailbox_deleter_unittest.cc",
chrishtrac41ff92017-03-17 05:07:30762 "paint/discardable_image_map_unittest.cc",
763 "paint/display_item_list_unittest.cc",
enne59df29de2017-05-02 03:23:37764 "paint/paint_op_buffer_unittest.cc",
Vladimir Levinaee539102017-06-23 16:46:08765 "paint/solid_color_analyzer_unittest.cc",
brettwd649f6b2015-08-18 20:58:51766 "quads/draw_polygon_unittest.cc",
brettw4897a612015-03-02 23:13:15767 "quads/draw_quad_unittest.cc",
bokane7a058a2017-03-02 22:42:51768 "quads/nine_patch_generator_unittest.cc",
brettw4897a612015-03-02 23:13:15769 "quads/render_pass_unittest.cc",
chrishtrac41ff92017-03-17 05:07:30770 "raster/image_hijack_canvas_unittest.cc",
prashant.nb4d4f492016-04-29 12:51:28771 "raster/raster_buffer_provider_unittest.cc",
chrishtrac41ff92017-03-17 05:07:30772 "raster/raster_source_unittest.cc",
danakj920156852015-05-18 20:22:29773 "raster/scoped_gpu_raster_unittest.cc",
ericrk4e3aa5a2015-12-01 03:53:56774 "raster/single_thread_task_graph_runner_unittest.cc",
775 "raster/synchronous_task_graph_runner_unittest.cc",
ericrk0f9ee9862017-01-23 19:05:39776 "raster/task_graph_work_queue_unittest.cc",
danakj920156852015-05-18 20:22:29777 "raster/texture_compressor_etc1_unittest.cc",
boliucb788f42015-07-22 23:49:28778 "resources/resource_pool_unittest.cc",
brettw4897a612015-03-02 23:13:15779 "resources/resource_provider_unittest.cc",
prashant.n8e494282015-08-03 07:13:41780 "resources/resource_util_unittest.cc",
brettw4897a612015-03-02 23:13:15781 "resources/scoped_resource_unittest.cc",
brettw4897a612015-03-02 23:13:15782 "resources/video_resource_updater_unittest.cc",
783 "scheduler/begin_frame_source_unittest.cc",
brianderson68749812015-07-07 22:39:39784 "scheduler/compositor_timing_history_unittest.cc",
brettw4897a612015-03-02 23:13:15785 "scheduler/delay_based_time_source_unittest.cc",
786 "scheduler/scheduler_state_machine_unittest.cc",
787 "scheduler/scheduler_unittest.cc",
mithro6be81902015-12-04 05:58:46788 "test/begin_frame_source_test_unittest.cc",
brettw4897a612015-03-02 23:13:15789 "test/layer_tree_json_parser_unittest.cc",
mithro6be81902015-12-04 05:58:46790 "test/mock_helper_unittest.cc",
brettwd649f6b2015-08-18 20:58:51791 "test/ordered_simple_task_runner_unittest.cc",
brettw4897a612015-03-02 23:13:15792 "test/test_web_graphics_context_3d_unittest.cc",
khushalsagard3b8827d2017-02-18 18:42:54793 "tiles/checker_image_tracker_unittest.cc",
vmpstra6b30162017-01-12 20:23:03794 "tiles/decoded_image_tracker_unittest.cc",
vmpstr70289fb62016-12-01 02:33:05795 "tiles/gpu_image_decode_cache_unittest.cc",
vmpstre556bda62016-12-02 01:51:40796 "tiles/image_controller_unittest.cc",
ericrkc7ebaa12016-06-09 21:05:55797 "tiles/mipmap_util_unittest.cc",
danakj920156852015-05-18 20:22:29798 "tiles/picture_layer_tiling_set_unittest.cc",
799 "tiles/picture_layer_tiling_unittest.cc",
vmpstr70289fb62016-12-01 02:33:05800 "tiles/software_image_decode_cache_unittest.cc",
danakj920156852015-05-18 20:22:29801 "tiles/tile_manager_unittest.cc",
802 "tiles/tile_priority_unittest.cc",
brettw4897a612015-03-02 23:13:15803 "trees/blocking_task_runner_unittest.cc",
804 "trees/damage_tracker_unittest.cc",
brettw4897a612015-03-02 23:13:15805 "trees/layer_tree_host_common_unittest.cc",
806 "trees/layer_tree_host_impl_unittest.cc",
807 "trees/layer_tree_host_pixeltest_blending.cc",
808 "trees/layer_tree_host_pixeltest_filters.cc",
809 "trees/layer_tree_host_pixeltest_masks.cc",
810 "trees/layer_tree_host_pixeltest_readback.cc",
danakjd63f8a62016-08-24 03:26:48811 "trees/layer_tree_host_pixeltest_scrollbars.cc",
brettw4897a612015-03-02 23:13:15812 "trees/layer_tree_host_pixeltest_synchronous.cc",
danakje0b54782015-05-29 22:47:52813 "trees/layer_tree_host_pixeltest_tiles.cc",
brettw4897a612015-03-02 23:13:15814 "trees/layer_tree_host_unittest.cc",
815 "trees/layer_tree_host_unittest_animation.cc",
khushalsagar6dc91d02017-02-28 05:10:07816 "trees/layer_tree_host_unittest_checkerimaging.cc",
brettw4897a612015-03-02 23:13:15817 "trees/layer_tree_host_unittest_context.cc",
818 "trees/layer_tree_host_unittest_copyrequest.cc",
819 "trees/layer_tree_host_unittest_damage.cc",
brettw4897a612015-03-02 23:13:15820 "trees/layer_tree_host_unittest_occlusion.cc",
821 "trees/layer_tree_host_unittest_picture.cc",
822 "trees/layer_tree_host_unittest_proxy.cc",
khushalsagarb54107d02015-12-10 20:20:56823 "trees/layer_tree_host_unittest_record_gpu_histogram.cc",
brettw4897a612015-03-02 23:13:15824 "trees/layer_tree_host_unittest_scroll.cc",
825 "trees/layer_tree_host_unittest_video.cc",
826 "trees/layer_tree_impl_unittest.cc",
827 "trees/occlusion_tracker_unittest.cc",
828 "trees/occlusion_unittest.cc",
829 "trees/property_tree_unittest.cc",
khushalsagar8297ae992016-09-14 20:51:23830 "trees/swap_promise_manager_unittest.cc",
brettw4897a612015-03-02 23:13:15831 "trees/tree_synchronizer_unittest.cc",
[email protected]d05751a22014-05-29 20:54:24832
loyso3dd20892016-11-22 07:11:01833 # Animation test files.
834 "animation/animation_host_unittest.cc",
835 "animation/animation_player_unittest.cc",
836 "animation/animation_timeline_unittest.cc",
837 "animation/animation_unittest.cc",
838 "animation/element_animations_unittest.cc",
839 "animation/keyframed_animation_curve_unittest.cc",
840 "animation/scroll_offset_animation_curve_unittest.cc",
841 "animation/transform_operations_unittest.cc",
842
brettw4897a612015-03-02 23:13:15843 # Surfaces test files.
Alex Zhang96cb9e712017-07-07 21:03:47844 "surfaces/frame_sink_manager_unittest.cc",
kylechar4e728be2017-01-19 17:39:30845 "surfaces/referenced_surface_tracker_unittest.cc",
lfg8d07c91d2015-08-07 16:13:20846 "surfaces/surface_hittest_unittest.cc",
kylechar0de37322016-11-03 15:25:57847 "surfaces/surface_manager_ref_unittest.cc",
fsamuel34396562016-10-06 15:01:21848 "surfaces/surface_sequence_generator_unittest.cc",
starazc0f2d73d2017-05-08 10:47:16849 "surfaces/surface_synchronization_unittest.cc",
brettw4897a612015-03-02 23:13:15850 "surfaces/surface_unittest.cc",
[email protected]d05751a22014-05-29 20:54:24851
brettw4897a612015-03-02 23:13:15852 # Setup.
853 "test/cc_test_suite.cc",
thakisb8590c92017-03-23 18:14:53854 "test/cc_test_suite.h",
brettw4897a612015-03-02 23:13:15855 "test/run_all_unittests.cc",
856 ]
[email protected]d05751a22014-05-29 20:54:24857
agrievee41ae190d2016-04-25 14:12:51858 if (!is_android) {
859 data = [
danakjc391f332017-07-12 20:45:52860 "//components/viz/test/data/",
agrievee41ae190d2016-04-25 14:12:51861 ]
862 }
dpranke177c1e22015-07-22 23:07:43863
khushalsagar54203a192017-01-20 21:05:57864 # TODO(khushalsagar): Remove once crbug.com/683263 is fixed.
865 configs = [ "//build/config/compiler:no_size_t_to_int_warning" ]
866
brettw4897a612015-03-02 23:13:15867 deps = [
868 ":cc",
869 ":test_support",
870 "//base/test:test_support",
fsamuelf76098e2016-05-18 17:26:51871 "//cc/ipc",
fsamuel410c9602016-05-31 21:50:20872 "//cc/ipc:test_interfaces",
enne34f6084c2017-02-02 22:39:08873 "//cc/paint",
brettw4897a612015-03-02 23:13:15874 "//cc/surfaces",
875 "//cc/surfaces:surface_id",
samans72b2a282016-12-17 02:44:15876 "//cc/surfaces:surfaces",
Fady Samuel555c8d12017-07-07 23:14:09877 "//components/viz/common",
danakjc391f332017-07-12 20:45:52878 "//components/viz/service",
879 "//components/viz/test:test_support",
brettw4897a612015-03-02 23:13:15880 "//gpu",
881 "//gpu:test_support",
882 "//gpu/command_buffer/client:gles2_interface",
883 "//gpu/command_buffer/common:gles2_utils",
884 "//media",
fsamuel410c9602016-05-31 21:50:20885 "//mojo/edk/system",
886 "//mojo/public/cpp/bindings",
brettw4897a612015-03-02 23:13:15887 "//testing/gmock",
888 "//testing/gtest",
Nico Weber9d6e12942016-04-19 18:51:09889 "//ui/events:events_base",
brettw4897a612015-03-02 23:13:15890 "//ui/gfx",
brettw4897a612015-03-02 23:13:15891 "//ui/gfx:test_support",
agrieved7a71c882015-11-20 19:53:28892 "//ui/gfx/geometry",
brettw4897a612015-03-02 23:13:15893 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26894 "//ui/gl:test_support",
brettw4897a612015-03-02 23:13:15895 ]
dpranke177c1e22015-07-22 23:07:43896
vmpstr9116a70f2015-10-14 23:48:34897 data_deps = [
898 "//third_party/mesa:osmesa",
899 ]
[email protected]d05751a22014-05-29 20:54:24900}
901
loyso1fe38ba42016-12-01 00:39:08902cc_test("cc_perftests") {
[email protected]6e44c302014-07-22 21:51:37903 sources = [
loysoa4a59a42016-02-10 06:49:26904 "animation/animation_host_perftest.cc",
vmpstr0d694522016-12-14 23:37:19905 "base/rtree_perftest.cc",
fsamuelbb47aac2016-07-08 01:05:53906 "ipc/cc_serialization_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37907 "layers/layer_perftest.cc",
908 "layers/picture_layer_impl_perftest.cc",
danakj4e214032016-09-08 19:08:23909 "output/bsp_tree_perftest.cc",
vmpstr0b044512015-05-29 02:58:03910 "quads/draw_quad_perftest.cc",
prashant.nb4d4f492016-04-29 12:51:28911 "raster/raster_buffer_provider_perftest.cc",
danakj920156852015-05-18 20:22:29912 "raster/task_graph_runner_perftest.cc",
913 "raster/texture_compressor_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37914 "test/cc_test_suite.cc",
thakisb8590c92017-03-23 18:14:53915 "test/cc_test_suite.h",
[email protected]6e44c302014-07-22 21:51:37916 "test/run_all_perftests.cc",
vmpstr13778fb2017-02-02 23:44:00917 "tiles/software_image_decode_cache_perftest.cc",
danakj920156852015-05-18 20:22:29918 "tiles/tile_manager_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37919 "trees/layer_tree_host_common_perftest.cc",
920 "trees/layer_tree_host_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37921 ]
[email protected]d05751a22014-05-29 20:54:24922
[email protected]6e44c302014-07-22 21:51:37923 deps = [
924 ":cc",
925 ":test_support",
926 "//base",
jamesr16c04ff2014-11-24 22:24:57927 "//base/test:test_support",
fsamuelf76098e2016-05-18 17:26:51928 "//cc/ipc",
fsamuelbb47aac2016-07-08 01:05:53929 "//cc/ipc:interfaces",
chrishtrac41ff92017-03-17 05:07:30930 "//cc/paint",
jbauman39be2012015-04-16 01:33:08931 "//cc/surfaces",
932 "//cc/surfaces:surface_id",
danakjc391f332017-07-12 20:45:52933 "//components/viz/test:test_support",
[email protected]6e44c302014-07-22 21:51:37934 "//gpu",
[email protected]c7990dbf2014-07-23 22:35:10935 "//gpu:test_support",
[email protected]845c4e32014-08-13 11:50:40936 "//gpu/command_buffer/common:gles2_utils",
[email protected]6e44c302014-07-22 21:51:37937 "//media",
fsamuelbb47aac2016-07-08 01:05:53938 "//mojo/edk/system",
939 "//mojo/public/cpp/bindings",
[email protected]6e44c302014-07-22 21:51:37940 "//skia",
941 "//testing/gmock",
942 "//testing/gtest",
943 "//testing/perf",
944 "//ui/gfx",
945 "//ui/gfx/geometry",
jamesr16c04ff2014-11-24 22:24:57946 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26947 "//ui/gl:test_support",
[email protected]6e44c302014-07-22 21:51:37948 ]
krasinca63e412016-05-12 02:53:25949
950 # This target should not require the Chrome executable to run.
951 assert_no_deps = [ "//chrome" ]
jbudorickbdd15902016-09-15 21:05:42952
953 data = [
954 "test/data/",
eyaich7c79b912016-10-29 00:39:25955
956 # Needed for isolate script to execute.
957 "//testing/scripts/common.py",
958 "//testing/xvfb.py",
959 "//testing/scripts/run_gtest_perf_test.py",
eyaich082a30c2016-11-04 20:20:57960 "//tools/perf/generate_legacy_perf_dashboard_json.py",
jbudorickbdd15902016-09-15 21:05:42961 ]
[email protected]6e44c302014-07-22 21:51:37962}