blob: 844dc792ecc68557dc6e5b77007d91aa191da76a [file] [log] [blame]
Khushala8d50642018-05-03 01:29:061# Copyright 2014 T/e Chromium Authors. All rights reserved.
[email protected]d05751a22014-05-29 20:54:242# 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")
qsrfb5251d12015-01-21 15:57:226
loyso3dd20892016-11-22 07:11:017cc_component("cc") {
[email protected]d05751a22014-05-29 20:54:248 sources = [
chrishtr82b5d9502017-03-20 18:25:339 "benchmarks/benchmark_instrumentation.cc",
10 "benchmarks/benchmark_instrumentation.h",
11 "benchmarks/invalidation_benchmark.cc",
12 "benchmarks/invalidation_benchmark.h",
13 "benchmarks/micro_benchmark.cc",
14 "benchmarks/micro_benchmark.h",
15 "benchmarks/micro_benchmark_controller.cc",
16 "benchmarks/micro_benchmark_controller.h",
17 "benchmarks/micro_benchmark_controller_impl.cc",
18 "benchmarks/micro_benchmark_controller_impl.h",
19 "benchmarks/micro_benchmark_impl.cc",
20 "benchmarks/micro_benchmark_impl.h",
21 "benchmarks/rasterize_and_record_benchmark.cc",
22 "benchmarks/rasterize_and_record_benchmark.h",
23 "benchmarks/rasterize_and_record_benchmark_impl.cc",
24 "benchmarks/rasterize_and_record_benchmark_impl.h",
25 "benchmarks/unittest_only_benchmark.cc",
26 "benchmarks/unittest_only_benchmark.h",
27 "benchmarks/unittest_only_benchmark_impl.cc",
28 "benchmarks/unittest_only_benchmark_impl.h",
mdjones2ee41afd2016-10-27 16:50:2029 "input/browser_controls_offset_manager.cc",
30 "input/browser_controls_offset_manager.h",
31 "input/browser_controls_offset_manager_client.h",
ccameron36d091f2014-11-07 03:18:5032 "input/input_handler.cc",
[email protected]d05751a22014-05-29 20:54:2433 "input/input_handler.h",
[email protected]b2ba2d42014-07-03 18:14:5034 "input/layer_selection_bound.cc",
35 "input/layer_selection_bound.h",
Xianzhu Wang81f6c4d72018-05-17 19:23:5436 "input/main_thread_scrolling_reason.cc",
wychen800b09972016-11-03 09:00:2037 "input/main_thread_scrolling_reason.h",
Sandra Sun2288e8532017-11-30 22:50:1638 "input/overscroll_behavior.h",
satorux457770e2015-02-18 18:33:3939 "input/page_scale_animation.cc",
40 "input/page_scale_animation.h",
ccameron4163cc352014-11-13 19:06:3641 "input/scroll_elasticity_helper.cc",
42 "input/scroll_elasticity_helper.h",
Sandra Sun0711bba2017-12-20 05:12:2943 "input/scroll_snap_data.cc",
44 "input/scroll_snap_data.h",
tdresserd9e201472015-07-31 13:15:0745 "input/scroll_state.cc",
46 "input/scroll_state.h",
tdresser99c9ff52015-12-14 15:47:0947 "input/scroll_state_data.cc",
48 "input/scroll_state_data.h",
loyso455b4f602016-02-24 02:59:4249 "input/scrollbar_animation_controller.cc",
50 "input/scrollbar_animation_controller.h",
chaopeng2c3e1702017-01-27 04:46:0251 "input/single_scrollbar_animation_controller_thinning.cc",
52 "input/single_scrollbar_animation_controller_thinning.h",
Sandra Sunaa703712018-05-17 14:47:1453 "input/snap_fling_controller.cc",
54 "input/snap_fling_controller.h",
55 "input/snap_fling_curve.cc",
56 "input/snap_fling_curve.h",
xidachenfa0199e72017-05-11 11:34:2657 "input/touch_action.h",
fsamuela4f81d1f2017-04-07 18:32:3858 "layers/append_quads_data.cc",
[email protected]d05751a22014-05-29 20:54:2459 "layers/append_quads_data.h",
[email protected]d05751a22014-05-29 20:54:2460 "layers/content_layer_client.h",
Fady Samuelb46e0ef2018-01-30 04:48:4161 "layers/deadline_policy.cc",
62 "layers/deadline_policy.h",
Bo Liu96368332017-06-15 19:52:4363 "layers/draw_mode.h",
ennefffb119c2015-08-29 09:17:3064 "layers/draw_properties.cc",
[email protected]d05751a22014-05-29 20:54:2465 "layers/draw_properties.h",
ajuma956219582017-04-04 19:58:1466 "layers/effect_tree_layer_list_iterator.cc",
67 "layers/effect_tree_layer_list_iterator.h",
[email protected]d05751a22014-05-29 20:54:2468 "layers/heads_up_display_layer.cc",
69 "layers/heads_up_display_layer.h",
70 "layers/heads_up_display_layer_impl.cc",
71 "layers/heads_up_display_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:2472 "layers/layer.cc",
73 "layers/layer.h",
74 "layers/layer_client.h",
vollick83fbfc82016-03-22 18:33:2775 "layers/layer_collections.h",
[email protected]d05751a22014-05-29 20:54:2476 "layers/layer_impl.cc",
77 "layers/layer_impl.h",
jaydasika1c0a27d42016-04-28 01:54:5678 "layers/layer_impl_test_properties.cc",
79 "layers/layer_impl_test_properties.h",
vollick44d1c1f2016-03-02 20:59:4380 "layers/layer_list_iterator.cc",
81 "layers/layer_list_iterator.h",
[email protected]d05751a22014-05-29 20:54:2482 "layers/layer_position_constraint.cc",
83 "layers/layer_position_constraint.h",
flackr2215b4e2016-09-21 20:16:0184 "layers/layer_sticky_position_constraint.cc",
85 "layers/layer_sticky_position_constraint.h",
danakj83d0eb4f2017-09-19 17:31:5886 "layers/nine_patch_generator.cc",
87 "layers/nine_patch_generator.h",
[email protected]d05751a22014-05-29 20:54:2488 "layers/nine_patch_layer.cc",
89 "layers/nine_patch_layer.h",
90 "layers/nine_patch_layer_impl.cc",
91 "layers/nine_patch_layer_impl.h",
bokane7a058a2017-03-02 22:42:5192 "layers/painted_overlay_scrollbar_layer.cc",
93 "layers/painted_overlay_scrollbar_layer.h",
94 "layers/painted_overlay_scrollbar_layer_impl.cc",
95 "layers/painted_overlay_scrollbar_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:2496 "layers/painted_scrollbar_layer.cc",
97 "layers/painted_scrollbar_layer.h",
98 "layers/painted_scrollbar_layer_impl.cc",
99 "layers/painted_scrollbar_layer_impl.h",
100 "layers/picture_image_layer.cc",
101 "layers/picture_image_layer.h",
[email protected]d05751a22014-05-29 20:54:24102 "layers/picture_layer.cc",
103 "layers/picture_layer.h",
104 "layers/picture_layer_impl.cc",
105 "layers/picture_layer_impl.h",
chrishtrac41ff92017-03-17 05:07:30106 "layers/recording_source.cc",
107 "layers/recording_source.h",
[email protected]d05751a22014-05-29 20:54:24108 "layers/render_surface_impl.cc",
109 "layers/render_surface_impl.h",
110 "layers/scrollbar_layer_impl_base.cc",
111 "layers/scrollbar_layer_impl_base.h",
112 "layers/scrollbar_layer_interface.h",
113 "layers/solid_color_layer.cc",
114 "layers/solid_color_layer.h",
115 "layers/solid_color_layer_impl.cc",
116 "layers/solid_color_layer_impl.h",
117 "layers/solid_color_scrollbar_layer.cc",
118 "layers/solid_color_scrollbar_layer.h",
119 "layers/solid_color_scrollbar_layer_impl.cc",
120 "layers/solid_color_scrollbar_layer_impl.h",
121 "layers/surface_layer.cc",
122 "layers/surface_layer.h",
123 "layers/surface_layer_impl.cc",
124 "layers/surface_layer_impl.h",
125 "layers/texture_layer.cc",
126 "layers/texture_layer.h",
127 "layers/texture_layer_client.h",
128 "layers/texture_layer_impl.cc",
129 "layers/texture_layer_impl.h",
Hayley Ferrd9ee3a72017-06-16 14:16:09130 "layers/touch_action_region.cc",
131 "layers/touch_action_region.h",
[email protected]d05751a22014-05-29 20:54:24132 "layers/ui_resource_layer.cc",
133 "layers/ui_resource_layer.h",
134 "layers/ui_resource_layer_impl.cc",
135 "layers/ui_resource_layer_impl.h",
136 "layers/video_frame_provider.h",
137 "layers/video_frame_provider_client_impl.cc",
138 "layers/video_frame_provider_client_impl.h",
139 "layers/video_layer.cc",
140 "layers/video_layer.h",
141 "layers/video_layer_impl.cc",
142 "layers/video_layer_impl.h",
bokanaa2748312015-03-26 00:10:37143 "layers/viewport.cc",
144 "layers/viewport.h",
prashant.nb4d4f492016-04-29 12:51:28145 "raster/bitmap_raster_buffer_provider.cc",
146 "raster/bitmap_raster_buffer_provider.h",
147 "raster/gpu_raster_buffer_provider.cc",
148 "raster/gpu_raster_buffer_provider.h",
prashant.nb4d4f492016-04-29 12:51:28149 "raster/one_copy_raster_buffer_provider.cc",
150 "raster/one_copy_raster_buffer_provider.h",
Khushald880a1512017-07-26 23:48:04151 "raster/playback_image_provider.cc",
152 "raster/playback_image_provider.h",
danakj920156852015-05-18 20:22:29153 "raster/raster_buffer.cc",
154 "raster/raster_buffer.h",
prashant.nb4d4f492016-04-29 12:51:28155 "raster/raster_buffer_provider.cc",
156 "raster/raster_buffer_provider.h",
chrishtrac41ff92017-03-17 05:07:30157 "raster/raster_source.cc",
158 "raster/raster_source.h",
danakj920156852015-05-18 20:22:29159 "raster/scoped_gpu_raster.cc",
160 "raster/scoped_gpu_raster.h",
Khushal3cfc77f2018-08-15 07:19:58161 "raster/scoped_grcontext_access.h",
ericrk4e3aa5a2015-12-01 03:53:56162 "raster/single_thread_task_graph_runner.cc",
163 "raster/single_thread_task_graph_runner.h",
prashant.na9dd9ef2016-04-08 19:57:10164 "raster/staging_buffer_pool.cc",
165 "raster/staging_buffer_pool.h",
ericrk4e3aa5a2015-12-01 03:53:56166 "raster/synchronous_task_graph_runner.cc",
167 "raster/synchronous_task_graph_runner.h",
prashant.n49b3e64652016-04-19 07:04:49168 "raster/task.cc",
169 "raster/task.h",
ericrk374dee72016-01-13 03:38:05170 "raster/task_category.h",
danakj920156852015-05-18 20:22:29171 "raster/task_graph_runner.h",
ericrk4e3aa5a2015-12-01 03:53:56172 "raster/task_graph_work_queue.cc",
173 "raster/task_graph_work_queue.h",
prashant.n6cb1bb82016-04-20 05:15:58174 "raster/tile_task.cc",
175 "raster/tile_task.h",
prashant.nb4d4f492016-04-29 12:51:28176 "raster/zero_copy_raster_buffer_provider.cc",
177 "raster/zero_copy_raster_buffer_provider.h",
danakj92d63892018-03-29 23:43:28178 "resources/cross_thread_shared_bitmap.cc",
179 "resources/cross_thread_shared_bitmap.h",
[email protected]d05751a22014-05-29 20:54:24180 "resources/memory_history.cc",
181 "resources/memory_history.h",
[email protected]d05751a22014-05-29 20:54:24182 "resources/resource_pool.cc",
183 "resources/resource_pool.h",
[email protected]d05751a22014-05-29 20:54:24184 "resources/scoped_ui_resource.cc",
185 "resources/scoped_ui_resource.h",
danakj92d63892018-03-29 23:43:28186 "resources/shared_bitmap_id_registrar.cc",
187 "resources/shared_bitmap_id_registrar.h",
[email protected]d05751a22014-05-29 20:54:24188 "resources/ui_resource_bitmap.cc",
189 "resources/ui_resource_bitmap.h",
190 "resources/ui_resource_client.h",
khushalsagar8ec07402016-09-10 03:13:19191 "resources/ui_resource_manager.cc",
192 "resources/ui_resource_manager.h",
[email protected]d05751a22014-05-29 20:54:24193 "resources/ui_resource_request.cc",
194 "resources/ui_resource_request.h",
mithro0bdb49d2015-05-27 13:08:01195 "scheduler/begin_frame_tracker.cc",
196 "scheduler/begin_frame_tracker.h",
mithrof7a21502014-12-17 03:24:48197 "scheduler/commit_earlyout_reason.h",
briandersonc9f50352015-06-24 03:38:58198 "scheduler/compositor_timing_history.cc",
199 "scheduler/compositor_timing_history.h",
[email protected]d05751a22014-05-29 20:54:24200 "scheduler/draw_result.h",
201 "scheduler/scheduler.cc",
202 "scheduler/scheduler.h",
203 "scheduler/scheduler_settings.cc",
204 "scheduler/scheduler_settings.h",
205 "scheduler/scheduler_state_machine.cc",
206 "scheduler/scheduler_state_machine.h",
sunnyps7d073dc2015-04-16 23:29:12207 "scheduler/video_frame_controller.h",
khushalsagard3b8827d2017-02-18 18:42:54208 "tiles/checker_image_tracker.cc",
209 "tiles/checker_image_tracker.h",
vmpstra6b30162017-01-12 20:23:03210 "tiles/decoded_image_tracker.cc",
211 "tiles/decoded_image_tracker.h",
danakj920156852015-05-18 20:22:29212 "tiles/eviction_tile_priority_queue.cc",
213 "tiles/eviction_tile_priority_queue.h",
chrishtr82b5d9502017-03-20 18:25:33214 "tiles/frame_viewer_instrumentation.cc",
215 "tiles/frame_viewer_instrumentation.h",
vmpstr70289fb62016-12-01 02:33:05216 "tiles/gpu_image_decode_cache.cc",
217 "tiles/gpu_image_decode_cache.h",
vmpstre556bda62016-12-02 01:51:40218 "tiles/image_controller.cc",
219 "tiles/image_controller.h",
Khushal9e40c592017-07-17 20:22:13220 "tiles/image_decode_cache.cc",
vmpstr70289fb62016-12-01 02:33:05221 "tiles/image_decode_cache.h",
Reza.Zakerinasab9afecdf2018-09-25 11:26:26222 "tiles/image_decode_cache_utils.cc",
223 "tiles/image_decode_cache_utils.h",
ericrkc7ebaa12016-06-09 21:05:55224 "tiles/mipmap_util.cc",
225 "tiles/mipmap_util.h",
danakj920156852015-05-18 20:22:29226 "tiles/picture_layer_tiling.cc",
227 "tiles/picture_layer_tiling.h",
228 "tiles/picture_layer_tiling_set.cc",
229 "tiles/picture_layer_tiling_set.h",
230 "tiles/prioritized_tile.cc",
231 "tiles/prioritized_tile.h",
232 "tiles/raster_tile_priority_queue.cc",
233 "tiles/raster_tile_priority_queue.h",
234 "tiles/raster_tile_priority_queue_all.cc",
235 "tiles/raster_tile_priority_queue_all.h",
236 "tiles/raster_tile_priority_queue_required.cc",
237 "tiles/raster_tile_priority_queue_required.h",
vmpstr70289fb62016-12-01 02:33:05238 "tiles/software_image_decode_cache.cc",
239 "tiles/software_image_decode_cache.h",
Vladimir Levin0342a7912018-01-03 19:12:55240 "tiles/software_image_decode_cache_utils.cc",
241 "tiles/software_image_decode_cache_utils.h",
danakj920156852015-05-18 20:22:29242 "tiles/tile.cc",
243 "tiles/tile.h",
244 "tiles/tile_draw_info.cc",
245 "tiles/tile_draw_info.h",
246 "tiles/tile_manager.cc",
247 "tiles/tile_manager.h",
khushalsagard3b8827d2017-02-18 18:42:54248 "tiles/tile_manager_settings.h",
danakj920156852015-05-18 20:22:29249 "tiles/tile_priority.cc",
250 "tiles/tile_priority.h",
prashant.nb4d4f492016-04-29 12:51:28251 "tiles/tile_task_manager.cc",
252 "tiles/tile_task_manager.h",
danakj920156852015-05-18 20:22:29253 "tiles/tiling_set_eviction_queue.cc",
254 "tiles/tiling_set_eviction_queue.h",
255 "tiles/tiling_set_raster_queue_all.cc",
256 "tiles/tiling_set_raster_queue_all.h",
257 "tiles/tiling_set_raster_queue_required.cc",
258 "tiles/tiling_set_raster_queue_required.h",
Yi Gua5a3bb6c2018-06-01 22:16:07259 "trees/animation_options.h",
ajumae947a352017-01-10 19:17:49260 "trees/clip_expander.cc",
261 "trees/clip_expander.h",
trchendba8b1502016-07-08 09:47:01262 "trees/clip_node.cc",
263 "trees/clip_node.h",
khushalsagar19458bd2015-12-08 02:19:01264 "trees/compositor_mode.h",
[email protected]d05751a22014-05-29 20:54:24265 "trees/damage_tracker.cc",
266 "trees/damage_tracker.h",
chrishtr82b5d9502017-03-20 18:25:33267 "trees/debug_rect_history.cc",
268 "trees/debug_rect_history.h",
vollick51ed1a22014-12-17 02:03:00269 "trees/draw_property_utils.cc",
270 "trees/draw_property_utils.h",
trchendba8b1502016-07-08 09:47:01271 "trees/effect_node.cc",
272 "trees/effect_node.h",
loyso290a27a2016-11-15 01:47:10273 "trees/element_id.cc",
274 "trees/element_id.h",
chrishtr82b5d9502017-03-20 18:25:33275 "trees/frame_rate_counter.cc",
276 "trees/frame_rate_counter.h",
Khushalfdacdc92017-09-22 22:40:52277 "trees/image_animation_controller.cc",
278 "trees/image_animation_controller.h",
danakjba65a0912017-09-21 16:38:42279 "trees/latency_info_swap_promise.cc",
280 "trees/latency_info_swap_promise.h",
jamesrf313a212015-03-16 21:27:37281 "trees/latency_info_swap_promise_monitor.cc",
282 "trees/latency_info_swap_promise_monitor.h",
danakjba65a0912017-09-21 16:38:42283 "trees/layer_tree_frame_sink.cc",
284 "trees/layer_tree_frame_sink.h",
285 "trees/layer_tree_frame_sink_client.h",
khushalsagare0e4486e2017-01-25 03:15:03286 "trees/layer_tree_host.cc",
[email protected]d05751a22014-05-29 20:54:24287 "trees/layer_tree_host.h",
288 "trees/layer_tree_host_client.h",
289 "trees/layer_tree_host_common.cc",
290 "trees/layer_tree_host_common.h",
291 "trees/layer_tree_host_impl.cc",
292 "trees/layer_tree_host_impl.h",
ccameron00e438cd2015-03-12 06:18:14293 "trees/layer_tree_host_single_thread_client.h",
[email protected]d05751a22014-05-29 20:54:24294 "trees/layer_tree_impl.cc",
295 "trees/layer_tree_impl.h",
Majid Valipoure9855f72017-10-20 02:08:58296 "trees/layer_tree_mutator.cc",
loyso720c7c552016-11-10 23:16:39297 "trees/layer_tree_mutator.h",
[email protected]d05751a22014-05-29 20:54:24298 "trees/layer_tree_settings.cc",
299 "trees/layer_tree_settings.h",
danakjba65a0912017-09-21 16:38:42300 "trees/managed_memory_policy.cc",
301 "trees/managed_memory_policy.h",
loyso6d6356e2016-11-02 23:41:08302 "trees/mutator_host.h",
loysobb93befc2015-07-03 00:19:50303 "trees/mutator_host_client.h",
vmpstrcdcb5f72014-09-11 00:58:37304 "trees/occlusion.cc",
305 "trees/occlusion.h",
[email protected]d05751a22014-05-29 20:54:24306 "trees/occlusion_tracker.cc",
307 "trees/occlusion_tracker.h",
loysoab298a032016-11-15 23:42:43308 "trees/property_animation_state.cc",
309 "trees/property_animation_state.h",
vollick51ed1a22014-12-17 02:03:00310 "trees/property_tree.cc",
311 "trees/property_tree.h",
312 "trees/property_tree_builder.cc",
313 "trees/property_tree_builder.h",
[email protected]d05751a22014-05-29 20:54:24314 "trees/proxy.h",
khushalsagare3c9fa92015-10-28 02:08:29315 "trees/proxy_common.cc",
316 "trees/proxy_common.h",
khushalsagar0a226af2015-12-09 10:30:20317 "trees/proxy_impl.cc",
khushalsagar5d6eb982015-09-25 22:44:56318 "trees/proxy_impl.h",
khushalsagar0a226af2015-12-09 10:30:20319 "trees/proxy_main.cc",
khushalsagar5d6eb982015-09-25 22:44:56320 "trees/proxy_main.h",
Jonathan89a3da22018-01-12 16:41:20321 "trees/render_frame_metadata.cc",
322 "trees/render_frame_metadata.h",
jonrossa2ff4f82018-02-16 17:27:46323 "trees/render_frame_metadata_observer.h",
[email protected]aeeedad2014-08-22 18:16:22324 "trees/scoped_abort_remaining_swap_promises.h",
trchendba8b1502016-07-08 09:47:01325 "trees/scroll_node.cc",
326 "trees/scroll_node.h",
[email protected]d05751a22014-05-29 20:54:24327 "trees/single_thread_proxy.cc",
328 "trees/single_thread_proxy.h",
danakjba65a0912017-09-21 16:38:42329 "trees/swap_promise.h",
khushalsagar8297ae992016-09-14 20:51:23330 "trees/swap_promise_manager.cc",
331 "trees/swap_promise_manager.h",
jamesrf313a212015-03-16 21:27:37332 "trees/swap_promise_monitor.cc",
333 "trees/swap_promise_monitor.h",
Ian Vollicka35501fa2017-10-16 19:32:21334 "trees/target_property.cc",
loysoab298a032016-11-15 23:42:43335 "trees/target_property.h",
khushalsagarb64b360d2015-10-21 19:25:16336 "trees/task_runner_provider.cc",
337 "trees/task_runner_provider.h",
trchendba8b1502016-07-08 09:47:01338 "trees/transform_node.cc",
339 "trees/transform_node.h",
[email protected]d05751a22014-05-29 20:54:24340 "trees/tree_synchronizer.cc",
341 "trees/tree_synchronizer.h",
Khushal3e96e662017-10-30 23:16:50342 "trees/ukm_manager.cc",
343 "trees/ukm_manager.h",
[email protected]d05751a22014-05-29 20:54:24344 ]
345
khushalsagar54203a192017-01-20 21:05:57346 # TODO(khushalsagar): Remove once crbug.com/683263 is fixed.
347 configs = [ "//build/config/compiler:no_size_t_to_int_warning" ]
348
Brett Wilsone53895272014-09-23 23:41:46349 public_deps = [
jamesrf313a212015-03-16 21:27:37350 "//cc/base",
Khushal7865b5be2017-11-22 03:12:06351 "//cc/paint",
Fady Samuel555c8d12017-07-07 23:14:09352 "//components/viz/common",
Brett Wilsone53895272014-09-23 23:41:46353 "//skia",
354 ]
[email protected]d05751a22014-05-29 20:54:24355 deps = [
356 "//base",
357 "//base/third_party/dynamic_annotations",
Khushal3e96e662017-10-30 23:16:50358 "//components/ukm",
danakj7b631be2018-05-25 19:14:20359 "//components/viz/client",
[email protected]d05751a22014-05-29 20:54:24360 "//gpu",
jbromancba3d2fe2014-09-16 01:04:24361 "//gpu/command_buffer/client:gles2_interface",
Victor Miura3a4ad4f82017-12-13 06:03:45362 "//gpu/command_buffer/client:raster_interface",
fsamueledc0c2c2016-11-18 22:28:04363 "//gpu/ipc:gl_in_process_context",
364 "//gpu/skia_bindings:skia_bindings",
Scott Violeta35f9a42018-03-22 22:00:44365 "//gpu/vulkan:buildflags",
danakjdda293b2018-05-29 18:27:40366 "//media", # For VideoLayerImpl.
samansbf8eacc2017-01-27 22:59:25367 "//mojo/public/cpp/bindings:struct_traits",
Khushal3e96e662017-10-30 23:16:50368 "//services/metrics/public/cpp:ukm_builders",
Nico Weber9d6e12942016-04-19 18:51:09369 "//ui/events:events_base",
[email protected]d05751a22014-05-29 20:54:24370 "//ui/gfx",
371 "//ui/gfx/geometry",
ericrkf08855b42015-08-06 00:20:22372 "//ui/gl",
mfomitchev3ba450ad2017-04-03 18:20:40373 "//ui/latency",
[email protected]d05751a22014-05-29 20:54:24374 ]
[email protected]d05751a22014-05-29 20:54:24375
[email protected]3ffa36a2014-07-24 21:01:50376 defines = [ "CC_IMPLEMENTATION=1" ]
[email protected]d05751a22014-05-29 20:54:24377}
378
loyso1fe38ba42016-12-01 00:39:08379cc_static_library("test_support") {
Brett Wilson8f80ad0b2014-09-08 19:50:24380 testonly = true
[email protected]d05751a22014-05-29 20:54:24381 sources = [
382 "test/animation_test_common.cc",
383 "test/animation_test_common.h",
loysobb93befc2015-07-03 00:19:50384 "test/animation_timelines_test_common.cc",
385 "test/animation_timelines_test_common.h",
[email protected]d05751a22014-05-29 20:54:24386 "test/fake_content_layer_client.cc",
387 "test/fake_content_layer_client.h",
khushalsagarb64b360d2015-10-21 19:25:16388 "test/fake_impl_task_runner_provider.h",
danakjc7afae52017-06-20 21:12:41389 "test/fake_layer_tree_frame_sink.cc",
390 "test/fake_layer_tree_frame_sink.h",
391 "test/fake_layer_tree_frame_sink_client.cc",
392 "test/fake_layer_tree_frame_sink_client.h",
[email protected]d05751a22014-05-29 20:54:24393 "test/fake_layer_tree_host.cc",
394 "test/fake_layer_tree_host.h",
395 "test/fake_layer_tree_host_client.cc",
396 "test/fake_layer_tree_host_client.h",
397 "test/fake_layer_tree_host_impl.cc",
398 "test/fake_layer_tree_host_impl.h",
399 "test/fake_layer_tree_host_impl_client.cc",
400 "test/fake_layer_tree_host_impl_client.h",
ajumad9432e32015-11-30 19:43:44401 "test/fake_mask_layer_impl.cc",
402 "test/fake_mask_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24403 "test/fake_output_surface_client.cc",
404 "test/fake_output_surface_client.h",
Khushalfdacdc92017-09-22 22:40:52405 "test/fake_paint_image_generator.cc",
406 "test/fake_paint_image_generator.h",
[email protected]d05751a22014-05-29 20:54:24407 "test/fake_painted_scrollbar_layer.cc",
408 "test/fake_painted_scrollbar_layer.h",
409 "test/fake_picture_layer.cc",
410 "test/fake_picture_layer.h",
411 "test/fake_picture_layer_impl.cc",
412 "test/fake_picture_layer_impl.h",
413 "test/fake_picture_layer_tiling_client.cc",
414 "test/fake_picture_layer_tiling_client.h",
[email protected]d05751a22014-05-29 20:54:24415 "test/fake_proxy.cc",
416 "test/fake_proxy.h",
prashant.nb4d4f492016-04-29 12:51:28417 "test/fake_raster_buffer_provider.cc",
418 "test/fake_raster_buffer_provider.h",
vmpstr41d68f882016-03-30 01:20:23419 "test/fake_raster_source.cc",
420 "test/fake_raster_source.h",
vmpstre17fd212016-03-30 20:03:32421 "test/fake_recording_source.cc",
422 "test/fake_recording_source.h",
[email protected]d05751a22014-05-29 20:54:24423 "test/fake_rendering_stats_instrumentation.h",
424 "test/fake_scoped_ui_resource.cc",
425 "test/fake_scoped_ui_resource.h",
426 "test/fake_scrollbar.cc",
427 "test/fake_scrollbar.h",
428 "test/fake_tile_manager.cc",
429 "test/fake_tile_manager.h",
430 "test/fake_tile_manager_client.cc",
431 "test/fake_tile_manager_client.h",
prashant.nb4d4f492016-04-29 12:51:28432 "test/fake_tile_task_manager.cc",
433 "test/fake_tile_task_manager.h",
[email protected]d05751a22014-05-29 20:54:24434 "test/fake_ui_resource_layer_tree_host_impl.cc",
435 "test/fake_ui_resource_layer_tree_host_impl.h",
436 "test/fake_video_frame_provider.cc",
437 "test/fake_video_frame_provider.h",
438 "test/geometry_test_utils.cc",
439 "test/geometry_test_utils.h",
[email protected]d05751a22014-05-29 20:54:24440 "test/layer_test_common.cc",
441 "test/layer_test_common.h",
[email protected]d05751a22014-05-29 20:54:24442 "test/layer_tree_json_parser.cc",
443 "test/layer_tree_json_parser.h",
enne03dbe8ae2014-10-30 01:32:55444 "test/layer_tree_pixel_resource_test.cc",
445 "test/layer_tree_pixel_resource_test.h",
[email protected]d05751a22014-05-29 20:54:24446 "test/layer_tree_pixel_test.cc",
447 "test/layer_tree_pixel_test.h",
448 "test/layer_tree_test.cc",
449 "test/layer_tree_test.h",
Francois Doray9e4f0f32017-09-20 00:01:53450 "test/mock_layer_client.cc",
451 "test/mock_layer_client.h",
Majid Valipoure9855f72017-10-20 02:08:58452 "test/mock_layer_tree_mutator.cc",
453 "test/mock_layer_tree_mutator.h",
[email protected]ba16cce2014-06-17 17:03:50454 "test/mock_occlusion_tracker.h",
Vladimir Levinf737c212017-11-13 21:25:48455 "test/paint_op_helper.h",
[email protected]d05751a22014-05-29 20:54:24456 "test/pixel_comparator.cc",
457 "test/pixel_comparator.h",
458 "test/pixel_test.cc",
459 "test/pixel_test.h",
460 "test/pixel_test_output_surface.cc",
461 "test/pixel_test_output_surface.h",
[email protected]d05751a22014-05-29 20:54:24462 "test/pixel_test_utils.cc",
463 "test/pixel_test_utils.h",
xingliu3c9b4cc2016-11-02 20:52:55464 "test/push_properties_counting_layer.cc",
465 "test/push_properties_counting_layer.h",
466 "test/push_properties_counting_layer_impl.cc",
467 "test/push_properties_counting_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24468 "test/render_pass_test_utils.cc",
469 "test/render_pass_test_utils.h",
Xu Xing9339c8f2017-12-25 14:25:26470 "test/resource_provider_test_utils.cc",
471 "test/resource_provider_test_utils.h",
[email protected]d05751a22014-05-29 20:54:24472 "test/scheduler_test_common.cc",
473 "test/scheduler_test_common.h",
474 "test/skia_common.cc",
475 "test/skia_common.h",
476 "test/solid_color_content_layer_client.cc",
477 "test/solid_color_content_layer_client.h",
Khushald880a1512017-07-26 23:48:04478 "test/stub_decode_cache.cc",
479 "test/stub_decode_cache.h",
danakjffc181a2016-07-22 22:48:43480 "test/stub_layer_tree_host_client.cc",
481 "test/stub_layer_tree_host_client.h",
482 "test/stub_layer_tree_host_single_thread_client.cc",
483 "test/stub_layer_tree_host_single_thread_client.h",
ericrk4e3aa5a2015-12-01 03:53:56484 "test/task_graph_runner_test_template.cc",
485 "test/task_graph_runner_test_template.h",
khushalsagar0a226af2015-12-09 10:30:20486 "test/test_hooks.cc",
487 "test/test_hooks.h",
reveman2232bce2014-10-29 01:28:05488 "test/test_image_factory.cc",
489 "test/test_image_factory.h",
satorux457770e2015-02-18 18:33:39490 "test/test_in_process_context_provider.cc",
491 "test/test_in_process_context_provider.h",
vmpstr6edf66ce2016-05-18 20:12:22492 "test/test_layer_tree_host_base.cc",
493 "test/test_layer_tree_host_base.h",
[email protected]d05751a22014-05-29 20:54:24494 "test/test_occlusion_tracker.h",
Khushala8d50642018-05-03 01:29:06495 "test/test_options_provider.cc",
496 "test/test_options_provider.h",
enne59df29de2017-05-02 03:23:37497 "test/test_skcanvas.cc",
498 "test/test_skcanvas.h",
reveman34b7a1522015-03-23 20:27:47499 "test/test_task_graph_runner.cc",
500 "test/test_task_graph_runner.h",
[email protected]d05751a22014-05-29 20:54:24501 "test/test_tile_priorities.cc",
502 "test/test_tile_priorities.h",
prashant.n7c706022016-05-26 19:00:09503 "test/test_tile_task_runner.cc",
504 "test/test_tile_task_runner.h",
Khushal3e96e662017-10-30 23:16:50505 "test/test_ukm_recorder_factory.cc",
506 "test/test_ukm_recorder_factory.h",
Vladimir Levin7273cfe052017-12-13 21:41:41507 "test/transfer_cache_test_helper.cc",
508 "test/transfer_cache_test_helper.h",
[email protected]d05751a22014-05-29 20:54:24509 ]
510
Brett Wilson0380637c2014-09-19 21:24:40511 public_deps = [
512 ":cc",
loyso3dd20892016-11-22 07:11:01513 "//cc/animation",
Brett Wilsone53895272014-09-23 23:41:46514 "//gpu:test_support",
Khushala8d50642018-05-03 01:29:06515 "//testing/gmock",
Brett Wilson0380637c2014-09-19 21:24:40516 ]
[email protected]d05751a22014-05-29 20:54:24517 deps = [
518 "//base",
jamesr16c04ff2014-11-24 22:24:57519 "//base/test:test_support",
[email protected]d05751a22014-05-29 20:54:24520 "//base/third_party/dynamic_annotations",
enne34f6084c2017-02-02 22:39:08521 "//cc/paint",
Khushal3e96e662017-10-30 23:16:50522 "//components/ukm",
523 "//components/ukm:test_support",
danakj7b631be2018-05-25 19:14:20524 "//components/viz/client",
Fady Samuel1d744b22017-07-10 21:23:55525 "//components/viz/common",
danakjc391f332017-07-12 20:45:52526 "//components/viz/service",
527 "//components/viz/test:test_support",
[email protected]d05751a22014-05-29 20:54:24528 "//gpu/command_buffer/client:gles2_implementation",
Antoine Labour011cf772018-01-23 00:38:39529 "//gpu/command_buffer/client:raster",
Antoine Labourfeab2392017-12-21 20:28:39530 "//gpu/command_buffer/common",
fsamuel600b99e2016-11-11 07:50:26531 "//gpu/ipc:gl_in_process_context",
Peng Huang71f313d2018-06-20 14:59:42532 "//gpu/ipc/service",
[email protected]d05751a22014-05-29 20:54:24533 "//gpu/skia_bindings",
jamesr16c04ff2014-11-24 22:24:57534 "//media",
Peng Huang71f313d2018-06-20 14:59:42535 "//services/viz/privileged/interfaces",
[email protected]d05751a22014-05-29 20:54:24536 "//skia",
[email protected]d05751a22014-05-29 20:54:24537 "//testing/gtest",
[email protected]d05751a22014-05-29 20:54:24538 "//ui/gfx",
[email protected]e54a1f522014-07-22 23:26:48539 "//ui/gfx:test_support",
agrieved7a71c882015-11-20 19:53:28540 "//ui/gfx/geometry",
[email protected]d05751a22014-05-29 20:54:24541 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26542 "//ui/gl:test_support",
mfomitchev3ba450ad2017-04-03 18:20:40543 "//ui/latency",
[email protected]d05751a22014-05-29 20:54:24544 ]
agrieve48bd27e2016-06-22 21:04:07545 if (!is_android) {
546 data_deps = [
Alexis Hetu0f218862018-08-13 18:51:42547 "//third_party/mesa_headers",
agrieve48bd27e2016-06-22 21:04:07548 ]
549 }
[email protected]d05751a22014-05-29 20:54:24550}
551
loyso1fe38ba42016-12-01 00:39:08552cc_test("cc_unittests") {
brettw4897a612015-03-02 23:13:15553 sources = [
brettwd649f6b2015-08-18 20:58:51554 "base/delayed_unique_notifier_unittest.cc",
brettw4897a612015-03-02 23:13:15555 "base/float_quad_unittest.cc",
jbroman7b5b0552015-05-28 03:36:58556 "base/histograms_unittest.cc",
prashant.n20ec56f2016-09-22 03:47:32557 "base/index_rect_unittest.cc",
prashant.n7f1fe3d2015-06-05 18:26:04558 "base/list_container_unittest.cc",
brettw4897a612015-03-02 23:13:15559 "base/math_util_unittest.cc",
560 "base/region_unittest.cc",
561 "base/rolling_time_delta_history_unittest.cc",
vmpstrb3ceb8222015-09-23 20:25:25562 "base/rtree_unittest.cc",
brettw4897a612015-03-02 23:13:15563 "base/simple_enclosed_region_unittest.cc",
prashant.n05192792016-09-24 03:38:20564 "base/spiral_iterator_unittest.cc",
brettw4897a612015-03-02 23:13:15565 "base/tiling_data_unittest.cc",
brettwd649f6b2015-08-18 20:58:51566 "base/unique_notifier_unittest.cc",
chrishtr82b5d9502017-03-20 18:25:33567 "benchmarks/micro_benchmark_controller_unittest.cc",
brettwd649f6b2015-08-18 20:58:51568 "debug/rendering_stats_unittest.cc",
mdjones2ee41afd2016-10-27 16:50:20569 "input/browser_controls_offset_manager_unittest.cc",
Xianzhu Wang81f6c4d72018-05-17 19:23:54570 "input/main_thread_scrolling_reason_unittest.cc",
Sandra Sun04ed4562018-01-16 01:49:35571 "input/scroll_snap_data_unittest.cc",
tdresserd9e201472015-07-31 13:15:07572 "input/scroll_state_unittest.cc",
chaopeng59e6fc02017-02-17 23:35:57573 "input/scrollbar_animation_controller_unittest.cc",
chaopeng2c3e1702017-01-27 04:46:02574 "input/single_scrollbar_animation_controller_thinning_unittest.cc",
Sandra Sunaa703712018-05-17 14:47:14575 "input/snap_fling_controller_unittest.cc",
576 "input/snap_fling_curve_unittest.cc",
ajuma956219582017-04-04 19:58:14577 "layers/effect_tree_layer_list_iterator_unittest.cc",
brettw4897a612015-03-02 23:13:15578 "layers/heads_up_display_layer_impl_unittest.cc",
579 "layers/heads_up_display_unittest.cc",
brettw4897a612015-03-02 23:13:15580 "layers/layer_impl_unittest.cc",
vollick44d1c1f2016-03-02 20:59:43581 "layers/layer_list_iterator_unittest.cc",
brettw4897a612015-03-02 23:13:15582 "layers/layer_position_constraint_unittest.cc",
583 "layers/layer_unittest.cc",
danakj83d0eb4f2017-09-19 17:31:58584 "layers/nine_patch_generator_unittest.cc",
brettw4897a612015-03-02 23:13:15585 "layers/nine_patch_layer_impl_unittest.cc",
586 "layers/nine_patch_layer_unittest.cc",
chaopeng6903e8592018-03-01 21:04:35587 "layers/painted_overlay_scrollbar_layer_unittest.cc",
brettw4897a612015-03-02 23:13:15588 "layers/painted_scrollbar_layer_impl_unittest.cc",
ccamerona54da382015-11-27 00:52:33589 "layers/painted_scrollbar_layer_unittest.cc",
brettw4897a612015-03-02 23:13:15590 "layers/picture_image_layer_unittest.cc",
591 "layers/picture_layer_impl_unittest.cc",
592 "layers/picture_layer_unittest.cc",
chrishtrac41ff92017-03-17 05:07:30593 "layers/recording_source_unittest.cc",
brettw4897a612015-03-02 23:13:15594 "layers/render_surface_impl_unittest.cc",
595 "layers/render_surface_unittest.cc",
596 "layers/scrollbar_layer_unittest.cc",
597 "layers/solid_color_layer_impl_unittest.cc",
598 "layers/solid_color_scrollbar_layer_impl_unittest.cc",
599 "layers/surface_layer_impl_unittest.cc",
600 "layers/surface_layer_unittest.cc",
601 "layers/texture_layer_impl_unittest.cc",
602 "layers/texture_layer_unittest.cc",
Hayley Ferr2b14e2a6c2017-07-04 17:34:43603 "layers/touch_action_region_unittest.cc",
brettw4897a612015-03-02 23:13:15604 "layers/ui_resource_layer_impl_unittest.cc",
605 "layers/ui_resource_layer_unittest.cc",
dalecurtisb8396642015-06-09 18:38:14606 "layers/video_frame_provider_client_impl_unittest.cc",
brettw4897a612015-03-02 23:13:15607 "layers/video_layer_impl_unittest.cc",
ymalik99740e852016-04-07 04:18:13608 "layers/viewport_unittest.cc",
danakj7b631be2018-05-25 19:14:20609 "mojo_embedder/async_layer_tree_frame_sink_unittest.cc",
chrishtrac41ff92017-03-17 05:07:30610 "paint/discardable_image_map_unittest.cc",
611 "paint/display_item_list_unittest.cc",
Khushal7865b5be2017-11-22 03:12:06612 "paint/filter_operations_unittest.cc",
Vladimir Levin22d3e0a2017-11-04 01:18:27613 "paint/oop_pixeltest.cc",
Khushal0c568dc2018-03-21 01:46:07614 "paint/paint_filter_unittest.cc",
Khushalb481b282017-08-24 00:06:53615 "paint/paint_image_unittest.cc",
enne59df29de2017-05-02 03:23:37616 "paint/paint_op_buffer_unittest.cc",
Vladimir Levinf737c212017-11-13 21:25:48617 "paint/paint_op_helper_unittest.cc",
Khushal7ae9c792017-10-05 22:26:32618 "paint/paint_shader_unittest.cc",
Florin Malitae32b0b72017-12-08 00:50:24619 "paint/scoped_raster_flags_unittest.cc",
Khushal058b1a92018-02-14 21:25:50620 "paint/skia_paint_canvas_unittest.cc",
Vladimir Levinaee539102017-06-23 16:46:08621 "paint/solid_color_analyzer_unittest.cc",
Eric Karl16711ec2017-11-18 00:58:11622 "paint/transfer_cache_unittest.cc",
Khushald880a1512017-07-26 23:48:04623 "raster/playback_image_provider_unittest.cc",
prashant.nb4d4f492016-04-29 12:51:28624 "raster/raster_buffer_provider_unittest.cc",
chrishtrac41ff92017-03-17 05:07:30625 "raster/raster_source_unittest.cc",
danakj920156852015-05-18 20:22:29626 "raster/scoped_gpu_raster_unittest.cc",
ericrk4e3aa5a2015-12-01 03:53:56627 "raster/single_thread_task_graph_runner_unittest.cc",
Sadrul Habib Chowdhury6b9697f2017-12-08 04:13:43628 "raster/staging_buffer_pool_unittest.cc",
ericrk4e3aa5a2015-12-01 03:53:56629 "raster/synchronous_task_graph_runner_unittest.cc",
ericrk0f9ee9862017-01-23 19:05:39630 "raster/task_graph_work_queue_unittest.cc",
boliucb788f42015-07-22 23:49:28631 "resources/resource_pool_unittest.cc",
brianderson68749812015-07-07 22:39:39632 "scheduler/compositor_timing_history_unittest.cc",
brettw4897a612015-03-02 23:13:15633 "scheduler/scheduler_state_machine_unittest.cc",
634 "scheduler/scheduler_unittest.cc",
635 "test/layer_tree_json_parser_unittest.cc",
khushalsagard3b8827d2017-02-18 18:42:54636 "tiles/checker_image_tracker_unittest.cc",
vmpstra6b30162017-01-12 20:23:03637 "tiles/decoded_image_tracker_unittest.cc",
vmpstr70289fb62016-12-01 02:33:05638 "tiles/gpu_image_decode_cache_unittest.cc",
vmpstre556bda62016-12-02 01:51:40639 "tiles/image_controller_unittest.cc",
ericrkc7ebaa12016-06-09 21:05:55640 "tiles/mipmap_util_unittest.cc",
danakj920156852015-05-18 20:22:29641 "tiles/picture_layer_tiling_set_unittest.cc",
642 "tiles/picture_layer_tiling_unittest.cc",
vmpstr70289fb62016-12-01 02:33:05643 "tiles/software_image_decode_cache_unittest.cc",
Vladimir Levin562da3d2017-12-13 18:14:55644 "tiles/software_image_decode_cache_unittest_combinations.cc",
danakj920156852015-05-18 20:22:29645 "tiles/tile_manager_unittest.cc",
646 "tiles/tile_priority_unittest.cc",
brettw4897a612015-03-02 23:13:15647 "trees/damage_tracker_unittest.cc",
Khushalfdacdc92017-09-22 22:40:52648 "trees/image_animation_controller_unittest.cc",
danakjba65a0912017-09-21 16:38:42649 "trees/layer_tree_frame_sink_unittest.cc",
brettw4897a612015-03-02 23:13:15650 "trees/layer_tree_host_common_unittest.cc",
651 "trees/layer_tree_host_impl_unittest.cc",
652 "trees/layer_tree_host_pixeltest_blending.cc",
653 "trees/layer_tree_host_pixeltest_filters.cc",
654 "trees/layer_tree_host_pixeltest_masks.cc",
655 "trees/layer_tree_host_pixeltest_readback.cc",
danakjd63f8a62016-08-24 03:26:48656 "trees/layer_tree_host_pixeltest_scrollbars.cc",
brettw4897a612015-03-02 23:13:15657 "trees/layer_tree_host_pixeltest_synchronous.cc",
danakje0b54782015-05-29 22:47:52658 "trees/layer_tree_host_pixeltest_tiles.cc",
brettw4897a612015-03-02 23:13:15659 "trees/layer_tree_host_unittest.cc",
660 "trees/layer_tree_host_unittest_animation.cc",
khushalsagar6dc91d02017-02-28 05:10:07661 "trees/layer_tree_host_unittest_checkerimaging.cc",
brettw4897a612015-03-02 23:13:15662 "trees/layer_tree_host_unittest_context.cc",
663 "trees/layer_tree_host_unittest_copyrequest.cc",
664 "trees/layer_tree_host_unittest_damage.cc",
Weiliang Chen73fe3c42018-05-11 19:52:37665 "trees/layer_tree_host_unittest_masks.cc",
brettw4897a612015-03-02 23:13:15666 "trees/layer_tree_host_unittest_occlusion.cc",
667 "trees/layer_tree_host_unittest_picture.cc",
668 "trees/layer_tree_host_unittest_proxy.cc",
khushalsagarb54107d02015-12-10 20:20:56669 "trees/layer_tree_host_unittest_record_gpu_histogram.cc",
brettw4897a612015-03-02 23:13:15670 "trees/layer_tree_host_unittest_scroll.cc",
671 "trees/layer_tree_host_unittest_video.cc",
672 "trees/layer_tree_impl_unittest.cc",
673 "trees/occlusion_tracker_unittest.cc",
674 "trees/occlusion_unittest.cc",
675 "trees/property_tree_unittest.cc",
khushalsagar8297ae992016-09-14 20:51:23676 "trees/swap_promise_manager_unittest.cc",
brettw4897a612015-03-02 23:13:15677 "trees/tree_synchronizer_unittest.cc",
Khushal3e96e662017-10-30 23:16:50678 "trees/ukm_manager_unittest.cc",
[email protected]d05751a22014-05-29 20:54:24679
loyso3dd20892016-11-22 07:11:01680 # Animation test files.
681 "animation/animation_host_unittest.cc",
loyso3dd20892016-11-22 07:11:01682 "animation/animation_timeline_unittest.cc",
Yi Gu852bebe632018-03-02 15:15:32683 "animation/animation_unittest.cc",
loyso3dd20892016-11-22 07:11:01684 "animation/element_animations_unittest.cc",
Yi Gu0c76aeb2018-02-16 19:27:59685 "animation/keyframe_model_unittest.cc",
loyso3dd20892016-11-22 07:11:01686 "animation/keyframed_animation_curve_unittest.cc",
687 "animation/scroll_offset_animation_curve_unittest.cc",
Stephen McGruerbd494792017-11-13 18:16:49688 "animation/scroll_timeline_unittest.cc",
loyso3dd20892016-11-22 07:11:01689 "animation/transform_operations_unittest.cc",
Yi Guaa830ff2018-02-22 03:09:11690 "animation/worklet_animation_unittest.cc",
[email protected]d05751a22014-05-29 20:54:24691
brettw4897a612015-03-02 23:13:15692 # Setup.
693 "test/cc_test_suite.cc",
thakisb8590c92017-03-23 18:14:53694 "test/cc_test_suite.h",
brettw4897a612015-03-02 23:13:15695 "test/run_all_unittests.cc",
696 ]
[email protected]d05751a22014-05-29 20:54:24697
agrievee41ae190d2016-04-25 14:12:51698 if (!is_android) {
699 data = [
danakjc391f332017-07-12 20:45:52700 "//components/viz/test/data/",
agrievee41ae190d2016-04-25 14:12:51701 ]
702 }
dpranke177c1e22015-07-22 23:07:43703
Vladimir Levin562da3d2017-12-13 18:14:55704 if (is_win) {
705 # TODO(vmpstr): Some SoftwareImageDecodeCacheTests use virtual inheritance,
706 # which MSVC doesn't like. Suppress "Foo inherits Bar via dominance"
707 # warnings for now.
708 cflags = [ "/wd4250" ]
709 }
710
khushalsagar54203a192017-01-20 21:05:57711 # TODO(khushalsagar): Remove once crbug.com/683263 is fixed.
712 configs = [ "//build/config/compiler:no_size_t_to_int_warning" ]
713
brettw4897a612015-03-02 23:13:15714 deps = [
715 ":cc",
716 ":test_support",
717 "//base/test:test_support",
danakj7b631be2018-05-25 19:14:20718 "//cc/mojo_embedder",
enne34f6084c2017-02-02 22:39:08719 "//cc/paint",
Khushal3e96e662017-10-30 23:16:50720 "//components/ukm:test_support",
danakj7b631be2018-05-25 19:14:20721 "//components/viz/client",
Fady Samuel555c8d12017-07-07 23:14:09722 "//components/viz/common",
danakjc391f332017-07-12 20:45:52723 "//components/viz/service",
724 "//components/viz/test:test_support",
brettw4897a612015-03-02 23:13:15725 "//gpu",
726 "//gpu:test_support",
Vladimir Levin22d3e0a2017-11-04 01:18:27727 "//gpu/command_buffer/client:gles2_implementation",
brettw4897a612015-03-02 23:13:15728 "//gpu/command_buffer/client:gles2_interface",
Antoine Labour011cf772018-01-23 00:38:39729 "//gpu/command_buffer/client:raster",
Victor Miura3a4ad4f82017-12-13 06:03:45730 "//gpu/command_buffer/client:raster_interface",
Vladimir Levin22d3e0a2017-11-04 01:18:27731 "//gpu/ipc:gl_in_process_context",
Adrienne Walker46704412017-11-09 18:42:44732 "//gpu/skia_bindings",
brettw4897a612015-03-02 23:13:15733 "//media",
Ken Rockotf03d97c952018-07-04 22:08:10734 "//mojo/core/embedder",
fsamuel410c9602016-05-31 21:50:20735 "//mojo/public/cpp/bindings",
brettw4897a612015-03-02 23:13:15736 "//testing/gmock",
737 "//testing/gtest",
Nico Weber9d6e12942016-04-19 18:51:09738 "//ui/events:events_base",
brettw4897a612015-03-02 23:13:15739 "//ui/gfx",
brettw4897a612015-03-02 23:13:15740 "//ui/gfx:test_support",
agrieved7a71c882015-11-20 19:53:28741 "//ui/gfx/geometry",
brettw4897a612015-03-02 23:13:15742 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26743 "//ui/gl:test_support",
brettw4897a612015-03-02 23:13:15744 ]
vmpstr9116a70f2015-10-14 23:48:34745 data_deps = [
Alexis Hetu0f218862018-08-13 18:51:42746 "//third_party/mesa_headers",
vmpstr9116a70f2015-10-14 23:48:34747 ]
[email protected]d05751a22014-05-29 20:54:24748}
749
loyso1fe38ba42016-12-01 00:39:08750cc_test("cc_perftests") {
[email protected]6e44c302014-07-22 21:51:37751 sources = [
loysoa4a59a42016-02-10 06:49:26752 "animation/animation_host_perftest.cc",
vmpstr0d694522016-12-14 23:37:19753 "base/rtree_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37754 "layers/layer_perftest.cc",
755 "layers/picture_layer_impl_perftest.cc",
Adrienne Walkereeb00f72017-11-29 22:04:59756 "paint/paint_op_perftest.cc",
prashant.nb4d4f492016-04-29 12:51:28757 "raster/raster_buffer_provider_perftest.cc",
danakj920156852015-05-18 20:22:29758 "raster/task_graph_runner_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37759 "test/cc_test_suite.cc",
thakisb8590c92017-03-23 18:14:53760 "test/cc_test_suite.h",
[email protected]6e44c302014-07-22 21:51:37761 "test/run_all_perftests.cc",
Eric Karl4c5bf9d2018-07-13 08:26:44762 "tiles/gpu_image_decode_cache_perftest.cc",
vmpstr13778fb2017-02-02 23:44:00763 "tiles/software_image_decode_cache_perftest.cc",
danakj920156852015-05-18 20:22:29764 "tiles/tile_manager_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37765 "trees/layer_tree_host_common_perftest.cc",
766 "trees/layer_tree_host_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37767 ]
[email protected]d05751a22014-05-29 20:54:24768
[email protected]6e44c302014-07-22 21:51:37769 deps = [
770 ":cc",
771 ":test_support",
772 "//base",
jamesr16c04ff2014-11-24 22:24:57773 "//base/test:test_support",
chrishtrac41ff92017-03-17 05:07:30774 "//cc/paint",
danakj57baa772018-05-29 15:59:14775 "//components/viz/client",
Fady Samueldbd4b022017-07-14 02:06:48776 "//components/viz/common",
danakjc391f332017-07-12 20:45:52777 "//components/viz/test:test_support",
[email protected]6e44c302014-07-22 21:51:37778 "//gpu",
[email protected]c7990dbf2014-07-23 22:35:10779 "//gpu:test_support",
Victor Miura3a4ad4f82017-12-13 06:03:45780 "//gpu/command_buffer/client:gles2_implementation",
Antoine Labour011cf772018-01-23 00:38:39781 "//gpu/command_buffer/client:raster",
Eric Karl4c5bf9d2018-07-13 08:26:44782 "//gpu/command_buffer/client:raster_interface",
Adrienne Walkerc87477e2018-06-06 22:28:21783 "//gpu/ipc:gl_in_process_context",
Ken Rockotdb79117e2018-01-17 20:36:08784 "//gpu/ipc/common:struct_traits",
[email protected]6e44c302014-07-22 21:51:37785 "//media",
Ken Rockotf03d97c952018-07-04 22:08:10786 "//mojo/core/embedder",
fsamuelbb47aac2016-07-08 01:05:53787 "//mojo/public/cpp/bindings",
Saman Sami1f34578b2017-08-28 18:31:56788 "//services/viz/public/interfaces",
[email protected]6e44c302014-07-22 21:51:37789 "//skia",
790 "//testing/gmock",
791 "//testing/gtest",
792 "//testing/perf",
793 "//ui/gfx",
794 "//ui/gfx/geometry",
jamesr16c04ff2014-11-24 22:24:57795 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26796 "//ui/gl:test_support",
[email protected]6e44c302014-07-22 21:51:37797 ]
krasinca63e412016-05-12 02:53:25798
799 # This target should not require the Chrome executable to run.
800 assert_no_deps = [ "//chrome" ]
jbudorickbdd15902016-09-15 21:05:42801
802 data = [
John Budorick7a1c25b2017-07-19 00:04:07803 "//components/viz/test/data/",
Emily Hanleyea23f352018-05-31 19:33:33804 ]
eyaich7c79b912016-10-29 00:39:25805
Emily Hanleyea23f352018-05-31 19:33:33806 data_deps = [
eyaich7c79b912016-10-29 00:39:25807 # Needed for isolate script to execute.
Emily Hanleyea23f352018-05-31 19:33:33808 "//testing:run_perf_test",
jbudorickbdd15902016-09-15 21:05:42809 ]
[email protected]6e44c302014-07-22 21:51:37810}