blob: 8e8968dc0077d0e80153860c008ee1de31e7de12 [file] [log] [blame]
[email protected]d05751a22014-05-29 20:54:241# Copyright 2014 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
dyen8a145fb72016-03-31 00:37:515import("//build/config/ui.gni")
qsrfb5251d12015-01-21 15:57:226import("//testing/test.gni")
7
[email protected]d05751a22014-05-29 20:54:248component("cc") {
9 sources = [
10 "animation/animation.cc",
11 "animation/animation.h",
12 "animation/animation_curve.cc",
13 "animation/animation_curve.h",
14 "animation/animation_delegate.h",
15 "animation/animation_events.cc",
16 "animation/animation_events.h",
loysobb93befc2015-07-03 00:19:5017 "animation/animation_host.cc",
18 "animation/animation_host.h",
[email protected]d05751a22014-05-29 20:54:2419 "animation/animation_id_provider.cc",
20 "animation/animation_id_provider.h",
loysobb93befc2015-07-03 00:19:5021 "animation/animation_player.cc",
22 "animation/animation_player.h",
loysobb93befc2015-07-03 00:19:5023 "animation/animation_timeline.cc",
24 "animation/animation_timeline.h",
25 "animation/element_animations.cc",
26 "animation/element_animations.h",
vollickef2ae922016-06-29 17:54:2727 "animation/element_id.cc",
28 "animation/element_id.h",
[email protected]d05751a22014-05-29 20:54:2429 "animation/keyframed_animation_curve.cc",
30 "animation/keyframed_animation_curve.h",
loysocf6458c2016-10-04 04:20:4431 "animation/property_animation_state.cc",
32 "animation/property_animation_state.h",
[email protected]d05751a22014-05-29 20:54:2433 "animation/scroll_offset_animation_curve.cc",
34 "animation/scroll_offset_animation_curve.h",
ymalikf3a9e63572016-05-20 01:31:0735 "animation/scroll_offset_animations.cc",
36 "animation/scroll_offset_animations.h",
ymalik1b8eeda2016-05-04 16:18:1737 "animation/scroll_offset_animations_impl.cc",
38 "animation/scroll_offset_animations_impl.h",
loyso0c8e4402016-02-25 04:12:3039 "animation/target_property.cc",
40 "animation/target_property.h",
[email protected]d05751a22014-05-29 20:54:2441 "animation/timing_function.cc",
42 "animation/timing_function.h",
43 "animation/transform_operation.cc",
44 "animation/transform_operation.h",
45 "animation/transform_operations.cc",
46 "animation/transform_operations.h",
nyquistfbaee112016-06-24 23:15:1347 "blimp/client_picture_cache.h",
khushalsagarbc0b8be2016-10-04 02:49:0648 "blimp/compositor_proto_state.cc",
49 "blimp/compositor_proto_state.h",
khushalsagar0c4d7f1f2016-10-04 23:41:1750 "blimp/compositor_state_deserializer.cc",
51 "blimp/compositor_state_deserializer.h",
52 "blimp/compositor_state_deserializer_client.h",
khushalsagarc45674e62016-10-10 22:55:1253 "blimp/deserialized_content_layer_client.cc",
54 "blimp/deserialized_content_layer_client.h",
nyquistfbaee112016-06-24 23:15:1355 "blimp/engine_picture_cache.h",
56 "blimp/image_serialization_processor.h",
khushalsagar0c4d7f1f2016-10-04 23:41:1757 "blimp/layer_factory.h",
khushalsagarbc0b8be2016-10-04 02:49:0658 "blimp/layer_tree_host_remote.cc",
59 "blimp/layer_tree_host_remote.h",
nyquistfbaee112016-06-24 23:15:1360 "blimp/picture_data.cc",
61 "blimp/picture_data.h",
62 "blimp/picture_data_conversions.cc",
63 "blimp/picture_data_conversions.h",
khushalsagarbc0b8be2016-10-04 02:49:0664 "blimp/remote_compositor_bridge.cc",
65 "blimp/remote_compositor_bridge.h",
66 "blimp/remote_compositor_bridge_client.h",
[email protected]d05751a22014-05-29 20:54:2467 "debug/benchmark_instrumentation.cc",
68 "debug/benchmark_instrumentation.h",
69 "debug/debug_colors.cc",
70 "debug/debug_colors.h",
71 "debug/debug_rect_history.cc",
72 "debug/debug_rect_history.h",
73 "debug/devtools_instrumentation.h",
74 "debug/frame_rate_counter.cc",
75 "debug/frame_rate_counter.h",
hendrikw9385e492014-12-17 21:42:5976 "debug/frame_viewer_instrumentation.cc",
[email protected]d05751a22014-05-29 20:54:2477 "debug/frame_viewer_instrumentation.h",
[email protected]d5ba08c2014-06-18 07:01:0878 "debug/invalidation_benchmark.cc",
79 "debug/invalidation_benchmark.h",
[email protected]d05751a22014-05-29 20:54:2480 "debug/lap_timer.cc",
81 "debug/lap_timer.h",
82 "debug/layer_tree_debug_state.cc",
83 "debug/layer_tree_debug_state.h",
84 "debug/micro_benchmark.cc",
85 "debug/micro_benchmark.h",
[email protected]d05751a22014-05-29 20:54:2486 "debug/micro_benchmark_controller.cc",
87 "debug/micro_benchmark_controller.h",
88 "debug/micro_benchmark_controller_impl.cc",
89 "debug/micro_benchmark_controller_impl.h",
satorux457770e2015-02-18 18:33:3990 "debug/micro_benchmark_impl.cc",
91 "debug/micro_benchmark_impl.h",
ajumad7dd21a2015-01-09 00:57:3192 "debug/picture_debug_util.cc",
93 "debug/picture_debug_util.h",
[email protected]d05751a22014-05-29 20:54:2494 "debug/rasterize_and_record_benchmark.cc",
95 "debug/rasterize_and_record_benchmark.h",
96 "debug/rasterize_and_record_benchmark_impl.cc",
97 "debug/rasterize_and_record_benchmark_impl.h",
98 "debug/rendering_stats.cc",
99 "debug/rendering_stats.h",
100 "debug/rendering_stats_instrumentation.cc",
101 "debug/rendering_stats_instrumentation.h",
102 "debug/ring_buffer.h",
caseq252613a72015-06-19 11:12:57103 "debug/traced_display_item_list.cc",
104 "debug/traced_display_item_list.h",
[email protected]d05751a22014-05-29 20:54:24105 "debug/traced_value.cc",
106 "debug/traced_value.h",
107 "debug/unittest_only_benchmark.cc",
108 "debug/unittest_only_benchmark.h",
109 "debug/unittest_only_benchmark_impl.cc",
110 "debug/unittest_only_benchmark_impl.h",
ccameron36d091f2014-11-07 03:18:50111 "input/input_handler.cc",
[email protected]d05751a22014-05-29 20:54:24112 "input/input_handler.h",
[email protected]b2ba2d42014-07-03 18:14:50113 "input/layer_selection_bound.cc",
114 "input/layer_selection_bound.h",
satorux457770e2015-02-18 18:33:39115 "input/page_scale_animation.cc",
116 "input/page_scale_animation.h",
ccameron4163cc352014-11-13 19:06:36117 "input/scroll_elasticity_helper.cc",
118 "input/scroll_elasticity_helper.h",
tdresserd9e201472015-07-31 13:15:07119 "input/scroll_state.cc",
120 "input/scroll_state.h",
tdresser99c9ff52015-12-14 15:47:09121 "input/scroll_state_data.cc",
122 "input/scroll_state_data.h",
loyso455b4f602016-02-24 02:59:42123 "input/scrollbar_animation_controller.cc",
124 "input/scrollbar_animation_controller.h",
125 "input/scrollbar_animation_controller_linear_fade.cc",
126 "input/scrollbar_animation_controller_linear_fade.h",
127 "input/scrollbar_animation_controller_thinning.cc",
128 "input/scrollbar_animation_controller_thinning.h",
jdduke449b5292015-04-23 19:36:44129 "input/selection.h",
[email protected]d05751a22014-05-29 20:54:24130 "input/top_controls_manager.cc",
131 "input/top_controls_manager.h",
132 "input/top_controls_manager_client.h",
133 "layers/append_quads_data.h",
[email protected]d05751a22014-05-29 20:54:24134 "layers/content_layer_client.h",
ennefffb119c2015-08-29 09:17:30135 "layers/draw_properties.cc",
[email protected]d05751a22014-05-29 20:54:24136 "layers/draw_properties.h",
dtrainor8e9da482016-01-04 09:53:05137 "layers/empty_content_layer_client.cc",
138 "layers/empty_content_layer_client.h",
[email protected]d05751a22014-05-29 20:54:24139 "layers/heads_up_display_layer.cc",
140 "layers/heads_up_display_layer.h",
141 "layers/heads_up_display_layer_impl.cc",
142 "layers/heads_up_display_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24143 "layers/layer.cc",
144 "layers/layer.h",
145 "layers/layer_client.h",
vollick83fbfc82016-03-22 18:33:27146 "layers/layer_collections.h",
[email protected]d05751a22014-05-29 20:54:24147 "layers/layer_impl.cc",
148 "layers/layer_impl.h",
jaydasika1c0a27d42016-04-28 01:54:56149 "layers/layer_impl_test_properties.cc",
150 "layers/layer_impl_test_properties.h",
[email protected]d05751a22014-05-29 20:54:24151 "layers/layer_iterator.h",
vollick44d1c1f2016-03-02 20:59:43152 "layers/layer_list_iterator.cc",
153 "layers/layer_list_iterator.h",
[email protected]d05751a22014-05-29 20:54:24154 "layers/layer_position_constraint.cc",
155 "layers/layer_position_constraint.h",
nyquist353b7d52015-11-06 22:26:53156 "layers/layer_proto_converter.cc",
157 "layers/layer_proto_converter.h",
flackr2215b4e2016-09-21 20:16:01158 "layers/layer_sticky_position_constraint.cc",
159 "layers/layer_sticky_position_constraint.h",
[email protected]d05751a22014-05-29 20:54:24160 "layers/layer_utils.cc",
161 "layers/layer_utils.h",
162 "layers/nine_patch_layer.cc",
163 "layers/nine_patch_layer.h",
164 "layers/nine_patch_layer_impl.cc",
165 "layers/nine_patch_layer_impl.h",
166 "layers/paint_properties.h",
167 "layers/painted_scrollbar_layer.cc",
168 "layers/painted_scrollbar_layer.h",
169 "layers/painted_scrollbar_layer_impl.cc",
170 "layers/painted_scrollbar_layer_impl.h",
171 "layers/picture_image_layer.cc",
172 "layers/picture_image_layer.h",
[email protected]d05751a22014-05-29 20:54:24173 "layers/picture_layer.cc",
174 "layers/picture_layer.h",
175 "layers/picture_layer_impl.cc",
176 "layers/picture_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24177 "layers/render_pass_sink.h",
[email protected]d05751a22014-05-29 20:54:24178 "layers/render_surface_impl.cc",
179 "layers/render_surface_impl.h",
180 "layers/scrollbar_layer_impl_base.cc",
181 "layers/scrollbar_layer_impl_base.h",
182 "layers/scrollbar_layer_interface.h",
183 "layers/solid_color_layer.cc",
184 "layers/solid_color_layer.h",
185 "layers/solid_color_layer_impl.cc",
186 "layers/solid_color_layer_impl.h",
187 "layers/solid_color_scrollbar_layer.cc",
188 "layers/solid_color_scrollbar_layer.h",
189 "layers/solid_color_scrollbar_layer_impl.cc",
190 "layers/solid_color_scrollbar_layer_impl.h",
191 "layers/surface_layer.cc",
192 "layers/surface_layer.h",
193 "layers/surface_layer_impl.cc",
194 "layers/surface_layer_impl.h",
195 "layers/texture_layer.cc",
196 "layers/texture_layer.h",
197 "layers/texture_layer_client.h",
198 "layers/texture_layer_impl.cc",
199 "layers/texture_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24200 "layers/ui_resource_layer.cc",
201 "layers/ui_resource_layer.h",
202 "layers/ui_resource_layer_impl.cc",
203 "layers/ui_resource_layer_impl.h",
204 "layers/video_frame_provider.h",
205 "layers/video_frame_provider_client_impl.cc",
206 "layers/video_frame_provider_client_impl.h",
207 "layers/video_layer.cc",
208 "layers/video_layer.h",
209 "layers/video_layer_impl.cc",
210 "layers/video_layer_impl.h",
bokanaa2748312015-03-26 00:10:37211 "layers/viewport.cc",
212 "layers/viewport.h",
[email protected]d05751a22014-05-29 20:54:24213 "output/begin_frame_args.cc",
214 "output/begin_frame_args.h",
[email protected]2a021fb7b2014-08-02 07:53:49215 "output/bsp_tree.cc",
216 "output/bsp_tree.h",
217 "output/bsp_walk_action.cc",
218 "output/bsp_walk_action.h",
ericrk9151705c2016-07-26 19:53:16219 "output/buffer_to_texture_target_map.cc",
220 "output/buffer_to_texture_target_map.h",
ccameron35db390a2015-11-17 21:22:55221 "output/ca_layer_overlay.cc",
222 "output/ca_layer_overlay.h",
hubbeaf57af302016-08-11 10:42:32223 "output/color_lut_cache.cc",
224 "output/color_lut_cache.h",
[email protected]d05751a22014-05-29 20:54:24225 "output/compositor_frame.cc",
226 "output/compositor_frame.h",
[email protected]d05751a22014-05-29 20:54:24227 "output/compositor_frame_metadata.cc",
228 "output/compositor_frame_metadata.h",
danakj1120f4c2016-09-15 02:05:32229 "output/compositor_frame_sink.cc",
230 "output/compositor_frame_sink.h",
231 "output/compositor_frame_sink_client.h",
ericrkf6c4fb62016-08-30 23:27:24232 "output/context_cache_controller.cc",
233 "output/context_cache_controller.h",
ericrk6714c23b2016-09-27 03:35:01234 "output/context_provider.cc",
[email protected]d05751a22014-05-29 20:54:24235 "output/context_provider.h",
236 "output/copy_output_request.cc",
237 "output/copy_output_request.h",
238 "output/copy_output_result.cc",
239 "output/copy_output_result.h",
[email protected]d05751a22014-05-29 20:54:24240 "output/delegated_frame_data.cc",
[email protected]b2ba2d42014-07-03 18:14:50241 "output/delegated_frame_data.h",
[email protected]d05751a22014-05-29 20:54:24242 "output/direct_renderer.cc",
243 "output/direct_renderer.h",
awoloszyn3d8eb1d2015-03-12 14:38:32244 "output/dynamic_geometry_binding.cc",
245 "output/dynamic_geometry_binding.h",
[email protected]d05751a22014-05-29 20:54:24246 "output/filter_operation.cc",
247 "output/filter_operation.h",
248 "output/filter_operations.cc",
249 "output/filter_operations.h",
250 "output/geometry_binding.cc",
251 "output/geometry_binding.h",
[email protected]d05751a22014-05-29 20:54:24252 "output/gl_renderer.cc",
253 "output/gl_renderer.h",
254 "output/gl_renderer_draw_cache.cc",
255 "output/gl_renderer_draw_cache.h",
jamesrf313a212015-03-16 21:27:37256 "output/latency_info_swap_promise.cc",
257 "output/latency_info_swap_promise.h",
danakj920156852015-05-18 20:22:29258 "output/layer_quad.cc",
259 "output/layer_quad.h",
[email protected]d05751a22014-05-29 20:54:24260 "output/managed_memory_policy.cc",
261 "output/managed_memory_policy.h",
262 "output/output_surface.cc",
263 "output/output_surface.h",
264 "output/output_surface_client.h",
kylechar5344b39e2016-10-06 23:51:19265 "output/output_surface_frame.cc",
266 "output/output_surface_frame.h",
[email protected]d05751a22014-05-29 20:54:24267 "output/overlay_candidate.cc",
268 "output/overlay_candidate.h",
269 "output/overlay_candidate_validator.h",
270 "output/overlay_processor.cc",
271 "output/overlay_processor.h",
dcastagnaea959b12016-07-20 21:38:58272 "output/overlay_strategy_fullscreen.cc",
273 "output/overlay_strategy_fullscreen.h",
[email protected]d05751a22014-05-29 20:54:24274 "output/overlay_strategy_single_on_top.cc",
275 "output/overlay_strategy_single_on_top.h",
achaulkf47b4942015-04-01 17:26:08276 "output/overlay_strategy_underlay.cc",
277 "output/overlay_strategy_underlay.h",
[email protected]d05751a22014-05-29 20:54:24278 "output/program_binding.cc",
279 "output/program_binding.h",
280 "output/render_surface_filters.cc",
281 "output/render_surface_filters.h",
jbaumanc5be44c2014-11-20 22:17:12282 "output/renderer_settings.cc",
283 "output/renderer_settings.h",
[email protected]d05751a22014-05-29 20:54:24284 "output/shader.cc",
285 "output/shader.h",
[email protected]d05751a22014-05-29 20:54:24286 "output/software_output_device.cc",
287 "output/software_output_device.h",
288 "output/software_renderer.cc",
289 "output/software_renderer.h",
awoloszyn3d8eb1d2015-03-12 14:38:32290 "output/static_geometry_binding.cc",
291 "output/static_geometry_binding.h",
jamesrf313a212015-03-16 21:27:37292 "output/swap_promise.h",
danakj920156852015-05-18 20:22:29293 "output/texture_mailbox_deleter.cc",
294 "output/texture_mailbox_deleter.h",
dyenb52ecd962016-04-20 23:23:44295 "output/vulkan_context_provider.h",
296 "output/vulkan_in_process_context_provider.cc",
297 "output/vulkan_in_process_context_provider.h",
danakj920156852015-05-18 20:22:29298 "playback/clip_display_item.cc",
299 "playback/clip_display_item.h",
300 "playback/clip_path_display_item.cc",
301 "playback/clip_path_display_item.h",
302 "playback/compositing_display_item.cc",
303 "playback/compositing_display_item.h",
tomhudson836d8182016-04-22 22:15:45304 "playback/decoded_draw_image.cc",
vmpstr9dd810a2016-01-19 21:16:10305 "playback/decoded_draw_image.h",
fmalita7913ee52015-09-09 19:47:31306 "playback/discardable_image_map.cc",
307 "playback/discardable_image_map.h",
danakj920156852015-05-18 20:22:29308 "playback/display_item.cc",
309 "playback/display_item.h",
310 "playback/display_item_list.cc",
311 "playback/display_item_list.h",
jbroman7ae1e4bf2015-06-02 01:44:28312 "playback/display_item_list_settings.cc",
313 "playback/display_item_list_settings.h",
dtrainor2191e4d2015-10-28 16:02:52314 "playback/display_item_proto_factory.cc",
315 "playback/display_item_proto_factory.h",
vmpstr9dd810a2016-01-19 21:16:10316 "playback/draw_image.cc",
vmpstr9116a70f2015-10-14 23:48:34317 "playback/draw_image.h",
danakj920156852015-05-18 20:22:29318 "playback/drawing_display_item.cc",
319 "playback/drawing_display_item.h",
320 "playback/filter_display_item.cc",
321 "playback/filter_display_item.h",
322 "playback/float_clip_display_item.cc",
323 "playback/float_clip_display_item.h",
vmpstr2c9805c2016-03-04 00:07:41324 "playback/image_hijack_canvas.cc",
325 "playback/image_hijack_canvas.h",
danakj920156852015-05-18 20:22:29326 "playback/largest_display_item.cc",
327 "playback/largest_display_item.h",
vmpstr41d68f882016-03-30 01:20:23328 "playback/raster_source.cc",
329 "playback/raster_source.h",
vmpstre17fd212016-03-30 20:03:32330 "playback/recording_source.cc",
331 "playback/recording_source.h",
vmpstrec4a4172016-03-14 22:51:06332 "playback/skip_image_canvas.cc",
333 "playback/skip_image_canvas.h",
danakj920156852015-05-18 20:22:29334 "playback/transform_display_item.cc",
335 "playback/transform_display_item.h",
khushalsagar37694212016-01-15 20:46:48336 "proto/base_conversions.cc",
337 "proto/base_conversions.h",
nyquist04b8bd2e2015-11-24 10:04:17338 "proto/cc_conversions.cc",
339 "proto/cc_conversions.h",
dtrainorddb0b492015-10-19 20:14:44340 "proto/gfx_conversions.cc",
341 "proto/gfx_conversions.h",
nyquist1d29b062015-12-02 02:48:18342 "proto/gpu_conversions.cc",
343 "proto/gpu_conversions.h",
dtrainor543858f52015-10-23 20:13:55344 "proto/skia_conversions.cc",
345 "proto/skia_conversions.h",
sunxdc36713a2016-03-03 22:31:10346 "proto/synced_property_conversions.cc",
347 "proto/synced_property_conversions.h",
[email protected]d05751a22014-05-29 20:54:24348 "quads/content_draw_quad_base.cc",
349 "quads/content_draw_quad_base.h",
350 "quads/debug_border_draw_quad.cc",
351 "quads/debug_border_draw_quad.h",
[email protected]2a021fb7b2014-08-02 07:53:49352 "quads/draw_polygon.cc",
353 "quads/draw_polygon.h",
[email protected]d05751a22014-05-29 20:54:24354 "quads/draw_quad.cc",
355 "quads/draw_quad.h",
weiliangcfe7b51e2014-11-05 18:20:27356 "quads/largest_draw_quad.cc",
satorux457770e2015-02-18 18:33:39357 "quads/largest_draw_quad.h",
[email protected]d05751a22014-05-29 20:54:24358 "quads/picture_draw_quad.cc",
359 "quads/picture_draw_quad.h",
360 "quads/render_pass.cc",
361 "quads/render_pass.h",
362 "quads/render_pass_draw_quad.cc",
363 "quads/render_pass_draw_quad.h",
[email protected]0cd7d6f72014-08-22 14:50:51364 "quads/render_pass_id.cc",
365 "quads/render_pass_id.h",
[email protected]d05751a22014-05-29 20:54:24366 "quads/shared_quad_state.cc",
367 "quads/shared_quad_state.h",
368 "quads/solid_color_draw_quad.cc",
369 "quads/solid_color_draw_quad.h",
370 "quads/stream_video_draw_quad.cc",
371 "quads/stream_video_draw_quad.h",
372 "quads/surface_draw_quad.cc",
373 "quads/surface_draw_quad.h",
374 "quads/texture_draw_quad.cc",
375 "quads/texture_draw_quad.h",
376 "quads/tile_draw_quad.cc",
377 "quads/tile_draw_quad.h",
378 "quads/yuv_video_draw_quad.cc",
379 "quads/yuv_video_draw_quad.h",
prashant.nb4d4f492016-04-29 12:51:28380 "raster/bitmap_raster_buffer_provider.cc",
381 "raster/bitmap_raster_buffer_provider.h",
382 "raster/gpu_raster_buffer_provider.cc",
383 "raster/gpu_raster_buffer_provider.h",
prashant.nb4d4f492016-04-29 12:51:28384 "raster/one_copy_raster_buffer_provider.cc",
385 "raster/one_copy_raster_buffer_provider.h",
danakj920156852015-05-18 20:22:29386 "raster/raster_buffer.cc",
387 "raster/raster_buffer.h",
prashant.nb4d4f492016-04-29 12:51:28388 "raster/raster_buffer_provider.cc",
389 "raster/raster_buffer_provider.h",
danakj920156852015-05-18 20:22:29390 "raster/scoped_gpu_raster.cc",
391 "raster/scoped_gpu_raster.h",
ericrk4e3aa5a2015-12-01 03:53:56392 "raster/single_thread_task_graph_runner.cc",
393 "raster/single_thread_task_graph_runner.h",
prashant.na9dd9ef2016-04-08 19:57:10394 "raster/staging_buffer_pool.cc",
395 "raster/staging_buffer_pool.h",
ericrk4e3aa5a2015-12-01 03:53:56396 "raster/synchronous_task_graph_runner.cc",
397 "raster/synchronous_task_graph_runner.h",
prashant.n49b3e64652016-04-19 07:04:49398 "raster/task.cc",
399 "raster/task.h",
ericrk374dee72016-01-13 03:38:05400 "raster/task_category.h",
danakj920156852015-05-18 20:22:29401 "raster/task_graph_runner.h",
ericrk4e3aa5a2015-12-01 03:53:56402 "raster/task_graph_work_queue.cc",
403 "raster/task_graph_work_queue.h",
danakj920156852015-05-18 20:22:29404 "raster/texture_compressor.cc",
405 "raster/texture_compressor.h",
406 "raster/texture_compressor_etc1.cc",
407 "raster/texture_compressor_etc1.h",
prashant.n6cb1bb82016-04-20 05:15:58408 "raster/tile_task.cc",
409 "raster/tile_task.h",
prashant.nb4d4f492016-04-29 12:51:28410 "raster/zero_copy_raster_buffer_provider.cc",
411 "raster/zero_copy_raster_buffer_provider.h",
[email protected]d05751a22014-05-29 20:54:24412 "resources/memory_history.cc",
413 "resources/memory_history.h",
[email protected]d05751a22014-05-29 20:54:24414 "resources/platform_color.h",
[email protected]d05751a22014-05-29 20:54:24415 "resources/release_callback.h",
reveman423e7da2014-09-23 16:57:44416 "resources/resource.h",
[email protected]c6f0cf62014-07-22 02:44:41417 "resources/resource_format.cc",
[email protected]bf050582014-07-24 11:10:58418 "resources/resource_format.h",
fsamuel6ee49c42016-06-01 11:16:55419 "resources/resource_format_utils.cc",
420 "resources/resource_format_utils.h",
[email protected]d05751a22014-05-29 20:54:24421 "resources/resource_pool.cc",
422 "resources/resource_pool.h",
423 "resources/resource_provider.cc",
424 "resources/resource_provider.h",
prashant.n8e494282015-08-03 07:13:41425 "resources/resource_util.h",
[email protected]d05751a22014-05-29 20:54:24426 "resources/returned_resource.h",
427 "resources/scoped_resource.cc",
428 "resources/scoped_resource.h",
429 "resources/scoped_ui_resource.cc",
430 "resources/scoped_ui_resource.h",
431 "resources/shared_bitmap.cc",
432 "resources/shared_bitmap.h",
433 "resources/shared_bitmap_manager.h",
434 "resources/single_release_callback.cc",
435 "resources/single_release_callback.h",
skyostil3976a3f2014-09-04 22:07:23436 "resources/single_release_callback_impl.cc",
437 "resources/single_release_callback_impl.h",
[email protected]d05751a22014-05-29 20:54:24438 "resources/texture_mailbox.cc",
reveman423e7da2014-09-23 16:57:44439 "resources/texture_mailbox.h",
[email protected]d05751a22014-05-29 20:54:24440 "resources/transferable_resource.cc",
441 "resources/transferable_resource.h",
442 "resources/ui_resource_bitmap.cc",
443 "resources/ui_resource_bitmap.h",
444 "resources/ui_resource_client.h",
khushalsagar8ec07402016-09-10 03:13:19445 "resources/ui_resource_manager.cc",
446 "resources/ui_resource_manager.h",
[email protected]d05751a22014-05-29 20:54:24447 "resources/ui_resource_request.cc",
448 "resources/ui_resource_request.h",
449 "resources/video_resource_updater.cc",
450 "resources/video_resource_updater.h",
mithroc34fc0b12014-09-30 09:10:41451 "scheduler/begin_frame_source.cc",
452 "scheduler/begin_frame_source.h",
mithro0bdb49d2015-05-27 13:08:01453 "scheduler/begin_frame_tracker.cc",
454 "scheduler/begin_frame_tracker.h",
khushalsagar0b3d9e12016-01-14 21:10:18455 "scheduler/commit_earlyout_reason.cc",
mithrof7a21502014-12-17 03:24:48456 "scheduler/commit_earlyout_reason.h",
briandersonc9f50352015-06-24 03:38:58457 "scheduler/compositor_timing_history.cc",
458 "scheduler/compositor_timing_history.h",
[email protected]d05751a22014-05-29 20:54:24459 "scheduler/delay_based_time_source.cc",
460 "scheduler/delay_based_time_source.h",
461 "scheduler/draw_result.h",
462 "scheduler/scheduler.cc",
463 "scheduler/scheduler.h",
464 "scheduler/scheduler_settings.cc",
465 "scheduler/scheduler_settings.h",
466 "scheduler/scheduler_state_machine.cc",
467 "scheduler/scheduler_state_machine.h",
sunnyps7d073dc2015-04-16 23:29:12468 "scheduler/video_frame_controller.h",
danakj920156852015-05-18 20:22:29469 "tiles/eviction_tile_priority_queue.cc",
470 "tiles/eviction_tile_priority_queue.h",
vmpstr64cdba32016-03-03 00:38:40471 "tiles/gpu_image_decode_controller.cc",
472 "tiles/gpu_image_decode_controller.h",
vmpstrc8cf52ab2015-08-03 23:12:50473 "tiles/image_decode_controller.h",
vmpstr26ce8fb2016-09-15 20:47:05474 "tiles/image_manager.cc",
475 "tiles/image_manager.h",
ericrkc7ebaa12016-06-09 21:05:55476 "tiles/mipmap_util.cc",
477 "tiles/mipmap_util.h",
danakj920156852015-05-18 20:22:29478 "tiles/picture_layer_tiling.cc",
479 "tiles/picture_layer_tiling.h",
480 "tiles/picture_layer_tiling_set.cc",
481 "tiles/picture_layer_tiling_set.h",
482 "tiles/prioritized_tile.cc",
483 "tiles/prioritized_tile.h",
484 "tiles/raster_tile_priority_queue.cc",
485 "tiles/raster_tile_priority_queue.h",
486 "tiles/raster_tile_priority_queue_all.cc",
487 "tiles/raster_tile_priority_queue_all.h",
488 "tiles/raster_tile_priority_queue_required.cc",
489 "tiles/raster_tile_priority_queue_required.h",
vmpstr64cdba32016-03-03 00:38:40490 "tiles/software_image_decode_controller.cc",
491 "tiles/software_image_decode_controller.h",
danakj920156852015-05-18 20:22:29492 "tiles/tile.cc",
493 "tiles/tile.h",
494 "tiles/tile_draw_info.cc",
495 "tiles/tile_draw_info.h",
496 "tiles/tile_manager.cc",
497 "tiles/tile_manager.h",
498 "tiles/tile_priority.cc",
499 "tiles/tile_priority.h",
prashant.nb4d4f492016-04-29 12:51:28500 "tiles/tile_task_manager.cc",
501 "tiles/tile_task_manager.h",
danakj920156852015-05-18 20:22:29502 "tiles/tiling_set_eviction_queue.cc",
503 "tiles/tiling_set_eviction_queue.h",
504 "tiles/tiling_set_raster_queue_all.cc",
505 "tiles/tiling_set_raster_queue_all.h",
506 "tiles/tiling_set_raster_queue_required.cc",
507 "tiles/tiling_set_raster_queue_required.h",
[email protected]d05751a22014-05-29 20:54:24508 "trees/blocking_task_runner.cc",
509 "trees/blocking_task_runner.h",
khushalsagar5d6eb982015-09-25 22:44:56510 "trees/channel_impl.h",
511 "trees/channel_main.h",
trchendba8b1502016-07-08 09:47:01512 "trees/clip_node.cc",
513 "trees/clip_node.h",
khushalsagar19458bd2015-12-08 02:19:01514 "trees/compositor_mode.h",
[email protected]d05751a22014-05-29 20:54:24515 "trees/damage_tracker.cc",
516 "trees/damage_tracker.h",
vollick51ed1a22014-12-17 02:03:00517 "trees/draw_property_utils.cc",
518 "trees/draw_property_utils.h",
trchendba8b1502016-07-08 09:47:01519 "trees/effect_node.cc",
520 "trees/effect_node.h",
jamesrf313a212015-03-16 21:27:37521 "trees/latency_info_swap_promise_monitor.cc",
522 "trees/latency_info_swap_promise_monitor.h",
xingliue43518a2016-07-28 23:59:47523 "trees/layer_tree.cc",
524 "trees/layer_tree.h",
[email protected]d05751a22014-05-29 20:54:24525 "trees/layer_tree_host.h",
526 "trees/layer_tree_host_client.h",
527 "trees/layer_tree_host_common.cc",
528 "trees/layer_tree_host_common.h",
529 "trees/layer_tree_host_impl.cc",
530 "trees/layer_tree_host_impl.h",
khushalsagar61567792016-09-17 00:13:58531 "trees/layer_tree_host_in_process.cc",
532 "trees/layer_tree_host_in_process.h",
ccameron00e438cd2015-03-12 06:18:14533 "trees/layer_tree_host_single_thread_client.h",
[email protected]d05751a22014-05-29 20:54:24534 "trees/layer_tree_impl.cc",
535 "trees/layer_tree_impl.h",
536 "trees/layer_tree_settings.cc",
537 "trees/layer_tree_settings.h",
loysobb93befc2015-07-03 00:19:50538 "trees/mutator_host_client.h",
vmpstrcdcb5f72014-09-11 00:58:37539 "trees/occlusion.cc",
540 "trees/occlusion.h",
[email protected]d05751a22014-05-29 20:54:24541 "trees/occlusion_tracker.cc",
542 "trees/occlusion_tracker.h",
vollick51ed1a22014-12-17 02:03:00543 "trees/property_tree.cc",
544 "trees/property_tree.h",
545 "trees/property_tree_builder.cc",
546 "trees/property_tree_builder.h",
[email protected]d05751a22014-05-29 20:54:24547 "trees/proxy.h",
khushalsagare3c9fa92015-10-28 02:08:29548 "trees/proxy_common.cc",
549 "trees/proxy_common.h",
khushalsagar0a226af2015-12-09 10:30:20550 "trees/proxy_impl.cc",
khushalsagar5d6eb982015-09-25 22:44:56551 "trees/proxy_impl.h",
khushalsagar0a226af2015-12-09 10:30:20552 "trees/proxy_main.cc",
khushalsagar5d6eb982015-09-25 22:44:56553 "trees/proxy_main.h",
khushalsagare0a38d42016-01-29 01:15:06554 "trees/remote_channel_impl.cc",
555 "trees/remote_channel_impl.h",
556 "trees/remote_channel_main.cc",
557 "trees/remote_channel_main.h",
dtrainor5ef644e2015-11-19 00:12:47558 "trees/remote_proto_channel.h",
[email protected]aeeedad2014-08-22 18:16:22559 "trees/scoped_abort_remaining_swap_promises.h",
trchendba8b1502016-07-08 09:47:01560 "trees/scroll_node.cc",
561 "trees/scroll_node.h",
[email protected]d05751a22014-05-29 20:54:24562 "trees/single_thread_proxy.cc",
563 "trees/single_thread_proxy.h",
khushalsagar8297ae992016-09-14 20:51:23564 "trees/swap_promise_manager.cc",
565 "trees/swap_promise_manager.h",
jamesrf313a212015-03-16 21:27:37566 "trees/swap_promise_monitor.cc",
567 "trees/swap_promise_monitor.h",
khushalsagarb64b360d2015-10-21 19:25:16568 "trees/task_runner_provider.cc",
569 "trees/task_runner_provider.h",
khushalsagar5d6eb982015-09-25 22:44:56570 "trees/threaded_channel.cc",
571 "trees/threaded_channel.h",
trchendba8b1502016-07-08 09:47:01572 "trees/transform_node.cc",
573 "trees/transform_node.h",
[email protected]d05751a22014-05-29 20:54:24574 "trees/tree_synchronizer.cc",
575 "trees/tree_synchronizer.h",
576 ]
577
agrieveefcd0222016-06-08 15:48:19578 if (current_cpu == "x86" || current_cpu == "x64") {
thakis4a0c5482015-06-08 20:51:29579 sources += [
580 "raster/texture_compressor_etc1_sse.cc",
581 "raster/texture_compressor_etc1_sse.h",
582 ]
583 }
584
brettwbc8b2a22015-07-28 18:24:42585 configs += [ "//build/config:precompiled_headers" ]
586
Brett Wilsone53895272014-09-23 23:41:46587 public_deps = [
jamesrf313a212015-03-16 21:27:37588 "//cc/base",
Brett Wilsone53895272014-09-23 23:41:46589 "//skia",
590 ]
[email protected]d05751a22014-05-29 20:54:24591 deps = [
592 "//base",
593 "//base/third_party/dynamic_annotations",
dtrainorddb0b492015-10-19 20:14:44594 "//cc/proto",
jamesr16c04ff2014-11-24 22:24:57595 "//cc/surfaces:surface_id",
[email protected]d05751a22014-05-29 20:54:24596 "//gpu",
jbromancba3d2fe2014-09-16 01:04:24597 "//gpu/command_buffer/client:gles2_interface",
[email protected]6e44c302014-07-22 21:51:37598 "//media",
hubbedc658032016-10-04 01:34:59599 "//third_party/libyuv",
Nico Weber9d6e12942016-04-19 18:51:09600 "//ui/events:events_base",
[email protected]d05751a22014-05-29 20:54:24601 "//ui/gfx",
602 "//ui/gfx/geometry",
ericrkf08855b42015-08-06 00:20:22603 "//ui/gl",
[email protected]d05751a22014-05-29 20:54:24604 ]
[email protected]d05751a22014-05-29 20:54:24605
[email protected]3ffa36a2014-07-24 21:01:50606 defines = [ "CC_IMPLEMENTATION=1" ]
[email protected]d05751a22014-05-29 20:54:24607
fdegans75b3d092014-09-17 18:35:55608 if (!is_debug && (is_win || is_android)) {
brettw4cab0f12015-09-14 21:40:01609 configs -= [ "//build/config/compiler:default_optimization" ]
[email protected]d05751a22014-05-29 20:54:24610 configs += [ "//build/config/compiler:optimize_max" ]
611 }
dyen8a145fb72016-03-31 00:37:51612
613 if (enable_vulkan) {
dyen136e05c2016-04-06 22:28:27614 sources += [
dyen136e05c2016-04-06 22:28:27615 "output/vulkan_renderer.cc",
616 "output/vulkan_renderer.h",
dyen8a145fb72016-03-31 00:37:51617 ]
618
dyen136e05c2016-04-06 22:28:27619 deps += [ "//gpu/vulkan" ]
dyen8a145fb72016-03-31 00:37:51620 }
[email protected]d05751a22014-05-29 20:54:24621}
622
brettw2dbbe5b02016-07-14 19:38:57623static_library("test_support") {
Brett Wilson8f80ad0b2014-09-08 19:50:24624 testonly = true
[email protected]d05751a22014-05-29 20:54:24625 sources = [
626 "test/animation_test_common.cc",
627 "test/animation_test_common.h",
loysobb93befc2015-07-03 00:19:50628 "test/animation_timelines_test_common.cc",
629 "test/animation_timelines_test_common.h",
[email protected]d05751a22014-05-29 20:54:24630 "test/begin_frame_args_test.cc",
631 "test/begin_frame_args_test.h",
mithro6be81902015-12-04 05:58:46632 "test/begin_frame_source_test.cc",
633 "test/begin_frame_source_test.h",
khushalsagar0f081c42015-12-16 07:04:20634 "test/fake_channel_impl.cc",
635 "test/fake_channel_impl.h",
nyquistfbaee112016-06-24 23:15:13636 "test/fake_client_picture_cache.cc",
637 "test/fake_client_picture_cache.h",
danakj1120f4c2016-09-15 02:05:32638 "test/fake_compositor_frame_sink.cc",
639 "test/fake_compositor_frame_sink.h",
640 "test/fake_compositor_frame_sink_client.cc",
641 "test/fake_compositor_frame_sink_client.h",
[email protected]d05751a22014-05-29 20:54:24642 "test/fake_content_layer_client.cc",
643 "test/fake_content_layer_client.h",
nyquistfbaee112016-06-24 23:15:13644 "test/fake_engine_picture_cache.cc",
645 "test/fake_engine_picture_cache.h",
danakj6e3bf8012014-12-16 18:27:53646 "test/fake_external_begin_frame_source.cc",
647 "test/fake_external_begin_frame_source.h",
nyquist16febb42016-02-12 00:15:04648 "test/fake_image_serialization_processor.cc",
649 "test/fake_image_serialization_processor.h",
khushalsagarb64b360d2015-10-21 19:25:16650 "test/fake_impl_task_runner_provider.h",
[email protected]d05751a22014-05-29 20:54:24651 "test/fake_layer_tree_host.cc",
652 "test/fake_layer_tree_host.h",
653 "test/fake_layer_tree_host_client.cc",
654 "test/fake_layer_tree_host_client.h",
655 "test/fake_layer_tree_host_impl.cc",
656 "test/fake_layer_tree_host_impl.h",
657 "test/fake_layer_tree_host_impl_client.cc",
658 "test/fake_layer_tree_host_impl_client.h",
ajumad9432e32015-11-30 19:43:44659 "test/fake_mask_layer_impl.cc",
660 "test/fake_mask_layer_impl.h",
[email protected]d05751a22014-05-29 20:54:24661 "test/fake_output_surface.cc",
662 "test/fake_output_surface.h",
663 "test/fake_output_surface_client.cc",
664 "test/fake_output_surface_client.h",
665 "test/fake_painted_scrollbar_layer.cc",
666 "test/fake_painted_scrollbar_layer.h",
667 "test/fake_picture_layer.cc",
668 "test/fake_picture_layer.h",
669 "test/fake_picture_layer_impl.cc",
670 "test/fake_picture_layer_impl.h",
671 "test/fake_picture_layer_tiling_client.cc",
672 "test/fake_picture_layer_tiling_client.h",
[email protected]d05751a22014-05-29 20:54:24673 "test/fake_proxy.cc",
674 "test/fake_proxy.h",
prashant.nb4d4f492016-04-29 12:51:28675 "test/fake_raster_buffer_provider.cc",
676 "test/fake_raster_buffer_provider.h",
vmpstr41d68f882016-03-30 01:20:23677 "test/fake_raster_source.cc",
678 "test/fake_raster_source.h",
vmpstre17fd212016-03-30 20:03:32679 "test/fake_recording_source.cc",
680 "test/fake_recording_source.h",
khushalsagarbc0b8be2016-10-04 02:49:06681 "test/fake_remote_compositor_bridge.cc",
682 "test/fake_remote_compositor_bridge.h",
[email protected]d05751a22014-05-29 20:54:24683 "test/fake_rendering_stats_instrumentation.h",
danakj61bf05f2015-05-26 23:28:56684 "test/fake_resource_provider.h",
[email protected]d05751a22014-05-29 20:54:24685 "test/fake_scoped_ui_resource.cc",
686 "test/fake_scoped_ui_resource.h",
687 "test/fake_scrollbar.cc",
688 "test/fake_scrollbar.h",
689 "test/fake_tile_manager.cc",
690 "test/fake_tile_manager.h",
691 "test/fake_tile_manager_client.cc",
692 "test/fake_tile_manager_client.h",
prashant.nb4d4f492016-04-29 12:51:28693 "test/fake_tile_task_manager.cc",
694 "test/fake_tile_task_manager.h",
[email protected]d05751a22014-05-29 20:54:24695 "test/fake_ui_resource_layer_tree_host_impl.cc",
696 "test/fake_ui_resource_layer_tree_host_impl.h",
697 "test/fake_video_frame_provider.cc",
698 "test/fake_video_frame_provider.h",
699 "test/geometry_test_utils.cc",
700 "test/geometry_test_utils.h",
khushalsagarb51998f2016-07-08 01:04:21701 "test/layer_internals_for_test.cc",
702 "test/layer_internals_for_test.h",
[email protected]d05751a22014-05-29 20:54:24703 "test/layer_test_common.cc",
704 "test/layer_test_common.h",
[email protected]d05751a22014-05-29 20:54:24705 "test/layer_tree_json_parser.cc",
706 "test/layer_tree_json_parser.h",
enne03dbe8ae2014-10-30 01:32:55707 "test/layer_tree_pixel_resource_test.cc",
708 "test/layer_tree_pixel_resource_test.h",
[email protected]d05751a22014-05-29 20:54:24709 "test/layer_tree_pixel_test.cc",
710 "test/layer_tree_pixel_test.h",
weiliangc365a6fe2016-05-12 19:32:31711 "test/layer_tree_settings_for_testing.cc",
712 "test/layer_tree_settings_for_testing.h",
[email protected]d05751a22014-05-29 20:54:24713 "test/layer_tree_test.cc",
714 "test/layer_tree_test.h",
mithro6be81902015-12-04 05:58:46715 "test/mock_helper.h",
[email protected]ba16cce2014-06-17 17:03:50716 "test/mock_occlusion_tracker.h",
[email protected]d5ba08c2014-06-18 07:01:08717 "test/ordered_simple_task_runner.cc",
718 "test/ordered_simple_task_runner.h",
[email protected]d05751a22014-05-29 20:54:24719 "test/ordered_texture_map.cc",
720 "test/ordered_texture_map.h",
721 "test/paths.cc",
722 "test/paths.h",
nyquistfbaee112016-06-24 23:15:13723 "test/picture_cache_model.cc",
724 "test/picture_cache_model.h",
[email protected]d05751a22014-05-29 20:54:24725 "test/pixel_comparator.cc",
726 "test/pixel_comparator.h",
727 "test/pixel_test.cc",
728 "test/pixel_test.h",
729 "test/pixel_test_output_surface.cc",
730 "test/pixel_test_output_surface.h",
[email protected]d05751a22014-05-29 20:54:24731 "test/pixel_test_utils.cc",
732 "test/pixel_test_utils.h",
khushalsagar0c4d7f1f2016-10-04 23:41:17733 "test/remote_client_layer_factory.cc",
734 "test/remote_client_layer_factory.h",
khushalsagare0a38d42016-01-29 01:15:06735 "test/remote_proto_channel_bridge.cc",
736 "test/remote_proto_channel_bridge.h",
[email protected]d05751a22014-05-29 20:54:24737 "test/render_pass_test_utils.cc",
738 "test/render_pass_test_utils.h",
739 "test/scheduler_test_common.cc",
740 "test/scheduler_test_common.h",
741 "test/skia_common.cc",
742 "test/skia_common.h",
743 "test/solid_color_content_layer_client.cc",
744 "test/solid_color_content_layer_client.h",
danakjffc181a2016-07-22 22:48:43745 "test/stub_layer_tree_host_client.cc",
746 "test/stub_layer_tree_host_client.h",
747 "test/stub_layer_tree_host_single_thread_client.cc",
748 "test/stub_layer_tree_host_single_thread_client.h",
fsamuel7a615102015-10-23 21:25:16749 "test/surface_aggregator_test_helpers.cc",
750 "test/surface_aggregator_test_helpers.h",
751 "test/surface_hittest_test_helpers.cc",
752 "test/surface_hittest_test_helpers.h",
ericrk4e3aa5a2015-12-01 03:53:56753 "test/task_graph_runner_test_template.cc",
754 "test/task_graph_runner_test_template.h",
danakj1120f4c2016-09-15 02:05:32755 "test/test_compositor_frame_sink.cc",
756 "test/test_compositor_frame_sink.h",
[email protected]d05751a22014-05-29 20:54:24757 "test/test_context_provider.cc",
758 "test/test_context_provider.h",
759 "test/test_context_support.cc",
760 "test/test_context_support.h",
761 "test/test_gles2_interface.cc",
762 "test/test_gles2_interface.h",
reveman22dd9292014-10-13 20:52:05763 "test/test_gpu_memory_buffer_manager.cc",
764 "test/test_gpu_memory_buffer_manager.h",
khushalsagar0a226af2015-12-09 10:30:20765 "test/test_hooks.cc",
766 "test/test_hooks.h",
reveman2232bce2014-10-29 01:28:05767 "test/test_image_factory.cc",
768 "test/test_image_factory.h",
satorux457770e2015-02-18 18:33:39769 "test/test_in_process_context_provider.cc",
770 "test/test_in_process_context_provider.h",
vmpstr6edf66ce2016-05-18 20:12:22771 "test/test_layer_tree_host_base.cc",
772 "test/test_layer_tree_host_base.h",
[email protected]d05751a22014-05-29 20:54:24773 "test/test_occlusion_tracker.h",
774 "test/test_shared_bitmap_manager.cc",
775 "test/test_shared_bitmap_manager.h",
reveman34b7a1522015-03-23 20:27:47776 "test/test_task_graph_runner.cc",
777 "test/test_task_graph_runner.h",
[email protected]d05751a22014-05-29 20:54:24778 "test/test_texture.cc",
779 "test/test_texture.h",
780 "test/test_tile_priorities.cc",
781 "test/test_tile_priorities.h",
prashant.n7c706022016-05-26 19:00:09782 "test/test_tile_task_runner.cc",
783 "test/test_tile_task_runner.h",
[email protected]d05751a22014-05-29 20:54:24784 "test/test_web_graphics_context_3d.cc",
785 "test/test_web_graphics_context_3d.h",
[email protected]d05751a22014-05-29 20:54:24786 ]
787
brettwbc8b2a22015-07-28 18:24:42788 configs += [ "//build/config:precompiled_headers" ]
[email protected]d05751a22014-05-29 20:54:24789
Brett Wilson0380637c2014-09-19 21:24:40790 public_deps = [
791 ":cc",
Brett Wilsone53895272014-09-23 23:41:46792 "//gpu:test_support",
Brett Wilson0380637c2014-09-19 21:24:40793 ]
[email protected]d05751a22014-05-29 20:54:24794 deps = [
795 "//base",
jamesr16c04ff2014-11-24 22:24:57796 "//base/test:test_support",
[email protected]d05751a22014-05-29 20:54:24797 "//base/third_party/dynamic_annotations",
khushalsagare0a38d42016-01-29 01:15:06798 "//cc/proto",
fsamuel7a615102015-10-23 21:25:16799 "//cc/surfaces",
800 "//cc/surfaces:surface_id",
agrieved7a71c882015-11-20 19:53:28801 "//gpu/command_buffer/client:gl_in_process_context",
[email protected]d05751a22014-05-29 20:54:24802 "//gpu/command_buffer/client:gles2_c_lib",
803 "//gpu/command_buffer/client:gles2_implementation",
[email protected]845c4e32014-08-13 11:50:40804 "//gpu/command_buffer/common:gles2_utils",
[email protected]d05751a22014-05-29 20:54:24805 "//gpu/skia_bindings",
jamesr16c04ff2014-11-24 22:24:57806 "//media",
[email protected]d05751a22014-05-29 20:54:24807 "//skia",
808 "//testing/gmock",
809 "//testing/gtest",
[email protected]d05751a22014-05-29 20:54:24810 "//ui/gfx",
[email protected]e54a1f522014-07-22 23:26:48811 "//ui/gfx:test_support",
agrieved7a71c882015-11-20 19:53:28812 "//ui/gfx/geometry",
[email protected]d05751a22014-05-29 20:54:24813 "//ui/gl",
sadrulba162cd2015-07-20 22:34:26814 "//ui/gl:test_support",
[email protected]d05751a22014-05-29 20:54:24815 ]
agrieve48bd27e2016-06-22 21:04:07816 if (!is_android) {
817 data_deps = [
818 "//third_party/mesa:osmesa",
819 ]
820 }
[email protected]d05751a22014-05-29 20:54:24821}
822
brettw4897a612015-03-02 23:13:15823test("cc_unittests") {
824 sources = [
loysobb93befc2015-07-03 00:19:50825 "animation/animation_host_unittest.cc",
826 "animation/animation_player_unittest.cc",
827 "animation/animation_timeline_unittest.cc",
brettw4897a612015-03-02 23:13:15828 "animation/animation_unittest.cc",
loysobb93befc2015-07-03 00:19:50829 "animation/element_animations_unittest.cc",
brettw4897a612015-03-02 23:13:15830 "animation/keyframed_animation_curve_unittest.cc",
brettw4897a612015-03-02 23:13:15831 "animation/scroll_offset_animation_curve_unittest.cc",
brettw4897a612015-03-02 23:13:15832 "animation/transform_operations_unittest.cc",
enne797d82332015-12-01 01:34:58833 "base/contiguous_container_unittest.cc",
brettwd649f6b2015-08-18 20:58:51834 "base/delayed_unique_notifier_unittest.cc",
brettw4897a612015-03-02 23:13:15835 "base/float_quad_unittest.cc",
jbroman7b5b0552015-05-28 03:36:58836 "base/histograms_unittest.cc",
prashant.n20ec56f2016-09-22 03:47:32837 "base/index_rect_unittest.cc",
prashant.n7f1fe3d2015-06-05 18:26:04838 "base/list_container_unittest.cc",
brettw4897a612015-03-02 23:13:15839 "base/math_util_unittest.cc",
vmpstrb10241fc2015-09-18 01:10:12840 "base/random_access_list_container_unittest.cc",
brettw4897a612015-03-02 23:13:15841 "base/region_unittest.cc",
842 "base/rolling_time_delta_history_unittest.cc",
vmpstrb3ceb8222015-09-23 20:25:25843 "base/rtree_unittest.cc",
brettw4897a612015-03-02 23:13:15844 "base/simple_enclosed_region_unittest.cc",
prashant.n05192792016-09-24 03:38:20845 "base/spiral_iterator_unittest.cc",
brettw4897a612015-03-02 23:13:15846 "base/tiling_data_unittest.cc",
brettwd649f6b2015-08-18 20:58:51847 "base/unique_notifier_unittest.cc",
khushalsagar0c4d7f1f2016-10-04 23:41:17848 "blimp/compositor_state_deserializer_unittest.cc",
khushalsagarbc0b8be2016-10-04 02:49:06849 "blimp/layer_tree_host_remote_unittest.cc",
nyquistfbaee112016-06-24 23:15:13850 "blimp/picture_data_conversions_unittest.cc",
nyquist74a9aca2015-12-01 22:39:04851 "debug/layer_tree_debug_state_unittest.cc",
brettw4897a612015-03-02 23:13:15852 "debug/micro_benchmark_controller_unittest.cc",
brettwd649f6b2015-08-18 20:58:51853 "debug/rendering_stats_unittest.cc",
nyquist9de8ad82015-12-18 20:09:06854 "input/layer_selection_bound_unittest.cc",
tdresserd9e201472015-07-31 13:15:07855 "input/scroll_state_unittest.cc",
loyso455b4f602016-02-24 02:59:42856 "input/scrollbar_animation_controller_linear_fade_unittest.cc",
857 "input/scrollbar_animation_controller_thinning_unittest.cc",
brettw4897a612015-03-02 23:13:15858 "input/top_controls_manager_unittest.cc",
fsamuelf76098e2016-05-18 17:26:51859 "ipc/cc_param_traits_unittest.cc",
fsamuel410c9602016-05-31 21:50:20860 "ipc/struct_traits_unittest.cc",
brettw4897a612015-03-02 23:13:15861 "layers/heads_up_display_layer_impl_unittest.cc",
862 "layers/heads_up_display_unittest.cc",
brettw4897a612015-03-02 23:13:15863 "layers/layer_impl_unittest.cc",
864 "layers/layer_iterator_unittest.cc",
vollick44d1c1f2016-03-02 20:59:43865 "layers/layer_list_iterator_unittest.cc",
brettw4897a612015-03-02 23:13:15866 "layers/layer_position_constraint_unittest.cc",
nyquist353b7d52015-11-06 22:26:53867 "layers/layer_proto_converter_unittest.cc",
brettw4897a612015-03-02 23:13:15868 "layers/layer_unittest.cc",
869 "layers/layer_utils_unittest.cc",
870 "layers/nine_patch_layer_impl_unittest.cc",
871 "layers/nine_patch_layer_unittest.cc",
872 "layers/painted_scrollbar_layer_impl_unittest.cc",
ccamerona54da382015-11-27 00:52:33873 "layers/painted_scrollbar_layer_unittest.cc",
brettw4897a612015-03-02 23:13:15874 "layers/picture_image_layer_unittest.cc",
875 "layers/picture_layer_impl_unittest.cc",
876 "layers/picture_layer_unittest.cc",
877 "layers/render_surface_impl_unittest.cc",
878 "layers/render_surface_unittest.cc",
879 "layers/scrollbar_layer_unittest.cc",
880 "layers/solid_color_layer_impl_unittest.cc",
881 "layers/solid_color_scrollbar_layer_impl_unittest.cc",
882 "layers/surface_layer_impl_unittest.cc",
883 "layers/surface_layer_unittest.cc",
884 "layers/texture_layer_impl_unittest.cc",
885 "layers/texture_layer_unittest.cc",
brettw4897a612015-03-02 23:13:15886 "layers/ui_resource_layer_impl_unittest.cc",
887 "layers/ui_resource_layer_unittest.cc",
dalecurtisb8396642015-06-09 18:38:14888 "layers/video_frame_provider_client_impl_unittest.cc",
brettw4897a612015-03-02 23:13:15889 "layers/video_layer_impl_unittest.cc",
ymalik99740e852016-04-07 04:18:13890 "layers/viewport_unittest.cc",
brettw4897a612015-03-02 23:13:15891 "output/begin_frame_args_unittest.cc",
brettwd649f6b2015-08-18 20:58:51892 "output/bsp_tree_unittest.cc",
ericrk9151705c2016-07-26 19:53:16893 "output/buffer_to_texture_target_map_unittest.cc",
danakje41d978a2016-09-19 21:09:28894 "output/compositor_frame_sink_unittest.cc",
ericrkf6c4fb62016-08-30 23:27:24895 "output/context_cache_controller_unittest.cc",
brettw4897a612015-03-02 23:13:15896 "output/filter_operations_unittest.cc",
897 "output/gl_renderer_unittest.cc",
danakj920156852015-05-18 20:22:29898 "output/layer_quad_unittest.cc",
nyquist1d29b062015-12-02 02:48:18899 "output/managed_memory_policy_unittest.cc",
brettw4897a612015-03-02 23:13:15900 "output/output_surface_unittest.cc",
901 "output/overlay_unittest.cc",
902 "output/renderer_pixeltest.cc",
nyquistb974b9a2015-12-02 00:08:35903 "output/renderer_settings_unittest.cc",
brettw4897a612015-03-02 23:13:15904 "output/shader_unittest.cc",
905 "output/software_renderer_unittest.cc",
danakj920156852015-05-18 20:22:29906 "output/texture_mailbox_deleter_unittest.cc",
fmalita7913ee52015-09-09 19:47:31907 "playback/discardable_image_map_unittest.cc",
danakj920156852015-05-18 20:22:29908 "playback/display_item_list_unittest.cc",
vmpstr41d68f882016-03-30 01:20:23909 "playback/raster_source_unittest.cc",
vmpstre17fd212016-03-30 20:03:32910 "playback/recording_source_unittest.cc",
khushalsagar37694212016-01-15 20:46:48911 "proto/base_conversions_unittest.cc",
nyquist04b8bd2e2015-11-24 10:04:17912 "proto/cc_conversions_unittest.cc",
dtrainorddb0b492015-10-19 20:14:44913 "proto/gfx_conversions_unittest.cc",
nyquist1d29b062015-12-02 02:48:18914 "proto/gpu_conversions_unittest.cc",
dtrainor543858f52015-10-23 20:13:55915 "proto/skia_conversions_unittest.cc",
sunxdc36713a2016-03-03 22:31:10916 "proto/synced_property_conversions_unittest.cc",
brettwd649f6b2015-08-18 20:58:51917 "quads/draw_polygon_unittest.cc",
brettw4897a612015-03-02 23:13:15918 "quads/draw_quad_unittest.cc",
brettw4897a612015-03-02 23:13:15919 "quads/render_pass_unittest.cc",
prashant.nb4d4f492016-04-29 12:51:28920 "raster/raster_buffer_provider_unittest.cc",
danakj920156852015-05-18 20:22:29921 "raster/scoped_gpu_raster_unittest.cc",
ericrk4e3aa5a2015-12-01 03:53:56922 "raster/single_thread_task_graph_runner_unittest.cc",
923 "raster/synchronous_task_graph_runner_unittest.cc",
danakj920156852015-05-18 20:22:29924 "raster/texture_compressor_etc1_unittest.cc",
brettw4897a612015-03-02 23:13:15925 "resources/platform_color_unittest.cc",
boliucb788f42015-07-22 23:49:28926 "resources/resource_pool_unittest.cc",
brettw4897a612015-03-02 23:13:15927 "resources/resource_provider_unittest.cc",
prashant.n8e494282015-08-03 07:13:41928 "resources/resource_util_unittest.cc",
brettw4897a612015-03-02 23:13:15929 "resources/scoped_resource_unittest.cc",
brettw4897a612015-03-02 23:13:15930 "resources/video_resource_updater_unittest.cc",
931 "scheduler/begin_frame_source_unittest.cc",
khushalsagar0b3d9e12016-01-14 21:10:18932 "scheduler/commit_earlyout_reason_unittest.cc",
brianderson68749812015-07-07 22:39:39933 "scheduler/compositor_timing_history_unittest.cc",
brettw4897a612015-03-02 23:13:15934 "scheduler/delay_based_time_source_unittest.cc",
935 "scheduler/scheduler_state_machine_unittest.cc",
936 "scheduler/scheduler_unittest.cc",
mithro6be81902015-12-04 05:58:46937 "test/begin_frame_source_test_unittest.cc",
brettw4897a612015-03-02 23:13:15938 "test/layer_tree_json_parser_unittest.cc",
mithro6be81902015-12-04 05:58:46939 "test/mock_helper_unittest.cc",
brettwd649f6b2015-08-18 20:58:51940 "test/ordered_simple_task_runner_unittest.cc",
brettw4897a612015-03-02 23:13:15941 "test/test_web_graphics_context_3d_unittest.cc",
ericrkd2ff2a132016-04-11 22:16:00942 "tiles/gpu_image_decode_controller_unittest.cc",
vmpstrf8c96db2016-09-19 20:04:51943 "tiles/image_manager_unittest.cc",
ericrkc7ebaa12016-06-09 21:05:55944 "tiles/mipmap_util_unittest.cc",
danakj920156852015-05-18 20:22:29945 "tiles/picture_layer_tiling_set_unittest.cc",
946 "tiles/picture_layer_tiling_unittest.cc",
vmpstr64cdba32016-03-03 00:38:40947 "tiles/software_image_decode_controller_unittest.cc",
danakj920156852015-05-18 20:22:29948 "tiles/tile_manager_unittest.cc",
949 "tiles/tile_priority_unittest.cc",
brettw4897a612015-03-02 23:13:15950 "trees/blocking_task_runner_unittest.cc",
951 "trees/damage_tracker_unittest.cc",
brettw4897a612015-03-02 23:13:15952 "trees/layer_tree_host_common_unittest.cc",
953 "trees/layer_tree_host_impl_unittest.cc",
954 "trees/layer_tree_host_pixeltest_blending.cc",
955 "trees/layer_tree_host_pixeltest_filters.cc",
956 "trees/layer_tree_host_pixeltest_masks.cc",
957 "trees/layer_tree_host_pixeltest_readback.cc",
danakjd63f8a62016-08-24 03:26:48958 "trees/layer_tree_host_pixeltest_scrollbars.cc",
brettw4897a612015-03-02 23:13:15959 "trees/layer_tree_host_pixeltest_synchronous.cc",
danakje0b54782015-05-29 22:47:52960 "trees/layer_tree_host_pixeltest_tiles.cc",
brettw4897a612015-03-02 23:13:15961 "trees/layer_tree_host_unittest.cc",
962 "trees/layer_tree_host_unittest_animation.cc",
963 "trees/layer_tree_host_unittest_context.cc",
964 "trees/layer_tree_host_unittest_copyrequest.cc",
965 "trees/layer_tree_host_unittest_damage.cc",
brettw4897a612015-03-02 23:13:15966 "trees/layer_tree_host_unittest_occlusion.cc",
967 "trees/layer_tree_host_unittest_picture.cc",
968 "trees/layer_tree_host_unittest_proxy.cc",
khushalsagarb54107d02015-12-10 20:20:56969 "trees/layer_tree_host_unittest_record_gpu_histogram.cc",
khushalsagarb0d8691b2016-01-30 02:47:17970 "trees/layer_tree_host_unittest_remote_server.cc",
brettw4897a612015-03-02 23:13:15971 "trees/layer_tree_host_unittest_scroll.cc",
nyquist4f5e8afd2016-01-14 17:40:36972 "trees/layer_tree_host_unittest_serialization.cc",
brettw4897a612015-03-02 23:13:15973 "trees/layer_tree_host_unittest_video.cc",
974 "trees/layer_tree_impl_unittest.cc",
975 "trees/occlusion_tracker_unittest.cc",
976 "trees/occlusion_unittest.cc",
977 "trees/property_tree_unittest.cc",
khushalsagar37694212016-01-15 20:46:48978 "trees/proxy_common_unittest.cc",
khushalsagar8297ae992016-09-14 20:51:23979 "trees/swap_promise_manager_unittest.cc",
brettw4897a612015-03-02 23:13:15980 "trees/tree_synchronizer_unittest.cc",
[email protected]d05751a22014-05-29 20:54:24981
brettw4897a612015-03-02 23:13:15982 # Surfaces test files.
danakj1120f4c2016-09-15 02:05:32983 "surfaces/direct_compositor_frame_sink_unittest.cc",
brettwd649f6b2015-08-18 20:58:51984 "surfaces/display_scheduler_unittest.cc",
985 "surfaces/display_unittest.cc",
brettw4897a612015-03-02 23:13:15986 "surfaces/surface_aggregator_unittest.cc",
brettwd649f6b2015-08-18 20:58:51987 "surfaces/surface_factory_unittest.cc",
lfg8d07c91d2015-08-07 16:13:20988 "surfaces/surface_hittest_unittest.cc",
enne4e3c9d52016-03-09 00:25:12989 "surfaces/surface_manager_unittest.cc",
fsamuel34396562016-10-06 15:01:21990 "surfaces/surface_sequence_generator_unittest.cc",
brettw4897a612015-03-02 23:13:15991 "surfaces/surface_unittest.cc",
992 "surfaces/surfaces_pixeltest.cc",
[email protected]d05751a22014-05-29 20:54:24993
brettw4897a612015-03-02 23:13:15994 # Setup.
995 "test/cc_test_suite.cc",
996 "test/run_all_unittests.cc",
997 ]
[email protected]d05751a22014-05-29 20:54:24998
brettwbc8b2a22015-07-28 18:24:42999 configs += [ "//build/config:precompiled_headers" ]
agrievee41ae190d2016-04-25 14:12:511000 if (!is_android) {
1001 data = [
1002 "test/data/",
1003 ]
1004 }
dpranke177c1e22015-07-22 23:07:431005
brettw4897a612015-03-02 23:13:151006 deps = [
1007 ":cc",
1008 ":test_support",
1009 "//base/test:test_support",
fsamuelf76098e2016-05-18 17:26:511010 "//cc/ipc",
fsamuel410c9602016-05-31 21:50:201011 "//cc/ipc:test_interfaces",
dtrainorddb0b492015-10-19 20:14:441012 "//cc/proto",
brettw4897a612015-03-02 23:13:151013 "//cc/surfaces",
1014 "//cc/surfaces:surface_id",
1015 "//gpu",
1016 "//gpu:test_support",
1017 "//gpu/command_buffer/client:gles2_interface",
1018 "//gpu/command_buffer/common:gles2_utils",
1019 "//media",
fsamuel410c9602016-05-31 21:50:201020 "//mojo/edk/system",
1021 "//mojo/public/cpp/bindings",
brettw4897a612015-03-02 23:13:151022 "//testing/gmock",
1023 "//testing/gtest",
Nico Weber9d6e12942016-04-19 18:51:091024 "//ui/events:events_base",
brettw4897a612015-03-02 23:13:151025 "//ui/gfx",
brettw4897a612015-03-02 23:13:151026 "//ui/gfx:test_support",
agrieved7a71c882015-11-20 19:53:281027 "//ui/gfx/geometry",
brettw4897a612015-03-02 23:13:151028 "//ui/gl",
sadrulba162cd2015-07-20 22:34:261029 "//ui/gl:test_support",
brettw4897a612015-03-02 23:13:151030 ]
dpranke177c1e22015-07-22 23:07:431031
vmpstr9116a70f2015-10-14 23:48:341032 data_deps = [
1033 "//third_party/mesa:osmesa",
1034 ]
[email protected]d05751a22014-05-29 20:54:241035}
1036
1037test("cc_perftests") {
[email protected]6e44c302014-07-22 21:51:371038 sources = [
loysoa4a59a42016-02-10 06:49:261039 "animation/animation_host_perftest.cc",
fsamuelbb47aac2016-07-08 01:05:531040 "ipc/cc_serialization_perftest.cc",
[email protected]6e44c302014-07-22 21:51:371041 "layers/layer_perftest.cc",
1042 "layers/picture_layer_impl_perftest.cc",
danakj4e214032016-09-08 19:08:231043 "output/bsp_tree_perftest.cc",
vmpstr0b044512015-05-29 02:58:031044 "quads/draw_quad_perftest.cc",
prashant.nb4d4f492016-04-29 12:51:281045 "raster/raster_buffer_provider_perftest.cc",
danakj920156852015-05-18 20:22:291046 "raster/task_graph_runner_perftest.cc",
1047 "raster/texture_compressor_perftest.cc",
jbauman39be2012015-04-16 01:33:081048 "surfaces/surface_aggregator_perftest.cc",
[email protected]6e44c302014-07-22 21:51:371049 "test/cc_test_suite.cc",
1050 "test/run_all_perftests.cc",
danakj920156852015-05-18 20:22:291051 "tiles/tile_manager_perftest.cc",
[email protected]6e44c302014-07-22 21:51:371052 "trees/layer_tree_host_common_perftest.cc",
1053 "trees/layer_tree_host_perftest.cc",
[email protected]6e44c302014-07-22 21:51:371054 ]
[email protected]d05751a22014-05-29 20:54:241055
[email protected]6e44c302014-07-22 21:51:371056 deps = [
1057 ":cc",
1058 ":test_support",
1059 "//base",
jamesr16c04ff2014-11-24 22:24:571060 "//base/test:test_support",
fsamuelf76098e2016-05-18 17:26:511061 "//cc/ipc",
fsamuelbb47aac2016-07-08 01:05:531062 "//cc/ipc:interfaces",
jbauman39be2012015-04-16 01:33:081063 "//cc/surfaces",
1064 "//cc/surfaces:surface_id",
[email protected]6e44c302014-07-22 21:51:371065 "//gpu",
[email protected]c7990dbf2014-07-23 22:35:101066 "//gpu:test_support",
[email protected]845c4e32014-08-13 11:50:401067 "//gpu/command_buffer/common:gles2_utils",
[email protected]6e44c302014-07-22 21:51:371068 "//media",
fsamuelbb47aac2016-07-08 01:05:531069 "//mojo/edk/system",
1070 "//mojo/public/cpp/bindings",
[email protected]6e44c302014-07-22 21:51:371071 "//skia",
1072 "//testing/gmock",
1073 "//testing/gtest",
1074 "//testing/perf",
1075 "//ui/gfx",
1076 "//ui/gfx/geometry",
jamesr16c04ff2014-11-24 22:24:571077 "//ui/gl",
sadrulba162cd2015-07-20 22:34:261078 "//ui/gl:test_support",
[email protected]6e44c302014-07-22 21:51:371079 ]
krasinca63e412016-05-12 02:53:251080
1081 # This target should not require the Chrome executable to run.
1082 assert_no_deps = [ "//chrome" ]
jbudorickbdd15902016-09-15 21:05:421083
1084 data = [
1085 "test/data/",
1086 ]
[email protected]6e44c302014-07-22 21:51:371087}