Don't show supervised user as "already on this device" while they're being imported.
[chromium-blink-merge.git] / cc / cc.gyp
blob41f9fe44af72888fde11a01250ec5727c87149d2
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         'cc_opts',
24       ],
25       'variables': {
26         'optimize': 'max',
27       },
28       'export_dependent_settings': [
29         '<(DEPTH)/skia/skia.gyp:skia',
30       ],
31       'defines': [
32         'CC_IMPLEMENTATION=1',
33       ],
34       'sources': [
35         # Note: file list duplicated in GN build.
36         'animation/animation.cc',
37         'animation/animation.h',
38         'animation/animation_curve.cc',
39         'animation/animation_curve.h',
40         'animation/animation_delegate.h',
41         'animation/animation_events.cc',
42         'animation/animation_events.h',
43         'animation/animation_id_provider.cc',
44         'animation/animation_id_provider.h',
45         'animation/animation_registrar.cc',
46         'animation/animation_registrar.h',
47         'animation/keyframed_animation_curve.cc',
48         'animation/keyframed_animation_curve.h',
49         'animation/layer_animation_controller.cc',
50         'animation/layer_animation_controller.h',
51         'animation/layer_animation_event_observer.h',
52         'animation/layer_animation_value_observer.h',
53         'animation/layer_animation_value_provider.h',
54         'animation/scroll_offset_animation_curve.cc',
55         'animation/scroll_offset_animation_curve.h',
56         'animation/scrollbar_animation_controller.cc',
57         'animation/scrollbar_animation_controller.h',
58         'animation/scrollbar_animation_controller_linear_fade.cc',
59         'animation/scrollbar_animation_controller_linear_fade.h',
60         'animation/scrollbar_animation_controller_thinning.cc',
61         'animation/scrollbar_animation_controller_thinning.h',
62         'animation/timing_function.cc',
63         'animation/timing_function.h',
64         'animation/transform_operation.cc',
65         'animation/transform_operation.h',
66         'animation/transform_operations.cc',
67         'animation/transform_operations.h',
68         'base/completion_event.h',
69         'base/delayed_unique_notifier.cc',
70         'base/delayed_unique_notifier.h',
71         'base/histograms.cc',
72         'base/histograms.h',
73         'base/invalidation_region.cc',
74         'base/invalidation_region.h',
75         'base/list_container.cc',
76         'base/list_container.h',
77         'base/math_util.cc',
78         'base/math_util.h',
79         'base/region.cc',
80         'base/region.h',
81         'base/resource_id.h',
82         'base/rolling_time_delta_history.cc',
83         'base/rolling_time_delta_history.h',
84         'base/scoped_ptr_algorithm.h',
85         'base/scoped_ptr_deque.h',
86         'base/scoped_ptr_vector.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_picture.cc',
142         'debug/traced_picture.h',
143         'debug/traced_value.cc',
144         'debug/traced_value.h',
145         'debug/unittest_only_benchmark.cc',
146         'debug/unittest_only_benchmark.h',
147         'debug/unittest_only_benchmark_impl.cc',
148         'debug/unittest_only_benchmark_impl.h',
149         'input/input_handler.cc',
150         'input/input_handler.h',
151         'input/layer_selection_bound.cc',
152         'input/layer_selection_bound.h',
153         'input/page_scale_animation.cc',
154         'input/page_scale_animation.h',
155         'input/scroll_elasticity_helper.cc',
156         'input/scroll_elasticity_helper.h',
157         'input/selection_bound_type.h',
158         'input/selection.h',
159         'input/top_controls_manager.cc',
160         'input/top_controls_manager.h',
161         'input/top_controls_manager_client.h',
162         'layers/append_quads_data.h',
163         'layers/content_layer.cc',
164         'layers/content_layer.h',
165         'layers/content_layer_client.h',
166         'layers/contents_scaling_layer.cc',
167         'layers/contents_scaling_layer.h',
168         'layers/delegated_frame_provider.cc',
169         'layers/delegated_frame_provider.h',
170         'layers/delegated_frame_resource_collection.cc',
171         'layers/delegated_frame_resource_collection.h',
172         'layers/delegated_renderer_layer.cc',
173         'layers/delegated_renderer_layer.h',
174         'layers/delegated_renderer_layer_impl.cc',
175         'layers/delegated_renderer_layer_impl.h',
176         'layers/draw_properties.h',
177         'layers/heads_up_display_layer.cc',
178         'layers/heads_up_display_layer.h',
179         'layers/heads_up_display_layer_impl.cc',
180         'layers/heads_up_display_layer_impl.h',
181         'layers/image_layer.cc',
182         'layers/image_layer.h',
183         'layers/io_surface_layer.cc',
184         'layers/io_surface_layer.h',
185         'layers/io_surface_layer_impl.cc',
186         'layers/io_surface_layer_impl.h',
187         'layers/layer.cc',
188         'layers/layer.h',
189         'layers/layer_client.h',
190         'layers/layer_impl.cc',
191         'layers/layer_impl.h',
192         'layers/layer_iterator.h',
193         'layers/layer_lists.cc',
194         'layers/layer_lists.h',
195         'layers/layer_position_constraint.cc',
196         'layers/layer_position_constraint.h',
197         'layers/layer_utils.cc',
198         'layers/layer_utils.h',
199         'layers/nine_patch_layer.cc',
200         'layers/nine_patch_layer.h',
201         'layers/nine_patch_layer_impl.cc',
202         'layers/nine_patch_layer_impl.h',
203         'layers/paint_properties.h',
204         'layers/painted_scrollbar_layer.cc',
205         'layers/painted_scrollbar_layer.h',
206         'layers/painted_scrollbar_layer_impl.cc',
207         'layers/painted_scrollbar_layer_impl.h',
208         'layers/picture_image_layer.cc',
209         'layers/picture_image_layer.h',
210         'layers/picture_image_layer_impl.cc',
211         'layers/picture_image_layer_impl.h',
212         'layers/picture_layer.cc',
213         'layers/picture_layer.h',
214         'layers/picture_layer_impl.cc',
215         'layers/picture_layer_impl.h',
216         'layers/render_pass_sink.h',
217         'layers/render_surface.cc',
218         'layers/render_surface.h',
219         'layers/render_surface_impl.cc',
220         'layers/render_surface_impl.h',
221         'layers/scrollbar_layer_impl_base.cc',
222         'layers/scrollbar_layer_impl_base.h',
223         'layers/scrollbar_layer_interface.h',
224         'layers/solid_color_layer.cc',
225         'layers/solid_color_layer.h',
226         'layers/solid_color_layer_impl.cc',
227         'layers/solid_color_layer_impl.h',
228         'layers/solid_color_scrollbar_layer.cc',
229         'layers/solid_color_scrollbar_layer.h',
230         'layers/solid_color_scrollbar_layer_impl.cc',
231         'layers/solid_color_scrollbar_layer_impl.h',
232         'layers/surface_layer.cc',
233         'layers/surface_layer.h',
234         'layers/surface_layer_impl.cc',
235         'layers/surface_layer_impl.h',
236         'layers/texture_layer.cc',
237         'layers/texture_layer.h',
238         'layers/texture_layer_client.h',
239         'layers/texture_layer_impl.cc',
240         'layers/texture_layer_impl.h',
241         'layers/tiled_layer.cc',
242         'layers/tiled_layer.h',
243         'layers/tiled_layer_impl.cc',
244         'layers/tiled_layer_impl.h',
245         'layers/ui_resource_layer.cc',
246         'layers/ui_resource_layer.h',
247         'layers/ui_resource_layer_impl.cc',
248         'layers/ui_resource_layer_impl.h',
249         'layers/video_frame_provider.h',
250         'layers/video_frame_provider_client_impl.cc',
251         'layers/video_frame_provider_client_impl.h',
252         'layers/video_layer.cc',
253         'layers/video_layer.h',
254         'layers/video_layer_impl.cc',
255         'layers/video_layer_impl.h',
256         'layers/viewport.cc',
257         'layers/viewport.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/latency_info_swap_promise.cc',
297         'output/latency_info_swap_promise.h',
298         'output/layer_quad.cc',
299         'output/layer_quad.h',
300         'output/managed_memory_policy.cc',
301         'output/managed_memory_policy.h',
302         'output/output_surface.cc',
303         'output/output_surface.h',
304         'output/output_surface_client.h',
305         'output/overlay_candidate.cc',
306         'output/overlay_candidate.h',
307         'output/overlay_candidate_validator.h',
308         'output/overlay_processor.cc',
309         'output/overlay_processor.h',
310         'output/overlay_strategy_common.cc',
311         'output/overlay_strategy_common.h',
312         'output/overlay_strategy_single_on_top.cc',
313         'output/overlay_strategy_single_on_top.h',
314         'output/overlay_strategy_underlay.cc',
315         'output/overlay_strategy_underlay.h',
316         'output/program_binding.cc',
317         'output/program_binding.h',
318         'output/render_surface_filters.cc',
319         'output/render_surface_filters.h',
320         'output/renderer.cc',
321         'output/renderer.h',
322         'output/renderer_capabilities.cc',
323         'output/renderer_capabilities.h',
324         'output/renderer_settings.cc',
325         'output/renderer_settings.h',
326         'output/shader.cc',
327         'output/shader.h',
328         'output/software_frame_data.cc',
329         'output/software_frame_data.h',
330         'output/software_output_device.cc',
331         'output/software_output_device.h',
332         'output/software_renderer.cc',
333         'output/software_renderer.h',
334         'output/static_geometry_binding.cc',
335         'output/static_geometry_binding.h',
336         'output/swap_promise.h',
337         'output/texture_mailbox_deleter.cc',
338         'output/texture_mailbox_deleter.h',
339         'output/viewport_selection_bound.cc',
340         'output/viewport_selection_bound.h',
341         'output/vsync_parameter_observer.h',
342         'playback/clip_display_item.cc',
343         'playback/clip_display_item.h',
344         'playback/clip_path_display_item.cc',
345         'playback/clip_path_display_item.h',
346         'playback/compositing_display_item.cc',
347         'playback/compositing_display_item.h',
348         'playback/display_item.cc',
349         'playback/display_item.h',
350         'playback/display_item_list.cc',
351         'playback/display_item_list.h',
352         'playback/display_list_raster_source.cc',
353         'playback/display_list_raster_source.h',
354         'playback/display_list_recording_source.cc',
355         'playback/display_list_recording_source.h',
356         'playback/drawing_display_item.cc',
357         'playback/drawing_display_item.h',
358         'playback/filter_display_item.cc',
359         'playback/filter_display_item.h',
360         'playback/float_clip_display_item.cc',
361         'playback/float_clip_display_item.h',
362         'playback/largest_display_item.cc',
363         'playback/largest_display_item.h',
364         'playback/picture.cc',
365         'playback/picture.h',
366         'playback/picture_pile.cc',
367         'playback/picture_pile.h',
368         'playback/picture_pile_impl.cc',
369         'playback/picture_pile_impl.h',
370         'playback/pixel_ref_map.cc',
371         'playback/pixel_ref_map.h',
372         'playback/raster_source.h',
373         'playback/raster_source_helper.cc',
374         'playback/raster_source_helper.h',
375         'playback/recording_source.h',
376         'playback/transform_display_item.cc',
377         'playback/transform_display_item.h',
378         'quads/checkerboard_draw_quad.cc',
379         'quads/checkerboard_draw_quad.h',
380         'quads/content_draw_quad_base.cc',
381         'quads/content_draw_quad_base.h',
382         'quads/debug_border_draw_quad.cc',
383         'quads/debug_border_draw_quad.h',
384         'quads/draw_polygon.cc',
385         'quads/draw_polygon.h',
386         'quads/draw_quad.cc',
387         'quads/draw_quad.h',
388         'quads/io_surface_draw_quad.cc',
389         'quads/io_surface_draw_quad.h',
390         'quads/largest_draw_quad.cc',
391         'quads/largest_draw_quad.h',
392         'quads/picture_draw_quad.cc',
393         'quads/picture_draw_quad.h',
394         'quads/render_pass.cc',
395         'quads/render_pass.h',
396         'quads/render_pass_draw_quad.cc',
397         'quads/render_pass_draw_quad.h',
398         'quads/render_pass_id.cc',
399         'quads/render_pass_id.h',
400         'quads/shared_quad_state.cc',
401         'quads/shared_quad_state.h',
402         'quads/solid_color_draw_quad.cc',
403         'quads/solid_color_draw_quad.h',
404         'quads/stream_video_draw_quad.cc',
405         'quads/stream_video_draw_quad.h',
406         'quads/surface_draw_quad.cc',
407         'quads/surface_draw_quad.h',
408         'quads/texture_draw_quad.cc',
409         'quads/texture_draw_quad.h',
410         'quads/tile_draw_quad.cc',
411         'quads/tile_draw_quad.h',
412         'quads/yuv_video_draw_quad.cc',
413         'quads/yuv_video_draw_quad.h',
414         'raster/bitmap_tile_task_worker_pool.cc',
415         'raster/bitmap_tile_task_worker_pool.h',
416         'raster/gpu_rasterizer.cc',
417         'raster/gpu_rasterizer.h',
418         'raster/gpu_tile_task_worker_pool.cc',
419         'raster/gpu_tile_task_worker_pool.h',
420         'raster/one_copy_tile_task_worker_pool.cc',
421         'raster/one_copy_tile_task_worker_pool.h',
422         'raster/pixel_buffer_tile_task_worker_pool.cc',
423         'raster/pixel_buffer_tile_task_worker_pool.h',
424         'raster/raster_buffer.cc',
425         'raster/raster_buffer.h',
426         'raster/scoped_gpu_raster.cc',
427         'raster/scoped_gpu_raster.h',
428         'raster/task_graph_runner.cc',
429         'raster/task_graph_runner.h',
430         'raster/texture_compressor.cc',
431         'raster/texture_compressor.h',
432         'raster/texture_compressor_etc1.cc',
433         'raster/texture_compressor_etc1.h',
434         'raster/tile_task_runner.cc',
435         'raster/tile_task_runner.h',
436         'raster/tile_task_worker_pool.cc',
437         'raster/tile_task_worker_pool.h',
438         'raster/zero_copy_tile_task_worker_pool.cc',
439         'raster/zero_copy_tile_task_worker_pool.h',
440         'resources/bitmap_content_layer_updater.cc',
441         'resources/bitmap_content_layer_updater.h',
442         'resources/bitmap_skpicture_content_layer_updater.cc',
443         'resources/bitmap_skpicture_content_layer_updater.h',
444         'resources/content_layer_updater.cc',
445         'resources/content_layer_updater.h',
446         'resources/image_layer_updater.cc',
447         'resources/image_layer_updater.h',
448         'resources/layer_painter.h',
449         'resources/layer_updater.cc',
450         'resources/layer_updater.h',
451         'resources/memory_history.cc',
452         'resources/memory_history.h',
453         'resources/platform_color.h',
454         'resources/prioritized_resource.cc',
455         'resources/prioritized_resource.h',
456         'resources/prioritized_resource_manager.cc',
457         'resources/prioritized_resource_manager.h',
458         'resources/priority_calculator.cc',
459         'resources/priority_calculator.h',
460         'resources/release_callback.h',
461         'resources/resource.cc',
462         'resources/resource.h',
463         'resources/resource_format.cc',
464         'resources/resource_format.h',
465         'resources/resource_pool.cc',
466         'resources/resource_pool.h',
467         'resources/resource_provider.cc',
468         'resources/resource_provider.h',
469         'resources/resource_update.cc',
470         'resources/resource_update.h',
471         'resources/resource_update_controller.cc',
472         'resources/resource_update_controller.h',
473         'resources/resource_update_queue.cc',
474         'resources/resource_update_queue.h',
475         'resources/returned_resource.h',
476         'resources/scoped_resource.cc',
477         'resources/scoped_resource.h',
478         'resources/scoped_ui_resource.cc',
479         'resources/scoped_ui_resource.h',
480         'resources/shared_bitmap.cc',
481         'resources/shared_bitmap.h',
482         'resources/shared_bitmap_manager.h',
483         'resources/single_release_callback.cc',
484         'resources/single_release_callback.h',
485         'resources/single_release_callback_impl.cc',
486         'resources/single_release_callback_impl.h',
487         'resources/skpicture_content_layer_updater.cc',
488         'resources/skpicture_content_layer_updater.h',
489         'resources/texture_mailbox.cc',
490         'resources/texture_mailbox.h',
491         'resources/texture_uploader.cc',
492         'resources/texture_uploader.h',
493         'resources/transferable_resource.cc',
494         'resources/transferable_resource.h',
495         'resources/ui_resource_bitmap.cc',
496         'resources/ui_resource_bitmap.h',
497         'resources/ui_resource_client.h',
498         'resources/ui_resource_request.cc',
499         'resources/ui_resource_request.h',
500         'resources/video_resource_updater.cc',
501         'resources/video_resource_updater.h',
502         'scheduler/begin_frame_source.cc',
503         'scheduler/begin_frame_source.h',
504         'scheduler/begin_frame_tracker.cc',
505         'scheduler/begin_frame_tracker.h',
506         'scheduler/commit_earlyout_reason.h',
507         'scheduler/delay_based_time_source.cc',
508         'scheduler/delay_based_time_source.h',
509         'scheduler/draw_result.h',
510         'scheduler/scheduler.cc',
511         'scheduler/scheduler.h',
512         'scheduler/scheduler_settings.cc',
513         'scheduler/scheduler_settings.h',
514         'scheduler/scheduler_state_machine.cc',
515         'scheduler/scheduler_state_machine.h',
516         'scheduler/video_frame_controller.h',
517         'tiles/eviction_tile_priority_queue.cc',
518         'tiles/eviction_tile_priority_queue.h',
519         'tiles/layer_tiling_data.cc',
520         'tiles/layer_tiling_data.h',
521         'tiles/picture_layer_tiling.cc',
522         'tiles/picture_layer_tiling.h',
523         'tiles/picture_layer_tiling_set.cc',
524         'tiles/picture_layer_tiling_set.h',
525         'tiles/prioritized_tile.cc',
526         'tiles/prioritized_tile.h',
527         'tiles/raster_tile_priority_queue.cc',
528         'tiles/raster_tile_priority_queue.h',
529         'tiles/raster_tile_priority_queue_all.cc',
530         'tiles/raster_tile_priority_queue_all.h',
531         'tiles/raster_tile_priority_queue_required.cc',
532         'tiles/raster_tile_priority_queue_required.h',
533         'tiles/tile.cc',
534         'tiles/tile.h',
535         'tiles/tile_draw_info.cc',
536         'tiles/tile_draw_info.h',
537         'tiles/tile_manager.cc',
538         'tiles/tile_manager.h',
539         'tiles/tile_priority.cc',
540         'tiles/tile_priority.h',
541         'tiles/tiling_set_eviction_queue.cc',
542         'tiles/tiling_set_eviction_queue.h',
543         'tiles/tiling_set_raster_queue_all.cc',
544         'tiles/tiling_set_raster_queue_all.h',
545         'tiles/tiling_set_raster_queue_required.cc',
546         'tiles/tiling_set_raster_queue_required.h',
547         'trees/blocking_task_runner.cc',
548         'trees/blocking_task_runner.h',
549         'trees/damage_tracker.cc',
550         'trees/damage_tracker.h',
551         'trees/draw_property_utils.cc',
552         'trees/draw_property_utils.h',
553         'trees/latency_info_swap_promise_monitor.cc',
554         'trees/latency_info_swap_promise_monitor.h',
555         'trees/layer_tree_host.cc',
556         'trees/layer_tree_host.h',
557         'trees/layer_tree_host_client.h',
558         'trees/layer_tree_host_common.cc',
559         'trees/layer_tree_host_common.h',
560         'trees/layer_tree_host_impl.cc',
561         'trees/layer_tree_host_impl.h',
562         'trees/layer_tree_host_single_thread_client.h',
563         'trees/layer_tree_impl.cc',
564         'trees/layer_tree_impl.h',
565         'trees/layer_tree_settings.cc',
566         'trees/layer_tree_settings.h',
567         'trees/occlusion.cc',
568         'trees/occlusion.h',
569         'trees/occlusion_tracker.cc',
570         'trees/occlusion_tracker.h',
571         'trees/property_tree.cc',
572         'trees/property_tree.h',
573         'trees/property_tree_builder.cc',
574         'trees/property_tree_builder.h',
575         'trees/proxy.cc',
576         'trees/proxy.h',
577         'trees/proxy_timing_history.cc',
578         'trees/proxy_timing_history.h',
579         'trees/scoped_abort_remaining_swap_promises.h',
580         'trees/single_thread_proxy.cc',
581         'trees/single_thread_proxy.h',
582         'trees/swap_promise_monitor.cc',
583         'trees/swap_promise_monitor.h',
584         'trees/thread_proxy.cc',
585         'trees/thread_proxy.h',
586         'trees/tree_synchronizer.cc',
587         'trees/tree_synchronizer.h',
588       ],
589       'includes': [
590         '../build/android/increase_size_for_speed.gypi',
591       ],
592       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
593       'msvs_disabled_warnings': [ 4267, ],
594     },
595     {
596       # GN version: //cc/surfaces
597       'target_name': 'cc_surfaces',
598       'type': '<(component)',
599       'dependencies': [
600         'cc',
601         '<(DEPTH)/base/base.gyp:base',
602         '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
603         '<(DEPTH)/gpu/gpu.gyp:gpu',
604         '<(DEPTH)/skia/skia.gyp:skia',
605         '<(DEPTH)/ui/events/events.gyp:events_base',
606         '<(DEPTH)/ui/gfx/gfx.gyp:gfx',
607         '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
608       ],
609       'defines': [
610         'CC_SURFACES_IMPLEMENTATION=1',
611       ],
612       'sources': [
613         # Note: file list duplicated in GN build.
614         'surfaces/display.cc',
615         'surfaces/display.h',
616         'surfaces/display_client.h',
617         'surfaces/display_scheduler.cc',
618         'surfaces/display_scheduler.h',
619         'surfaces/onscreen_display_client.cc',
620         'surfaces/onscreen_display_client.h',
621         'surfaces/surface.cc',
622         'surfaces/surface.h',
623         'surfaces/surface_aggregator.cc',
624         'surfaces/surface_aggregator.h',
625         'surfaces/surface_display_output_surface.cc',
626         'surfaces/surface_display_output_surface.h',
627         'surfaces/surface_factory.cc',
628         'surfaces/surface_factory.h',
629         'surfaces/surface_factory_client.h',
630         'surfaces/surface_id.h',
631         'surfaces/surface_id_allocator.cc',
632         'surfaces/surface_id_allocator.h',
633         'surfaces/surface_manager.cc',
634         'surfaces/surface_manager.h',
635         'surfaces/surface_resource_holder.cc',
636         'surfaces/surface_resource_holder.h',
637         'surfaces/surfaces_export.h',
638       ],
639       'includes': [
640         '../build/android/increase_size_for_speed.gypi',
641       ],
642     },
643     {
644       'target_name': 'cc_opts',
645       'type': 'static_library',
646       'conditions': [
647         ['target_arch == "ia32" or target_arch == "x64"', {
648           'defines': [
649             'CC_IMPLEMENTATION=1',
650           ],
651           'dependencies': [
652             'cc_opts_sse',
653           ]          
654         }],
655       ],  
656     },    
657     {
658       'target_name': 'cc_opts_sse',
659       'type': 'static_library',
660       'dependencies': [
661         '<(DEPTH)/base/base.gyp:base',
662       ],
663       'conditions': [
664         ['target_arch == "ia32" or target_arch == "x64"', {
665           'defines': [
666             'CC_IMPLEMENTATION=1',
667           ],
668           'sources': [
669             # Conditional compilation for SSE2 code on x86 and x64 machines
670             'raster/texture_compressor_etc1_sse.cc',
671             'raster/texture_compressor_etc1_sse.h',
672           ],
673           'cflags': [
674             '-msse2',
675           ],
676         }],
677       ],
678     },    
679   ],