[Large Icon Service] Remove bad DCHECK.
[chromium-blink-merge.git] / cc / cc.gyp
blob8479219f0c3ba1e64f539bf9e8dd004066b1c88a
1 # Copyright (c) 2012 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.
6   'variables': {
7     'chromium_code': 1,
8   },
9   'targets': [
10     {
11       # GN version: //cc
12       'target_name': 'cc',
13       'type': '<(component)',
14       'dependencies': [
15         '<(DEPTH)/base/base.gyp:base',
16         '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
17         '<(DEPTH)/gpu/gpu.gyp:gpu',
18         '<(DEPTH)/media/media.gyp:media',
19         '<(DEPTH)/skia/skia.gyp:skia',
20         '<(DEPTH)/ui/events/events.gyp:events_base',
21         '<(DEPTH)/ui/gfx/gfx.gyp:gfx',
22         '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
23       ],
24       'variables': {
25         'optimize': 'max',
26       },
27       'export_dependent_settings': [
28         '<(DEPTH)/skia/skia.gyp:skia',
29       ],
30       'defines': [
31         'CC_IMPLEMENTATION=1',
32       ],
33       'sources': [
34         # Note: file list duplicated in GN build.
35         'animation/animation.cc',
36         'animation/animation.h',
37         'animation/animation_curve.cc',
38         'animation/animation_curve.h',
39         'animation/animation_delegate.h',
40         'animation/animation_events.cc',
41         'animation/animation_events.h',
42         'animation/animation_id_provider.cc',
43         'animation/animation_id_provider.h',
44         'animation/animation_registrar.cc',
45         'animation/animation_registrar.h',
46         'animation/keyframed_animation_curve.cc',
47         'animation/keyframed_animation_curve.h',
48         'animation/layer_animation_controller.cc',
49         'animation/layer_animation_controller.h',
50         'animation/layer_animation_event_observer.h',
51         'animation/layer_animation_value_observer.h',
52         'animation/layer_animation_value_provider.h',
53         'animation/scroll_offset_animation_curve.cc',
54         'animation/scroll_offset_animation_curve.h',
55         'animation/scrollbar_animation_controller.cc',
56         'animation/scrollbar_animation_controller.h',
57         'animation/scrollbar_animation_controller_linear_fade.cc',
58         'animation/scrollbar_animation_controller_linear_fade.h',
59         'animation/scrollbar_animation_controller_thinning.cc',
60         'animation/scrollbar_animation_controller_thinning.h',
61         'animation/timing_function.cc',
62         'animation/timing_function.h',
63         'animation/transform_operation.cc',
64         'animation/transform_operation.h',
65         'animation/transform_operations.cc',
66         'animation/transform_operations.h',
67         'base/completion_event.h',
68         'base/delayed_unique_notifier.cc',
69         'base/delayed_unique_notifier.h',
70         'base/histograms.cc',
71         'base/histograms.h',
72         'base/invalidation_region.cc',
73         'base/invalidation_region.h',
74         'base/math_util.cc',
75         'base/math_util.h',
76         'base/region.cc',
77         'base/region.h',
78         'base/rolling_time_delta_history.cc',
79         'base/rolling_time_delta_history.h',
80         'base/scoped_ptr_algorithm.h',
81         'base/scoped_ptr_deque.h',
82         'base/scoped_ptr_vector.h',
83         'base/simple_enclosed_region.cc',
84         'base/simple_enclosed_region.h',
85         'base/switches.cc',
86         'base/switches.h',
87         'base/synced_property.h',
88         'base/tiling_data.cc',
89         'base/tiling_data.h',
90         'base/time_util.h',
91         'base/unique_notifier.cc',
92         'base/unique_notifier.h',
93         'base/util.h',
94         'debug/benchmark_instrumentation.cc',
95         'debug/benchmark_instrumentation.h',
96         'debug/debug_colors.cc',
97         'debug/debug_colors.h',
98         'debug/debug_rect_history.cc',
99         'debug/debug_rect_history.h',
100         'debug/devtools_instrumentation.h',
101         'debug/frame_rate_counter.cc',
102         'debug/frame_rate_counter.h',
103         'debug/frame_timing_request.cc',
104         'debug/frame_timing_request.h',
105         'debug/frame_timing_tracker.cc',
106         'debug/frame_timing_tracker.h',
107         'debug/frame_viewer_instrumentation.cc',
108         'debug/frame_viewer_instrumentation.h',
109         'debug/invalidation_benchmark.cc',
110         'debug/invalidation_benchmark.h',
111         'debug/lap_timer.cc',
112         'debug/lap_timer.h',
113         'debug/layer_tree_debug_state.cc',
114         'debug/layer_tree_debug_state.h',
115         'debug/micro_benchmark.cc',
116         'debug/micro_benchmark.h',
117         'debug/micro_benchmark_controller.cc',
118         'debug/micro_benchmark_controller.h',
119         'debug/micro_benchmark_controller_impl.cc',
120         'debug/micro_benchmark_controller_impl.h',
121         'debug/micro_benchmark_impl.cc',
122         'debug/micro_benchmark_impl.h',
123         'debug/paint_time_counter.cc',
124         'debug/paint_time_counter.h',
125         'debug/picture_debug_util.cc',
126         'debug/picture_debug_util.h',
127         'debug/picture_record_benchmark.cc',
128         'debug/picture_record_benchmark.h',
129         'debug/rasterize_and_record_benchmark.cc',
130         'debug/rasterize_and_record_benchmark.h',
131         'debug/rasterize_and_record_benchmark_impl.cc',
132         'debug/rasterize_and_record_benchmark_impl.h',
133         'debug/rendering_stats.cc',
134         'debug/rendering_stats.h',
135         'debug/rendering_stats_instrumentation.cc',
136         'debug/rendering_stats_instrumentation.h',
137         'debug/ring_buffer.h',
138         'debug/traced_picture.cc',
139         'debug/traced_picture.h',
140         'debug/traced_value.cc',
141         'debug/traced_value.h',
142         'debug/unittest_only_benchmark.cc',
143         'debug/unittest_only_benchmark.h',
144         'debug/unittest_only_benchmark_impl.cc',
145         'debug/unittest_only_benchmark_impl.h',
146         'input/input_handler.cc',
147         'input/input_handler.h',
148         'input/layer_selection_bound.cc',
149         'input/layer_selection_bound.h',
150         'input/page_scale_animation.cc',
151         'input/page_scale_animation.h',
152         'input/scroll_elasticity_helper.cc',
153         'input/scroll_elasticity_helper.h',
154         'input/selection_bound_type.h',
155         'input/selection.h',
156         'input/top_controls_manager.cc',
157         'input/top_controls_manager.h',
158         'input/top_controls_manager_client.h',
159         'layers/append_quads_data.h',
160         'layers/content_layer.cc',
161         'layers/content_layer.h',
162         'layers/content_layer_client.h',
163         'layers/contents_scaling_layer.cc',
164         'layers/contents_scaling_layer.h',
165         'layers/delegated_frame_provider.cc',
166         'layers/delegated_frame_provider.h',
167         'layers/delegated_frame_resource_collection.cc',
168         'layers/delegated_frame_resource_collection.h',
169         'layers/delegated_renderer_layer.cc',
170         'layers/delegated_renderer_layer.h',
171         'layers/delegated_renderer_layer_impl.cc',
172         'layers/delegated_renderer_layer_impl.h',
173         'layers/draw_properties.h',
174         'layers/heads_up_display_layer.cc',
175         'layers/heads_up_display_layer.h',
176         'layers/heads_up_display_layer_impl.cc',
177         'layers/heads_up_display_layer_impl.h',
178         'layers/image_layer.cc',
179         'layers/image_layer.h',
180         'layers/io_surface_layer.cc',
181         'layers/io_surface_layer.h',
182         'layers/io_surface_layer_impl.cc',
183         'layers/io_surface_layer_impl.h',
184         'layers/layer.cc',
185         'layers/layer.h',
186         'layers/layer_client.h',
187         'layers/layer_impl.cc',
188         'layers/layer_impl.h',
189         'layers/layer_iterator.h',
190         'layers/layer_lists.cc',
191         'layers/layer_lists.h',
192         'layers/layer_position_constraint.cc',
193         'layers/layer_position_constraint.h',
194         'layers/layer_utils.cc',
195         'layers/layer_utils.h',
196         'layers/nine_patch_layer.cc',
197         'layers/nine_patch_layer.h',
198         'layers/nine_patch_layer_impl.cc',
199         'layers/nine_patch_layer_impl.h',
200         'layers/paint_properties.h',
201         'layers/painted_scrollbar_layer.cc',
202         'layers/painted_scrollbar_layer.h',
203         'layers/painted_scrollbar_layer_impl.cc',
204         'layers/painted_scrollbar_layer_impl.h',
205         'layers/picture_image_layer.cc',
206         'layers/picture_image_layer.h',
207         'layers/picture_image_layer_impl.cc',
208         'layers/picture_image_layer_impl.h',
209         'layers/picture_layer.cc',
210         'layers/picture_layer.h',
211         'layers/picture_layer_impl.cc',
212         'layers/picture_layer_impl.h',
213         'layers/render_pass_sink.h',
214         'layers/render_surface.cc',
215         'layers/render_surface.h',
216         'layers/render_surface_impl.cc',
217         'layers/render_surface_impl.h',
218         'layers/scrollbar_layer_impl_base.cc',
219         'layers/scrollbar_layer_impl_base.h',
220         'layers/scrollbar_layer_interface.h',
221         'layers/solid_color_layer.cc',
222         'layers/solid_color_layer.h',
223         'layers/solid_color_layer_impl.cc',
224         'layers/solid_color_layer_impl.h',
225         'layers/solid_color_scrollbar_layer.cc',
226         'layers/solid_color_scrollbar_layer.h',
227         'layers/solid_color_scrollbar_layer_impl.cc',
228         'layers/solid_color_scrollbar_layer_impl.h',
229         'layers/surface_layer.cc',
230         'layers/surface_layer.h',
231         'layers/surface_layer_impl.cc',
232         'layers/surface_layer_impl.h',
233         'layers/texture_layer.cc',
234         'layers/texture_layer.h',
235         'layers/texture_layer_client.h',
236         'layers/texture_layer_impl.cc',
237         'layers/texture_layer_impl.h',
238         'layers/tiled_layer.cc',
239         'layers/tiled_layer.h',
240         'layers/tiled_layer_impl.cc',
241         'layers/tiled_layer_impl.h',
242         'layers/ui_resource_layer.cc',
243         'layers/ui_resource_layer.h',
244         'layers/ui_resource_layer_impl.cc',
245         'layers/ui_resource_layer_impl.h',
246         'layers/video_frame_provider.h',
247         'layers/video_frame_provider_client_impl.cc',
248         'layers/video_frame_provider_client_impl.h',
249         'layers/video_layer.cc',
250         'layers/video_layer.h',
251         'layers/video_layer_impl.cc',
252         'layers/video_layer_impl.h',
253         'layers/viewport.cc',
254         'layers/viewport.h',
255         'output/begin_frame_args.cc',
256         'output/begin_frame_args.h',
257         'output/bsp_tree.cc',
258         'output/bsp_tree.h',
259         'output/bsp_walk_action.cc',
260         'output/bsp_walk_action.h',
261         'output/compositor_frame.cc',
262         'output/compositor_frame.h',
263         'output/compositor_frame_ack.cc',
264         'output/compositor_frame_ack.h',
265         'output/compositor_frame_metadata.cc',
266         'output/compositor_frame_metadata.h',
267         'output/context_provider.cc',
268         'output/context_provider.h',
269         'output/copy_output_request.cc',
270         'output/copy_output_request.h',
271         'output/copy_output_result.cc',
272         'output/copy_output_result.h',
273         'output/delegated_frame_data.cc',
274         'output/delegated_frame_data.h',
275         'output/delegating_renderer.cc',
276         'output/delegating_renderer.h',
277         'output/direct_renderer.cc',
278         'output/direct_renderer.h',
279         'output/dynamic_geometry_binding.cc',
280         'output/dynamic_geometry_binding.h',
281         'output/filter_operation.cc',
282         'output/filter_operation.h',
283         'output/filter_operations.cc',
284         'output/filter_operations.h',
285         'output/geometry_binding.cc',
286         'output/geometry_binding.h',
287         'output/gl_frame_data.cc',
288         'output/gl_frame_data.h',
289         'output/gl_renderer.cc',
290         'output/gl_renderer.h',
291         'output/gl_renderer_draw_cache.cc',
292         'output/gl_renderer_draw_cache.h',
293         'output/latency_info_swap_promise.cc',
294         'output/latency_info_swap_promise.h',
295         'output/managed_memory_policy.cc',
296         'output/managed_memory_policy.h',
297         'output/output_surface.cc',
298         'output/output_surface.h',
299         'output/output_surface_client.h',
300         'output/overlay_candidate.cc',
301         'output/overlay_candidate.h',
302         'output/overlay_candidate_validator.h',
303         'output/overlay_processor.cc',
304         'output/overlay_processor.h',
305         'output/overlay_strategy_common.cc',
306         'output/overlay_strategy_common.h',
307         'output/overlay_strategy_single_on_top.cc',
308         'output/overlay_strategy_single_on_top.h',
309         'output/overlay_strategy_underlay.cc',
310         'output/overlay_strategy_underlay.h',
311         'output/program_binding.cc',
312         'output/program_binding.h',
313         'output/render_surface_filters.cc',
314         'output/render_surface_filters.h',
315         'output/renderer.cc',
316         'output/renderer.h',
317         'output/renderer_capabilities.cc',
318         'output/renderer_capabilities.h',
319         'output/renderer_settings.cc',
320         'output/renderer_settings.h',
321         'output/shader.cc',
322         'output/shader.h',
323         'output/software_frame_data.cc',
324         'output/software_frame_data.h',
325         'output/software_output_device.cc',
326         'output/software_output_device.h',
327         'output/software_renderer.cc',
328         'output/software_renderer.h',
329         'output/static_geometry_binding.cc',
330         'output/static_geometry_binding.h',
331         'output/swap_promise.h',
332         'output/viewport_selection_bound.cc',
333         'output/viewport_selection_bound.h',
334         'output/vsync_parameter_observer.h',
335         'quads/checkerboard_draw_quad.cc',
336         'quads/checkerboard_draw_quad.h',
337         'quads/content_draw_quad_base.cc',
338         'quads/content_draw_quad_base.h',
339         'quads/debug_border_draw_quad.cc',
340         'quads/debug_border_draw_quad.h',
341         'quads/draw_polygon.cc',
342         'quads/draw_polygon.h',
343         'quads/draw_quad.cc',
344         'quads/draw_quad.h',
345         'quads/io_surface_draw_quad.cc',
346         'quads/io_surface_draw_quad.h',
347         'quads/largest_draw_quad.cc',
348         'quads/largest_draw_quad.h',
349         'quads/list_container.cc',
350         'quads/list_container.h',
351         'quads/picture_draw_quad.cc',
352         'quads/picture_draw_quad.h',
353         'quads/render_pass.cc',
354         'quads/render_pass.h',
355         'quads/render_pass_draw_quad.cc',
356         'quads/render_pass_draw_quad.h',
357         'quads/render_pass_id.cc',
358         'quads/render_pass_id.h',
359         'quads/shared_quad_state.cc',
360         'quads/shared_quad_state.h',
361         'quads/solid_color_draw_quad.cc',
362         'quads/solid_color_draw_quad.h',
363         'quads/stream_video_draw_quad.cc',
364         'quads/stream_video_draw_quad.h',
365         'quads/surface_draw_quad.cc',
366         'quads/surface_draw_quad.h',
367         'quads/texture_draw_quad.cc',
368         'quads/texture_draw_quad.h',
369         'quads/tile_draw_quad.cc',
370         'quads/tile_draw_quad.h',
371         'quads/yuv_video_draw_quad.cc',
372         'quads/yuv_video_draw_quad.h',
373         'resources/bitmap_content_layer_updater.cc',
374         'resources/bitmap_content_layer_updater.h',
375         'resources/bitmap_skpicture_content_layer_updater.cc',
376         'resources/bitmap_skpicture_content_layer_updater.h',
377         'resources/bitmap_tile_task_worker_pool.cc',
378         'resources/bitmap_tile_task_worker_pool.h',
379         'resources/clip_display_item.cc',
380         'resources/clip_display_item.h',
381         'resources/clip_path_display_item.cc',
382         'resources/clip_path_display_item.h',
383         'resources/compositing_display_item.cc',
384         'resources/compositing_display_item.h',
385         'resources/content_layer_updater.cc',
386         'resources/content_layer_updater.h',
387         'resources/display_item.cc',
388         'resources/display_item.h',
389         'resources/display_item_list.cc',
390         'resources/display_item_list.h',
391         'resources/display_list_raster_source.cc',
392         'resources/display_list_raster_source.h',
393         'resources/display_list_recording_source.cc',
394         'resources/display_list_recording_source.h',
395         'resources/drawing_display_item.cc',
396         'resources/drawing_display_item.h',
397         'resources/eviction_tile_priority_queue.cc',
398         'resources/eviction_tile_priority_queue.h',
399         'resources/filter_display_item.cc',
400         'resources/filter_display_item.h',
401         'resources/float_clip_display_item.cc',
402         'resources/float_clip_display_item.h',
403         'resources/gpu_rasterizer.cc',
404         'resources/gpu_rasterizer.h',
405         'resources/gpu_tile_task_worker_pool.cc',
406         'resources/gpu_tile_task_worker_pool.h',
407         'resources/image_layer_updater.cc',
408         'resources/image_layer_updater.h',
409         'resources/layer_painter.h',
410         'resources/layer_quad.cc',
411         'resources/layer_quad.h',
412         'resources/layer_tiling_data.cc',
413         'resources/layer_tiling_data.h',
414         'resources/layer_updater.cc',
415         'resources/layer_updater.h',
416         'resources/memory_history.cc',
417         'resources/memory_history.h',
418         'resources/one_copy_tile_task_worker_pool.cc',
419         'resources/one_copy_tile_task_worker_pool.h',
420         'resources/picture.cc',
421         'resources/picture.h',
422         'resources/picture_layer_tiling.cc',
423         'resources/picture_layer_tiling.h',
424         'resources/picture_layer_tiling_set.cc',
425         'resources/picture_layer_tiling_set.h',
426         'resources/picture_pile.cc',
427         'resources/picture_pile.h',
428         'resources/picture_pile_impl.cc',
429         'resources/picture_pile_impl.h',
430         'resources/pixel_buffer_tile_task_worker_pool.cc',
431         'resources/pixel_buffer_tile_task_worker_pool.h',
432         'resources/pixel_ref_map.cc',
433         'resources/pixel_ref_map.h',
434         'resources/platform_color.h',
435         'resources/prioritized_resource.cc',
436         'resources/prioritized_resource.h',
437         'resources/prioritized_resource_manager.cc',
438         'resources/prioritized_resource_manager.h',
439         'resources/priority_calculator.cc',
440         'resources/priority_calculator.h',
441         'resources/raster_buffer.cc',
442         'resources/raster_buffer.h',
443         'resources/raster_source.h',
444         'resources/raster_source_helper.cc',
445         'resources/raster_source_helper.h',
446         'resources/raster_tile_priority_queue.cc',
447         'resources/raster_tile_priority_queue.h',
448         'resources/raster_tile_priority_queue_all.cc',
449         'resources/raster_tile_priority_queue_all.h',
450         'resources/raster_tile_priority_queue_required.cc',
451         'resources/raster_tile_priority_queue_required.h',
452         'resources/recording_source.h',
453         'resources/release_callback.h',
454         'resources/resource.cc',
455         'resources/resource.h',
456         'resources/resource_format.cc',
457         'resources/resource_format.h',
458         'resources/resource_pool.cc',
459         'resources/resource_pool.h',
460         'resources/resource_provider.cc',
461         'resources/resource_provider.h',
462         'resources/resource_update.cc',
463         'resources/resource_update.h',
464         'resources/resource_update_controller.cc',
465         'resources/resource_update_controller.h',
466         'resources/resource_update_queue.cc',
467         'resources/resource_update_queue.h',
468         'resources/returned_resource.h',
469         'resources/scoped_gpu_raster.cc',
470         'resources/scoped_gpu_raster.h',
471         'resources/scoped_resource.cc',
472         'resources/scoped_resource.h',
473         'resources/scoped_ui_resource.cc',
474         'resources/scoped_ui_resource.h',
475         'resources/shared_bitmap.cc',
476         'resources/shared_bitmap.h',
477         'resources/shared_bitmap_manager.h',
478         'resources/single_release_callback.cc',
479         'resources/single_release_callback.h',
480         'resources/single_release_callback_impl.cc',
481         'resources/single_release_callback_impl.h',
482         'resources/skpicture_content_layer_updater.cc',
483         'resources/skpicture_content_layer_updater.h',
484         'resources/task_graph_runner.cc',
485         'resources/task_graph_runner.h',
486         'resources/texture_compressor.cc',
487         'resources/texture_compressor.h',
488         'resources/texture_compressor_etc1.cc',
489         'resources/texture_compressor_etc1.h',
490         'resources/texture_mailbox.cc',
491         'resources/texture_mailbox.h',
492         'resources/texture_mailbox_deleter.cc',
493         'resources/texture_mailbox_deleter.h',
494         'resources/texture_uploader.cc',
495         'resources/texture_uploader.h',
496         'resources/tile.cc',
497         'resources/tile.h',
498         'resources/tile_draw_info.cc',
499         'resources/tile_draw_info.h',
500         'resources/tile_manager.cc',
501         'resources/tile_manager.h',
502         'resources/tile_priority.cc',
503         'resources/tile_priority.h',
504         'resources/tile_task_runner.cc',
505         'resources/tile_task_runner.h',
506         'resources/tile_task_worker_pool.cc',
507         'resources/tile_task_worker_pool.h',
508         'resources/tiling_set_eviction_queue.cc',
509         'resources/tiling_set_eviction_queue.h',
510         'resources/tiling_set_raster_queue_all.cc',
511         'resources/tiling_set_raster_queue_all.h',
512         'resources/tiling_set_raster_queue_required.cc',
513         'resources/tiling_set_raster_queue_required.h',
514         'resources/transferable_resource.cc',
515         'resources/transferable_resource.h',
516         'resources/transform_display_item.cc',
517         'resources/transform_display_item.h',
518         'resources/ui_resource_bitmap.cc',
519         'resources/ui_resource_bitmap.h',
520         'resources/ui_resource_client.h',
521         'resources/ui_resource_request.cc',
522         'resources/ui_resource_request.h',
523         'resources/video_resource_updater.cc',
524         'resources/video_resource_updater.h',
525         'resources/zero_copy_tile_task_worker_pool.cc',
526         'resources/zero_copy_tile_task_worker_pool.h',
527         'scheduler/begin_frame_source.cc',
528         'scheduler/begin_frame_source.h',
529         'scheduler/commit_earlyout_reason.h',
530         'scheduler/delay_based_time_source.cc',
531         'scheduler/delay_based_time_source.h',
532         'scheduler/draw_result.h',
533         'scheduler/scheduler.cc',
534         'scheduler/scheduler.h',
535         'scheduler/scheduler_settings.cc',
536         'scheduler/scheduler_settings.h',
537         'scheduler/scheduler_state_machine.cc',
538         'scheduler/scheduler_state_machine.h',
539         'scheduler/video_frame_controller.h',
540         'trees/blocking_task_runner.cc',
541         'trees/blocking_task_runner.h',
542         'trees/damage_tracker.cc',
543         'trees/damage_tracker.h',
544         'trees/draw_property_utils.cc',
545         'trees/draw_property_utils.h',
546         'trees/latency_info_swap_promise_monitor.cc',
547         'trees/latency_info_swap_promise_monitor.h',
548         'trees/layer_tree_host.cc',
549         'trees/layer_tree_host.h',
550         'trees/layer_tree_host_client.h',
551         'trees/layer_tree_host_common.cc',
552         'trees/layer_tree_host_common.h',
553         'trees/layer_tree_host_impl.cc',
554         'trees/layer_tree_host_impl.h',
555         'trees/layer_tree_host_single_thread_client.h',
556         'trees/layer_tree_impl.cc',
557         'trees/layer_tree_impl.h',
558         'trees/layer_tree_settings.cc',
559         'trees/layer_tree_settings.h',
560         'trees/occlusion.cc',
561         'trees/occlusion.h',
562         'trees/occlusion_tracker.cc',
563         'trees/occlusion_tracker.h',
564         'trees/property_tree.cc',
565         'trees/property_tree.h',
566         'trees/property_tree_builder.cc',
567         'trees/property_tree_builder.h',
568         'trees/proxy.cc',
569         'trees/proxy.h',
570         'trees/proxy_timing_history.cc',
571         'trees/proxy_timing_history.h',
572         'trees/scoped_abort_remaining_swap_promises.h',
573         'trees/single_thread_proxy.cc',
574         'trees/single_thread_proxy.h',
575         'trees/swap_promise_monitor.cc',
576         'trees/swap_promise_monitor.h',
577         'trees/thread_proxy.cc',
578         'trees/thread_proxy.h',
579         'trees/tree_synchronizer.cc',
580         'trees/tree_synchronizer.h',
581       ],
582       'includes': [
583         '../build/android/increase_size_for_speed.gypi',
584       ],
585       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
586       'msvs_disabled_warnings': [ 4267, ],
587     },
588     {
589       # GN version: //cc/surfaces
590       'target_name': 'cc_surfaces',
591       'type': '<(component)',
592       'dependencies': [
593         'cc',
594         '<(DEPTH)/base/base.gyp:base',
595         '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
596         '<(DEPTH)/skia/skia.gyp:skia',
597         '<(DEPTH)/ui/events/events.gyp:events_base',
598         '<(DEPTH)/ui/gfx/gfx.gyp:gfx',
599         '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
600       ],
601       'defines': [
602         'CC_SURFACES_IMPLEMENTATION=1',
603       ],
604       'sources': [
605         # Note: file list duplicated in GN build.
606         'surfaces/display.cc',
607         'surfaces/display.h',
608         'surfaces/display_client.h',
609         'surfaces/onscreen_display_client.cc',
610         'surfaces/onscreen_display_client.h',
611         'surfaces/surface.cc',
612         'surfaces/surface.h',
613         'surfaces/surface_aggregator.cc',
614         'surfaces/surface_aggregator.h',
615         'surfaces/surface_display_output_surface.cc',
616         'surfaces/surface_display_output_surface.h',
617         'surfaces/surface_factory.cc',
618         'surfaces/surface_factory.h',
619         'surfaces/surface_factory_client.h',
620         'surfaces/surface_id.h',
621         'surfaces/surface_id_allocator.cc',
622         'surfaces/surface_id_allocator.h',
623         'surfaces/surface_manager.cc',
624         'surfaces/surface_manager.h',
625         'surfaces/surface_resource_holder.cc',
626         'surfaces/surface_resource_holder.h',
627         'surfaces/surfaces_export.h',
628       ],
629       'includes': [
630         '../build/android/increase_size_for_speed.gypi',
631       ],
632     },
633   ],