blob: 9a6e1f3a8c19184d1bbfb8f70e0673ee577ab4c8 [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",
[email protected]d05751a22014-05-29 20:54:24145 "output/overlay_candidate.cc",
146 "output/overlay_candidate.h",
prashant.nb4d4f492016-04-29 12:51:28147 "raster/bitmap_raster_buffer_provider.cc",
148 "raster/bitmap_raster_buffer_provider.h",
149 "raster/gpu_raster_buffer_provider.cc",
150 "raster/gpu_raster_buffer_provider.h",
prashant.nb4d4f492016-04-29 12:51:28151 "raster/one_copy_raster_buffer_provider.cc",
152 "raster/one_copy_raster_buffer_provider.h",
Khushald880a1512017-07-26 23:48:04153 "raster/playback_image_provider.cc",
154 "raster/playback_image_provider.h",
danakj920156852015-05-18 20:22:29155 "raster/raster_buffer.cc",
156 "raster/raster_buffer.h",
prashant.nb4d4f492016-04-29 12:51:28157 "raster/raster_buffer_provider.cc",
158 "raster/raster_buffer_provider.h",
chrishtrac41ff92017-03-17 05:07:30159 "raster/raster_source.cc",
160 "raster/raster_source.h",
danakj920156852015-05-18 20:22:29161 "raster/scoped_gpu_raster.cc",
162 "raster/scoped_gpu_raster.h",
ericrk4e3aa5a2015-12-01 03:53:56163 "raster/single_thread_task_graph_runner.cc",
164 "raster/single_thread_task_graph_runner.h",
prashant.na9dd9ef2016-04-08 19:57:10165 "raster/staging_buffer_pool.cc",
166 "raster/staging_buffer_pool.h",
ericrk4e3aa5a2015-12-01 03:53:56167 "raster/synchronous_task_graph_runner.cc",
168 "raster/synchronous_task_graph_runner.h",
prashant.n49b3e64652016-04-19 07:04:49169 "raster/task.cc",
170 "raster/task.h",
ericrk374dee72016-01-13 03:38:05171 "raster/task_category.h",
danakj920156852015-05-18 20:22:29172 "raster/task_graph_runner.h",
ericrk4e3aa5a2015-12-01 03:53:56173 "raster/task_graph_work_queue.cc",
174 "raster/task_graph_work_queue.h",
danakj920156852015-05-18 20:22:29175 "raster/texture_compressor.cc",
176 "raster/texture_compressor.h",
177 "raster/texture_compressor_etc1.cc",
178 "raster/texture_compressor_etc1.h",
prashant.n6cb1bb82016-04-20 05:15:58179 "raster/tile_task.cc",
180 "raster/tile_task.h",
prashant.nb4d4f492016-04-29 12:51:28181 "raster/zero_copy_raster_buffer_provider.cc",
182 "raster/zero_copy_raster_buffer_provider.h",
danakj92d63892018-03-29 23:43:28183 "resources/cross_thread_shared_bitmap.cc",
184 "resources/cross_thread_shared_bitmap.h",
Xu Xingb57edf32017-08-22 04:18:47185 "resources/display_resource_provider.cc",
186 "resources/display_resource_provider.h",
187 "resources/layer_tree_resource_provider.cc",
188 "resources/layer_tree_resource_provider.h",
[email protected]d05751a22014-05-29 20:54:24189 "resources/memory_history.cc",
190 "resources/memory_history.h",
reveman423e7da2014-09-23 16:57:44191 "resources/resource.h",
[email protected]d05751a22014-05-29 20:54:24192 "resources/resource_pool.cc",
193 "resources/resource_pool.h",
194 "resources/resource_provider.cc",
195 "resources/resource_provider.h",
[email protected]d05751a22014-05-29 20:54:24196 "resources/scoped_ui_resource.cc",
197 "resources/scoped_ui_resource.h",
danakj92d63892018-03-29 23:43:28198 "resources/shared_bitmap_id_registrar.cc",
199 "resources/shared_bitmap_id_registrar.h",
[email protected]d05751a22014-05-29 20:54:24200 "resources/ui_resource_bitmap.cc",
201 "resources/ui_resource_bitmap.h",
202 "resources/ui_resource_client.h",
khushalsagar8ec07402016-09-10 03:13:19203 "resources/ui_resource_manager.cc",
204 "resources/ui_resource_manager.h",
[email protected]d05751a22014-05-29 20:54:24205 "resources/ui_resource_request.cc",
206 "resources/ui_resource_request.h",
207 "resources/video_resource_updater.cc",
208 "resources/video_resource_updater.h",
mithro0bdb49d2015-05-27 13:08:01209 "scheduler/begin_frame_tracker.cc",
210 "scheduler/begin_frame_tracker.h",
mithrof7a21502014-12-17 03:24:48211 "scheduler/commit_earlyout_reason.h",
briandersonc9f50352015-06-24 03:38:58212 "scheduler/compositor_timing_history.cc",
213 "scheduler/compositor_timing_history.h",
[email protected]d05751a22014-05-29 20:54:24214 "scheduler/draw_result.h",
215 "scheduler/scheduler.cc",
216 "scheduler/scheduler.h",
217 "scheduler/scheduler_settings.cc",
218 "scheduler/scheduler_settings.h",
219 "scheduler/scheduler_state_machine.cc",
220 "scheduler/scheduler_state_machine.h",
sunnyps7d073dc2015-04-16 23:29:12221 "scheduler/video_frame_controller.h",
khushalsagard3b8827d2017-02-18 18:42:54222 "tiles/checker_image_tracker.cc",
223 "tiles/checker_image_tracker.h",
vmpstra6b30162017-01-12 20:23:03224 "tiles/decoded_image_tracker.cc",
225 "tiles/decoded_image_tracker.h",
danakj920156852015-05-18 20:22:29226 "tiles/eviction_tile_priority_queue.cc",
227 "tiles/eviction_tile_priority_queue.h",
chrishtr82b5d9502017-03-20 18:25:33228 "tiles/frame_viewer_instrumentation.cc",
229 "tiles/frame_viewer_instrumentation.h",
vmpstr70289fb62016-12-01 02:33:05230 "tiles/gpu_image_decode_cache.cc",
231 "tiles/gpu_image_decode_cache.h",
vmpstre556bda62016-12-02 01:51:40232 "tiles/image_controller.cc",
233 "tiles/image_controller.h",
Khushal9e40c592017-07-17 20:22:13234 "tiles/image_decode_cache.cc",
vmpstr70289fb62016-12-01 02:33:05235 "tiles/image_decode_cache.h",
ericrkc7ebaa12016-06-09 21:05:55236 "tiles/mipmap_util.cc",
237 "tiles/mipmap_util.h",
danakj920156852015-05-18 20:22:29238 "tiles/picture_layer_tiling.cc",
239 "tiles/picture_layer_tiling.h",
240 "tiles/picture_layer_tiling_set.cc",
241 "tiles/picture_layer_tiling_set.h",
242 "tiles/prioritized_tile.cc",
243 "tiles/prioritized_tile.h",
244 "tiles/raster_tile_priority_queue.cc",
245 "tiles/raster_tile_priority_queue.h",
246 "tiles/raster_tile_priority_queue_all.cc",
247 "tiles/raster_tile_priority_queue_all.h",
248 "tiles/raster_tile_priority_queue_required.cc",
249 "tiles/raster_tile_priority_queue_required.h",
vmpstr70289fb62016-12-01 02:33:05250 "tiles/software_image_decode_cache.cc",
251 "tiles/software_image_decode_cache.h",
Vladimir Levin0342a7912018-01-03 19:12:55252 "tiles/software_image_decode_cache_utils.cc",
253 "tiles/software_image_decode_cache_utils.h",
danakj920156852015-05-18 20:22:29254 "tiles/tile.cc",
255 "tiles/tile.h",
256 "tiles/tile_draw_info.cc",
257 "tiles/tile_draw_info.h",
258 "tiles/tile_manager.cc",
259 "tiles/tile_manager.h",
khushalsagard3b8827d2017-02-18 18:42:54260 "tiles/tile_manager_settings.h",
danakj920156852015-05-18 20:22:29261 "tiles/tile_priority.cc",
262 "tiles/tile_priority.h",
prashant.nb4d4f492016-04-29 12:51:28263 "tiles/tile_task_manager.cc",
264 "tiles/tile_task_manager.h",
danakj920156852015-05-18 20:22:29265 "tiles/tiling_set_eviction_queue.cc",
266 "tiles/tiling_set_eviction_queue.h",
267 "tiles/tiling_set_raster_queue_all.cc",
268 "tiles/tiling_set_raster_queue_all.h",
269 "tiles/tiling_set_raster_queue_required.cc",
270 "tiles/tiling_set_raster_queue_required.h",
ajumae947a352017-01-10 19:17:49271 "trees/clip_expander.cc",
272 "trees/clip_expander.h",
trchendba8b1502016-07-08 09:47:01273 "trees/clip_node.cc",
274 "trees/clip_node.h",
khushalsagar19458bd2015-12-08 02:19:01275 "trees/compositor_mode.h",
[email protected]d05751a22014-05-29 20:54:24276 "trees/damage_tracker.cc",
277 "trees/damage_tracker.h",
chrishtr82b5d9502017-03-20 18:25:33278 "trees/debug_rect_history.cc",
279 "trees/debug_rect_history.h",
vollick51ed1a22014-12-17 02:03:00280 "trees/draw_property_utils.cc",
281 "trees/draw_property_utils.h",
trchendba8b1502016-07-08 09:47:01282 "trees/effect_node.cc",
283 "trees/effect_node.h",
loyso290a27a2016-11-15 01:47:10284 "trees/element_id.cc",
285 "trees/element_id.h",
chrishtr82b5d9502017-03-20 18:25:33286 "trees/frame_rate_counter.cc",
287 "trees/frame_rate_counter.h",
jonross7244a4a2018-03-08 19:05:35288 "trees/frame_token_allocator.cc",
289 "trees/frame_token_allocator.h",
Khushalfdacdc92017-09-22 22:40:52290 "trees/image_animation_controller.cc",
291 "trees/image_animation_controller.h",
danakjba65a0912017-09-21 16:38:42292 "trees/latency_info_swap_promise.cc",
293 "trees/latency_info_swap_promise.h",
jamesrf313a212015-03-16 21:27:37294 "trees/latency_info_swap_promise_monitor.cc",
295 "trees/latency_info_swap_promise_monitor.h",
danakjba65a0912017-09-21 16:38:42296 "trees/layer_tree_frame_sink.cc",
297 "trees/layer_tree_frame_sink.h",
298 "trees/layer_tree_frame_sink_client.h",
khushalsagare0e4486e2017-01-25 03:15:03299 "trees/layer_tree_host.cc",
[email protected]d05751a22014-05-29 20:54:24300 "trees/layer_tree_host.h",
301 "trees/layer_tree_host_client.h",
302 "trees/layer_tree_host_common.cc",
303 "trees/layer_tree_host_common.h",
304 "trees/layer_tree_host_impl.cc",
305 "trees/layer_tree_host_impl.h",
ccameron00e438cd2015-03-12 06:18:14306 "trees/layer_tree_host_single_thread_client.h",
[email protected]d05751a22014-05-29 20:54:24307 "trees/layer_tree_impl.cc",
308 "trees/layer_tree_impl.h",
Majid Valipoure9855f72017-10-20 02:08:58309 "trees/layer_tree_mutator.cc",
loyso720c7c552016-11-10 23:16:39310 "trees/layer_tree_mutator.h",
[email protected]d05751a22014-05-29 20:54:24311 "trees/layer_tree_settings.cc",
312 "trees/layer_tree_settings.h",
danakjba65a0912017-09-21 16:38:42313 "trees/managed_memory_policy.cc",
314 "trees/managed_memory_policy.h",
loyso6d6356e2016-11-02 23:41:08315 "trees/mutator_host.h",
loysobb93befc2015-07-03 00:19:50316 "trees/mutator_host_client.h",
vmpstrcdcb5f72014-09-11 00:58:37317 "trees/occlusion.cc",
318 "trees/occlusion.h",
[email protected]d05751a22014-05-29 20:54:24319 "trees/occlusion_tracker.cc",
320 "trees/occlusion_tracker.h",
loysoab298a032016-11-15 23:42:43321 "trees/property_animation_state.cc",
322 "trees/property_animation_state.h",
vollick51ed1a22014-12-17 02:03:00323 "trees/property_tree.cc",
324 "trees/property_tree.h",
325 "trees/property_tree_builder.cc",
326 "trees/property_tree_builder.h",
[email protected]d05751a22014-05-29 20:54:24327 "trees/proxy.h",
khushalsagare3c9fa92015-10-28 02:08:29328 "trees/proxy_common.cc",
329 "trees/proxy_common.h",
khushalsagar0a226af2015-12-09 10:30:20330 "trees/proxy_impl.cc",
khushalsagar5d6eb982015-09-25 22:44:56331 "trees/proxy_impl.h",
khushalsagar0a226af2015-12-09 10:30:20332 "trees/proxy_main.cc",
khushalsagar5d6eb982015-09-25 22:44:56333 "trees/proxy_main.h",
Jonathan89a3da22018-01-12 16:41:20334 "trees/render_frame_metadata.cc",
335 "trees/render_frame_metadata.h",
jonrossa2ff4f82018-02-16 17:27:46336 "trees/render_frame_metadata_observer.h",
[email protected]aeeedad2014-08-22 18:16:22337 "trees/scoped_abort_remaining_swap_promises.h",
trchendba8b1502016-07-08 09:47:01338 "trees/scroll_node.cc",
339 "trees/scroll_node.h",
[email protected]d05751a22014-05-29 20:54:24340 "trees/single_thread_proxy.cc",
341 "trees/single_thread_proxy.h",
danakjba65a0912017-09-21 16:38:42342 "trees/swap_promise.h",
khushalsagar8297ae992016-09-14 20:51:23343 "trees/swap_promise_manager.cc",
344 "trees/swap_promise_manager.h",
jamesrf313a212015-03-16 21:27:37345 "trees/swap_promise_monitor.cc",
346 "trees/swap_promise_monitor.h",
Ian Vollicka35501fa2017-10-16 19:32:21347 "trees/target_property.cc",
loysoab298a032016-11-15 23:42:43348 "trees/target_property.h",
khushalsagarb64b360d2015-10-21 19:25:16349 "trees/task_runner_provider.cc",
350 "trees/task_runner_provider.h",
trchendba8b1502016-07-08 09:47:01351 "trees/transform_node.cc",
352 "trees/transform_node.h",
[email protected]d05751a22014-05-29 20:54:24353 "trees/tree_synchronizer.cc",
354 "trees/tree_synchronizer.h",
Khushal3e96e662017-10-30 23:16:50355 "trees/ukm_manager.cc",
356 "trees/ukm_manager.h",
[email protected]d05751a22014-05-29 20:54:24357 ]
358
agrieveefcd0222016-06-08 15:48:19359 if (current_cpu == "x86" || current_cpu == "x64") {
thakis4a0c5482015-06-08 20:51:29360 sources += [
361 "raster/texture_compressor_etc1_sse.cc",
362 "raster/texture_compressor_etc1_sse.h",
363 ]
364 }
365
khushalsagar54203a192017-01-20 21:05:57366 # TODO(khushalsagar): Remove once crbug.com/683263 is fixed.
367 configs = [ "//build/config/compiler:no_size_t_to_int_warning" ]
368
Brett Wilsone53895272014-09-23 23:41:46369 public_deps = [
jamesrf313a212015-03-16 21:27:37370 "//cc/base",
Khushal7865b5be2017-11-22 03:12:06371 "//cc/paint",
Fady Samuel555c8d12017-07-07 23:14:09372 "//components/viz/common",
Brett Wilsone53895272014-09-23 23:41:46373 "//skia",
374 ]
[email protected]d05751a22014-05-29 20:54:24375 deps = [
376 "//base",
377 "//base/third_party/dynamic_annotations",
Khushal3e96e662017-10-30 23:16:50378 "//components/ukm",
Fady Samueldbd4b022017-07-14 02:06:48379 "//components/viz/common",
[email protected]d05751a22014-05-29 20:54:24380 "//gpu",
jbromancba3d2fe2014-09-16 01:04:24381 "//gpu/command_buffer/client:gles2_interface",
Victor Miura3a4ad4f82017-12-13 06:03:45382 "//gpu/command_buffer/client:raster_interface",
fsamueledc0c2c2016-11-18 22:28:04383 "//gpu/ipc:gl_in_process_context",
384 "//gpu/skia_bindings:skia_bindings",
Scott Violeta35f9a42018-03-22 22:00:44385 "//gpu/vulkan:buildflags",
[email protected]6e44c302014-07-22 21:51:37386 "//media",
samansbf8eacc2017-01-27 22:59:25387 "//mojo/public/cpp/bindings:struct_traits",
Khushal3e96e662017-10-30 23:16:50388 "//services/metrics/public/cpp:ukm_builders",
hubbedc658032016-10-04 01:34:59389 "//third_party/libyuv",
Nico Weber9d6e12942016-04-19 18:51:09390 "//ui/events:events_base",
[email protected]d05751a22014-05-29 20:54:24391 "//ui/gfx",
392 "//ui/gfx/geometry",
ericrkf08855b42015-08-06 00:20:22393 "//ui/gl",
mfomitchev3ba450ad2017-04-03 18:20:40394 "//ui/latency",
[email protected]d05751a22014-05-29 20:54:24395 ]
[email protected]d05751a22014-05-29 20:54:24396
[email protected]3ffa36a2014-07-24 21:01:50397 defines = [ "CC_IMPLEMENTATION=1" ]
[email protected]d05751a22014-05-29 20:54:24398}
399
loyso1fe38ba42016-12-01 00:39:08400cc_static_library("test_support") {
Brett Wilson8f80ad0b2014-09-08 19:50:24401 testonly = true
[email protected]d05751a22014-05-29 20:54:24402 sources = [
403 "test/animation_test_common.cc",
404 "test/animation_test_common.h",
loysobb93befc2015-07-03 00:19:50405 "test/animation_timelines_test_common.cc",
406 "test/animation_timelines_test_common.h",
[email protected]d05751a22014-05-29 20:54:24407 "test/fake_content_layer_client.cc",
408 "test/fake_content_layer_client.h",
khushalsagarb64b360d2015-10-21 19:25:16409 "test/fake_impl_task_runner_provider.h",
danakjc7afae52017-06-20 21:12:41410 "test/fake_layer_tree_frame_sink.cc",
411 "test/fake_layer_tree_frame_sink.h",
412 "test/fake_layer_tree_frame_sink_client.cc",
413 "test/fake_layer_tree_frame_sink_client.h",
[email protected]d05751a22014-05-29 20:54:24414 "test/fake_layer_tree_host.cc",
415 "test/fake_layer_tree_host.h",
416 "test/fake_layer_tree_host_client.cc",
417 "test/fake_layer_tree_host_client.h",
418 "test/fake_layer_tree_host_impl.cc",
419 "test/fake_layer_tree_host_impl.h",
420 "test/fake_layer_tree_host_impl_client.cc",
421 "test/fake_layer_tree_host_impl_client.h",
ajumad9432e32015-11-30 19:43:44422 "test/fake_mask_layer_impl.cc",
423 "test/fake_mask_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24424 "test/fake_output_surface_client.cc",
425 "test/fake_output_surface_client.h",
Khushalfdacdc92017-09-22 22:40:52426 "test/fake_paint_image_generator.cc",
427 "test/fake_paint_image_generator.h",
[email protected]d05751a22014-05-29 20:54:24428 "test/fake_painted_scrollbar_layer.cc",
429 "test/fake_painted_scrollbar_layer.h",
430 "test/fake_picture_layer.cc",
431 "test/fake_picture_layer.h",
432 "test/fake_picture_layer_impl.cc",
433 "test/fake_picture_layer_impl.h",
434 "test/fake_picture_layer_tiling_client.cc",
435 "test/fake_picture_layer_tiling_client.h",
[email protected]d05751a22014-05-29 20:54:24436 "test/fake_proxy.cc",
437 "test/fake_proxy.h",
prashant.nb4d4f492016-04-29 12:51:28438 "test/fake_raster_buffer_provider.cc",
439 "test/fake_raster_buffer_provider.h",
vmpstr41d68f882016-03-30 01:20:23440 "test/fake_raster_source.cc",
441 "test/fake_raster_source.h",
vmpstre17fd212016-03-30 20:03:32442 "test/fake_recording_source.cc",
443 "test/fake_recording_source.h",
[email protected]d05751a22014-05-29 20:54:24444 "test/fake_rendering_stats_instrumentation.h",
danakj61bf05f2015-05-26 23:28:56445 "test/fake_resource_provider.h",
[email protected]d05751a22014-05-29 20:54:24446 "test/fake_scoped_ui_resource.cc",
447 "test/fake_scoped_ui_resource.h",
448 "test/fake_scrollbar.cc",
449 "test/fake_scrollbar.h",
450 "test/fake_tile_manager.cc",
451 "test/fake_tile_manager.h",
452 "test/fake_tile_manager_client.cc",
453 "test/fake_tile_manager_client.h",
prashant.nb4d4f492016-04-29 12:51:28454 "test/fake_tile_task_manager.cc",
455 "test/fake_tile_task_manager.h",
[email protected]d05751a22014-05-29 20:54:24456 "test/fake_ui_resource_layer_tree_host_impl.cc",
457 "test/fake_ui_resource_layer_tree_host_impl.h",
458 "test/fake_video_frame_provider.cc",
459 "test/fake_video_frame_provider.h",
460 "test/geometry_test_utils.cc",
461 "test/geometry_test_utils.h",
[email protected]d05751a22014-05-29 20:54:24462 "test/layer_test_common.cc",
463 "test/layer_test_common.h",
[email protected]d05751a22014-05-29 20:54:24464 "test/layer_tree_json_parser.cc",
465 "test/layer_tree_json_parser.h",
enne03dbe8ae2014-10-30 01:32:55466 "test/layer_tree_pixel_resource_test.cc",
467 "test/layer_tree_pixel_resource_test.h",
[email protected]d05751a22014-05-29 20:54:24468 "test/layer_tree_pixel_test.cc",
469 "test/layer_tree_pixel_test.h",
470 "test/layer_tree_test.cc",
471 "test/layer_tree_test.h",
Francois Doray9e4f0f32017-09-20 00:01:53472 "test/mock_layer_client.cc",
473 "test/mock_layer_client.h",
Majid Valipoure9855f72017-10-20 02:08:58474 "test/mock_layer_tree_mutator.cc",
475 "test/mock_layer_tree_mutator.h",
[email protected]ba16cce2014-06-17 17:03:50476 "test/mock_occlusion_tracker.h",
Vladimir Levinf737c212017-11-13 21:25:48477 "test/paint_op_helper.h",
[email protected]d05751a22014-05-29 20:54:24478 "test/pixel_comparator.cc",
479 "test/pixel_comparator.h",
480 "test/pixel_test.cc",
481 "test/pixel_test.h",
482 "test/pixel_test_output_surface.cc",
483 "test/pixel_test_output_surface.h",
[email protected]d05751a22014-05-29 20:54:24484 "test/pixel_test_utils.cc",
485 "test/pixel_test_utils.h",
xingliu3c9b4cc2016-11-02 20:52:55486 "test/push_properties_counting_layer.cc",
487 "test/push_properties_counting_layer.h",
488 "test/push_properties_counting_layer_impl.cc",
489 "test/push_properties_counting_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24490 "test/render_pass_test_utils.cc",
491 "test/render_pass_test_utils.h",
Xu Xing9339c8f2017-12-25 14:25:26492 "test/resource_provider_test_utils.cc",
493 "test/resource_provider_test_utils.h",
[email protected]d05751a22014-05-29 20:54:24494 "test/scheduler_test_common.cc",
495 "test/scheduler_test_common.h",
496 "test/skia_common.cc",
497 "test/skia_common.h",
498 "test/solid_color_content_layer_client.cc",
499 "test/solid_color_content_layer_client.h",
Khushald880a1512017-07-26 23:48:04500 "test/stub_decode_cache.cc",
501 "test/stub_decode_cache.h",
danakjffc181a2016-07-22 22:48:43502 "test/stub_layer_tree_host_client.cc",
503 "test/stub_layer_tree_host_client.h",
504 "test/stub_layer_tree_host_single_thread_client.cc",
505 "test/stub_layer_tree_host_single_thread_client.h",
ericrk4e3aa5a2015-12-01 03:53:56506 "test/task_graph_runner_test_template.cc",
507 "test/task_graph_runner_test_template.h",
khushalsagar0a226af2015-12-09 10:30:20508 "test/test_hooks.cc",
509 "test/test_hooks.h",
reveman2232bce2014-10-29 01:28:05510 "test/test_image_factory.cc",
511 "test/test_image_factory.h",
satorux457770e2015-02-18 18:33:39512 "test/test_in_process_context_provider.cc",
513 "test/test_in_process_context_provider.h",
vmpstr6edf66ce2016-05-18 20:12:22514 "test/test_layer_tree_host_base.cc",
515 "test/test_layer_tree_host_base.h",
[email protected]d05751a22014-05-29 20:54:24516 "test/test_occlusion_tracker.h",
Khushala8d50642018-05-03 01:29:06517 "test/test_options_provider.cc",
518 "test/test_options_provider.h",
enne59df29de2017-05-02 03:23:37519 "test/test_skcanvas.cc",
520 "test/test_skcanvas.h",
reveman34b7a1522015-03-23 20:27:47521 "test/test_task_graph_runner.cc",
522 "test/test_task_graph_runner.h",
[email protected]d05751a22014-05-29 20:54:24523 "test/test_tile_priorities.cc",
524 "test/test_tile_priorities.h",
prashant.n7c706022016-05-26 19:00:09525 "test/test_tile_task_runner.cc",
526 "test/test_tile_task_runner.h",
Khushal3e96e662017-10-30 23:16:50527 "test/test_ukm_recorder_factory.cc",
528 "test/test_ukm_recorder_factory.h",
Vladimir Levin7273cfe052017-12-13 21:41:41529 "test/transfer_cache_test_helper.cc",
530 "test/transfer_cache_test_helper.h",
[email protected]d05751a22014-05-29 20:54:24531 ]
532
Brett Wilson0380637c2014-09-19 21:24:40533 public_deps = [
534 ":cc",
loyso3dd20892016-11-22 07:11:01535 "//cc/animation",
Brett Wilsone53895272014-09-23 23:41:46536 "//gpu:test_support",
Khushala8d50642018-05-03 01:29:06537 "//testing/gmock",
Brett Wilson0380637c2014-09-19 21:24:40538 ]
[email protected]d05751a22014-05-29 20:54:24539 deps = [
540 "//base",
jamesr16c04ff2014-11-24 22:24:57541 "//base/test:test_support",
[email protected]d05751a22014-05-29 20:54:24542 "//base/third_party/dynamic_annotations",
enne34f6084c2017-02-02 22:39:08543 "//cc/paint",
Khushal3e96e662017-10-30 23:16:50544 "//components/ukm",
545 "//components/ukm:test_support",
Fady Samuel1d744b22017-07-10 21:23:55546 "//components/viz/common",
danakjc391f332017-07-12 20:45:52547 "//components/viz/service",
548 "//components/viz/test:test_support",
[email protected]d05751a22014-05-29 20:54:24549 "//gpu/command_buffer/client:gles2_implementation",
Antoine Labour011cf772018-01-23 00:38:39550 "//gpu/command_buffer/client:raster",
Antoine Labourfeab2392017-12-21 20:28:39551 "//gpu/command_buffer/common",
fsamuel600b99e2016-11-11 07:50:26552 "//gpu/ipc:gl_in_process_context",
[email protected]d05751a22014-05-29 20:54:24553 "//gpu/skia_bindings",
jamesr16c04ff2014-11-24 22:24:57554 "//media",
[email protected]d05751a22014-05-29 20:54:24555 "//skia",
[email protected]d05751a22014-05-29 20:54:24556 "//testing/gtest",
[email protected]d05751a22014-05-29 20:54:24557 "//ui/gfx",
[email protected]e54a1f522014-07-22 23:26:48558 "//ui/gfx:test_support",
agrieved7a71c882015-11-20 19:53:28559 "//ui/gfx/geometry",
[email protected]d05751a22014-05-29 20:54:24560 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26561 "//ui/gl:test_support",
mfomitchev3ba450ad2017-04-03 18:20:40562 "//ui/latency",
[email protected]d05751a22014-05-29 20:54:24563 ]
agrieve48bd27e2016-06-22 21:04:07564 if (!is_android) {
565 data_deps = [
566 "//third_party/mesa:osmesa",
567 ]
568 }
[email protected]d05751a22014-05-29 20:54:24569}
570
loyso1fe38ba42016-12-01 00:39:08571cc_test("cc_unittests") {
brettw4897a612015-03-02 23:13:15572 sources = [
brettwd649f6b2015-08-18 20:58:51573 "base/delayed_unique_notifier_unittest.cc",
brettw4897a612015-03-02 23:13:15574 "base/float_quad_unittest.cc",
jbroman7b5b0552015-05-28 03:36:58575 "base/histograms_unittest.cc",
prashant.n20ec56f2016-09-22 03:47:32576 "base/index_rect_unittest.cc",
prashant.n7f1fe3d2015-06-05 18:26:04577 "base/list_container_unittest.cc",
brettw4897a612015-03-02 23:13:15578 "base/math_util_unittest.cc",
579 "base/region_unittest.cc",
580 "base/rolling_time_delta_history_unittest.cc",
vmpstrb3ceb8222015-09-23 20:25:25581 "base/rtree_unittest.cc",
brettw4897a612015-03-02 23:13:15582 "base/simple_enclosed_region_unittest.cc",
prashant.n05192792016-09-24 03:38:20583 "base/spiral_iterator_unittest.cc",
brettw4897a612015-03-02 23:13:15584 "base/tiling_data_unittest.cc",
brettwd649f6b2015-08-18 20:58:51585 "base/unique_notifier_unittest.cc",
chrishtr82b5d9502017-03-20 18:25:33586 "benchmarks/micro_benchmark_controller_unittest.cc",
brettwd649f6b2015-08-18 20:58:51587 "debug/rendering_stats_unittest.cc",
mdjones2ee41afd2016-10-27 16:50:20588 "input/browser_controls_offset_manager_unittest.cc",
Xianzhu Wang81f6c4d72018-05-17 19:23:54589 "input/main_thread_scrolling_reason_unittest.cc",
Sandra Sun04ed4562018-01-16 01:49:35590 "input/scroll_snap_data_unittest.cc",
tdresserd9e201472015-07-31 13:15:07591 "input/scroll_state_unittest.cc",
chaopeng59e6fc02017-02-17 23:35:57592 "input/scrollbar_animation_controller_unittest.cc",
chaopeng2c3e1702017-01-27 04:46:02593 "input/single_scrollbar_animation_controller_thinning_unittest.cc",
Sandra Sunaa703712018-05-17 14:47:14594 "input/snap_fling_controller_unittest.cc",
595 "input/snap_fling_curve_unittest.cc",
ajuma956219582017-04-04 19:58:14596 "layers/effect_tree_layer_list_iterator_unittest.cc",
brettw4897a612015-03-02 23:13:15597 "layers/heads_up_display_layer_impl_unittest.cc",
598 "layers/heads_up_display_unittest.cc",
brettw4897a612015-03-02 23:13:15599 "layers/layer_impl_unittest.cc",
vollick44d1c1f2016-03-02 20:59:43600 "layers/layer_list_iterator_unittest.cc",
brettw4897a612015-03-02 23:13:15601 "layers/layer_position_constraint_unittest.cc",
602 "layers/layer_unittest.cc",
danakj83d0eb4f2017-09-19 17:31:58603 "layers/nine_patch_generator_unittest.cc",
brettw4897a612015-03-02 23:13:15604 "layers/nine_patch_layer_impl_unittest.cc",
605 "layers/nine_patch_layer_unittest.cc",
chaopeng6903e8592018-03-01 21:04:35606 "layers/painted_overlay_scrollbar_layer_unittest.cc",
brettw4897a612015-03-02 23:13:15607 "layers/painted_scrollbar_layer_impl_unittest.cc",
ccamerona54da382015-11-27 00:52:33608 "layers/painted_scrollbar_layer_unittest.cc",
brettw4897a612015-03-02 23:13:15609 "layers/picture_image_layer_unittest.cc",
610 "layers/picture_layer_impl_unittest.cc",
611 "layers/picture_layer_unittest.cc",
chrishtrac41ff92017-03-17 05:07:30612 "layers/recording_source_unittest.cc",
brettw4897a612015-03-02 23:13:15613 "layers/render_surface_impl_unittest.cc",
614 "layers/render_surface_unittest.cc",
615 "layers/scrollbar_layer_unittest.cc",
616 "layers/solid_color_layer_impl_unittest.cc",
617 "layers/solid_color_scrollbar_layer_impl_unittest.cc",
618 "layers/surface_layer_impl_unittest.cc",
619 "layers/surface_layer_unittest.cc",
620 "layers/texture_layer_impl_unittest.cc",
621 "layers/texture_layer_unittest.cc",
Hayley Ferr2b14e2a6c2017-07-04 17:34:43622 "layers/touch_action_region_unittest.cc",
brettw4897a612015-03-02 23:13:15623 "layers/ui_resource_layer_impl_unittest.cc",
624 "layers/ui_resource_layer_unittest.cc",
dalecurtisb8396642015-06-09 18:38:14625 "layers/video_frame_provider_client_impl_unittest.cc",
brettw4897a612015-03-02 23:13:15626 "layers/video_layer_impl_unittest.cc",
ymalik99740e852016-04-07 04:18:13627 "layers/viewport_unittest.cc",
chrishtrac41ff92017-03-17 05:07:30628 "paint/discardable_image_map_unittest.cc",
629 "paint/display_item_list_unittest.cc",
Khushal7865b5be2017-11-22 03:12:06630 "paint/filter_operations_unittest.cc",
Vladimir Levin22d3e0a2017-11-04 01:18:27631 "paint/oop_pixeltest.cc",
Khushal0c568dc2018-03-21 01:46:07632 "paint/paint_filter_unittest.cc",
Khushalb481b282017-08-24 00:06:53633 "paint/paint_image_unittest.cc",
enne59df29de2017-05-02 03:23:37634 "paint/paint_op_buffer_unittest.cc",
Vladimir Levinf737c212017-11-13 21:25:48635 "paint/paint_op_helper_unittest.cc",
Khushal7ae9c792017-10-05 22:26:32636 "paint/paint_shader_unittest.cc",
Florin Malitae32b0b72017-12-08 00:50:24637 "paint/scoped_raster_flags_unittest.cc",
Khushal058b1a92018-02-14 21:25:50638 "paint/skia_paint_canvas_unittest.cc",
Vladimir Levinaee539102017-06-23 16:46:08639 "paint/solid_color_analyzer_unittest.cc",
Eric Karl16711ec2017-11-18 00:58:11640 "paint/transfer_cache_unittest.cc",
Khushald880a1512017-07-26 23:48:04641 "raster/playback_image_provider_unittest.cc",
prashant.nb4d4f492016-04-29 12:51:28642 "raster/raster_buffer_provider_unittest.cc",
chrishtrac41ff92017-03-17 05:07:30643 "raster/raster_source_unittest.cc",
danakj920156852015-05-18 20:22:29644 "raster/scoped_gpu_raster_unittest.cc",
ericrk4e3aa5a2015-12-01 03:53:56645 "raster/single_thread_task_graph_runner_unittest.cc",
Sadrul Habib Chowdhury6b9697f2017-12-08 04:13:43646 "raster/staging_buffer_pool_unittest.cc",
ericrk4e3aa5a2015-12-01 03:53:56647 "raster/synchronous_task_graph_runner_unittest.cc",
ericrk0f9ee9862017-01-23 19:05:39648 "raster/task_graph_work_queue_unittest.cc",
danakj920156852015-05-18 20:22:29649 "raster/texture_compressor_etc1_unittest.cc",
Peng Huang97ba9e6b2018-04-06 02:17:30650 "resources/display_resource_provider_unittest.cc",
danakjc0bb5ec12017-11-15 03:49:38651 "resources/layer_tree_resource_provider_unittest.cc",
boliucb788f42015-07-22 23:49:28652 "resources/resource_pool_unittest.cc",
brettw4897a612015-03-02 23:13:15653 "resources/resource_provider_unittest.cc",
prashant.n8e494282015-08-03 07:13:41654 "resources/resource_util_unittest.cc",
brettw4897a612015-03-02 23:13:15655 "resources/video_resource_updater_unittest.cc",
brianderson68749812015-07-07 22:39:39656 "scheduler/compositor_timing_history_unittest.cc",
brettw4897a612015-03-02 23:13:15657 "scheduler/scheduler_state_machine_unittest.cc",
658 "scheduler/scheduler_unittest.cc",
659 "test/layer_tree_json_parser_unittest.cc",
khushalsagard3b8827d2017-02-18 18:42:54660 "tiles/checker_image_tracker_unittest.cc",
vmpstra6b30162017-01-12 20:23:03661 "tiles/decoded_image_tracker_unittest.cc",
vmpstr70289fb62016-12-01 02:33:05662 "tiles/gpu_image_decode_cache_unittest.cc",
vmpstre556bda62016-12-02 01:51:40663 "tiles/image_controller_unittest.cc",
ericrkc7ebaa12016-06-09 21:05:55664 "tiles/mipmap_util_unittest.cc",
danakj920156852015-05-18 20:22:29665 "tiles/picture_layer_tiling_set_unittest.cc",
666 "tiles/picture_layer_tiling_unittest.cc",
vmpstr70289fb62016-12-01 02:33:05667 "tiles/software_image_decode_cache_unittest.cc",
Vladimir Levin562da3d2017-12-13 18:14:55668 "tiles/software_image_decode_cache_unittest_combinations.cc",
danakj920156852015-05-18 20:22:29669 "tiles/tile_manager_unittest.cc",
670 "tiles/tile_priority_unittest.cc",
brettw4897a612015-03-02 23:13:15671 "trees/damage_tracker_unittest.cc",
Khushalfdacdc92017-09-22 22:40:52672 "trees/image_animation_controller_unittest.cc",
danakjba65a0912017-09-21 16:38:42673 "trees/layer_tree_frame_sink_unittest.cc",
brettw4897a612015-03-02 23:13:15674 "trees/layer_tree_host_common_unittest.cc",
675 "trees/layer_tree_host_impl_unittest.cc",
676 "trees/layer_tree_host_pixeltest_blending.cc",
677 "trees/layer_tree_host_pixeltest_filters.cc",
678 "trees/layer_tree_host_pixeltest_masks.cc",
679 "trees/layer_tree_host_pixeltest_readback.cc",
danakjd63f8a62016-08-24 03:26:48680 "trees/layer_tree_host_pixeltest_scrollbars.cc",
brettw4897a612015-03-02 23:13:15681 "trees/layer_tree_host_pixeltest_synchronous.cc",
danakje0b54782015-05-29 22:47:52682 "trees/layer_tree_host_pixeltest_tiles.cc",
brettw4897a612015-03-02 23:13:15683 "trees/layer_tree_host_unittest.cc",
684 "trees/layer_tree_host_unittest_animation.cc",
khushalsagar6dc91d02017-02-28 05:10:07685 "trees/layer_tree_host_unittest_checkerimaging.cc",
brettw4897a612015-03-02 23:13:15686 "trees/layer_tree_host_unittest_context.cc",
687 "trees/layer_tree_host_unittest_copyrequest.cc",
688 "trees/layer_tree_host_unittest_damage.cc",
Weiliang Chen73fe3c42018-05-11 19:52:37689 "trees/layer_tree_host_unittest_masks.cc",
brettw4897a612015-03-02 23:13:15690 "trees/layer_tree_host_unittest_occlusion.cc",
691 "trees/layer_tree_host_unittest_picture.cc",
692 "trees/layer_tree_host_unittest_proxy.cc",
khushalsagarb54107d02015-12-10 20:20:56693 "trees/layer_tree_host_unittest_record_gpu_histogram.cc",
brettw4897a612015-03-02 23:13:15694 "trees/layer_tree_host_unittest_scroll.cc",
695 "trees/layer_tree_host_unittest_video.cc",
696 "trees/layer_tree_impl_unittest.cc",
697 "trees/occlusion_tracker_unittest.cc",
698 "trees/occlusion_unittest.cc",
699 "trees/property_tree_unittest.cc",
khushalsagar8297ae992016-09-14 20:51:23700 "trees/swap_promise_manager_unittest.cc",
brettw4897a612015-03-02 23:13:15701 "trees/tree_synchronizer_unittest.cc",
Khushal3e96e662017-10-30 23:16:50702 "trees/ukm_manager_unittest.cc",
[email protected]d05751a22014-05-29 20:54:24703
loyso3dd20892016-11-22 07:11:01704 # Animation test files.
705 "animation/animation_host_unittest.cc",
loyso3dd20892016-11-22 07:11:01706 "animation/animation_timeline_unittest.cc",
Yi Gu852bebe632018-03-02 15:15:32707 "animation/animation_unittest.cc",
loyso3dd20892016-11-22 07:11:01708 "animation/element_animations_unittest.cc",
Yi Gu0c76aeb2018-02-16 19:27:59709 "animation/keyframe_model_unittest.cc",
loyso3dd20892016-11-22 07:11:01710 "animation/keyframed_animation_curve_unittest.cc",
711 "animation/scroll_offset_animation_curve_unittest.cc",
Stephen McGruerbd494792017-11-13 18:16:49712 "animation/scroll_timeline_unittest.cc",
loyso3dd20892016-11-22 07:11:01713 "animation/transform_operations_unittest.cc",
Yi Guaa830ff2018-02-22 03:09:11714 "animation/worklet_animation_unittest.cc",
[email protected]d05751a22014-05-29 20:54:24715
brettw4897a612015-03-02 23:13:15716 # Setup.
717 "test/cc_test_suite.cc",
thakisb8590c92017-03-23 18:14:53718 "test/cc_test_suite.h",
brettw4897a612015-03-02 23:13:15719 "test/run_all_unittests.cc",
720 ]
[email protected]d05751a22014-05-29 20:54:24721
agrievee41ae190d2016-04-25 14:12:51722 if (!is_android) {
723 data = [
danakjc391f332017-07-12 20:45:52724 "//components/viz/test/data/",
agrievee41ae190d2016-04-25 14:12:51725 ]
726 }
dpranke177c1e22015-07-22 23:07:43727
Vladimir Levin562da3d2017-12-13 18:14:55728 if (is_win) {
729 # TODO(vmpstr): Some SoftwareImageDecodeCacheTests use virtual inheritance,
730 # which MSVC doesn't like. Suppress "Foo inherits Bar via dominance"
731 # warnings for now.
732 cflags = [ "/wd4250" ]
733 }
734
khushalsagar54203a192017-01-20 21:05:57735 # TODO(khushalsagar): Remove once crbug.com/683263 is fixed.
736 configs = [ "//build/config/compiler:no_size_t_to_int_warning" ]
737
brettw4897a612015-03-02 23:13:15738 deps = [
739 ":cc",
740 ":test_support",
741 "//base/test:test_support",
enne34f6084c2017-02-02 22:39:08742 "//cc/paint",
Khushal3e96e662017-10-30 23:16:50743 "//components/ukm:test_support",
Fady Samuel555c8d12017-07-07 23:14:09744 "//components/viz/common",
danakjc391f332017-07-12 20:45:52745 "//components/viz/service",
746 "//components/viz/test:test_support",
brettw4897a612015-03-02 23:13:15747 "//gpu",
748 "//gpu:test_support",
Vladimir Levin22d3e0a2017-11-04 01:18:27749 "//gpu/command_buffer/client:gles2_implementation",
brettw4897a612015-03-02 23:13:15750 "//gpu/command_buffer/client:gles2_interface",
Antoine Labour011cf772018-01-23 00:38:39751 "//gpu/command_buffer/client:raster",
Victor Miura3a4ad4f82017-12-13 06:03:45752 "//gpu/command_buffer/client:raster_interface",
Vladimir Levin22d3e0a2017-11-04 01:18:27753 "//gpu/ipc:gl_in_process_context",
Adrienne Walker46704412017-11-09 18:42:44754 "//gpu/skia_bindings",
brettw4897a612015-03-02 23:13:15755 "//media",
Ken Rockotec287c82018-03-15 23:05:49756 "//mojo/edk",
fsamuel410c9602016-05-31 21:50:20757 "//mojo/public/cpp/bindings",
brettw4897a612015-03-02 23:13:15758 "//testing/gmock",
759 "//testing/gtest",
Nico Weber9d6e12942016-04-19 18:51:09760 "//ui/events:events_base",
brettw4897a612015-03-02 23:13:15761 "//ui/gfx",
brettw4897a612015-03-02 23:13:15762 "//ui/gfx:test_support",
agrieved7a71c882015-11-20 19:53:28763 "//ui/gfx/geometry",
brettw4897a612015-03-02 23:13:15764 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26765 "//ui/gl:test_support",
brettw4897a612015-03-02 23:13:15766 ]
dpranke177c1e22015-07-22 23:07:43767
vmpstr9116a70f2015-10-14 23:48:34768 data_deps = [
769 "//third_party/mesa:osmesa",
770 ]
[email protected]d05751a22014-05-29 20:54:24771}
772
loyso1fe38ba42016-12-01 00:39:08773cc_test("cc_perftests") {
[email protected]6e44c302014-07-22 21:51:37774 sources = [
loysoa4a59a42016-02-10 06:49:26775 "animation/animation_host_perftest.cc",
vmpstr0d694522016-12-14 23:37:19776 "base/rtree_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37777 "layers/layer_perftest.cc",
778 "layers/picture_layer_impl_perftest.cc",
Adrienne Walkereeb00f72017-11-29 22:04:59779 "paint/paint_op_perftest.cc",
prashant.nb4d4f492016-04-29 12:51:28780 "raster/raster_buffer_provider_perftest.cc",
danakj920156852015-05-18 20:22:29781 "raster/task_graph_runner_perftest.cc",
782 "raster/texture_compressor_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37783 "test/cc_test_suite.cc",
thakisb8590c92017-03-23 18:14:53784 "test/cc_test_suite.h",
[email protected]6e44c302014-07-22 21:51:37785 "test/run_all_perftests.cc",
vmpstr13778fb2017-02-02 23:44:00786 "tiles/software_image_decode_cache_perftest.cc",
danakj920156852015-05-18 20:22:29787 "tiles/tile_manager_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37788 "trees/layer_tree_host_common_perftest.cc",
789 "trees/layer_tree_host_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37790 ]
[email protected]d05751a22014-05-29 20:54:24791
[email protected]6e44c302014-07-22 21:51:37792 deps = [
793 ":cc",
794 ":test_support",
795 "//base",
jamesr16c04ff2014-11-24 22:24:57796 "//base/test:test_support",
chrishtrac41ff92017-03-17 05:07:30797 "//cc/paint",
Fady Samueldbd4b022017-07-14 02:06:48798 "//components/viz/common",
danakjc391f332017-07-12 20:45:52799 "//components/viz/test:test_support",
[email protected]6e44c302014-07-22 21:51:37800 "//gpu",
[email protected]c7990dbf2014-07-23 22:35:10801 "//gpu:test_support",
Victor Miura3a4ad4f82017-12-13 06:03:45802 "//gpu/command_buffer/client:gles2_implementation",
Antoine Labour011cf772018-01-23 00:38:39803 "//gpu/command_buffer/client:raster",
Ken Rockotdb79117e2018-01-17 20:36:08804 "//gpu/ipc/common:struct_traits",
[email protected]6e44c302014-07-22 21:51:37805 "//media",
Ken Rockotec287c82018-03-15 23:05:49806 "//mojo/edk",
fsamuelbb47aac2016-07-08 01:05:53807 "//mojo/public/cpp/bindings",
Saman Sami1f34578b2017-08-28 18:31:56808 "//services/viz/public/interfaces",
[email protected]6e44c302014-07-22 21:51:37809 "//skia",
810 "//testing/gmock",
811 "//testing/gtest",
812 "//testing/perf",
813 "//ui/gfx",
814 "//ui/gfx/geometry",
jamesr16c04ff2014-11-24 22:24:57815 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26816 "//ui/gl:test_support",
[email protected]6e44c302014-07-22 21:51:37817 ]
krasinca63e412016-05-12 02:53:25818
819 # This target should not require the Chrome executable to run.
820 assert_no_deps = [ "//chrome" ]
jbudorickbdd15902016-09-15 21:05:42821
822 data = [
John Budorick7a1c25b2017-07-19 00:04:07823 "//components/viz/test/data/",
eyaich7c79b912016-10-29 00:39:25824
825 # Needed for isolate script to execute.
826 "//testing/scripts/common.py",
827 "//testing/xvfb.py",
828 "//testing/scripts/run_gtest_perf_test.py",
eyaich082a30c2016-11-04 20:20:57829 "//tools/perf/generate_legacy_perf_dashboard_json.py",
jbudorickbdd15902016-09-15 21:05:42830 ]
[email protected]6e44c302014-07-22 21:51:37831}