blob: e5b73566f9cd9b85b34bf945ce17511adc0e05fb [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",
ericrk4e3aa5a2015-12-01 03:53:56161 "raster/single_thread_task_graph_runner.cc",
162 "raster/single_thread_task_graph_runner.h",
prashant.na9dd9ef2016-04-08 19:57:10163 "raster/staging_buffer_pool.cc",
164 "raster/staging_buffer_pool.h",
ericrk4e3aa5a2015-12-01 03:53:56165 "raster/synchronous_task_graph_runner.cc",
166 "raster/synchronous_task_graph_runner.h",
prashant.n49b3e64652016-04-19 07:04:49167 "raster/task.cc",
168 "raster/task.h",
ericrk374dee72016-01-13 03:38:05169 "raster/task_category.h",
danakj920156852015-05-18 20:22:29170 "raster/task_graph_runner.h",
ericrk4e3aa5a2015-12-01 03:53:56171 "raster/task_graph_work_queue.cc",
172 "raster/task_graph_work_queue.h",
danakj920156852015-05-18 20:22:29173 "raster/texture_compressor.cc",
174 "raster/texture_compressor.h",
175 "raster/texture_compressor_etc1.cc",
176 "raster/texture_compressor_etc1.h",
prashant.n6cb1bb82016-04-20 05:15:58177 "raster/tile_task.cc",
178 "raster/tile_task.h",
prashant.nb4d4f492016-04-29 12:51:28179 "raster/zero_copy_raster_buffer_provider.cc",
180 "raster/zero_copy_raster_buffer_provider.h",
danakj92d63892018-03-29 23:43:28181 "resources/cross_thread_shared_bitmap.cc",
182 "resources/cross_thread_shared_bitmap.h",
[email protected]d05751a22014-05-29 20:54:24183 "resources/memory_history.cc",
184 "resources/memory_history.h",
[email protected]d05751a22014-05-29 20:54:24185 "resources/resource_pool.cc",
186 "resources/resource_pool.h",
[email protected]d05751a22014-05-29 20:54:24187 "resources/scoped_ui_resource.cc",
188 "resources/scoped_ui_resource.h",
danakj92d63892018-03-29 23:43:28189 "resources/shared_bitmap_id_registrar.cc",
190 "resources/shared_bitmap_id_registrar.h",
[email protected]d05751a22014-05-29 20:54:24191 "resources/ui_resource_bitmap.cc",
192 "resources/ui_resource_bitmap.h",
193 "resources/ui_resource_client.h",
khushalsagar8ec07402016-09-10 03:13:19194 "resources/ui_resource_manager.cc",
195 "resources/ui_resource_manager.h",
[email protected]d05751a22014-05-29 20:54:24196 "resources/ui_resource_request.cc",
197 "resources/ui_resource_request.h",
mithro0bdb49d2015-05-27 13:08:01198 "scheduler/begin_frame_tracker.cc",
199 "scheduler/begin_frame_tracker.h",
mithrof7a21502014-12-17 03:24:48200 "scheduler/commit_earlyout_reason.h",
briandersonc9f50352015-06-24 03:38:58201 "scheduler/compositor_timing_history.cc",
202 "scheduler/compositor_timing_history.h",
[email protected]d05751a22014-05-29 20:54:24203 "scheduler/draw_result.h",
204 "scheduler/scheduler.cc",
205 "scheduler/scheduler.h",
206 "scheduler/scheduler_settings.cc",
207 "scheduler/scheduler_settings.h",
208 "scheduler/scheduler_state_machine.cc",
209 "scheduler/scheduler_state_machine.h",
sunnyps7d073dc2015-04-16 23:29:12210 "scheduler/video_frame_controller.h",
khushalsagard3b8827d2017-02-18 18:42:54211 "tiles/checker_image_tracker.cc",
212 "tiles/checker_image_tracker.h",
vmpstra6b30162017-01-12 20:23:03213 "tiles/decoded_image_tracker.cc",
214 "tiles/decoded_image_tracker.h",
danakj920156852015-05-18 20:22:29215 "tiles/eviction_tile_priority_queue.cc",
216 "tiles/eviction_tile_priority_queue.h",
chrishtr82b5d9502017-03-20 18:25:33217 "tiles/frame_viewer_instrumentation.cc",
218 "tiles/frame_viewer_instrumentation.h",
vmpstr70289fb62016-12-01 02:33:05219 "tiles/gpu_image_decode_cache.cc",
220 "tiles/gpu_image_decode_cache.h",
vmpstre556bda62016-12-02 01:51:40221 "tiles/image_controller.cc",
222 "tiles/image_controller.h",
Khushal9e40c592017-07-17 20:22:13223 "tiles/image_decode_cache.cc",
vmpstr70289fb62016-12-01 02:33:05224 "tiles/image_decode_cache.h",
ericrkc7ebaa12016-06-09 21:05:55225 "tiles/mipmap_util.cc",
226 "tiles/mipmap_util.h",
danakj920156852015-05-18 20:22:29227 "tiles/picture_layer_tiling.cc",
228 "tiles/picture_layer_tiling.h",
229 "tiles/picture_layer_tiling_set.cc",
230 "tiles/picture_layer_tiling_set.h",
231 "tiles/prioritized_tile.cc",
232 "tiles/prioritized_tile.h",
233 "tiles/raster_tile_priority_queue.cc",
234 "tiles/raster_tile_priority_queue.h",
235 "tiles/raster_tile_priority_queue_all.cc",
236 "tiles/raster_tile_priority_queue_all.h",
237 "tiles/raster_tile_priority_queue_required.cc",
238 "tiles/raster_tile_priority_queue_required.h",
vmpstr70289fb62016-12-01 02:33:05239 "tiles/software_image_decode_cache.cc",
240 "tiles/software_image_decode_cache.h",
Vladimir Levin0342a7912018-01-03 19:12:55241 "tiles/software_image_decode_cache_utils.cc",
242 "tiles/software_image_decode_cache_utils.h",
danakj920156852015-05-18 20:22:29243 "tiles/tile.cc",
244 "tiles/tile.h",
245 "tiles/tile_draw_info.cc",
246 "tiles/tile_draw_info.h",
247 "tiles/tile_manager.cc",
248 "tiles/tile_manager.h",
khushalsagard3b8827d2017-02-18 18:42:54249 "tiles/tile_manager_settings.h",
danakj920156852015-05-18 20:22:29250 "tiles/tile_priority.cc",
251 "tiles/tile_priority.h",
prashant.nb4d4f492016-04-29 12:51:28252 "tiles/tile_task_manager.cc",
253 "tiles/tile_task_manager.h",
danakj920156852015-05-18 20:22:29254 "tiles/tiling_set_eviction_queue.cc",
255 "tiles/tiling_set_eviction_queue.h",
256 "tiles/tiling_set_raster_queue_all.cc",
257 "tiles/tiling_set_raster_queue_all.h",
258 "tiles/tiling_set_raster_queue_required.cc",
259 "tiles/tiling_set_raster_queue_required.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
agrieveefcd0222016-06-08 15:48:19346 if (current_cpu == "x86" || current_cpu == "x64") {
thakis4a0c5482015-06-08 20:51:29347 sources += [
348 "raster/texture_compressor_etc1_sse.cc",
349 "raster/texture_compressor_etc1_sse.h",
350 ]
351 }
352
khushalsagar54203a192017-01-20 21:05:57353 # TODO(khushalsagar): Remove once crbug.com/683263 is fixed.
354 configs = [ "//build/config/compiler:no_size_t_to_int_warning" ]
355
Brett Wilsone53895272014-09-23 23:41:46356 public_deps = [
jamesrf313a212015-03-16 21:27:37357 "//cc/base",
Khushal7865b5be2017-11-22 03:12:06358 "//cc/paint",
Fady Samuel555c8d12017-07-07 23:14:09359 "//components/viz/common",
Brett Wilsone53895272014-09-23 23:41:46360 "//skia",
361 ]
[email protected]d05751a22014-05-29 20:54:24362 deps = [
363 "//base",
364 "//base/third_party/dynamic_annotations",
Khushal3e96e662017-10-30 23:16:50365 "//components/ukm",
danakj7b631be2018-05-25 19:14:20366 "//components/viz/client",
[email protected]d05751a22014-05-29 20:54:24367 "//gpu",
jbromancba3d2fe2014-09-16 01:04:24368 "//gpu/command_buffer/client:gles2_interface",
Victor Miura3a4ad4f82017-12-13 06:03:45369 "//gpu/command_buffer/client:raster_interface",
fsamueledc0c2c2016-11-18 22:28:04370 "//gpu/ipc:gl_in_process_context",
371 "//gpu/skia_bindings:skia_bindings",
Scott Violeta35f9a42018-03-22 22:00:44372 "//gpu/vulkan:buildflags",
danakjdda293b2018-05-29 18:27:40373 "//media", # For VideoLayerImpl.
samansbf8eacc2017-01-27 22:59:25374 "//mojo/public/cpp/bindings:struct_traits",
Khushal3e96e662017-10-30 23:16:50375 "//services/metrics/public/cpp:ukm_builders",
Nico Weber9d6e12942016-04-19 18:51:09376 "//ui/events:events_base",
[email protected]d05751a22014-05-29 20:54:24377 "//ui/gfx",
378 "//ui/gfx/geometry",
ericrkf08855b42015-08-06 00:20:22379 "//ui/gl",
mfomitchev3ba450ad2017-04-03 18:20:40380 "//ui/latency",
[email protected]d05751a22014-05-29 20:54:24381 ]
[email protected]d05751a22014-05-29 20:54:24382
[email protected]3ffa36a2014-07-24 21:01:50383 defines = [ "CC_IMPLEMENTATION=1" ]
[email protected]d05751a22014-05-29 20:54:24384}
385
loyso1fe38ba42016-12-01 00:39:08386cc_static_library("test_support") {
Brett Wilson8f80ad0b2014-09-08 19:50:24387 testonly = true
[email protected]d05751a22014-05-29 20:54:24388 sources = [
389 "test/animation_test_common.cc",
390 "test/animation_test_common.h",
loysobb93befc2015-07-03 00:19:50391 "test/animation_timelines_test_common.cc",
392 "test/animation_timelines_test_common.h",
[email protected]d05751a22014-05-29 20:54:24393 "test/fake_content_layer_client.cc",
394 "test/fake_content_layer_client.h",
khushalsagarb64b360d2015-10-21 19:25:16395 "test/fake_impl_task_runner_provider.h",
danakjc7afae52017-06-20 21:12:41396 "test/fake_layer_tree_frame_sink.cc",
397 "test/fake_layer_tree_frame_sink.h",
398 "test/fake_layer_tree_frame_sink_client.cc",
399 "test/fake_layer_tree_frame_sink_client.h",
[email protected]d05751a22014-05-29 20:54:24400 "test/fake_layer_tree_host.cc",
401 "test/fake_layer_tree_host.h",
402 "test/fake_layer_tree_host_client.cc",
403 "test/fake_layer_tree_host_client.h",
404 "test/fake_layer_tree_host_impl.cc",
405 "test/fake_layer_tree_host_impl.h",
406 "test/fake_layer_tree_host_impl_client.cc",
407 "test/fake_layer_tree_host_impl_client.h",
ajumad9432e32015-11-30 19:43:44408 "test/fake_mask_layer_impl.cc",
409 "test/fake_mask_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24410 "test/fake_output_surface_client.cc",
411 "test/fake_output_surface_client.h",
Khushalfdacdc92017-09-22 22:40:52412 "test/fake_paint_image_generator.cc",
413 "test/fake_paint_image_generator.h",
[email protected]d05751a22014-05-29 20:54:24414 "test/fake_painted_scrollbar_layer.cc",
415 "test/fake_painted_scrollbar_layer.h",
416 "test/fake_picture_layer.cc",
417 "test/fake_picture_layer.h",
418 "test/fake_picture_layer_impl.cc",
419 "test/fake_picture_layer_impl.h",
420 "test/fake_picture_layer_tiling_client.cc",
421 "test/fake_picture_layer_tiling_client.h",
[email protected]d05751a22014-05-29 20:54:24422 "test/fake_proxy.cc",
423 "test/fake_proxy.h",
prashant.nb4d4f492016-04-29 12:51:28424 "test/fake_raster_buffer_provider.cc",
425 "test/fake_raster_buffer_provider.h",
vmpstr41d68f882016-03-30 01:20:23426 "test/fake_raster_source.cc",
427 "test/fake_raster_source.h",
vmpstre17fd212016-03-30 20:03:32428 "test/fake_recording_source.cc",
429 "test/fake_recording_source.h",
[email protected]d05751a22014-05-29 20:54:24430 "test/fake_rendering_stats_instrumentation.h",
danakj61bf05f2015-05-26 23:28:56431 "test/fake_resource_provider.h",
[email protected]d05751a22014-05-29 20:54:24432 "test/fake_scoped_ui_resource.cc",
433 "test/fake_scoped_ui_resource.h",
434 "test/fake_scrollbar.cc",
435 "test/fake_scrollbar.h",
436 "test/fake_tile_manager.cc",
437 "test/fake_tile_manager.h",
438 "test/fake_tile_manager_client.cc",
439 "test/fake_tile_manager_client.h",
prashant.nb4d4f492016-04-29 12:51:28440 "test/fake_tile_task_manager.cc",
441 "test/fake_tile_task_manager.h",
[email protected]d05751a22014-05-29 20:54:24442 "test/fake_ui_resource_layer_tree_host_impl.cc",
443 "test/fake_ui_resource_layer_tree_host_impl.h",
444 "test/fake_video_frame_provider.cc",
445 "test/fake_video_frame_provider.h",
446 "test/geometry_test_utils.cc",
447 "test/geometry_test_utils.h",
[email protected]d05751a22014-05-29 20:54:24448 "test/layer_test_common.cc",
449 "test/layer_test_common.h",
[email protected]d05751a22014-05-29 20:54:24450 "test/layer_tree_json_parser.cc",
451 "test/layer_tree_json_parser.h",
enne03dbe8ae2014-10-30 01:32:55452 "test/layer_tree_pixel_resource_test.cc",
453 "test/layer_tree_pixel_resource_test.h",
[email protected]d05751a22014-05-29 20:54:24454 "test/layer_tree_pixel_test.cc",
455 "test/layer_tree_pixel_test.h",
456 "test/layer_tree_test.cc",
457 "test/layer_tree_test.h",
Francois Doray9e4f0f32017-09-20 00:01:53458 "test/mock_layer_client.cc",
459 "test/mock_layer_client.h",
Majid Valipoure9855f72017-10-20 02:08:58460 "test/mock_layer_tree_mutator.cc",
461 "test/mock_layer_tree_mutator.h",
[email protected]ba16cce2014-06-17 17:03:50462 "test/mock_occlusion_tracker.h",
Vladimir Levinf737c212017-11-13 21:25:48463 "test/paint_op_helper.h",
[email protected]d05751a22014-05-29 20:54:24464 "test/pixel_comparator.cc",
465 "test/pixel_comparator.h",
466 "test/pixel_test.cc",
467 "test/pixel_test.h",
468 "test/pixel_test_output_surface.cc",
469 "test/pixel_test_output_surface.h",
[email protected]d05751a22014-05-29 20:54:24470 "test/pixel_test_utils.cc",
471 "test/pixel_test_utils.h",
xingliu3c9b4cc2016-11-02 20:52:55472 "test/push_properties_counting_layer.cc",
473 "test/push_properties_counting_layer.h",
474 "test/push_properties_counting_layer_impl.cc",
475 "test/push_properties_counting_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24476 "test/render_pass_test_utils.cc",
477 "test/render_pass_test_utils.h",
Xu Xing9339c8f2017-12-25 14:25:26478 "test/resource_provider_test_utils.cc",
479 "test/resource_provider_test_utils.h",
[email protected]d05751a22014-05-29 20:54:24480 "test/scheduler_test_common.cc",
481 "test/scheduler_test_common.h",
482 "test/skia_common.cc",
483 "test/skia_common.h",
484 "test/solid_color_content_layer_client.cc",
485 "test/solid_color_content_layer_client.h",
Khushald880a1512017-07-26 23:48:04486 "test/stub_decode_cache.cc",
487 "test/stub_decode_cache.h",
danakjffc181a2016-07-22 22:48:43488 "test/stub_layer_tree_host_client.cc",
489 "test/stub_layer_tree_host_client.h",
490 "test/stub_layer_tree_host_single_thread_client.cc",
491 "test/stub_layer_tree_host_single_thread_client.h",
ericrk4e3aa5a2015-12-01 03:53:56492 "test/task_graph_runner_test_template.cc",
493 "test/task_graph_runner_test_template.h",
khushalsagar0a226af2015-12-09 10:30:20494 "test/test_hooks.cc",
495 "test/test_hooks.h",
reveman2232bce2014-10-29 01:28:05496 "test/test_image_factory.cc",
497 "test/test_image_factory.h",
satorux457770e2015-02-18 18:33:39498 "test/test_in_process_context_provider.cc",
499 "test/test_in_process_context_provider.h",
vmpstr6edf66ce2016-05-18 20:12:22500 "test/test_layer_tree_host_base.cc",
501 "test/test_layer_tree_host_base.h",
[email protected]d05751a22014-05-29 20:54:24502 "test/test_occlusion_tracker.h",
Khushala8d50642018-05-03 01:29:06503 "test/test_options_provider.cc",
504 "test/test_options_provider.h",
enne59df29de2017-05-02 03:23:37505 "test/test_skcanvas.cc",
506 "test/test_skcanvas.h",
reveman34b7a1522015-03-23 20:27:47507 "test/test_task_graph_runner.cc",
508 "test/test_task_graph_runner.h",
[email protected]d05751a22014-05-29 20:54:24509 "test/test_tile_priorities.cc",
510 "test/test_tile_priorities.h",
prashant.n7c706022016-05-26 19:00:09511 "test/test_tile_task_runner.cc",
512 "test/test_tile_task_runner.h",
Khushal3e96e662017-10-30 23:16:50513 "test/test_ukm_recorder_factory.cc",
514 "test/test_ukm_recorder_factory.h",
Vladimir Levin7273cfe052017-12-13 21:41:41515 "test/transfer_cache_test_helper.cc",
516 "test/transfer_cache_test_helper.h",
[email protected]d05751a22014-05-29 20:54:24517 ]
518
Brett Wilson0380637c2014-09-19 21:24:40519 public_deps = [
520 ":cc",
loyso3dd20892016-11-22 07:11:01521 "//cc/animation",
Brett Wilsone53895272014-09-23 23:41:46522 "//gpu:test_support",
Khushala8d50642018-05-03 01:29:06523 "//testing/gmock",
Brett Wilson0380637c2014-09-19 21:24:40524 ]
[email protected]d05751a22014-05-29 20:54:24525 deps = [
526 "//base",
jamesr16c04ff2014-11-24 22:24:57527 "//base/test:test_support",
[email protected]d05751a22014-05-29 20:54:24528 "//base/third_party/dynamic_annotations",
enne34f6084c2017-02-02 22:39:08529 "//cc/paint",
Khushal3e96e662017-10-30 23:16:50530 "//components/ukm",
531 "//components/ukm:test_support",
danakj7b631be2018-05-25 19:14:20532 "//components/viz/client",
Fady Samuel1d744b22017-07-10 21:23:55533 "//components/viz/common",
danakjc391f332017-07-12 20:45:52534 "//components/viz/service",
535 "//components/viz/test:test_support",
[email protected]d05751a22014-05-29 20:54:24536 "//gpu/command_buffer/client:gles2_implementation",
Antoine Labour011cf772018-01-23 00:38:39537 "//gpu/command_buffer/client:raster",
Antoine Labourfeab2392017-12-21 20:28:39538 "//gpu/command_buffer/common",
fsamuel600b99e2016-11-11 07:50:26539 "//gpu/ipc:gl_in_process_context",
[email protected]d05751a22014-05-29 20:54:24540 "//gpu/skia_bindings",
jamesr16c04ff2014-11-24 22:24:57541 "//media",
[email protected]d05751a22014-05-29 20:54:24542 "//skia",
[email protected]d05751a22014-05-29 20:54:24543 "//testing/gtest",
[email protected]d05751a22014-05-29 20:54:24544 "//ui/gfx",
[email protected]e54a1f522014-07-22 23:26:48545 "//ui/gfx:test_support",
agrieved7a71c882015-11-20 19:53:28546 "//ui/gfx/geometry",
[email protected]d05751a22014-05-29 20:54:24547 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26548 "//ui/gl:test_support",
mfomitchev3ba450ad2017-04-03 18:20:40549 "//ui/latency",
[email protected]d05751a22014-05-29 20:54:24550 ]
agrieve48bd27e2016-06-22 21:04:07551 if (!is_android) {
552 data_deps = [
553 "//third_party/mesa:osmesa",
554 ]
555 }
[email protected]d05751a22014-05-29 20:54:24556}
557
loyso1fe38ba42016-12-01 00:39:08558cc_test("cc_unittests") {
brettw4897a612015-03-02 23:13:15559 sources = [
brettwd649f6b2015-08-18 20:58:51560 "base/delayed_unique_notifier_unittest.cc",
brettw4897a612015-03-02 23:13:15561 "base/float_quad_unittest.cc",
jbroman7b5b0552015-05-28 03:36:58562 "base/histograms_unittest.cc",
prashant.n20ec56f2016-09-22 03:47:32563 "base/index_rect_unittest.cc",
prashant.n7f1fe3d2015-06-05 18:26:04564 "base/list_container_unittest.cc",
brettw4897a612015-03-02 23:13:15565 "base/math_util_unittest.cc",
566 "base/region_unittest.cc",
567 "base/rolling_time_delta_history_unittest.cc",
vmpstrb3ceb8222015-09-23 20:25:25568 "base/rtree_unittest.cc",
brettw4897a612015-03-02 23:13:15569 "base/simple_enclosed_region_unittest.cc",
prashant.n05192792016-09-24 03:38:20570 "base/spiral_iterator_unittest.cc",
brettw4897a612015-03-02 23:13:15571 "base/tiling_data_unittest.cc",
brettwd649f6b2015-08-18 20:58:51572 "base/unique_notifier_unittest.cc",
chrishtr82b5d9502017-03-20 18:25:33573 "benchmarks/micro_benchmark_controller_unittest.cc",
brettwd649f6b2015-08-18 20:58:51574 "debug/rendering_stats_unittest.cc",
mdjones2ee41afd2016-10-27 16:50:20575 "input/browser_controls_offset_manager_unittest.cc",
Xianzhu Wang81f6c4d72018-05-17 19:23:54576 "input/main_thread_scrolling_reason_unittest.cc",
Sandra Sun04ed4562018-01-16 01:49:35577 "input/scroll_snap_data_unittest.cc",
tdresserd9e201472015-07-31 13:15:07578 "input/scroll_state_unittest.cc",
chaopeng59e6fc02017-02-17 23:35:57579 "input/scrollbar_animation_controller_unittest.cc",
chaopeng2c3e1702017-01-27 04:46:02580 "input/single_scrollbar_animation_controller_thinning_unittest.cc",
Sandra Sunaa703712018-05-17 14:47:14581 "input/snap_fling_controller_unittest.cc",
582 "input/snap_fling_curve_unittest.cc",
ajuma956219582017-04-04 19:58:14583 "layers/effect_tree_layer_list_iterator_unittest.cc",
brettw4897a612015-03-02 23:13:15584 "layers/heads_up_display_layer_impl_unittest.cc",
585 "layers/heads_up_display_unittest.cc",
brettw4897a612015-03-02 23:13:15586 "layers/layer_impl_unittest.cc",
vollick44d1c1f2016-03-02 20:59:43587 "layers/layer_list_iterator_unittest.cc",
brettw4897a612015-03-02 23:13:15588 "layers/layer_position_constraint_unittest.cc",
589 "layers/layer_unittest.cc",
danakj83d0eb4f2017-09-19 17:31:58590 "layers/nine_patch_generator_unittest.cc",
brettw4897a612015-03-02 23:13:15591 "layers/nine_patch_layer_impl_unittest.cc",
592 "layers/nine_patch_layer_unittest.cc",
chaopeng6903e8592018-03-01 21:04:35593 "layers/painted_overlay_scrollbar_layer_unittest.cc",
brettw4897a612015-03-02 23:13:15594 "layers/painted_scrollbar_layer_impl_unittest.cc",
ccamerona54da382015-11-27 00:52:33595 "layers/painted_scrollbar_layer_unittest.cc",
brettw4897a612015-03-02 23:13:15596 "layers/picture_image_layer_unittest.cc",
597 "layers/picture_layer_impl_unittest.cc",
598 "layers/picture_layer_unittest.cc",
chrishtrac41ff92017-03-17 05:07:30599 "layers/recording_source_unittest.cc",
brettw4897a612015-03-02 23:13:15600 "layers/render_surface_impl_unittest.cc",
601 "layers/render_surface_unittest.cc",
602 "layers/scrollbar_layer_unittest.cc",
603 "layers/solid_color_layer_impl_unittest.cc",
604 "layers/solid_color_scrollbar_layer_impl_unittest.cc",
605 "layers/surface_layer_impl_unittest.cc",
606 "layers/surface_layer_unittest.cc",
607 "layers/texture_layer_impl_unittest.cc",
608 "layers/texture_layer_unittest.cc",
Hayley Ferr2b14e2a6c2017-07-04 17:34:43609 "layers/touch_action_region_unittest.cc",
brettw4897a612015-03-02 23:13:15610 "layers/ui_resource_layer_impl_unittest.cc",
611 "layers/ui_resource_layer_unittest.cc",
dalecurtisb8396642015-06-09 18:38:14612 "layers/video_frame_provider_client_impl_unittest.cc",
brettw4897a612015-03-02 23:13:15613 "layers/video_layer_impl_unittest.cc",
ymalik99740e852016-04-07 04:18:13614 "layers/viewport_unittest.cc",
danakj7b631be2018-05-25 19:14:20615 "mojo_embedder/async_layer_tree_frame_sink_unittest.cc",
chrishtrac41ff92017-03-17 05:07:30616 "paint/discardable_image_map_unittest.cc",
617 "paint/display_item_list_unittest.cc",
Khushal7865b5be2017-11-22 03:12:06618 "paint/filter_operations_unittest.cc",
Vladimir Levin22d3e0a2017-11-04 01:18:27619 "paint/oop_pixeltest.cc",
Khushal0c568dc2018-03-21 01:46:07620 "paint/paint_filter_unittest.cc",
Khushalb481b282017-08-24 00:06:53621 "paint/paint_image_unittest.cc",
enne59df29de2017-05-02 03:23:37622 "paint/paint_op_buffer_unittest.cc",
Vladimir Levinf737c212017-11-13 21:25:48623 "paint/paint_op_helper_unittest.cc",
Khushal7ae9c792017-10-05 22:26:32624 "paint/paint_shader_unittest.cc",
Florin Malitae32b0b72017-12-08 00:50:24625 "paint/scoped_raster_flags_unittest.cc",
Khushal058b1a92018-02-14 21:25:50626 "paint/skia_paint_canvas_unittest.cc",
Vladimir Levinaee539102017-06-23 16:46:08627 "paint/solid_color_analyzer_unittest.cc",
Eric Karl16711ec2017-11-18 00:58:11628 "paint/transfer_cache_unittest.cc",
Khushald880a1512017-07-26 23:48:04629 "raster/playback_image_provider_unittest.cc",
prashant.nb4d4f492016-04-29 12:51:28630 "raster/raster_buffer_provider_unittest.cc",
chrishtrac41ff92017-03-17 05:07:30631 "raster/raster_source_unittest.cc",
danakj920156852015-05-18 20:22:29632 "raster/scoped_gpu_raster_unittest.cc",
ericrk4e3aa5a2015-12-01 03:53:56633 "raster/single_thread_task_graph_runner_unittest.cc",
Sadrul Habib Chowdhury6b9697f2017-12-08 04:13:43634 "raster/staging_buffer_pool_unittest.cc",
ericrk4e3aa5a2015-12-01 03:53:56635 "raster/synchronous_task_graph_runner_unittest.cc",
ericrk0f9ee9862017-01-23 19:05:39636 "raster/task_graph_work_queue_unittest.cc",
danakj920156852015-05-18 20:22:29637 "raster/texture_compressor_etc1_unittest.cc",
boliucb788f42015-07-22 23:49:28638 "resources/resource_pool_unittest.cc",
brianderson68749812015-07-07 22:39:39639 "scheduler/compositor_timing_history_unittest.cc",
brettw4897a612015-03-02 23:13:15640 "scheduler/scheduler_state_machine_unittest.cc",
641 "scheduler/scheduler_unittest.cc",
642 "test/layer_tree_json_parser_unittest.cc",
khushalsagard3b8827d2017-02-18 18:42:54643 "tiles/checker_image_tracker_unittest.cc",
vmpstra6b30162017-01-12 20:23:03644 "tiles/decoded_image_tracker_unittest.cc",
vmpstr70289fb62016-12-01 02:33:05645 "tiles/gpu_image_decode_cache_unittest.cc",
vmpstre556bda62016-12-02 01:51:40646 "tiles/image_controller_unittest.cc",
ericrkc7ebaa12016-06-09 21:05:55647 "tiles/mipmap_util_unittest.cc",
danakj920156852015-05-18 20:22:29648 "tiles/picture_layer_tiling_set_unittest.cc",
649 "tiles/picture_layer_tiling_unittest.cc",
vmpstr70289fb62016-12-01 02:33:05650 "tiles/software_image_decode_cache_unittest.cc",
Vladimir Levin562da3d2017-12-13 18:14:55651 "tiles/software_image_decode_cache_unittest_combinations.cc",
danakj920156852015-05-18 20:22:29652 "tiles/tile_manager_unittest.cc",
653 "tiles/tile_priority_unittest.cc",
brettw4897a612015-03-02 23:13:15654 "trees/damage_tracker_unittest.cc",
Khushalfdacdc92017-09-22 22:40:52655 "trees/image_animation_controller_unittest.cc",
danakjba65a0912017-09-21 16:38:42656 "trees/layer_tree_frame_sink_unittest.cc",
brettw4897a612015-03-02 23:13:15657 "trees/layer_tree_host_common_unittest.cc",
658 "trees/layer_tree_host_impl_unittest.cc",
659 "trees/layer_tree_host_pixeltest_blending.cc",
660 "trees/layer_tree_host_pixeltest_filters.cc",
661 "trees/layer_tree_host_pixeltest_masks.cc",
662 "trees/layer_tree_host_pixeltest_readback.cc",
danakjd63f8a62016-08-24 03:26:48663 "trees/layer_tree_host_pixeltest_scrollbars.cc",
brettw4897a612015-03-02 23:13:15664 "trees/layer_tree_host_pixeltest_synchronous.cc",
danakje0b54782015-05-29 22:47:52665 "trees/layer_tree_host_pixeltest_tiles.cc",
brettw4897a612015-03-02 23:13:15666 "trees/layer_tree_host_unittest.cc",
667 "trees/layer_tree_host_unittest_animation.cc",
khushalsagar6dc91d02017-02-28 05:10:07668 "trees/layer_tree_host_unittest_checkerimaging.cc",
brettw4897a612015-03-02 23:13:15669 "trees/layer_tree_host_unittest_context.cc",
670 "trees/layer_tree_host_unittest_copyrequest.cc",
671 "trees/layer_tree_host_unittest_damage.cc",
Weiliang Chen73fe3c42018-05-11 19:52:37672 "trees/layer_tree_host_unittest_masks.cc",
brettw4897a612015-03-02 23:13:15673 "trees/layer_tree_host_unittest_occlusion.cc",
674 "trees/layer_tree_host_unittest_picture.cc",
675 "trees/layer_tree_host_unittest_proxy.cc",
khushalsagarb54107d02015-12-10 20:20:56676 "trees/layer_tree_host_unittest_record_gpu_histogram.cc",
brettw4897a612015-03-02 23:13:15677 "trees/layer_tree_host_unittest_scroll.cc",
678 "trees/layer_tree_host_unittest_video.cc",
679 "trees/layer_tree_impl_unittest.cc",
680 "trees/occlusion_tracker_unittest.cc",
681 "trees/occlusion_unittest.cc",
682 "trees/property_tree_unittest.cc",
khushalsagar8297ae992016-09-14 20:51:23683 "trees/swap_promise_manager_unittest.cc",
brettw4897a612015-03-02 23:13:15684 "trees/tree_synchronizer_unittest.cc",
Khushal3e96e662017-10-30 23:16:50685 "trees/ukm_manager_unittest.cc",
[email protected]d05751a22014-05-29 20:54:24686
loyso3dd20892016-11-22 07:11:01687 # Animation test files.
688 "animation/animation_host_unittest.cc",
loyso3dd20892016-11-22 07:11:01689 "animation/animation_timeline_unittest.cc",
Yi Gu852bebe632018-03-02 15:15:32690 "animation/animation_unittest.cc",
loyso3dd20892016-11-22 07:11:01691 "animation/element_animations_unittest.cc",
Yi Gu0c76aeb2018-02-16 19:27:59692 "animation/keyframe_model_unittest.cc",
loyso3dd20892016-11-22 07:11:01693 "animation/keyframed_animation_curve_unittest.cc",
694 "animation/scroll_offset_animation_curve_unittest.cc",
Stephen McGruerbd494792017-11-13 18:16:49695 "animation/scroll_timeline_unittest.cc",
loyso3dd20892016-11-22 07:11:01696 "animation/transform_operations_unittest.cc",
Yi Guaa830ff2018-02-22 03:09:11697 "animation/worklet_animation_unittest.cc",
[email protected]d05751a22014-05-29 20:54:24698
brettw4897a612015-03-02 23:13:15699 # Setup.
700 "test/cc_test_suite.cc",
thakisb8590c92017-03-23 18:14:53701 "test/cc_test_suite.h",
brettw4897a612015-03-02 23:13:15702 "test/run_all_unittests.cc",
703 ]
[email protected]d05751a22014-05-29 20:54:24704
agrievee41ae190d2016-04-25 14:12:51705 if (!is_android) {
706 data = [
danakjc391f332017-07-12 20:45:52707 "//components/viz/test/data/",
agrievee41ae190d2016-04-25 14:12:51708 ]
709 }
dpranke177c1e22015-07-22 23:07:43710
Vladimir Levin562da3d2017-12-13 18:14:55711 if (is_win) {
712 # TODO(vmpstr): Some SoftwareImageDecodeCacheTests use virtual inheritance,
713 # which MSVC doesn't like. Suppress "Foo inherits Bar via dominance"
714 # warnings for now.
715 cflags = [ "/wd4250" ]
716 }
717
khushalsagar54203a192017-01-20 21:05:57718 # TODO(khushalsagar): Remove once crbug.com/683263 is fixed.
719 configs = [ "//build/config/compiler:no_size_t_to_int_warning" ]
720
brettw4897a612015-03-02 23:13:15721 deps = [
722 ":cc",
723 ":test_support",
724 "//base/test:test_support",
danakj7b631be2018-05-25 19:14:20725 "//cc/mojo_embedder",
enne34f6084c2017-02-02 22:39:08726 "//cc/paint",
Khushal3e96e662017-10-30 23:16:50727 "//components/ukm:test_support",
danakj7b631be2018-05-25 19:14:20728 "//components/viz/client",
Fady Samuel555c8d12017-07-07 23:14:09729 "//components/viz/common",
danakjc391f332017-07-12 20:45:52730 "//components/viz/service",
731 "//components/viz/test:test_support",
brettw4897a612015-03-02 23:13:15732 "//gpu",
733 "//gpu:test_support",
Vladimir Levin22d3e0a2017-11-04 01:18:27734 "//gpu/command_buffer/client:gles2_implementation",
brettw4897a612015-03-02 23:13:15735 "//gpu/command_buffer/client:gles2_interface",
Antoine Labour011cf772018-01-23 00:38:39736 "//gpu/command_buffer/client:raster",
Victor Miura3a4ad4f82017-12-13 06:03:45737 "//gpu/command_buffer/client:raster_interface",
Vladimir Levin22d3e0a2017-11-04 01:18:27738 "//gpu/ipc:gl_in_process_context",
Adrienne Walker46704412017-11-09 18:42:44739 "//gpu/skia_bindings",
brettw4897a612015-03-02 23:13:15740 "//media",
Ken Rockotec287c82018-03-15 23:05:49741 "//mojo/edk",
fsamuel410c9602016-05-31 21:50:20742 "//mojo/public/cpp/bindings",
brettw4897a612015-03-02 23:13:15743 "//testing/gmock",
744 "//testing/gtest",
Nico Weber9d6e12942016-04-19 18:51:09745 "//ui/events:events_base",
brettw4897a612015-03-02 23:13:15746 "//ui/gfx",
brettw4897a612015-03-02 23:13:15747 "//ui/gfx:test_support",
agrieved7a71c882015-11-20 19:53:28748 "//ui/gfx/geometry",
brettw4897a612015-03-02 23:13:15749 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26750 "//ui/gl:test_support",
brettw4897a612015-03-02 23:13:15751 ]
dpranke177c1e22015-07-22 23:07:43752
vmpstr9116a70f2015-10-14 23:48:34753 data_deps = [
754 "//third_party/mesa:osmesa",
755 ]
[email protected]d05751a22014-05-29 20:54:24756}
757
loyso1fe38ba42016-12-01 00:39:08758cc_test("cc_perftests") {
[email protected]6e44c302014-07-22 21:51:37759 sources = [
loysoa4a59a42016-02-10 06:49:26760 "animation/animation_host_perftest.cc",
vmpstr0d694522016-12-14 23:37:19761 "base/rtree_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37762 "layers/layer_perftest.cc",
763 "layers/picture_layer_impl_perftest.cc",
Adrienne Walkereeb00f72017-11-29 22:04:59764 "paint/paint_op_perftest.cc",
prashant.nb4d4f492016-04-29 12:51:28765 "raster/raster_buffer_provider_perftest.cc",
danakj920156852015-05-18 20:22:29766 "raster/task_graph_runner_perftest.cc",
767 "raster/texture_compressor_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37768 "test/cc_test_suite.cc",
thakisb8590c92017-03-23 18:14:53769 "test/cc_test_suite.h",
[email protected]6e44c302014-07-22 21:51:37770 "test/run_all_perftests.cc",
vmpstr13778fb2017-02-02 23:44:00771 "tiles/software_image_decode_cache_perftest.cc",
danakj920156852015-05-18 20:22:29772 "tiles/tile_manager_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37773 "trees/layer_tree_host_common_perftest.cc",
774 "trees/layer_tree_host_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37775 ]
[email protected]d05751a22014-05-29 20:54:24776
[email protected]6e44c302014-07-22 21:51:37777 deps = [
778 ":cc",
779 ":test_support",
780 "//base",
jamesr16c04ff2014-11-24 22:24:57781 "//base/test:test_support",
chrishtrac41ff92017-03-17 05:07:30782 "//cc/paint",
danakj57baa772018-05-29 15:59:14783 "//components/viz/client",
Fady Samueldbd4b022017-07-14 02:06:48784 "//components/viz/common",
danakjc391f332017-07-12 20:45:52785 "//components/viz/test:test_support",
[email protected]6e44c302014-07-22 21:51:37786 "//gpu",
[email protected]c7990dbf2014-07-23 22:35:10787 "//gpu:test_support",
Victor Miura3a4ad4f82017-12-13 06:03:45788 "//gpu/command_buffer/client:gles2_implementation",
Antoine Labour011cf772018-01-23 00:38:39789 "//gpu/command_buffer/client:raster",
Ken Rockotdb79117e2018-01-17 20:36:08790 "//gpu/ipc/common:struct_traits",
[email protected]6e44c302014-07-22 21:51:37791 "//media",
Ken Rockotec287c82018-03-15 23:05:49792 "//mojo/edk",
fsamuelbb47aac2016-07-08 01:05:53793 "//mojo/public/cpp/bindings",
Saman Sami1f34578b2017-08-28 18:31:56794 "//services/viz/public/interfaces",
[email protected]6e44c302014-07-22 21:51:37795 "//skia",
796 "//testing/gmock",
797 "//testing/gtest",
798 "//testing/perf",
799 "//ui/gfx",
800 "//ui/gfx/geometry",
jamesr16c04ff2014-11-24 22:24:57801 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26802 "//ui/gl:test_support",
[email protected]6e44c302014-07-22 21:51:37803 ]
krasinca63e412016-05-12 02:53:25804
805 # This target should not require the Chrome executable to run.
806 assert_no_deps = [ "//chrome" ]
jbudorickbdd15902016-09-15 21:05:42807
808 data = [
John Budorick7a1c25b2017-07-19 00:04:07809 "//components/viz/test/data/",
eyaich7c79b912016-10-29 00:39:25810
811 # Needed for isolate script to execute.
812 "//testing/scripts/common.py",
813 "//testing/xvfb.py",
814 "//testing/scripts/run_gtest_perf_test.py",
eyaich082a30c2016-11-04 20:20:57815 "//tools/perf/generate_legacy_perf_dashboard_json.py",
jbudorickbdd15902016-09-15 21:05:42816 ]
[email protected]6e44c302014-07-22 21:51:37817}