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