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