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