Roll src/third_party/WebKit a1ed6cd:9e03af6 (svn 190836:190842)
[chromium-blink-merge.git] / cc / cc.gyp
blobcd1bd4c463a819900c7afef9b5754ba4ae76399e
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/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/switches.cc',
92         'base/switches.h',
93         'base/synced_property.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_controller.cc',
124         'debug/micro_benchmark_controller.h',
125         'debug/micro_benchmark_controller_impl.cc',
126         'debug/micro_benchmark_controller_impl.h',
127         'debug/micro_benchmark_impl.cc',
128         'debug/micro_benchmark_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/layer_selection_bound.cc',
155         'input/layer_selection_bound.h',
156         'input/page_scale_animation.cc',
157         'input/page_scale_animation.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.cc',
277         'output/delegated_frame_data.h',
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.cc',
289         'output/gl_frame_data.h',
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.cc',
338         'quads/largest_draw_quad.h',
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_skpicture_content_layer_updater.cc',
366         'resources/bitmap_skpicture_content_layer_updater.h',
367         'resources/bitmap_tile_task_worker_pool.cc',
368         'resources/bitmap_tile_task_worker_pool.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/compositing_display_item.cc',
374         'resources/compositing_display_item.h',
375         'resources/content_layer_updater.cc',
376         'resources/content_layer_updater.h',
377         'resources/display_item.cc',
378         'resources/display_item.h',
379         'resources/display_item_list.cc',
380         'resources/display_item_list.h',
381         'resources/display_list_raster_source.cc',
382         'resources/display_list_raster_source.h',
383         'resources/display_list_recording_source.cc',
384         'resources/display_list_recording_source.h',
385         'resources/drawing_display_item.cc',
386         'resources/drawing_display_item.h',
387         'resources/eviction_tile_priority_queue.cc',
388         'resources/eviction_tile_priority_queue.h',
389         'resources/filter_display_item.cc',
390         'resources/filter_display_item.h',
391         'resources/float_clip_display_item.cc',
392         'resources/float_clip_display_item.h',
393         'resources/gpu_rasterizer.cc',
394         'resources/gpu_rasterizer.h',
395         'resources/gpu_tile_task_worker_pool.cc',
396         'resources/gpu_tile_task_worker_pool.h',
397         'resources/image_layer_updater.cc',
398         'resources/image_layer_updater.h',
399         'resources/layer_painter.h',
400         'resources/layer_quad.cc',
401         'resources/layer_quad.h',
402         'resources/layer_tiling_data.cc',
403         'resources/layer_tiling_data.h',
404         'resources/layer_updater.cc',
405         'resources/layer_updater.h',
406         'resources/memory_history.cc',
407         'resources/memory_history.h',
408         'resources/one_copy_tile_task_worker_pool.cc',
409         'resources/one_copy_tile_task_worker_pool.h',
410         'resources/picture.cc',
411         'resources/picture.h',
412         'resources/picture_layer_tiling.cc',
413         'resources/picture_layer_tiling.h',
414         'resources/picture_layer_tiling_set.cc',
415         'resources/picture_layer_tiling_set.h',
416         'resources/picture_pile.cc',
417         'resources/picture_pile.h',
418         'resources/picture_pile_impl.cc',
419         'resources/picture_pile_impl.h',
420         'resources/pixel_buffer_tile_task_worker_pool.cc',
421         'resources/pixel_buffer_tile_task_worker_pool.h',
422         'resources/platform_color.h',
423         'resources/prioritized_resource.cc',
424         'resources/prioritized_resource.h',
425         'resources/prioritized_resource_manager.cc',
426         'resources/prioritized_resource_manager.h',
427         'resources/priority_calculator.cc',
428         'resources/priority_calculator.h',
429         'resources/raster_buffer.cc',
430         'resources/raster_buffer.h',
431         'resources/raster_source.h',
432         'resources/raster_source_helper.cc',
433         'resources/raster_source_helper.h',
434         'resources/raster_tile_priority_queue.cc',
435         'resources/raster_tile_priority_queue.h',
436         'resources/raster_tile_priority_queue_all.cc',
437         'resources/raster_tile_priority_queue_all.h',
438         'resources/raster_tile_priority_queue_required.cc',
439         'resources/raster_tile_priority_queue_required.h',
440         'resources/rasterizer.h',
441         'resources/recording_source.h',
442         'resources/release_callback.h',
443         'resources/resource.cc',
444         'resources/resource.h',
445         'resources/resource_format.cc',
446         'resources/resource_format.h',
447         'resources/resource_pool.cc',
448         'resources/resource_pool.h',
449         'resources/resource_provider.cc',
450         'resources/resource_provider.h',
451         'resources/resource_update.cc',
452         'resources/resource_update.h',
453         'resources/resource_update_controller.cc',
454         'resources/resource_update_controller.h',
455         'resources/resource_update_queue.cc',
456         'resources/resource_update_queue.h',
457         'resources/returned_resource.h',
458         'resources/scoped_gpu_raster.cc',
459         'resources/scoped_gpu_raster.h',
460         'resources/scoped_resource.cc',
461         'resources/scoped_resource.h',
462         'resources/scoped_ui_resource.cc',
463         'resources/scoped_ui_resource.h',
464         'resources/shared_bitmap.cc',
465         'resources/shared_bitmap.h',
466         'resources/shared_bitmap_manager.h',
467         'resources/single_release_callback.cc',
468         'resources/single_release_callback.h',
469         'resources/single_release_callback_impl.cc',
470         'resources/single_release_callback_impl.h',
471         'resources/skpicture_content_layer_updater.cc',
472         'resources/skpicture_content_layer_updater.h',
473         'resources/software_rasterizer.cc',
474         'resources/software_rasterizer.h',
475         'resources/task_graph_runner.cc',
476         'resources/task_graph_runner.h',
477         'resources/texture_mailbox.cc',
478         'resources/texture_mailbox.h',
479         'resources/texture_mailbox_deleter.cc',
480         'resources/texture_mailbox_deleter.h',
481         'resources/texture_uploader.cc',
482         'resources/texture_uploader.h',
483         'resources/tile.cc',
484         'resources/tile.h',
485         'resources/tile_draw_info.cc',
486         'resources/tile_draw_info.h',
487         'resources/tile_manager.cc',
488         'resources/tile_manager.h',
489         'resources/tile_priority.cc',
490         'resources/tile_priority.h',
491         'resources/tile_task_runner.cc',
492         'resources/tile_task_runner.h',
493         'resources/tile_task_worker_pool.cc',
494         'resources/tile_task_worker_pool.h',
495         'resources/tiling_set_eviction_queue.cc',
496         'resources/tiling_set_eviction_queue.h',
497         'resources/tiling_set_raster_queue_all.cc',
498         'resources/tiling_set_raster_queue_all.h',
499         'resources/tiling_set_raster_queue_required.cc',
500         'resources/tiling_set_raster_queue_required.h',
501         'resources/transferable_resource.cc',
502         'resources/transferable_resource.h',
503         'resources/transform_display_item.cc',
504         'resources/transform_display_item.h',
505         'resources/transparency_display_item.cc',
506         'resources/transparency_display_item.h',
507         'resources/ui_resource_bitmap.cc',
508         'resources/ui_resource_bitmap.h',
509         'resources/ui_resource_client.h',
510         'resources/ui_resource_request.cc',
511         'resources/ui_resource_request.h',
512         'resources/video_resource_updater.cc',
513         'resources/video_resource_updater.h',
514         'resources/zero_copy_tile_task_worker_pool.cc',
515         'resources/zero_copy_tile_task_worker_pool.h',
516         'scheduler/begin_frame_source.cc',
517         'scheduler/begin_frame_source.h',
518         'scheduler/commit_earlyout_reason.h',
519         'scheduler/delay_based_time_source.cc',
520         'scheduler/delay_based_time_source.h',
521         'scheduler/draw_result.h',
522         'scheduler/scheduler.cc',
523         'scheduler/scheduler.h',
524         'scheduler/scheduler_settings.cc',
525         'scheduler/scheduler_settings.h',
526         'scheduler/scheduler_state_machine.cc',
527         'scheduler/scheduler_state_machine.h',
528         'trees/blocking_task_runner.cc',
529         'trees/blocking_task_runner.h',
530         'trees/damage_tracker.cc',
531         'trees/damage_tracker.h',
532         'trees/draw_property_utils.cc',
533         'trees/draw_property_utils.h',
534         'trees/layer_sorter.cc',
535         'trees/layer_sorter.h',
536         'trees/layer_tree_host.cc',
537         'trees/layer_tree_host.h',
538         'trees/layer_tree_host_client.h',
539         'trees/layer_tree_host_common.cc',
540         'trees/layer_tree_host_common.h',
541         'trees/layer_tree_host_impl.cc',
542         'trees/layer_tree_host_impl.h',
543         'trees/layer_tree_impl.cc',
544         'trees/layer_tree_impl.h',
545         'trees/layer_tree_settings.cc',
546         'trees/layer_tree_settings.h',
547         'trees/occlusion.cc',
548         'trees/occlusion.h',
549         'trees/occlusion_tracker.cc',
550         'trees/occlusion_tracker.h',
551         'trees/property_tree.cc',
552         'trees/property_tree.h',
553         'trees/property_tree_builder.cc',
554         'trees/property_tree_builder.h',
555         'trees/proxy.cc',
556         'trees/proxy.h',
557         'trees/proxy_timing_history.cc',
558         'trees/proxy_timing_history.h',
559         'trees/scoped_abort_remaining_swap_promises.h',
560         'trees/single_thread_proxy.cc',
561         'trees/single_thread_proxy.h',
562         'trees/thread_proxy.cc',
563         'trees/thread_proxy.h',
564         'trees/tree_synchronizer.cc',
565         'trees/tree_synchronizer.h',
566       ],
567       'includes': [
568         '../build/android/increase_size_for_speed.gypi',
569       ],
570       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
571       'msvs_disabled_warnings': [ 4267, ],
572     },
573     {
574       # GN version: //cc/surfaces
575       'target_name': 'cc_surfaces',
576       'type': '<(component)',
577       'dependencies': [
578         'cc',
579         '<(DEPTH)/base/base.gyp:base',
580         '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
581         '<(DEPTH)/skia/skia.gyp:skia',
582         '<(DEPTH)/ui/events/events.gyp:events_base',
583         '<(DEPTH)/ui/gfx/gfx.gyp:gfx',
584         '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
585       ],
586       'defines': [
587         'CC_SURFACES_IMPLEMENTATION=1',
588       ],
589       'sources': [
590         # Note: file list duplicated in GN build.
591         'surfaces/display.cc',
592         'surfaces/display.h',
593         'surfaces/display_client.h',
594         'surfaces/onscreen_display_client.cc',
595         'surfaces/onscreen_display_client.h',
596         'surfaces/surface.cc',
597         'surfaces/surface.h',
598         'surfaces/surface_aggregator.cc',
599         'surfaces/surface_aggregator.h',
600         'surfaces/surface_display_output_surface.cc',
601         'surfaces/surface_display_output_surface.h',
602         'surfaces/surface_factory.cc',
603         'surfaces/surface_factory.h',
604         'surfaces/surface_factory_client.h',
605         'surfaces/surface_id.h',
606         'surfaces/surface_id_allocator.cc',
607         'surfaces/surface_id_allocator.h',
608         'surfaces/surface_manager.cc',
609         'surfaces/surface_manager.h',
610         'surfaces/surface_resource_holder.cc',
611         'surfaces/surface_resource_holder.h',
612         'surfaces/surfaces_export.h',
613       ],
614       'includes': [
615         '../build/android/increase_size_for_speed.gypi',
616       ],
617     },
618   ],