summaryrefslogtreecommitdiffstats
path: root/cc/cc.gyp
blob: 9c8f04d8f37f99ff29c4b0795cae47d1763b68af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'variables': {
    'chromium_code': 1,
  },
  'targets': [
    {
      # GN version: //cc
      'target_name': 'cc',
      'type': '<(component)',
      'dependencies': [
        '<(DEPTH)/base/base.gyp:base',
        '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
        '<(DEPTH)/gpu/gpu.gyp:gpu',
        '<(DEPTH)/media/media.gyp:media',
        '<(DEPTH)/skia/skia.gyp:skia',
        '<(DEPTH)/ui/events/events.gyp:events_base',
        '<(DEPTH)/ui/gfx/gfx.gyp:gfx',
        '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
      ],
      'variables': {
        'optimize': 'max',
      },
      'export_dependent_settings': [
        '<(DEPTH)/skia/skia.gyp:skia',
      ],
      'defines': [
        'CC_IMPLEMENTATION=1',
      ],
      'sources': [
        # Note: file list duplicated in GN build.
        'animation/animation.cc',
        'animation/animation.h',
        'animation/animation_curve.cc',
        'animation/animation_curve.h',
        'animation/animation_delegate.h',
        'animation/animation_events.cc',
        'animation/animation_events.h',
        'animation/animation_id_provider.cc',
        'animation/animation_id_provider.h',
        'animation/animation_registrar.cc',
        'animation/animation_registrar.h',
        'animation/keyframed_animation_curve.cc',
        'animation/keyframed_animation_curve.h',
        'animation/layer_animation_controller.cc',
        'animation/layer_animation_controller.h',
        'animation/layer_animation_event_observer.h',
        'animation/layer_animation_value_observer.h',
        'animation/layer_animation_value_provider.h',
        'animation/scroll_offset_animation_curve.cc',
        'animation/scroll_offset_animation_curve.h',
        'animation/scrollbar_animation_controller.cc',
        'animation/scrollbar_animation_controller.h',
        'animation/scrollbar_animation_controller_linear_fade.cc',
        'animation/scrollbar_animation_controller_linear_fade.h',
        'animation/scrollbar_animation_controller_thinning.cc',
        'animation/scrollbar_animation_controller_thinning.h',
        'animation/timing_function.cc',
        'animation/timing_function.h',
        'animation/transform_operation.cc',
        'animation/transform_operation.h',
        'animation/transform_operations.cc',
        'animation/transform_operations.h',
        'base/completion_event.h',
        'base/delayed_unique_notifier.cc',
        'base/delayed_unique_notifier.h',
        'base/invalidation_region.cc',
        'base/invalidation_region.h',
        'base/math_util.cc',
        'base/math_util.h',
        'base/ref_counted_managed.h',
        'base/region.cc',
        'base/region.h',
        'base/rolling_time_delta_history.cc',
        'base/rolling_time_delta_history.h',
        'base/scoped_ptr_algorithm.h',
        'base/scoped_ptr_deque.h',
        'base/scoped_ptr_vector.h',
        'base/simple_enclosed_region.cc',
        'base/simple_enclosed_region.h',
        'base/switches.cc',
        'base/switches.h',
        'base/synced_property.h',
        'base/tiling_data.cc',
        'base/tiling_data.h',
        'base/time_util.h',
        'base/unique_notifier.cc',
        'base/unique_notifier.h',
        'base/util.h',
        'debug/benchmark_instrumentation.cc',
        'debug/benchmark_instrumentation.h',
        'debug/debug_colors.cc',
        'debug/debug_colors.h',
        'debug/debug_rect_history.cc',
        'debug/debug_rect_history.h',
        'debug/devtools_instrumentation.h',
        'debug/frame_rate_counter.cc',
        'debug/frame_rate_counter.h',
        'debug/frame_timing_request.cc',
        'debug/frame_timing_request.h',
        'debug/frame_timing_tracker.cc',
        'debug/frame_timing_tracker.h',
        'debug/frame_viewer_instrumentation.cc',
        'debug/frame_viewer_instrumentation.h',
        'debug/invalidation_benchmark.cc',
        'debug/invalidation_benchmark.h',
        'debug/lap_timer.cc',
        'debug/lap_timer.h',
        'debug/layer_tree_debug_state.cc',
        'debug/layer_tree_debug_state.h',
        'debug/micro_benchmark.cc',
        'debug/micro_benchmark.h',
        'debug/micro_benchmark_controller.cc',
        'debug/micro_benchmark_controller.h',
        'debug/micro_benchmark_controller_impl.cc',
        'debug/micro_benchmark_controller_impl.h',
        'debug/micro_benchmark_impl.cc',
        'debug/micro_benchmark_impl.h',
        'debug/paint_time_counter.cc',
        'debug/paint_time_counter.h',
        'debug/picture_debug_util.cc',
        'debug/picture_debug_util.h',
        'debug/picture_record_benchmark.cc',
        'debug/picture_record_benchmark.h',
        'debug/rasterize_and_record_benchmark.cc',
        'debug/rasterize_and_record_benchmark.h',
        'debug/rasterize_and_record_benchmark_impl.cc',
        'debug/rasterize_and_record_benchmark_impl.h',
        'debug/rendering_stats.cc',
        'debug/rendering_stats.h',
        'debug/rendering_stats_instrumentation.cc',
        'debug/rendering_stats_instrumentation.h',
        'debug/ring_buffer.h',
        'debug/traced_picture.cc',
        'debug/traced_picture.h',
        'debug/traced_value.cc',
        'debug/traced_value.h',
        'debug/unittest_only_benchmark.cc',
        'debug/unittest_only_benchmark.h',
        'debug/unittest_only_benchmark_impl.cc',
        'debug/unittest_only_benchmark_impl.h',
        'input/input_handler.cc',
        'input/input_handler.h',
        'input/layer_selection_bound.cc',
        'input/layer_selection_bound.h',
        'input/page_scale_animation.cc',
        'input/page_scale_animation.h',
        'input/scroll_elasticity_helper.cc',
        'input/scroll_elasticity_helper.h',
        'input/selection_bound_type.h',
        'input/top_controls_manager.cc',
        'input/top_controls_manager.h',
        'input/top_controls_manager_client.h',
        'layers/append_quads_data.h',
        'layers/content_layer.cc',
        'layers/content_layer.h',
        'layers/content_layer_client.h',
        'layers/contents_scaling_layer.cc',
        'layers/contents_scaling_layer.h',
        'layers/delegated_frame_provider.cc',
        'layers/delegated_frame_provider.h',
        'layers/delegated_frame_resource_collection.cc',
        'layers/delegated_frame_resource_collection.h',
        'layers/delegated_renderer_layer.cc',
        'layers/delegated_renderer_layer.h',
        'layers/delegated_renderer_layer_impl.cc',
        'layers/delegated_renderer_layer_impl.h',
        'layers/draw_properties.h',
        'layers/heads_up_display_layer.cc',
        'layers/heads_up_display_layer.h',
        'layers/heads_up_display_layer_impl.cc',
        'layers/heads_up_display_layer_impl.h',
        'layers/image_layer.cc',
        'layers/image_layer.h',
        'layers/io_surface_layer.cc',
        'layers/io_surface_layer.h',
        'layers/io_surface_layer_impl.cc',
        'layers/io_surface_layer_impl.h',
        'layers/layer.cc',
        'layers/layer.h',
        'layers/layer_client.h',
        'layers/layer_impl.cc',
        'layers/layer_impl.h',
        'layers/layer_iterator.h',
        'layers/layer_lists.cc',
        'layers/layer_lists.h',
        'layers/layer_position_constraint.cc',
        'layers/layer_position_constraint.h',
        'layers/layer_utils.cc',
        'layers/layer_utils.h',
        'layers/nine_patch_layer.cc',
        'layers/nine_patch_layer.h',
        'layers/nine_patch_layer_impl.cc',
        'layers/nine_patch_layer_impl.h',
        'layers/paint_properties.h',
        'layers/painted_scrollbar_layer.cc',
        'layers/painted_scrollbar_layer.h',
        'layers/painted_scrollbar_layer_impl.cc',
        'layers/painted_scrollbar_layer_impl.h',
        'layers/picture_image_layer.cc',
        'layers/picture_image_layer.h',
        'layers/picture_image_layer_impl.cc',
        'layers/picture_image_layer_impl.h',
        'layers/picture_layer.cc',
        'layers/picture_layer.h',
        'layers/picture_layer_impl.cc',
        'layers/picture_layer_impl.h',
        'layers/render_pass_sink.h',
        'layers/render_surface.cc',
        'layers/render_surface.h',
        'layers/render_surface_impl.cc',
        'layers/render_surface_impl.h',
        'layers/scrollbar_layer_impl_base.cc',
        'layers/scrollbar_layer_impl_base.h',
        'layers/scrollbar_layer_interface.h',
        'layers/solid_color_layer.cc',
        'layers/solid_color_layer.h',
        'layers/solid_color_layer_impl.cc',
        'layers/solid_color_layer_impl.h',
        'layers/solid_color_scrollbar_layer.cc',
        'layers/solid_color_scrollbar_layer.h',
        'layers/solid_color_scrollbar_layer_impl.cc',
        'layers/solid_color_scrollbar_layer_impl.h',
        'layers/surface_layer.cc',
        'layers/surface_layer.h',
        'layers/surface_layer_impl.cc',
        'layers/surface_layer_impl.h',
        'layers/texture_layer.cc',
        'layers/texture_layer.h',
        'layers/texture_layer_client.h',
        'layers/texture_layer_impl.cc',
        'layers/texture_layer_impl.h',
        'layers/tiled_layer.cc',
        'layers/tiled_layer.h',
        'layers/tiled_layer_impl.cc',
        'layers/tiled_layer_impl.h',
        'layers/ui_resource_layer.cc',
        'layers/ui_resource_layer.h',
        'layers/ui_resource_layer_impl.cc',
        'layers/ui_resource_layer_impl.h',
        'layers/video_frame_provider.h',
        'layers/video_frame_provider_client_impl.cc',
        'layers/video_frame_provider_client_impl.h',
        'layers/video_layer.cc',
        'layers/video_layer.h',
        'layers/video_layer_impl.cc',
        'layers/video_layer_impl.h',
        'layers/viewport.cc',
        'layers/viewport.h',
        'output/begin_frame_args.cc',
        'output/begin_frame_args.h',
        'output/bsp_tree.cc',
        'output/bsp_tree.h',
        'output/bsp_walk_action.cc',
        'output/bsp_walk_action.h',
        'output/compositor_frame.cc',
        'output/compositor_frame.h',
        'output/compositor_frame_ack.cc',
        'output/compositor_frame_ack.h',
        'output/compositor_frame_metadata.cc',
        'output/compositor_frame_metadata.h',
        'output/context_provider.cc',
        'output/context_provider.h',
        'output/copy_output_request.cc',
        'output/copy_output_request.h',
        'output/copy_output_result.cc',
        'output/copy_output_result.h',
        'output/delegated_frame_data.cc',
        'output/delegated_frame_data.h',
        'output/delegating_renderer.cc',
        'output/delegating_renderer.h',
        'output/direct_renderer.cc',
        'output/direct_renderer.h',
        'output/dynamic_geometry_binding.cc',
        'output/dynamic_geometry_binding.h',
        'output/filter_operation.cc',
        'output/filter_operation.h',
        'output/filter_operations.cc',
        'output/filter_operations.h',
        'output/geometry_binding.cc',
        'output/geometry_binding.h',
        'output/gl_frame_data.cc',
        'output/gl_frame_data.h',
        'output/gl_renderer.cc',
        'output/gl_renderer.h',
        'output/gl_renderer_draw_cache.cc',
        'output/gl_renderer_draw_cache.h',
        'output/latency_info_swap_promise.cc',
        'output/latency_info_swap_promise.h',
        'output/managed_memory_policy.cc',
        'output/managed_memory_policy.h',
        'output/output_surface.cc',
        'output/output_surface.h',
        'output/output_surface_client.h',
        'output/overlay_candidate.cc',
        'output/overlay_candidate.h',
        'output/overlay_candidate_validator.h',
        'output/overlay_processor.cc',
        'output/overlay_processor.h',
        'output/overlay_strategy_common.cc',
        'output/overlay_strategy_common.h',
        'output/overlay_strategy_single_on_top.cc',
        'output/overlay_strategy_single_on_top.h',
        'output/overlay_strategy_underlay.cc',
        'output/overlay_strategy_underlay.h',
        'output/program_binding.cc',
        'output/program_binding.h',
        'output/render_surface_filters.cc',
        'output/render_surface_filters.h',
        'output/renderer.cc',
        'output/renderer.h',
        'output/renderer_capabilities.cc',
        'output/renderer_capabilities.h',
        'output/renderer_settings.cc',
        'output/renderer_settings.h',
        'output/shader.cc',
        'output/shader.h',
        'output/software_frame_data.cc',
        'output/software_frame_data.h',
        'output/software_output_device.cc',
        'output/software_output_device.h',
        'output/software_renderer.cc',
        'output/software_renderer.h',
        'output/static_geometry_binding.cc',
        'output/static_geometry_binding.h',
        'output/swap_promise.h',
        'output/viewport_selection_bound.cc',
        'output/viewport_selection_bound.h',
        'output/vsync_parameter_observer.h',
        'quads/checkerboard_draw_quad.cc',
        'quads/checkerboard_draw_quad.h',
        'quads/content_draw_quad_base.cc',
        'quads/content_draw_quad_base.h',
        'quads/debug_border_draw_quad.cc',
        'quads/debug_border_draw_quad.h',
        'quads/draw_polygon.cc',
        'quads/draw_polygon.h',
        'quads/draw_quad.cc',
        'quads/draw_quad.h',
        'quads/io_surface_draw_quad.cc',
        'quads/io_surface_draw_quad.h',
        'quads/largest_draw_quad.cc',
        'quads/largest_draw_quad.h',
        'quads/list_container.cc',
        'quads/list_container.h',
        'quads/picture_draw_quad.cc',
        'quads/picture_draw_quad.h',
        'quads/render_pass.cc',
        'quads/render_pass.h',
        'quads/render_pass_draw_quad.cc',
        'quads/render_pass_draw_quad.h',
        'quads/render_pass_id.cc',
        'quads/render_pass_id.h',
        'quads/shared_quad_state.cc',
        'quads/shared_quad_state.h',
        'quads/solid_color_draw_quad.cc',
        'quads/solid_color_draw_quad.h',
        'quads/stream_video_draw_quad.cc',
        'quads/stream_video_draw_quad.h',
        'quads/surface_draw_quad.cc',
        'quads/surface_draw_quad.h',
        'quads/texture_draw_quad.cc',
        'quads/texture_draw_quad.h',
        'quads/tile_draw_quad.cc',
        'quads/tile_draw_quad.h',
        'quads/yuv_video_draw_quad.cc',
        'quads/yuv_video_draw_quad.h',
        'resources/bitmap_content_layer_updater.cc',
        'resources/bitmap_content_layer_updater.h',
        'resources/bitmap_skpicture_content_layer_updater.cc',
        'resources/bitmap_skpicture_content_layer_updater.h',
        'resources/bitmap_tile_task_worker_pool.cc',
        'resources/bitmap_tile_task_worker_pool.h',
        'resources/clip_display_item.cc',
        'resources/clip_display_item.h',
        'resources/clip_path_display_item.cc',
        'resources/clip_path_display_item.h',
        'resources/compositing_display_item.cc',
        'resources/compositing_display_item.h',
        'resources/content_layer_updater.cc',
        'resources/content_layer_updater.h',
        'resources/display_item.cc',
        'resources/display_item.h',
        'resources/display_item_list.cc',
        'resources/display_item_list.h',
        'resources/display_list_raster_source.cc',
        'resources/display_list_raster_source.h',
        'resources/display_list_recording_source.cc',
        'resources/display_list_recording_source.h',
        'resources/drawing_display_item.cc',
        'resources/drawing_display_item.h',
        'resources/eviction_tile_priority_queue.cc',
        'resources/eviction_tile_priority_queue.h',
        'resources/filter_display_item.cc',
        'resources/filter_display_item.h',
        'resources/float_clip_display_item.cc',
        'resources/float_clip_display_item.h',
        'resources/gpu_rasterizer.cc',
        'resources/gpu_rasterizer.h',
        'resources/gpu_tile_task_worker_pool.cc',
        'resources/gpu_tile_task_worker_pool.h',
        'resources/image_layer_updater.cc',
        'resources/image_layer_updater.h',
        'resources/layer_painter.h',
        'resources/layer_quad.cc',
        'resources/layer_quad.h',
        'resources/layer_tiling_data.cc',
        'resources/layer_tiling_data.h',
        'resources/layer_updater.cc',
        'resources/layer_updater.h',
        'resources/memory_history.cc',
        'resources/memory_history.h',
        'resources/one_copy_tile_task_worker_pool.cc',
        'resources/one_copy_tile_task_worker_pool.h',
        'resources/picture.cc',
        'resources/picture.h',
        'resources/picture_layer_tiling.cc',
        'resources/picture_layer_tiling.h',
        'resources/picture_layer_tiling_set.cc',
        'resources/picture_layer_tiling_set.h',
        'resources/picture_pile.cc',
        'resources/picture_pile.h',
        'resources/picture_pile_impl.cc',
        'resources/picture_pile_impl.h',
        'resources/pixel_buffer_tile_task_worker_pool.cc',
        'resources/pixel_buffer_tile_task_worker_pool.h',
        'resources/pixel_ref_map.cc',
        'resources/pixel_ref_map.h',
        'resources/platform_color.h',
        'resources/prioritized_resource.cc',
        'resources/prioritized_resource.h',
        'resources/prioritized_resource_manager.cc',
        'resources/prioritized_resource_manager.h',
        'resources/priority_calculator.cc',
        'resources/priority_calculator.h',
        'resources/raster_buffer.cc',
        'resources/raster_buffer.h',
        'resources/raster_source.h',
        'resources/raster_source_helper.cc',
        'resources/raster_source_helper.h',
        'resources/raster_tile_priority_queue.cc',
        'resources/raster_tile_priority_queue.h',
        'resources/raster_tile_priority_queue_all.cc',
        'resources/raster_tile_priority_queue_all.h',
        'resources/raster_tile_priority_queue_required.cc',
        'resources/raster_tile_priority_queue_required.h',
        'resources/recording_source.h',
        'resources/release_callback.h',
        'resources/resource.cc',
        'resources/resource.h',
        'resources/resource_format.cc',
        'resources/resource_format.h',
        'resources/resource_pool.cc',
        'resources/resource_pool.h',
        'resources/resource_provider.cc',
        'resources/resource_provider.h',
        'resources/resource_update.cc',
        'resources/resource_update.h',
        'resources/resource_update_controller.cc',
        'resources/resource_update_controller.h',
        'resources/resource_update_queue.cc',
        'resources/resource_update_queue.h',
        'resources/returned_resource.h',
        'resources/scoped_gpu_raster.cc',
        'resources/scoped_gpu_raster.h',
        'resources/scoped_resource.cc',
        'resources/scoped_resource.h',
        'resources/scoped_ui_resource.cc',
        'resources/scoped_ui_resource.h',
        'resources/shared_bitmap.cc',
        'resources/shared_bitmap.h',
        'resources/shared_bitmap_manager.h',
        'resources/single_release_callback.cc',
        'resources/single_release_callback.h',
        'resources/single_release_callback_impl.cc',
        'resources/single_release_callback_impl.h',
        'resources/skpicture_content_layer_updater.cc',
        'resources/skpicture_content_layer_updater.h',
        'resources/task_graph_runner.cc',
        'resources/task_graph_runner.h',
        'resources/texture_compressor.cc',
        'resources/texture_compressor.h',
        'resources/texture_compressor_etc1.cc',
        'resources/texture_compressor_etc1.h',
        'resources/texture_mailbox.cc',
        'resources/texture_mailbox.h',
        'resources/texture_mailbox_deleter.cc',
        'resources/texture_mailbox_deleter.h',
        'resources/texture_uploader.cc',
        'resources/texture_uploader.h',
        'resources/tile.cc',
        'resources/tile.h',
        'resources/tile_draw_info.cc',
        'resources/tile_draw_info.h',
        'resources/tile_manager.cc',
        'resources/tile_manager.h',
        'resources/tile_priority.cc',
        'resources/tile_priority.h',
        'resources/tile_task_runner.cc',
        'resources/tile_task_runner.h',
        'resources/tile_task_worker_pool.cc',
        'resources/tile_task_worker_pool.h',
        'resources/tiling_set_eviction_queue.cc',
        'resources/tiling_set_eviction_queue.h',
        'resources/tiling_set_raster_queue_all.cc',
        'resources/tiling_set_raster_queue_all.h',
        'resources/tiling_set_raster_queue_required.cc',
        'resources/tiling_set_raster_queue_required.h',
        'resources/transferable_resource.cc',
        'resources/transferable_resource.h',
        'resources/transform_display_item.cc',
        'resources/transform_display_item.h',
        'resources/ui_resource_bitmap.cc',
        'resources/ui_resource_bitmap.h',
        'resources/ui_resource_client.h',
        'resources/ui_resource_request.cc',
        'resources/ui_resource_request.h',
        'resources/video_resource_updater.cc',
        'resources/video_resource_updater.h',
        'resources/zero_copy_tile_task_worker_pool.cc',
        'resources/zero_copy_tile_task_worker_pool.h',
        'scheduler/begin_frame_source.cc',
        'scheduler/begin_frame_source.h',
        'scheduler/commit_earlyout_reason.h',
        'scheduler/delay_based_time_source.cc',
        'scheduler/delay_based_time_source.h',
        'scheduler/draw_result.h',
        'scheduler/scheduler.cc',
        'scheduler/scheduler.h',
        'scheduler/scheduler_settings.cc',
        'scheduler/scheduler_settings.h',
        'scheduler/scheduler_state_machine.cc',
        'scheduler/scheduler_state_machine.h',
        'trees/blocking_task_runner.cc',
        'trees/blocking_task_runner.h',
        'trees/damage_tracker.cc',
        'trees/damage_tracker.h',
        'trees/draw_property_utils.cc',
        'trees/draw_property_utils.h',
        'trees/latency_info_swap_promise_monitor.cc',
        'trees/latency_info_swap_promise_monitor.h',
        'trees/layer_tree_host.cc',
        'trees/layer_tree_host.h',
        'trees/layer_tree_host_client.h',
        'trees/layer_tree_host_common.cc',
        'trees/layer_tree_host_common.h',
        'trees/layer_tree_host_impl.cc',
        'trees/layer_tree_host_impl.h',
        'trees/layer_tree_host_single_thread_client.h',
        'trees/layer_tree_impl.cc',
        'trees/layer_tree_impl.h',
        'trees/layer_tree_settings.cc',
        'trees/layer_tree_settings.h',
        'trees/occlusion.cc',
        'trees/occlusion.h',
        'trees/occlusion_tracker.cc',
        'trees/occlusion_tracker.h',
        'trees/property_tree.cc',
        'trees/property_tree.h',
        'trees/property_tree_builder.cc',
        'trees/property_tree_builder.h',
        'trees/proxy.cc',
        'trees/proxy.h',
        'trees/proxy_timing_history.cc',
        'trees/proxy_timing_history.h',
        'trees/scoped_abort_remaining_swap_promises.h',
        'trees/single_thread_proxy.cc',
        'trees/single_thread_proxy.h',
        'trees/swap_promise_monitor.cc',
        'trees/swap_promise_monitor.h',
        'trees/thread_proxy.cc',
        'trees/thread_proxy.h',
        'trees/tree_synchronizer.cc',
        'trees/tree_synchronizer.h',
      ],
      'includes': [
        '../build/android/increase_size_for_speed.gypi',
      ],
      # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
      'msvs_disabled_warnings': [ 4267, ],
    },
    {
      # GN version: //cc/surfaces
      'target_name': 'cc_surfaces',
      'type': '<(component)',
      'dependencies': [
        'cc',
        '<(DEPTH)/base/base.gyp:base',
        '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
        '<(DEPTH)/skia/skia.gyp:skia',
        '<(DEPTH)/ui/events/events.gyp:events_base',
        '<(DEPTH)/ui/gfx/gfx.gyp:gfx',
        '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
      ],
      'defines': [
        'CC_SURFACES_IMPLEMENTATION=1',
      ],
      'sources': [
        # Note: file list duplicated in GN build.
        'surfaces/display.cc',
        'surfaces/display.h',
        'surfaces/display_client.h',
        'surfaces/onscreen_display_client.cc',
        'surfaces/onscreen_display_client.h',
        'surfaces/surface.cc',
        'surfaces/surface.h',
        'surfaces/surface_aggregator.cc',
        'surfaces/surface_aggregator.h',
        'surfaces/surface_display_output_surface.cc',
        'surfaces/surface_display_output_surface.h',
        'surfaces/surface_factory.cc',
        'surfaces/surface_factory.h',
        'surfaces/surface_factory_client.h',
        'surfaces/surface_id.h',
        'surfaces/surface_id_allocator.cc',
        'surfaces/surface_id_allocator.h',
        'surfaces/surface_manager.cc',
        'surfaces/surface_manager.h',
        'surfaces/surface_resource_holder.cc',
        'surfaces/surface_resource_holder.h',
        'surfaces/surfaces_export.h',
      ],
      'includes': [
        '../build/android/increase_size_for_speed.gypi',
      ],
    },
  ],
}