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