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