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