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