blob: 60dd77af4170160977ef7efc2a1ca5e6d023b507 [file] [log] [blame]
Avi Drissman3f7a9d82022-09-08 20:55:421# Copyright 2014 The Chromium Authors
2# Use of this source code is governed by a BSD-style license that can be
[email protected]d05751a22014-05-29 20:54:243# found in the LICENSE file.
Nico Webera86070ad2019-10-17 11:47:394import("//build/config/sanitizers/sanitizers.gni")
Jonathan Backer316ac192019-02-13 22:49:065import("//gpu/vulkan/features.gni")
Sean Gilhulye8287932020-04-20 15:42:556import("//skia/features.gni")
Saifuddin Hitawala8311d5032023-08-18 14:58:317import("//ui/gl/features.gni")
[email protected]d05751a22014-05-29 20:54:248
loyso3dd20892016-11-22 07:11:019import("//cc/cc.gni")
qsrfb5251d12015-01-21 15:57:2210
Dave Tapuskafc4adbae2020-12-02 22:08:5911if (is_android) {
12 import("//build/config/android/rules.gni")
13}
14
loyso3dd20892016-11-22 07:11:0115cc_component("cc") {
[email protected]d05751a22014-05-29 20:54:2416 sources = [
chrishtr82b5d9502017-03-20 18:25:3317 "benchmarks/benchmark_instrumentation.cc",
18 "benchmarks/benchmark_instrumentation.h",
19 "benchmarks/invalidation_benchmark.cc",
20 "benchmarks/invalidation_benchmark.h",
21 "benchmarks/micro_benchmark.cc",
22 "benchmarks/micro_benchmark.h",
23 "benchmarks/micro_benchmark_controller.cc",
24 "benchmarks/micro_benchmark_controller.h",
25 "benchmarks/micro_benchmark_controller_impl.cc",
26 "benchmarks/micro_benchmark_controller_impl.h",
27 "benchmarks/micro_benchmark_impl.cc",
28 "benchmarks/micro_benchmark_impl.h",
29 "benchmarks/rasterize_and_record_benchmark.cc",
30 "benchmarks/rasterize_and_record_benchmark.h",
31 "benchmarks/rasterize_and_record_benchmark_impl.cc",
32 "benchmarks/rasterize_and_record_benchmark_impl.h",
33 "benchmarks/unittest_only_benchmark.cc",
34 "benchmarks/unittest_only_benchmark.h",
35 "benchmarks/unittest_only_benchmark_impl.cc",
36 "benchmarks/unittest_only_benchmark_impl.h",
Sahir Vellani5adb2682020-10-09 16:33:2837 "input/actively_scrolling_type.h",
mdjones2ee41afd2016-10-27 16:50:2038 "input/browser_controls_offset_manager.cc",
39 "input/browser_controls_offset_manager.h",
40 "input/browser_controls_offset_manager_client.h",
Dave Tapuskafc4adbae2020-12-02 22:08:5941 "input/browser_controls_state.h",
David Bokan8d1ed9a2020-08-19 13:22:4342 "input/compositor_input_interfaces.h",
Xianzhu Wang0e6d4432023-08-10 22:40:4843 "input/hit_test_opaqueness.cc",
44 "input/hit_test_opaqueness.h",
Steve Kobes582e9e4f2022-07-18 16:08:1245 "input/input_handler.cc",
[email protected]d05751a22014-05-29 20:54:2446 "input/input_handler.h",
[email protected]b2ba2d42014-07-03 18:14:5047 "input/layer_selection_bound.cc",
48 "input/layer_selection_bound.h",
Xianzhu Wang81f6c4d72018-05-17 19:23:5449 "input/main_thread_scrolling_reason.cc",
wychen800b09972016-11-03 09:00:2050 "input/main_thread_scrolling_reason.h",
Sandra Sun2288e8532017-11-30 22:50:1651 "input/overscroll_behavior.h",
satorux457770e2015-02-18 18:33:3952 "input/page_scale_animation.cc",
53 "input/page_scale_animation.h",
ccameron4163cc352014-11-13 19:06:3654 "input/scroll_elasticity_helper.cc",
55 "input/scroll_elasticity_helper.h",
Sandra Sun0711bba2017-12-20 05:12:2956 "input/scroll_snap_data.cc",
57 "input/scroll_snap_data.h",
tdresserd9e201472015-07-31 13:15:0758 "input/scroll_state.cc",
59 "input/scroll_state.h",
tdresser99c9ff52015-12-14 15:47:0960 "input/scroll_state_data.cc",
61 "input/scroll_state_data.h",
Joao Victor Almeida4d2469f2020-06-19 03:30:1662 "input/scroll_utils.cc",
63 "input/scroll_utils.h",
64 "input/scrollbar.h",
loyso455b4f602016-02-24 02:59:4265 "input/scrollbar_animation_controller.cc",
66 "input/scrollbar_animation_controller.h",
Rahul Arakeri5935a302019-04-18 00:04:4467 "input/scrollbar_controller.cc",
68 "input/scrollbar_controller.h",
chaopeng2c3e1702017-01-27 04:46:0269 "input/single_scrollbar_animation_controller_thinning.cc",
70 "input/single_scrollbar_animation_controller_thinning.h",
Sandra Sunaa703712018-05-17 14:47:1471 "input/snap_fling_controller.cc",
72 "input/snap_fling_controller.h",
73 "input/snap_fling_curve.cc",
74 "input/snap_fling_curve.h",
Sandra Sune806ef72018-10-26 22:32:1575 "input/snap_selection_strategy.cc",
76 "input/snap_selection_strategy.h",
xidachenfa0199e72017-05-11 11:34:2677 "input/touch_action.h",
fsamuela4f81d1f2017-04-07 18:32:3878 "layers/append_quads_data.cc",
[email protected]d05751a22014-05-29 20:54:2479 "layers/append_quads_data.h",
[email protected]d05751a22014-05-29 20:54:2480 "layers/content_layer_client.h",
Fady Samuelb46e0ef2018-01-30 04:48:4181 "layers/deadline_policy.cc",
82 "layers/deadline_policy.h",
Bo Liu96368332017-06-15 19:52:4383 "layers/draw_mode.h",
ennefffb119c2015-08-29 09:17:3084 "layers/draw_properties.cc",
[email protected]d05751a22014-05-29 20:54:2485 "layers/draw_properties.h",
ajuma956219582017-04-04 19:58:1486 "layers/effect_tree_layer_list_iterator.cc",
87 "layers/effect_tree_layer_list_iterator.h",
[email protected]d05751a22014-05-29 20:54:2488 "layers/heads_up_display_layer.cc",
89 "layers/heads_up_display_layer.h",
90 "layers/heads_up_display_layer_impl.cc",
91 "layers/heads_up_display_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:2492 "layers/layer.cc",
93 "layers/layer.h",
vollick83fbfc82016-03-22 18:33:2794 "layers/layer_collections.h",
[email protected]d05751a22014-05-29 20:54:2495 "layers/layer_impl.cc",
96 "layers/layer_impl.h",
vollick44d1c1f2016-03-02 20:59:4397 "layers/layer_list_iterator.cc",
98 "layers/layer_list_iterator.h",
Mohsen Izadi1bcbf252019-06-27 01:26:2999 "layers/mirror_layer.cc",
100 "layers/mirror_layer.h",
101 "layers/mirror_layer_impl.cc",
102 "layers/mirror_layer_impl.h",
danakj83d0eb4f2017-09-19 17:31:58103 "layers/nine_patch_generator.cc",
104 "layers/nine_patch_generator.h",
[email protected]d05751a22014-05-29 20:54:24105 "layers/nine_patch_layer.cc",
106 "layers/nine_patch_layer.h",
107 "layers/nine_patch_layer_impl.cc",
108 "layers/nine_patch_layer_impl.h",
Xianzhu Wanga347461412024-02-20 22:46:08109 "layers/nine_patch_thumb_scrollbar_layer.cc",
110 "layers/nine_patch_thumb_scrollbar_layer.h",
111 "layers/nine_patch_thumb_scrollbar_layer_impl.cc",
112 "layers/nine_patch_thumb_scrollbar_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24113 "layers/painted_scrollbar_layer.cc",
114 "layers/painted_scrollbar_layer.h",
115 "layers/painted_scrollbar_layer_impl.cc",
116 "layers/painted_scrollbar_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24117 "layers/picture_layer.cc",
118 "layers/picture_layer.h",
119 "layers/picture_layer_impl.cc",
120 "layers/picture_layer_impl.h",
chrishtrac41ff92017-03-17 05:07:30121 "layers/recording_source.cc",
122 "layers/recording_source.h",
[email protected]d05751a22014-05-29 20:54:24123 "layers/render_surface_impl.cc",
124 "layers/render_surface_impl.h",
Xianzhu Wang6a2e9d02019-10-09 17:53:49125 "layers/scrollbar_layer_base.cc",
126 "layers/scrollbar_layer_base.h",
[email protected]d05751a22014-05-29 20:54:24127 "layers/scrollbar_layer_impl_base.cc",
128 "layers/scrollbar_layer_impl_base.h",
[email protected]d05751a22014-05-29 20:54:24129 "layers/solid_color_layer.cc",
130 "layers/solid_color_layer.h",
131 "layers/solid_color_layer_impl.cc",
132 "layers/solid_color_layer_impl.h",
133 "layers/solid_color_scrollbar_layer.cc",
134 "layers/solid_color_scrollbar_layer.h",
135 "layers/solid_color_scrollbar_layer_impl.cc",
136 "layers/solid_color_scrollbar_layer_impl.h",
137 "layers/surface_layer.cc",
138 "layers/surface_layer.h",
139 "layers/surface_layer_impl.cc",
140 "layers/surface_layer_impl.h",
141 "layers/texture_layer.cc",
142 "layers/texture_layer.h",
143 "layers/texture_layer_client.h",
144 "layers/texture_layer_impl.cc",
145 "layers/texture_layer_impl.h",
Prashant Nevase52c3dc612019-06-20 04:47:51146 "layers/tile_size_calculator.cc",
147 "layers/tile_size_calculator.h",
Hayley Ferrd9ee3a72017-06-16 14:16:09148 "layers/touch_action_region.cc",
149 "layers/touch_action_region.h",
[email protected]d05751a22014-05-29 20:54:24150 "layers/ui_resource_layer.cc",
151 "layers/ui_resource_layer.h",
152 "layers/ui_resource_layer_impl.cc",
153 "layers/ui_resource_layer_impl.h",
154 "layers/video_frame_provider.h",
155 "layers/video_frame_provider_client_impl.cc",
156 "layers/video_frame_provider_client_impl.h",
157 "layers/video_layer.cc",
158 "layers/video_layer.h",
159 "layers/video_layer_impl.cc",
160 "layers/video_layer_impl.h",
Vladimir Levin501455e2022-11-04 20:04:54161 "layers/view_transition_content_layer.cc",
162 "layers/view_transition_content_layer.h",
163 "layers/view_transition_content_layer_impl.cc",
164 "layers/view_transition_content_layer_impl.h",
bokanaa2748312015-03-26 00:10:37165 "layers/viewport.cc",
166 "layers/viewport.h",
Joao Victor Almeida917ce172020-07-07 20:56:12167 "metrics/average_lag_tracker.cc",
168 "metrics/average_lag_tracker.h",
169 "metrics/average_lag_tracking_manager.cc",
170 "metrics/average_lag_tracking_manager.h",
Stephen Chenney329976d2019-09-27 16:47:35171 "metrics/begin_main_frame_metrics.cc",
172 "metrics/begin_main_frame_metrics.h",
behdad5fb48ea22019-08-12 18:15:36173 "metrics/compositor_frame_reporter.cc",
174 "metrics/compositor_frame_reporter.h",
175 "metrics/compositor_frame_reporting_controller.cc",
176 "metrics/compositor_frame_reporting_controller.h",
177 "metrics/compositor_timing_history.cc",
178 "metrics/compositor_timing_history.h",
Xiyuan Xia81e9e3f2022-05-05 17:26:08179 "metrics/custom_metrics_recorder.cc",
180 "metrics/custom_metrics_recorder.h",
Xida Chene5a9b4e02020-06-23 00:35:35181 "metrics/dropped_frame_counter.cc",
182 "metrics/dropped_frame_counter.h",
Mohsen Izadid32e777a2022-02-15 22:23:42183 "metrics/event_latency_tracing_recorder.cc",
184 "metrics/event_latency_tracing_recorder.h",
Mohsen Izadi54b3b332022-05-25 16:16:40185 "metrics/event_latency_tracker.cc",
186 "metrics/event_latency_tracker.h",
Mohsen Izadia52ab642020-03-03 05:21:27187 "metrics/event_metrics.cc",
188 "metrics/event_metrics.h",
189 "metrics/events_metrics_manager.cc",
190 "metrics/events_metrics_manager.h",
Sadrul Habib Chowdhury7fadd1a2021-12-02 20:48:32191 "metrics/frame_info.cc",
192 "metrics/frame_info.h",
Xida Chen1bcc8d12020-04-20 16:17:26193 "metrics/frame_sequence_metrics.cc",
194 "metrics/frame_sequence_metrics.h",
behdad5fb48ea22019-08-12 18:15:36195 "metrics/frame_sequence_tracker.cc",
196 "metrics/frame_sequence_tracker.h",
Xida Chen1bcc8d12020-04-20 16:17:26197 "metrics/frame_sequence_tracker_collection.cc",
198 "metrics/frame_sequence_tracker_collection.h",
behdada140f2d2020-11-09 23:26:57199 "metrics/frame_sorter.cc",
200 "metrics/frame_sorter.h",
Stephen Chenney1850c942019-12-20 20:47:40201 "metrics/latency_ukm_reporter.cc",
202 "metrics/latency_ukm_reporter.h",
Xianzhu Wang6af35cf2020-04-20 18:34:06203 "metrics/lcd_text_metrics_reporter.cc",
204 "metrics/lcd_text_metrics_reporter.h",
Omar Elmekkawy5dda5e72023-04-05 11:16:10205 "metrics/predictor_jank_tracker.cc",
206 "metrics/predictor_jank_tracker.h",
Kartar Singh3a4d5ff32023-05-18 17:14:29207 "metrics/scroll_jank_dropped_frame_tracker.cc",
208 "metrics/scroll_jank_dropped_frame_tracker.h",
Harkiran Bolariab64c1822023-12-20 11:14:10209 "metrics/scroll_jank_ukm_reporter.cc",
210 "metrics/scroll_jank_ukm_reporter.h",
Weiliang Chen7039c1f2021-01-28 18:37:15211 "metrics/shared_metrics_buffer.h",
Sadrul Habib Chowdhury941ebc912020-08-20 04:01:43212 "metrics/total_frame_counter.cc",
213 "metrics/total_frame_counter.h",
behdaddbd7d252021-12-08 20:13:53214 "metrics/ukm_smoothness_data.cc",
Sadrul Habib Chowdhury403923e2020-10-01 09:53:16215 "metrics/ukm_smoothness_data.h",
Eugene Zemtsovbea39392020-03-17 01:44:22216 "metrics/video_playback_roughness_reporter.cc",
217 "metrics/video_playback_roughness_reporter.h",
Weiliang Chen14358972020-11-20 22:20:54218 "metrics/web_vital_metrics.cc",
219 "metrics/web_vital_metrics.h",
prashant.nb4d4f492016-04-29 12:51:28220 "raster/bitmap_raster_buffer_provider.cc",
221 "raster/bitmap_raster_buffer_provider.h",
Ken Rockot2ab918c72023-04-13 17:53:17222 "raster/categorized_worker_pool.cc",
223 "raster/categorized_worker_pool.h",
prashant.nb4d4f492016-04-29 12:51:28224 "raster/gpu_raster_buffer_provider.cc",
225 "raster/gpu_raster_buffer_provider.h",
Xianzhu Wang3e5660a82020-04-16 18:13:25226 "raster/lcd_text_disallowed_reason.cc",
227 "raster/lcd_text_disallowed_reason.h",
prashant.nb4d4f492016-04-29 12:51:28228 "raster/one_copy_raster_buffer_provider.cc",
229 "raster/one_copy_raster_buffer_provider.h",
Xida Chenb28759182019-01-16 04:53:24230 "raster/paint_worklet_image_provider.cc",
231 "raster/paint_worklet_image_provider.h",
Khushald880a1512017-07-26 23:48:04232 "raster/playback_image_provider.cc",
233 "raster/playback_image_provider.h",
danakj920156852015-05-18 20:22:29234 "raster/raster_buffer.cc",
235 "raster/raster_buffer.h",
prashant.nb4d4f492016-04-29 12:51:28236 "raster/raster_buffer_provider.cc",
237 "raster/raster_buffer_provider.h",
Chris Blumee4d90f2cf2020-11-20 03:50:57238 "raster/raster_query_queue.cc",
239 "raster/raster_query_queue.h",
chrishtrac41ff92017-03-17 05:07:30240 "raster/raster_source.cc",
241 "raster/raster_source.h",
Khushal3cfc77f2018-08-15 07:19:58242 "raster/scoped_grcontext_access.h",
ericrk4e3aa5a2015-12-01 03:53:56243 "raster/single_thread_task_graph_runner.cc",
244 "raster/single_thread_task_graph_runner.h",
prashant.na9dd9ef2016-04-08 19:57:10245 "raster/staging_buffer_pool.cc",
246 "raster/staging_buffer_pool.h",
ericrk4e3aa5a2015-12-01 03:53:56247 "raster/synchronous_task_graph_runner.cc",
248 "raster/synchronous_task_graph_runner.h",
prashant.n49b3e64652016-04-19 07:04:49249 "raster/task.cc",
250 "raster/task.h",
ericrk374dee72016-01-13 03:38:05251 "raster/task_category.h",
danakj920156852015-05-18 20:22:29252 "raster/task_graph_runner.h",
ericrk4e3aa5a2015-12-01 03:53:56253 "raster/task_graph_work_queue.cc",
254 "raster/task_graph_work_queue.h",
prashant.n6cb1bb82016-04-20 05:15:58255 "raster/tile_task.cc",
256 "raster/tile_task.h",
prashant.nb4d4f492016-04-29 12:51:28257 "raster/zero_copy_raster_buffer_provider.cc",
258 "raster/zero_copy_raster_buffer_provider.h",
danakj92d63892018-03-29 23:43:28259 "resources/cross_thread_shared_bitmap.cc",
260 "resources/cross_thread_shared_bitmap.h",
[email protected]d05751a22014-05-29 20:54:24261 "resources/memory_history.cc",
262 "resources/memory_history.h",
[email protected]d05751a22014-05-29 20:54:24263 "resources/resource_pool.cc",
264 "resources/resource_pool.h",
[email protected]d05751a22014-05-29 20:54:24265 "resources/scoped_ui_resource.cc",
266 "resources/scoped_ui_resource.h",
danakj92d63892018-03-29 23:43:28267 "resources/shared_bitmap_id_registrar.cc",
268 "resources/shared_bitmap_id_registrar.h",
[email protected]d05751a22014-05-29 20:54:24269 "resources/ui_resource_bitmap.cc",
270 "resources/ui_resource_bitmap.h",
271 "resources/ui_resource_client.h",
khushalsagar8ec07402016-09-10 03:13:19272 "resources/ui_resource_manager.cc",
273 "resources/ui_resource_manager.h",
[email protected]d05751a22014-05-29 20:54:24274 "resources/ui_resource_request.cc",
275 "resources/ui_resource_request.h",
mithro0bdb49d2015-05-27 13:08:01276 "scheduler/begin_frame_tracker.cc",
277 "scheduler/begin_frame_tracker.h",
mithrof7a21502014-12-17 03:24:48278 "scheduler/commit_earlyout_reason.h",
[email protected]d05751a22014-05-29 20:54:24279 "scheduler/draw_result.h",
280 "scheduler/scheduler.cc",
281 "scheduler/scheduler.h",
282 "scheduler/scheduler_settings.cc",
283 "scheduler/scheduler_settings.h",
284 "scheduler/scheduler_state_machine.cc",
285 "scheduler/scheduler_state_machine.h",
sunnyps7d073dc2015-04-16 23:29:12286 "scheduler/video_frame_controller.h",
khushalsagard3b8827d2017-02-18 18:42:54287 "tiles/checker_image_tracker.cc",
288 "tiles/checker_image_tracker.h",
vmpstra6b30162017-01-12 20:23:03289 "tiles/decoded_image_tracker.cc",
290 "tiles/decoded_image_tracker.h",
danakj920156852015-05-18 20:22:29291 "tiles/eviction_tile_priority_queue.cc",
292 "tiles/eviction_tile_priority_queue.h",
chrishtr82b5d9502017-03-20 18:25:33293 "tiles/frame_viewer_instrumentation.cc",
294 "tiles/frame_viewer_instrumentation.h",
vmpstr70289fb62016-12-01 02:33:05295 "tiles/gpu_image_decode_cache.cc",
296 "tiles/gpu_image_decode_cache.h",
vmpstre556bda62016-12-02 01:51:40297 "tiles/image_controller.cc",
298 "tiles/image_controller.h",
Khushal9e40c592017-07-17 20:22:13299 "tiles/image_decode_cache.cc",
vmpstr70289fb62016-12-01 02:33:05300 "tiles/image_decode_cache.h",
Reza.Zakerinasab9afecdf2018-09-25 11:26:26301 "tiles/image_decode_cache_utils.cc",
302 "tiles/image_decode_cache_utils.h",
ericrkc7ebaa12016-06-09 21:05:55303 "tiles/mipmap_util.cc",
304 "tiles/mipmap_util.h",
danakj920156852015-05-18 20:22:29305 "tiles/picture_layer_tiling.cc",
306 "tiles/picture_layer_tiling.h",
307 "tiles/picture_layer_tiling_set.cc",
308 "tiles/picture_layer_tiling_set.h",
309 "tiles/prioritized_tile.cc",
310 "tiles/prioritized_tile.h",
Prashant Nevase61bad242020-10-14 20:55:56311 "tiles/raster_dark_mode_filter.h",
danakj920156852015-05-18 20:22:29312 "tiles/raster_tile_priority_queue.cc",
313 "tiles/raster_tile_priority_queue.h",
314 "tiles/raster_tile_priority_queue_all.cc",
315 "tiles/raster_tile_priority_queue_all.h",
316 "tiles/raster_tile_priority_queue_required.cc",
317 "tiles/raster_tile_priority_queue_required.h",
vmpstr70289fb62016-12-01 02:33:05318 "tiles/software_image_decode_cache.cc",
319 "tiles/software_image_decode_cache.h",
Vladimir Levin0342a7912018-01-03 19:12:55320 "tiles/software_image_decode_cache_utils.cc",
321 "tiles/software_image_decode_cache_utils.h",
danakj920156852015-05-18 20:22:29322 "tiles/tile.cc",
323 "tiles/tile.h",
324 "tiles/tile_draw_info.cc",
325 "tiles/tile_draw_info.h",
326 "tiles/tile_manager.cc",
327 "tiles/tile_manager.h",
khushalsagard3b8827d2017-02-18 18:42:54328 "tiles/tile_manager_settings.h",
danakj920156852015-05-18 20:22:29329 "tiles/tile_priority.cc",
330 "tiles/tile_priority.h",
prashant.nb4d4f492016-04-29 12:51:28331 "tiles/tile_task_manager.cc",
332 "tiles/tile_task_manager.h",
Scott Violetce64db62022-02-18 00:26:53333 "tiles/tiles_with_resource_iterator.cc",
334 "tiles/tiles_with_resource_iterator.h",
danakj920156852015-05-18 20:22:29335 "tiles/tiling_set_eviction_queue.cc",
336 "tiles/tiling_set_eviction_queue.h",
337 "tiles/tiling_set_raster_queue_all.cc",
338 "tiles/tiling_set_raster_queue_all.h",
339 "tiles/tiling_set_raster_queue_required.cc",
340 "tiles/tiling_set_raster_queue_required.h",
Xida Chenc5cb8562019-08-14 22:41:56341 "trees/animated_paint_worklet_tracker.cc",
342 "trees/animated_paint_worklet_tracker.h",
Jordan Taylorfc0cdda02019-05-20 18:01:25343 "trees/animation_effect_timings.h",
Yi Gua5a3bb6c2018-06-01 22:16:07344 "trees/animation_options.h",
Sinan Sahin92a360bc2019-12-05 19:20:45345 "trees/browser_controls_params.cc",
346 "trees/browser_controls_params.h",
trchendba8b1502016-07-08 09:47:01347 "trees/clip_node.cc",
348 "trees/clip_node.h",
Stefan Zager40f911d2021-10-28 21:30:21349 "trees/commit_state.cc",
350 "trees/commit_state.h",
David Bokanb37e1d9b2020-08-18 20:09:12351 "trees/compositor_commit_data.cc",
352 "trees/compositor_commit_data.h",
khushalsagar19458bd2015-12-08 02:19:01353 "trees/compositor_mode.h",
[email protected]d05751a22014-05-29 20:54:24354 "trees/damage_tracker.cc",
355 "trees/damage_tracker.h",
chrishtr82b5d9502017-03-20 18:25:33356 "trees/debug_rect_history.cc",
357 "trees/debug_rect_history.h",
vollick51ed1a22014-12-17 02:03:00358 "trees/draw_property_utils.cc",
359 "trees/draw_property_utils.h",
trchendba8b1502016-07-08 09:47:01360 "trees/effect_node.cc",
361 "trees/effect_node.h",
Khushal Sagar1d3fc722020-05-04 21:44:11362 "trees/frame_rate_estimator.cc",
363 "trees/frame_rate_estimator.h",
Khushalfdacdc92017-09-22 22:40:52364 "trees/image_animation_controller.cc",
365 "trees/image_animation_controller.h",
danakjba65a0912017-09-21 16:38:42366 "trees/latency_info_swap_promise.cc",
367 "trees/latency_info_swap_promise.h",
jamesrf313a212015-03-16 21:27:37368 "trees/latency_info_swap_promise_monitor.cc",
369 "trees/latency_info_swap_promise_monitor.h",
Ken Rockotc2e67812023-04-13 22:01:55370 "trees/layer_context.h",
371 "trees/layer_context_client.h",
danakjba65a0912017-09-21 16:38:42372 "trees/layer_tree_frame_sink.cc",
373 "trees/layer_tree_frame_sink.h",
374 "trees/layer_tree_frame_sink_client.h",
khushalsagare0e4486e2017-01-25 03:15:03375 "trees/layer_tree_host.cc",
[email protected]d05751a22014-05-29 20:54:24376 "trees/layer_tree_host.h",
Dave Tapuska862d9892024-02-14 22:07:48377 "trees/layer_tree_host_client.cc",
[email protected]d05751a22014-05-29 20:54:24378 "trees/layer_tree_host_client.h",
[email protected]d05751a22014-05-29 20:54:24379 "trees/layer_tree_host_impl.cc",
380 "trees/layer_tree_host_impl.h",
ccameron00e438cd2015-03-12 06:18:14381 "trees/layer_tree_host_single_thread_client.h",
[email protected]d05751a22014-05-29 20:54:24382 "trees/layer_tree_impl.cc",
383 "trees/layer_tree_impl.h",
Majid Valipoure9855f72017-10-20 02:08:58384 "trees/layer_tree_mutator.cc",
loyso720c7c552016-11-10 23:16:39385 "trees/layer_tree_mutator.h",
[email protected]d05751a22014-05-29 20:54:24386 "trees/layer_tree_settings.cc",
387 "trees/layer_tree_settings.h",
Ken Rockotc2e67812023-04-13 22:01:55388 "trees/local_layer_context.cc",
389 "trees/local_layer_context.h",
danakjba65a0912017-09-21 16:38:42390 "trees/managed_memory_policy.cc",
391 "trees/managed_memory_policy.h",
Liviu Tintafcfc3f922021-07-26 21:45:22392 "trees/mobile_optimized_viewport_util.cc",
393 "trees/mobile_optimized_viewport_util.h",
loyso6d6356e2016-11-02 23:41:08394 "trees/mutator_host.h",
loysobb93befc2015-07-03 00:19:50395 "trees/mutator_host_client.h",
vmpstrcdcb5f72014-09-11 00:58:37396 "trees/occlusion.cc",
397 "trees/occlusion.h",
[email protected]d05751a22014-05-29 20:54:24398 "trees/occlusion_tracker.cc",
399 "trees/occlusion_tracker.h",
Khushale12ee1d2021-07-15 21:13:48400 "trees/paint_holding_commit_trigger.cc",
Stephen Chenneya4125562019-05-29 23:59:15401 "trees/paint_holding_commit_trigger.h",
Khushale12ee1d2021-07-15 21:13:48402 "trees/paint_holding_reason.h",
Tom McKee3b4b22e22019-05-24 20:48:00403 "trees/presentation_time_callback_buffer.cc",
404 "trees/presentation_time_callback_buffer.h",
loysoab298a032016-11-15 23:42:43405 "trees/property_animation_state.cc",
406 "trees/property_animation_state.h",
Xianzhu Wangd5ad6f22024-02-01 20:32:51407 "trees/property_ids.h",
vollick51ed1a22014-12-17 02:03:00408 "trees/property_tree.cc",
409 "trees/property_tree.h",
410 "trees/property_tree_builder.cc",
411 "trees/property_tree_builder.h",
[email protected]d05751a22014-05-29 20:54:24412 "trees/proxy.h",
khushalsagare3c9fa92015-10-28 02:08:29413 "trees/proxy_common.cc",
414 "trees/proxy_common.h",
khushalsagar0a226af2015-12-09 10:30:20415 "trees/proxy_impl.cc",
khushalsagar5d6eb982015-09-25 22:44:56416 "trees/proxy_impl.h",
khushalsagar0a226af2015-12-09 10:30:20417 "trees/proxy_main.cc",
khushalsagar5d6eb982015-09-25 22:44:56418 "trees/proxy_main.h",
kylechar58c09f72023-07-11 21:27:34419 "trees/raster_capabilities.cc",
sohanjg10ca51f2023-05-24 03:06:06420 "trees/raster_capabilities.h",
Maksim Sisov4c1ee8e2022-10-04 15:13:28421 "trees/raster_context_provider_wrapper.cc",
422 "trees/raster_context_provider_wrapper.h",
Jonathan89a3da22018-01-12 16:41:20423 "trees/render_frame_metadata.cc",
424 "trees/render_frame_metadata.h",
jonrossa2ff4f82018-02-16 17:27:46425 "trees/render_frame_metadata_observer.h",
[email protected]aeeedad2014-08-22 18:16:22426 "trees/scoped_abort_remaining_swap_promises.h",
trchendba8b1502016-07-08 09:47:01427 "trees/scroll_node.cc",
428 "trees/scroll_node.h",
[email protected]d05751a22014-05-29 20:54:24429 "trees/single_thread_proxy.cc",
430 "trees/single_thread_proxy.h",
Xianzhu Wang41319ab42019-08-28 01:06:36431 "trees/sticky_position_constraint.cc",
432 "trees/sticky_position_constraint.h",
danakjba65a0912017-09-21 16:38:42433 "trees/swap_promise.h",
khushalsagar8297ae992016-09-14 20:51:23434 "trees/swap_promise_manager.cc",
435 "trees/swap_promise_manager.h",
Ian Vollicka35501fa2017-10-16 19:32:21436 "trees/target_property.cc",
loysoab298a032016-11-15 23:42:43437 "trees/target_property.h",
khushalsagarb64b360d2015-10-21 19:25:16438 "trees/task_runner_provider.cc",
439 "trees/task_runner_provider.h",
yjliua98c7e432021-02-26 00:34:51440 "trees/throttle_decider.cc",
441 "trees/throttle_decider.h",
trchendba8b1502016-07-08 09:47:01442 "trees/transform_node.cc",
443 "trees/transform_node.h",
[email protected]d05751a22014-05-29 20:54:24444 "trees/tree_synchronizer.cc",
445 "trees/tree_synchronizer.h",
Khushal3e96e662017-10-30 23:16:50446 "trees/ukm_manager.cc",
447 "trees/ukm_manager.h",
danakj4886cad2019-02-26 22:15:56448 "trees/viewport_layers.cc",
449 "trees/viewport_layers.h",
Stefan Zager40f911d2021-10-28 21:30:21450 "trees/viewport_property_ids.h",
Vladimir Levin501455e2022-11-04 20:04:54451 "view_transition/view_transition_request.cc",
452 "view_transition/view_transition_request.h",
[email protected]d05751a22014-05-29 20:54:24453 ]
454
Brett Wilsone53895272014-09-23 23:41:46455 public_deps = [
jamesrf313a212015-03-16 21:27:37456 "//cc/base",
Khushal7865b5be2017-11-22 03:12:06457 "//cc/paint",
Fady Samuel555c8d12017-07-07 23:14:09458 "//components/viz/common",
Brett Wilsone53895272014-09-23 23:41:46459 "//skia",
460 ]
[email protected]d05751a22014-05-29 20:54:24461 deps = [
462 "//base",
Yuta Hijikata173c7d62020-11-10 06:21:37463 "//build:chromeos_buildflags",
Minoru Chikamune5b4ff9232023-10-05 05:08:53464 "//components/miracle_parameter/common",
danakj7b631be2018-05-25 19:14:20465 "//components/viz/client",
Sadrul Habib Chowdhury403923e2020-10-01 09:53:16466 "//device/base/synchronization",
[email protected]d05751a22014-05-29 20:54:24467 "//gpu",
jbromancba3d2fe2014-09-16 01:04:24468 "//gpu/command_buffer/client:gles2_interface",
Victor Miura3a4ad4f82017-12-13 06:03:45469 "//gpu/command_buffer/client:raster_interface",
Maggie Chen4b3c6b7d2023-12-13 23:29:58470 "//gpu/ipc/client",
fsamueledc0c2c2016-11-18 22:28:04471 "//gpu/skia_bindings:skia_bindings",
Scott Violeta35f9a42018-03-22 22:00:44472 "//gpu/vulkan:buildflags",
danakjdda293b2018-05-29 18:27:40473 "//media", # For VideoLayerImpl.
samansbf8eacc2017-01-27 22:59:25474 "//mojo/public/cpp/bindings:struct_traits",
Khushal3e96e662017-10-30 23:16:50475 "//services/metrics/public/cpp:ukm_builders",
Asanka Herath6d528502020-02-13 20:32:17476 "//services/metrics/public/mojom",
Andrew Shulaev76231652020-03-04 15:05:18477 "//services/tracing/public/cpp:cpp",
Christopher Camerond3987822022-02-26 04:28:50478 "//skia:skcms",
Peng Huang5f3d4352021-11-23 17:51:29479 "//ui/base:features",
Nico Weber9d6e12942016-04-19 18:51:09480 "//ui/events:events_base",
[email protected]d05751a22014-05-29 20:54:24481 "//ui/gfx",
Ian Vollicke11d9a82021-02-24 02:34:51482 "//ui/gfx/animation/keyframe",
[email protected]d05751a22014-05-29 20:54:24483 "//ui/gfx/geometry",
ericrkf08855b42015-08-06 00:20:22484 "//ui/gl",
mfomitchev3ba450ad2017-04-03 18:20:40485 "//ui/latency",
[email protected]d05751a22014-05-29 20:54:24486 ]
[email protected]d05751a22014-05-29 20:54:24487
[email protected]3ffa36a2014-07-24 21:01:50488 defines = [ "CC_IMPLEMENTATION=1" ]
[email protected]d05751a22014-05-29 20:54:24489}
490
Nico Weber803e0a52018-09-25 17:32:45491cc_test_static_library("test_support") {
Brett Wilson8f80ad0b2014-09-08 19:50:24492 testonly = true
[email protected]d05751a22014-05-29 20:54:24493 sources = [
494 "test/animation_test_common.cc",
495 "test/animation_test_common.h",
loysobb93befc2015-07-03 00:19:50496 "test/animation_timelines_test_common.cc",
497 "test/animation_timelines_test_common.h",
Kaan Alsana27ebc152019-04-17 15:56:58498 "test/fake_compositor_frame_reporting_controller.cc",
499 "test/fake_compositor_frame_reporting_controller.h",
[email protected]d05751a22014-05-29 20:54:24500 "test/fake_content_layer_client.cc",
501 "test/fake_content_layer_client.h",
Sadrul Habib Chowdhurye102a1be2021-12-09 03:43:05502 "test/fake_frame_info.cc",
503 "test/fake_frame_info.h",
khushalsagarb64b360d2015-10-21 19:25:16504 "test/fake_impl_task_runner_provider.h",
danakjc7afae52017-06-20 21:12:41505 "test/fake_layer_tree_frame_sink.cc",
506 "test/fake_layer_tree_frame_sink.h",
507 "test/fake_layer_tree_frame_sink_client.cc",
508 "test/fake_layer_tree_frame_sink_client.h",
[email protected]d05751a22014-05-29 20:54:24509 "test/fake_layer_tree_host.cc",
510 "test/fake_layer_tree_host.h",
511 "test/fake_layer_tree_host_client.cc",
512 "test/fake_layer_tree_host_client.h",
513 "test/fake_layer_tree_host_impl.cc",
514 "test/fake_layer_tree_host_impl.h",
515 "test/fake_layer_tree_host_impl_client.cc",
516 "test/fake_layer_tree_host_impl_client.h",
ajumad9432e32015-11-30 19:43:44517 "test/fake_mask_layer_impl.cc",
518 "test/fake_mask_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24519 "test/fake_output_surface_client.cc",
520 "test/fake_output_surface_client.h",
Khushalfdacdc92017-09-22 22:40:52521 "test/fake_paint_image_generator.cc",
522 "test/fake_paint_image_generator.h",
[email protected]d05751a22014-05-29 20:54:24523 "test/fake_painted_scrollbar_layer.cc",
524 "test/fake_painted_scrollbar_layer.h",
525 "test/fake_picture_layer.cc",
526 "test/fake_picture_layer.h",
527 "test/fake_picture_layer_impl.cc",
528 "test/fake_picture_layer_impl.h",
529 "test/fake_picture_layer_tiling_client.cc",
530 "test/fake_picture_layer_tiling_client.h",
[email protected]d05751a22014-05-29 20:54:24531 "test/fake_proxy.cc",
532 "test/fake_proxy.h",
prashant.nb4d4f492016-04-29 12:51:28533 "test/fake_raster_buffer_provider.cc",
534 "test/fake_raster_buffer_provider.h",
Chris Blumee4d90f2cf2020-11-20 03:50:57535 "test/fake_raster_query_queue.cc",
536 "test/fake_raster_query_queue.h",
vmpstr41d68f882016-03-30 01:20:23537 "test/fake_raster_source.cc",
538 "test/fake_raster_source.h",
vmpstre17fd212016-03-30 20:03:32539 "test/fake_recording_source.h",
[email protected]d05751a22014-05-29 20:54:24540 "test/fake_rendering_stats_instrumentation.h",
541 "test/fake_scoped_ui_resource.cc",
542 "test/fake_scoped_ui_resource.h",
543 "test/fake_scrollbar.cc",
544 "test/fake_scrollbar.h",
545 "test/fake_tile_manager.cc",
546 "test/fake_tile_manager.h",
547 "test/fake_tile_manager_client.cc",
548 "test/fake_tile_manager_client.h",
prashant.nb4d4f492016-04-29 12:51:28549 "test/fake_tile_task_manager.cc",
550 "test/fake_tile_task_manager.h",
[email protected]d05751a22014-05-29 20:54:24551 "test/fake_ui_resource_layer_tree_host_impl.cc",
552 "test/fake_ui_resource_layer_tree_host_impl.h",
553 "test/fake_video_frame_provider.cc",
554 "test/fake_video_frame_provider.h",
[email protected]d05751a22014-05-29 20:54:24555 "test/layer_test_common.cc",
556 "test/layer_test_common.h",
Xianzhu Wang66e13e02019-09-18 20:39:12557 "test/layer_tree_impl_test_base.cc",
558 "test/layer_tree_impl_test_base.h",
[email protected]d05751a22014-05-29 20:54:24559 "test/layer_tree_json_parser.cc",
560 "test/layer_tree_json_parser.h",
enne03dbe8ae2014-10-30 01:32:55561 "test/layer_tree_pixel_resource_test.cc",
562 "test/layer_tree_pixel_resource_test.h",
[email protected]d05751a22014-05-29 20:54:24563 "test/layer_tree_pixel_test.cc",
564 "test/layer_tree_pixel_test.h",
565 "test/layer_tree_test.cc",
566 "test/layer_tree_test.h",
Eric Sumd3691ee2022-01-13 20:04:26567 "test/lottie_test_data.cc",
Eric Suma213e7a2021-10-15 23:45:18568 "test/lottie_test_data.h",
Mohsen Izadi13dab1a32021-11-08 19:40:19569 "test/mock_latency_info_swap_promise_monitor.cc",
570 "test/mock_latency_info_swap_promise_monitor.h",
Majid Valipoure9855f72017-10-20 02:08:58571 "test/mock_layer_tree_mutator.cc",
572 "test/mock_layer_tree_mutator.h",
[email protected]ba16cce2014-06-17 17:03:50573 "test/mock_occlusion_tracker.h",
Xianzhu Wange16695e92023-01-11 22:42:07574 "test/paint_image_matchers.h",
Jean-Philippe Gravelef96ba92024-02-26 20:03:31575 "test/paint_op_helper.cc",
Vladimir Levinf737c212017-11-13 21:25:48576 "test/paint_op_helper.h",
Jean-Philippe Gravel2f1f7112022-12-13 20:58:51577 "test/paint_op_matchers.h",
[email protected]d05751a22014-05-29 20:54:24578 "test/pixel_comparator.cc",
579 "test/pixel_comparator.h",
580 "test/pixel_test.cc",
581 "test/pixel_test.h",
582 "test/pixel_test_output_surface.cc",
583 "test/pixel_test_output_surface.h",
[email protected]d05751a22014-05-29 20:54:24584 "test/pixel_test_utils.cc",
585 "test/pixel_test_utils.h",
Xianzhu Wange9a09362019-08-21 20:37:53586 "test/property_tree_test_utils.cc",
587 "test/property_tree_test_utils.h",
xingliu3c9b4cc2016-11-02 20:52:55588 "test/push_properties_counting_layer.cc",
589 "test/push_properties_counting_layer.h",
590 "test/push_properties_counting_layer_impl.cc",
591 "test/push_properties_counting_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24592 "test/render_pass_test_utils.cc",
593 "test/render_pass_test_utils.h",
Xu Xing9339c8f2017-12-25 14:25:26594 "test/resource_provider_test_utils.cc",
595 "test/resource_provider_test_utils.h",
[email protected]d05751a22014-05-29 20:54:24596 "test/scheduler_test_common.cc",
597 "test/scheduler_test_common.h",
598 "test/skia_common.cc",
599 "test/skia_common.h",
600 "test/solid_color_content_layer_client.cc",
601 "test/solid_color_content_layer_client.h",
Khushald880a1512017-07-26 23:48:04602 "test/stub_decode_cache.cc",
603 "test/stub_decode_cache.h",
Khushal Sagar9aff2522023-09-29 22:01:55604 "test/stub_input_handler_client.h",
danakjffc181a2016-07-22 22:48:43605 "test/stub_layer_tree_host_client.cc",
606 "test/stub_layer_tree_host_client.h",
607 "test/stub_layer_tree_host_single_thread_client.cc",
608 "test/stub_layer_tree_host_single_thread_client.h",
ericrk4e3aa5a2015-12-01 03:53:56609 "test/task_graph_runner_test_template.cc",
610 "test/task_graph_runner_test_template.h",
khushalsagar0a226af2015-12-09 10:30:20611 "test/test_hooks.cc",
612 "test/test_hooks.h",
Antoine Labour7f5179a2019-06-04 01:46:29613 "test/test_layer_tree_frame_sink.cc",
614 "test/test_layer_tree_frame_sink.h",
vmpstr6edf66ce2016-05-18 20:12:22615 "test/test_layer_tree_host_base.cc",
616 "test/test_layer_tree_host_base.h",
[email protected]d05751a22014-05-29 20:54:24617 "test/test_occlusion_tracker.h",
Khushala8d50642018-05-03 01:29:06618 "test/test_options_provider.cc",
619 "test/test_options_provider.h",
Xida Chencd7c5182018-12-05 19:40:32620 "test/test_paint_worklet_input.cc",
621 "test/test_paint_worklet_input.h",
Xida Chenea3139f2019-01-10 21:46:30622 "test/test_paint_worklet_layer_painter.cc",
623 "test/test_paint_worklet_layer_painter.h",
enne59df29de2017-05-02 03:23:37624 "test/test_skcanvas.cc",
625 "test/test_skcanvas.h",
reveman34b7a1522015-03-23 20:27:47626 "test/test_task_graph_runner.cc",
627 "test/test_task_graph_runner.h",
[email protected]d05751a22014-05-29 20:54:24628 "test/test_tile_priorities.cc",
629 "test/test_tile_priorities.h",
prashant.n7c706022016-05-26 19:00:09630 "test/test_tile_task_runner.cc",
631 "test/test_tile_task_runner.h",
Sean Gilhuly6d199412020-08-26 19:07:21632 "test/test_types.cc",
633 "test/test_types.h",
Khushal3e96e662017-10-30 23:16:50634 "test/test_ukm_recorder_factory.cc",
635 "test/test_ukm_recorder_factory.h",
Vladimir Levin7273cfe052017-12-13 21:41:41636 "test/transfer_cache_test_helper.cc",
637 "test/transfer_cache_test_helper.h",
[email protected]d05751a22014-05-29 20:54:24638 ]
639
Brett Wilson0380637c2014-09-19 21:24:40640 public_deps = [
641 ":cc",
loyso3dd20892016-11-22 07:11:01642 "//cc/animation",
Brett Wilsone53895272014-09-23 23:41:46643 "//gpu:test_support",
Khushala8d50642018-05-03 01:29:06644 "//testing/gmock",
Brett Wilson0380637c2014-09-19 21:24:40645 ]
[email protected]d05751a22014-05-29 20:54:24646 deps = [
647 "//base",
jamesr16c04ff2014-11-24 22:24:57648 "//base/test:test_support",
enne34f6084c2017-02-02 22:39:08649 "//cc/paint",
Khushal3e96e662017-10-30 23:16:50650 "//components/ukm",
651 "//components/ukm:test_support",
danakj7b631be2018-05-25 19:14:20652 "//components/viz/client",
Fady Samuel1d744b22017-07-10 21:23:55653 "//components/viz/common",
danakjc391f332017-07-12 20:45:52654 "//components/viz/service",
655 "//components/viz/test:test_support",
[email protected]d05751a22014-05-29 20:54:24656 "//gpu/command_buffer/client:gles2_implementation",
Antoine Labour011cf772018-01-23 00:38:39657 "//gpu/command_buffer/client:raster",
Antoine Labourfeab2392017-12-21 20:28:39658 "//gpu/command_buffer/common",
fsamuel600b99e2016-11-11 07:50:26659 "//gpu/ipc:gl_in_process_context",
Peng Huang71f313d2018-06-20 14:59:42660 "//gpu/ipc/service",
[email protected]d05751a22014-05-29 20:54:24661 "//gpu/skia_bindings",
jamesr16c04ff2014-11-24 22:24:57662 "//media",
Miyoung Shin2be27f52019-07-27 15:35:39663 "//services/viz/privileged/mojom",
[email protected]d05751a22014-05-29 20:54:24664 "//skia",
[email protected]d05751a22014-05-29 20:54:24665 "//testing/gtest",
Maksim Sisovfbb47082020-08-03 13:41:40666 "//ui/base:features",
[email protected]d05751a22014-05-29 20:54:24667 "//ui/gfx",
[email protected]e54a1f522014-07-22 23:26:48668 "//ui/gfx:test_support",
Ian Vollicke11d9a82021-02-24 02:34:51669 "//ui/gfx/animation/keyframe",
agrieved7a71c882015-11-20 19:53:28670 "//ui/gfx/geometry",
[email protected]d05751a22014-05-29 20:54:24671 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26672 "//ui/gl:test_support",
mfomitchev3ba450ad2017-04-03 18:20:40673 "//ui/latency",
[email protected]d05751a22014-05-29 20:54:24674 ]
Jonathan Backer316ac192019-02-13 22:49:06675 if (enable_vulkan) {
676 deps += [ "//gpu/vulkan/init" ]
677 }
agrieve48bd27e2016-06-22 21:04:07678 if (!is_android) {
Nico Weberf1d837982020-01-14 16:37:41679 data_deps = [ "//third_party/mesa_headers" ]
agrieve48bd27e2016-06-22 21:04:07680 }
Saifuddin Hitawala8311d5032023-08-18 14:58:31681 if (skia_use_dawn) {
682 deps += [
683 "//third_party/dawn/src/dawn:proc",
684 "//third_party/dawn/src/dawn/native",
685 ]
686 }
[email protected]d05751a22014-05-29 20:54:24687}
688
Tiago Vignatti91108182023-02-16 16:18:38689if (is_ios) {
Ian Vollick63109f692023-03-02 03:24:17690 bundle_data("unit_tests_bundle_data") {
Tiago Vignatti91108182023-02-16 16:18:38691 testonly = true
Ian Vollickbde1d5832023-11-10 17:49:11692 sources = [
693 "//testing/buildbot/filters/ios.cc_unittests.filter",
694 "test/data/lottie/animation_with_2_text_nodes.json",
695 ]
Ian Vollick63109f692023-03-02 03:24:17696 outputs = [ "{{bundle_resources_dir}}/" +
697 "{{source_root_relative_dir}}/{{source_file_part}}" ]
Tiago Vignatti91108182023-02-16 16:18:38698 }
699}
700
loyso1fe38ba42016-12-01 00:39:08701cc_test("cc_unittests") {
Dirk Pranke79d065d2020-08-29 03:28:30702 use_xvfb = use_xvfb_in_this_config
703
brettw4897a612015-03-02 23:13:15704 sources = [
brettwd649f6b2015-08-18 20:58:51705 "base/delayed_unique_notifier_unittest.cc",
jbroman7b5b0552015-05-28 03:36:58706 "base/histograms_unittest.cc",
prashant.n20ec56f2016-09-22 03:47:32707 "base/index_rect_unittest.cc",
prashant.n7f1fe3d2015-06-05 18:26:04708 "base/list_container_unittest.cc",
brettw4897a612015-03-02 23:13:15709 "base/math_util_unittest.cc",
710 "base/region_unittest.cc",
711 "base/rolling_time_delta_history_unittest.cc",
vmpstrb3ceb8222015-09-23 20:25:25712 "base/rtree_unittest.cc",
brettw4897a612015-03-02 23:13:15713 "base/simple_enclosed_region_unittest.cc",
prashant.n05192792016-09-24 03:38:20714 "base/spiral_iterator_unittest.cc",
brettw4897a612015-03-02 23:13:15715 "base/tiling_data_unittest.cc",
brettwd649f6b2015-08-18 20:58:51716 "base/unique_notifier_unittest.cc",
chrishtr82b5d9502017-03-20 18:25:33717 "benchmarks/micro_benchmark_controller_unittest.cc",
brettwd649f6b2015-08-18 20:58:51718 "debug/rendering_stats_unittest.cc",
mdjones2ee41afd2016-10-27 16:50:20719 "input/browser_controls_offset_manager_unittest.cc",
Xianzhu Wang0e6d4432023-08-10 22:40:48720 "input/hit_test_opaqueness_unittest.cc",
Xianzhu Wang81f6c4d72018-05-17 19:23:54721 "input/main_thread_scrolling_reason_unittest.cc",
Sandra Sun04ed4562018-01-16 01:49:35722 "input/scroll_snap_data_unittest.cc",
tdresserd9e201472015-07-31 13:15:07723 "input/scroll_state_unittest.cc",
chaopeng59e6fc02017-02-17 23:35:57724 "input/scrollbar_animation_controller_unittest.cc",
chaopeng2c3e1702017-01-27 04:46:02725 "input/single_scrollbar_animation_controller_thinning_unittest.cc",
Sandra Sunaa703712018-05-17 14:47:14726 "input/snap_fling_controller_unittest.cc",
727 "input/snap_fling_curve_unittest.cc",
ajuma956219582017-04-04 19:58:14728 "layers/effect_tree_layer_list_iterator_unittest.cc",
brettw4897a612015-03-02 23:13:15729 "layers/heads_up_display_layer_impl_unittest.cc",
730 "layers/heads_up_display_unittest.cc",
brettw4897a612015-03-02 23:13:15731 "layers/layer_impl_unittest.cc",
vollick44d1c1f2016-03-02 20:59:43732 "layers/layer_list_iterator_unittest.cc",
brettw4897a612015-03-02 23:13:15733 "layers/layer_unittest.cc",
Mohsen Izadi1bcbf252019-06-27 01:26:29734 "layers/mirror_layer_unittest.cc",
danakj83d0eb4f2017-09-19 17:31:58735 "layers/nine_patch_generator_unittest.cc",
brettw4897a612015-03-02 23:13:15736 "layers/nine_patch_layer_impl_unittest.cc",
737 "layers/nine_patch_layer_unittest.cc",
Xianzhu Wanga347461412024-02-20 22:46:08738 "layers/nine_patch_thumb_scrollbar_layer_unittest.cc",
brettw4897a612015-03-02 23:13:15739 "layers/painted_scrollbar_layer_impl_unittest.cc",
ccamerona54da382015-11-27 00:52:33740 "layers/painted_scrollbar_layer_unittest.cc",
brettw4897a612015-03-02 23:13:15741 "layers/picture_layer_impl_unittest.cc",
742 "layers/picture_layer_unittest.cc",
chrishtrac41ff92017-03-17 05:07:30743 "layers/recording_source_unittest.cc",
brettw4897a612015-03-02 23:13:15744 "layers/render_surface_impl_unittest.cc",
745 "layers/render_surface_unittest.cc",
746 "layers/scrollbar_layer_unittest.cc",
747 "layers/solid_color_layer_impl_unittest.cc",
748 "layers/solid_color_scrollbar_layer_impl_unittest.cc",
749 "layers/surface_layer_impl_unittest.cc",
750 "layers/surface_layer_unittest.cc",
751 "layers/texture_layer_impl_unittest.cc",
752 "layers/texture_layer_unittest.cc",
Hayley Ferr2b14e2a6c2017-07-04 17:34:43753 "layers/touch_action_region_unittest.cc",
brettw4897a612015-03-02 23:13:15754 "layers/ui_resource_layer_impl_unittest.cc",
755 "layers/ui_resource_layer_unittest.cc",
dalecurtisb8396642015-06-09 18:38:14756 "layers/video_frame_provider_client_impl_unittest.cc",
brettw4897a612015-03-02 23:13:15757 "layers/video_layer_impl_unittest.cc",
ymalik99740e852016-04-07 04:18:13758 "layers/viewport_unittest.cc",
Joao Victor Almeida917ce172020-07-07 20:56:12759 "metrics/average_lag_tracker_unittest.cc",
760 "metrics/average_lag_tracking_manager_unittest.cc",
behdad5fb48ea22019-08-12 18:15:36761 "metrics/compositor_frame_reporter_unittest.cc",
762 "metrics/compositor_frame_reporting_controller_unittest.cc",
763 "metrics/compositor_timing_history_unittest.cc",
Sadrul Habib Chowdhury13b2a1c92020-08-27 03:51:01764 "metrics/dropped_frame_counter_unittest.cc",
Violetta Fedotovae38c0332022-09-02 17:48:22765 "metrics/event_metrics_unittest.cc",
Mohsen Izadia52ab642020-03-03 05:21:27766 "metrics/events_metrics_manager_unittest.cc",
Sadrul Habib Chowdhury28190c92021-12-10 20:50:02767 "metrics/frame_info_unittest.cc",
Sadrul Habib Chowdhury590a32f2019-12-06 20:08:45768 "metrics/frame_sequence_metrics_unittest.cc",
behdad5fb48ea22019-08-12 18:15:36769 "metrics/frame_sequence_tracker_unittest.cc",
behdada140f2d2020-11-09 23:26:57770 "metrics/frame_sorter_unittest.cc",
Omar Elmekkawy5dda5e72023-04-05 11:16:10771 "metrics/predictor_jank_tracker_unittest.cc",
Kartar Singh3a4d5ff32023-05-18 17:14:29772 "metrics/scroll_jank_dropped_frame_tracker_unittest.cc",
Harkiran Bolariab64c1822023-12-20 11:14:10773 "metrics/scroll_jank_ukm_reporter_unittest.cc",
Sadrul Habib Chowdhury941ebc912020-08-20 04:01:43774 "metrics/total_frame_counter_unittest.cc",
Eugene Zemtsovbea39392020-03-17 01:44:22775 "metrics/video_playback_roughness_reporter_unittest.cc",
danakj7b631be2018-05-25 19:14:20776 "mojo_embedder/async_layer_tree_frame_sink_unittest.cc",
Xianzhu Wangd3e33c732020-08-14 09:56:25777 "paint/clear_for_opaque_raster_unittest.cc",
chrishtrac41ff92017-03-17 05:07:30778 "paint/discardable_image_map_unittest.cc",
779 "paint/display_item_list_unittest.cc",
Khushal7865b5be2017-11-22 03:12:06780 "paint/filter_operations_unittest.cc",
Andres Calderon Jaramilloa7071c292019-06-11 21:05:21781 "paint/image_transfer_cache_entry_unittest.cc",
Vladimir Levin22d3e0a2017-11-04 01:18:27782 "paint/oop_pixeltest.cc",
Khushal33205a72018-11-08 10:12:29783 "paint/paint_cache_unittest.cc",
Khushal0c568dc2018-03-21 01:46:07784 "paint/paint_filter_unittest.cc",
Khushalb481b282017-08-24 00:06:53785 "paint/paint_image_unittest.cc",
enne59df29de2017-05-02 03:23:37786 "paint/paint_op_buffer_unittest.cc",
Vladimir Levinf737c212017-11-13 21:25:48787 "paint/paint_op_helper_unittest.cc",
Xianzhu Wang96619a372023-02-11 02:30:19788 "paint/paint_op_writer_reader_unittest.cc",
Khushal7ae9c792017-10-05 22:26:32789 "paint/paint_shader_unittest.cc",
Xida Chenc6a98de2020-11-27 20:40:12790 "paint/paint_worklet_input_unittest.cc",
Florin Malitae32b0b72017-12-08 00:50:24791 "paint/scoped_raster_flags_unittest.cc",
Khushal058b1a92018-02-14 21:25:50792 "paint/skia_paint_canvas_unittest.cc",
Vladimir Levinaee539102017-06-23 16:46:08793 "paint/solid_color_analyzer_unittest.cc",
Eric Karl16711ec2017-11-18 00:58:11794 "paint/transfer_cache_unittest.cc",
Ken Rockot2ab918c72023-04-13 17:53:17795 "raster/categorized_worker_pool_unittest.cc",
Khushald880a1512017-07-26 23:48:04796 "raster/playback_image_provider_unittest.cc",
prashant.nb4d4f492016-04-29 12:51:28797 "raster/raster_buffer_provider_unittest.cc",
chrishtrac41ff92017-03-17 05:07:30798 "raster/raster_source_unittest.cc",
ericrk4e3aa5a2015-12-01 03:53:56799 "raster/single_thread_task_graph_runner_unittest.cc",
Sadrul Habib Chowdhury6b9697f2017-12-08 04:13:43800 "raster/staging_buffer_pool_unittest.cc",
ericrk4e3aa5a2015-12-01 03:53:56801 "raster/synchronous_task_graph_runner_unittest.cc",
ericrk0f9ee9862017-01-23 19:05:39802 "raster/task_graph_work_queue_unittest.cc",
boliucb788f42015-07-22 23:49:28803 "resources/resource_pool_unittest.cc",
brettw4897a612015-03-02 23:13:15804 "scheduler/scheduler_state_machine_unittest.cc",
805 "scheduler/scheduler_unittest.cc",
Bo Liu11af9412023-04-05 19:49:39806 "slim/delayer_scheduler_unittest.cc",
Bo Liubfe80a072023-02-17 20:09:15807 "slim/slim_layer_tree_compositor_frame_unittest.cc",
Bo Liub86be5e2023-02-09 21:59:26808 "slim/slim_layer_tree_unittest.cc",
Bo Liueb64cd12023-01-27 23:14:29809 "slim/slim_layer_unittest.cc",
Bo Liub86be5e2023-02-09 21:59:26810 "slim/test_frame_sink_impl.cc",
811 "slim/test_frame_sink_impl.h",
812 "slim/test_layer_tree_client.cc",
813 "slim/test_layer_tree_client.h",
814 "slim/test_layer_tree_impl.cc",
815 "slim/test_layer_tree_impl.h",
khushalsagard3b8827d2017-02-18 18:42:54816 "tiles/checker_image_tracker_unittest.cc",
vmpstra6b30162017-01-12 20:23:03817 "tiles/decoded_image_tracker_unittest.cc",
vmpstr70289fb62016-12-01 02:33:05818 "tiles/gpu_image_decode_cache_unittest.cc",
vmpstre556bda62016-12-02 01:51:40819 "tiles/image_controller_unittest.cc",
ericrkc7ebaa12016-06-09 21:05:55820 "tiles/mipmap_util_unittest.cc",
danakj920156852015-05-18 20:22:29821 "tiles/picture_layer_tiling_set_unittest.cc",
822 "tiles/picture_layer_tiling_unittest.cc",
vmpstr70289fb62016-12-01 02:33:05823 "tiles/software_image_decode_cache_unittest.cc",
Vladimir Levin562da3d2017-12-13 18:14:55824 "tiles/software_image_decode_cache_unittest_combinations.cc",
danakj920156852015-05-18 20:22:29825 "tiles/tile_manager_unittest.cc",
826 "tiles/tile_priority_unittest.cc",
brettw4897a612015-03-02 23:13:15827 "trees/damage_tracker_unittest.cc",
Xianzhu Wang66e13e02019-09-18 20:39:12828 "trees/draw_properties_unittest.cc",
Khushal Sagar1d3fc722020-05-04 21:44:11829 "trees/frame_rate_estimator_unittest.cc",
Khushalfdacdc92017-09-22 22:40:52830 "trees/image_animation_controller_unittest.cc",
danakjba65a0912017-09-21 16:38:42831 "trees/layer_tree_frame_sink_unittest.cc",
brettw4897a612015-03-02 23:13:15832 "trees/layer_tree_host_impl_unittest.cc",
833 "trees/layer_tree_host_pixeltest_blending.cc",
834 "trees/layer_tree_host_pixeltest_filters.cc",
835 "trees/layer_tree_host_pixeltest_masks.cc",
Mohsen Izadi1bcbf252019-06-27 01:26:29836 "trees/layer_tree_host_pixeltest_mirror.cc",
brettw4897a612015-03-02 23:13:15837 "trees/layer_tree_host_pixeltest_readback.cc",
danakjd63f8a62016-08-24 03:26:48838 "trees/layer_tree_host_pixeltest_scrollbars.cc",
brettw4897a612015-03-02 23:13:15839 "trees/layer_tree_host_pixeltest_synchronous.cc",
danakje0b54782015-05-29 22:47:52840 "trees/layer_tree_host_pixeltest_tiles.cc",
brettw4897a612015-03-02 23:13:15841 "trees/layer_tree_host_unittest.cc",
842 "trees/layer_tree_host_unittest_animation.cc",
Ahmed Fakhry267e9d62021-01-07 04:47:54843 "trees/layer_tree_host_unittest_capture.cc",
Tao Baie1a7f092019-02-06 02:24:31844 "trees/layer_tree_host_unittest_capture_content.cc",
khushalsagar6dc91d02017-02-28 05:10:07845 "trees/layer_tree_host_unittest_checkerimaging.cc",
brettw4897a612015-03-02 23:13:15846 "trees/layer_tree_host_unittest_context.cc",
847 "trees/layer_tree_host_unittest_copyrequest.cc",
848 "trees/layer_tree_host_unittest_damage.cc",
Weiliang Chen73fe3c42018-05-11 19:52:37849 "trees/layer_tree_host_unittest_masks.cc",
brettw4897a612015-03-02 23:13:15850 "trees/layer_tree_host_unittest_occlusion.cc",
851 "trees/layer_tree_host_unittest_picture.cc",
852 "trees/layer_tree_host_unittest_proxy.cc",
khushalsagarb54107d02015-12-10 20:20:56853 "trees/layer_tree_host_unittest_record_gpu_histogram.cc",
brettw4897a612015-03-02 23:13:15854 "trees/layer_tree_host_unittest_scroll.cc",
855 "trees/layer_tree_host_unittest_video.cc",
856 "trees/layer_tree_impl_unittest.cc",
857 "trees/occlusion_tracker_unittest.cc",
858 "trees/occlusion_unittest.cc",
Tom McKee3b4b22e22019-05-24 20:48:00859 "trees/presentation_time_callback_buffer_unittest.cc",
Xianzhu Wang66e13e02019-09-18 20:39:12860 "trees/property_tree_builder_unittest.cc",
brettw4897a612015-03-02 23:13:15861 "trees/property_tree_unittest.cc",
khushalsagar8297ae992016-09-14 20:51:23862 "trees/swap_promise_manager_unittest.cc",
yjliua98c7e432021-02-26 00:34:51863 "trees/throttle_decider_unittest.cc",
brettw4897a612015-03-02 23:13:15864 "trees/tree_synchronizer_unittest.cc",
Khushal3e96e662017-10-30 23:16:50865 "trees/ukm_manager_unittest.cc",
Vladimir Levin501455e2022-11-04 20:04:54866 "view_transition/view_transition_request_unittest.cc",
[email protected]d05751a22014-05-29 20:54:24867
loyso3dd20892016-11-22 07:11:01868 # Animation test files.
869 "animation/animation_host_unittest.cc",
loyso3dd20892016-11-22 07:11:01870 "animation/animation_timeline_unittest.cc",
Yi Gu852bebe632018-03-02 15:15:32871 "animation/animation_unittest.cc",
loyso3dd20892016-11-22 07:11:01872 "animation/element_animations_unittest.cc",
Ian Vollicke11d9a82021-02-24 02:34:51873 "animation/filter_animation_curve_unittest.cc",
Yi Gu0c76aeb2018-02-16 19:27:59874 "animation/keyframe_model_unittest.cc",
loyso3dd20892016-11-22 07:11:01875 "animation/scroll_offset_animation_curve_unittest.cc",
Stephen McGruerbd494792017-11-13 18:16:49876 "animation/scroll_timeline_unittest.cc",
Yi Guaa830ff2018-02-22 03:09:11877 "animation/worklet_animation_unittest.cc",
[email protected]d05751a22014-05-29 20:54:24878
brettw4897a612015-03-02 23:13:15879 # Setup.
880 "test/cc_test_suite.cc",
thakisb8590c92017-03-23 18:14:53881 "test/cc_test_suite.h",
brettw4897a612015-03-02 23:13:15882 "test/run_all_unittests.cc",
883 ]
[email protected]d05751a22014-05-29 20:54:24884
Eric Sumde146e22021-10-28 19:14:51885 if (skia_support_skottie) {
Eric Sumde146e22021-10-28 19:14:51886 sources += [
887 "paint/skottie_mru_resource_provider_unittest.cc",
888 "paint/skottie_resource_metadata_unittest.cc",
Eric Sum04b5d7a2022-01-25 20:31:31889 "paint/skottie_serialization_history_unittest.cc",
Eric Sum2825a6e2022-02-18 21:54:34890 "paint/skottie_text_property_value_unittest.cc",
Eric Sumde146e22021-10-28 19:14:51891 "paint/skottie_transfer_cache_entry_unittest.cc",
892 "paint/skottie_wrapper_unittest.cc",
893 ]
agrievee41ae190d2016-04-25 14:12:51894 }
dpranke177c1e22015-07-22 23:07:43895
brettw4897a612015-03-02 23:13:15896 deps = [
897 ":cc",
898 ":test_support",
899 "//base/test:test_support",
Yuta Hijikata173c7d62020-11-10 06:21:37900 "//build:chromeos_buildflags",
danakj7b631be2018-05-25 19:14:20901 "//cc/mojo_embedder",
enne34f6084c2017-02-02 22:39:08902 "//cc/paint",
Bo Liueb64cd12023-01-27 23:14:29903 "//cc/slim",
Khushal3e96e662017-10-30 23:16:50904 "//components/ukm:test_support",
danakj7b631be2018-05-25 19:14:20905 "//components/viz/client",
Fady Samuel555c8d12017-07-07 23:14:09906 "//components/viz/common",
danakjc391f332017-07-12 20:45:52907 "//components/viz/service",
908 "//components/viz/test:test_support",
brettw4897a612015-03-02 23:13:15909 "//gpu",
910 "//gpu:test_support",
Vladimir Levin22d3e0a2017-11-04 01:18:27911 "//gpu/command_buffer/client:gles2_implementation",
brettw4897a612015-03-02 23:13:15912 "//gpu/command_buffer/client:gles2_interface",
Antoine Labour011cf772018-01-23 00:38:39913 "//gpu/command_buffer/client:raster",
Victor Miura3a4ad4f82017-12-13 06:03:45914 "//gpu/command_buffer/client:raster_interface",
Vladimir Levin22d3e0a2017-11-04 01:18:27915 "//gpu/ipc:gl_in_process_context",
Adrienne Walker46704412017-11-09 18:42:44916 "//gpu/skia_bindings",
brettw4897a612015-03-02 23:13:15917 "//media",
Ken Rockotf03d97c952018-07-04 22:08:10918 "//mojo/core/embedder",
fsamuel410c9602016-05-31 21:50:20919 "//mojo/public/cpp/bindings",
Kevin Lubick24166022023-11-01 17:14:04920 "//skia",
Eric Sumde146e22021-10-28 19:14:51921 "//skia:buildflags",
Sean Gilhulyf0f9fdd52020-10-06 20:15:55922 "//skia:skcms",
brettw4897a612015-03-02 23:13:15923 "//testing/gmock",
924 "//testing/gtest",
Nico Weber9d6e12942016-04-19 18:51:09925 "//ui/events:events_base",
brettw4897a612015-03-02 23:13:15926 "//ui/gfx",
brettw4897a612015-03-02 23:13:15927 "//ui/gfx:test_support",
Ian Vollicke11d9a82021-02-24 02:34:51928 "//ui/gfx/animation/keyframe",
agrieved7a71c882015-11-20 19:53:28929 "//ui/gfx/geometry",
brettw4897a612015-03-02 23:13:15930 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26931 "//ui/gl:test_support",
brettw4897a612015-03-02 23:13:15932 ]
kylechar451a16c2022-01-18 17:34:37933
Ian Vollick6eef1422023-03-02 19:08:25934 data = [ "//components/test/data/viz/" ]
John Budorickfa8f1da92020-01-15 18:11:38935 data_deps = [
936 "//testing/buildbot/filters:cc_unittests_filters",
937 "//third_party/mesa_headers",
938 ]
Sean Gilhuly0dc6fac2019-06-04 15:42:57939
James Shenbc321f272021-12-11 06:30:12940 if (is_android && enable_chrome_android_internal) {
941 data_deps += [ "//clank/build/bot/filters:cc_unittests_filters" ]
942 }
943
Eric Sumc7435712022-02-22 18:33:44944 if (skia_support_skottie) {
945 data += [ "test/data/" ]
946 }
947
Chong Gu68e2a8da2020-02-26 00:18:24948 if (is_fuchsia) {
Alison Gale923a33e2024-04-22 23:34:28949 # TODO(crbug.com/42050042): Some of these tests use SwiftShader,
Weze77cf592023-06-22 18:28:01950 # which requires ambient VMEX.
Kevin Marshall31331b62022-05-09 18:25:20951 test_runner_shard = "//build/config/fuchsia/test/elf_test_ambient_exec_runner.shard.test-cml"
952
Chong Gu91a1fea2021-03-30 17:24:31953 additional_manifest_fragments = [
Kevin Marshall31331b62022-05-09 18:25:20954 "//build/config/fuchsia/test/fonts.shard.test-cml",
Weze77cf592023-06-22 18:28:01955
Alison Gale59c007a2024-04-20 03:05:40956 # TODO(crbug.com/40055105): Investigate removing the requirement
Weze77cf592023-06-22 18:28:01957 # for VmexResource.
Wezf84dc402022-08-19 11:33:46958 "//build/config/fuchsia/test/mark_vmo_executable.shard.test-cml",
Kevin Marshall31331b62022-05-09 18:25:20959 "//third_party/fuchsia-sdk/sdk/pkg/vulkan/client.shard.cml",
Chong Guef5341b2021-03-10 21:26:26960 ]
Chong Gu30e927be2020-01-31 21:20:02961 }
962
Sean Gilhuly0dc6fac2019-06-04 15:42:57963 if (enable_vulkan) {
964 deps += [
965 "//gpu/vulkan:test_support",
966 "//gpu/vulkan/init",
967 ]
Sean Gilhulye8287932020-04-20 15:42:55968 }
Tiago Vignatti91108182023-02-16 16:18:38969
970 if (is_ios) {
Ian Vollick63109f692023-03-02 03:24:17971 public_deps = [
972 ":unit_tests_bundle_data",
Ian Vollick3b59a4242023-03-02 21:22:31973 "//components/test:viz_test_bundle_data",
Ian Vollick63109f692023-03-02 03:24:17974 ]
Tiago Vignatti91108182023-02-16 16:18:38975 }
[email protected]d05751a22014-05-29 20:54:24976}
977
loyso1fe38ba42016-12-01 00:39:08978cc_test("cc_perftests") {
[email protected]6e44c302014-07-22 21:51:37979 sources = [
loysoa4a59a42016-02-10 06:49:26980 "animation/animation_host_perftest.cc",
vmpstr0d694522016-12-14 23:37:19981 "base/rtree_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37982 "layers/layer_perftest.cc",
983 "layers/picture_layer_impl_perftest.cc",
Adrienne Walkereeb00f72017-11-29 22:04:59984 "paint/paint_op_perftest.cc",
prashant.nb4d4f492016-04-29 12:51:28985 "raster/raster_buffer_provider_perftest.cc",
danakj920156852015-05-18 20:22:29986 "raster/task_graph_runner_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37987 "test/cc_test_suite.cc",
thakisb8590c92017-03-23 18:14:53988 "test/cc_test_suite.h",
[email protected]6e44c302014-07-22 21:51:37989 "test/run_all_perftests.cc",
Eric Karl4c5bf9d2018-07-13 08:26:44990 "tiles/gpu_image_decode_cache_perftest.cc",
vmpstr13778fb2017-02-02 23:44:00991 "tiles/software_image_decode_cache_perftest.cc",
danakj920156852015-05-18 20:22:29992 "tiles/tile_manager_perftest.cc",
Xianzhu Wang66e13e02019-09-18 20:39:12993 "trees/draw_property_utils_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37994 "trees/layer_tree_host_perftest.cc",
[email protected]6e44c302014-07-22 21:51:37995 ]
[email protected]d05751a22014-05-29 20:54:24996
[email protected]6e44c302014-07-22 21:51:37997 deps = [
998 ":cc",
999 ":test_support",
1000 "//base",
jamesr16c04ff2014-11-24 22:24:571001 "//base/test:test_support",
chrishtrac41ff92017-03-17 05:07:301002 "//cc/paint",
danakj57baa772018-05-29 15:59:141003 "//components/viz/client",
Fady Samueldbd4b022017-07-14 02:06:481004 "//components/viz/common",
danakjc391f332017-07-12 20:45:521005 "//components/viz/test:test_support",
[email protected]6e44c302014-07-22 21:51:371006 "//gpu",
[email protected]c7990dbf2014-07-23 22:35:101007 "//gpu:test_support",
Victor Miura3a4ad4f82017-12-13 06:03:451008 "//gpu/command_buffer/client:gles2_implementation",
Antoine Labour011cf772018-01-23 00:38:391009 "//gpu/command_buffer/client:raster",
Eric Karl4c5bf9d2018-07-13 08:26:441010 "//gpu/command_buffer/client:raster_interface",
Adrienne Walkerc87477e2018-06-06 22:28:211011 "//gpu/ipc:gl_in_process_context",
Ken Rockotcf601fbb2021-04-24 00:21:181012 "//gpu/ipc/common",
[email protected]6e44c302014-07-22 21:51:371013 "//media",
Ken Rockotf03d97c952018-07-04 22:08:101014 "//mojo/core/embedder",
fsamuelbb47aac2016-07-08 01:05:531015 "//mojo/public/cpp/bindings",
Miyoung Shin99505dd2019-07-27 12:45:351016 "//services/viz/public/mojom",
[email protected]6e44c302014-07-22 21:51:371017 "//skia",
Kevin Lubick24166022023-11-01 17:14:041018 "//skia:test_fonts",
[email protected]6e44c302014-07-22 21:51:371019 "//testing/gmock",
1020 "//testing/gtest",
1021 "//testing/perf",
1022 "//ui/gfx",
1023 "//ui/gfx/geometry",
jamesr16c04ff2014-11-24 22:24:571024 "//ui/gl",
sadrulba162cd2015-07-20 22:34:261025 "//ui/gl:test_support",
[email protected]6e44c302014-07-22 21:51:371026 ]
krasinca63e412016-05-12 02:53:251027
1028 # This target should not require the Chrome executable to run.
1029 assert_no_deps = [ "//chrome" ]
jbudorickbdd15902016-09-15 21:05:421030
Ian Vollick6eef1422023-03-02 19:08:251031 data = [ "//components/test/data/viz/" ]
eyaich7c79b912016-10-29 00:39:251032
Emily Hanleyea23f352018-05-31 19:33:331033 data_deps = [
eyaich7c79b912016-10-29 00:39:251034 # Needed for isolate script to execute.
Emily Hanleyea23f352018-05-31 19:33:331035 "//testing:run_perf_test",
jbudorickbdd15902016-09-15 21:05:421036 ]
[email protected]6e44c302014-07-22 21:51:371037}
Dave Tapuskafc4adbae2020-12-02 22:08:591038
1039if (is_android) {
1040 java_cpp_enum("cc_android_java_enums_srcjar") {
1041 sources = [ "//cc/input/browser_controls_state.h" ]
1042 }
1043
1044 android_library("cc_java") {
1045 # Right now, this only includes the Java switches. But if we need more Java
1046 # files, they should be added here as necessary.
1047 srcjar_deps = [ ":cc_android_java_enums_srcjar" ]
Peter Wen474838432022-05-03 17:36:311048 deps = [ "//third_party/androidx:androidx_annotation_annotation_java" ]
Dave Tapuskafc4adbae2020-12-02 22:08:591049 }
1050}