Upgrade ReadPixels to ES3 semantic in command buffer.
[chromium-blink-merge.git] / cc / cc.gyp
blob44c35d723d102e33ca6a2b5e89e4a2692741dc34
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         '<(DEPTH)/ui/gl/gl.gyp:gl',
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_host.cc',
44         'animation/animation_host.h',
45         'animation/animation_id_provider.cc',
46         'animation/animation_id_provider.h',
47         'animation/animation_player.cc',
48         'animation/animation_player.h',
49         'animation/animation_registrar.cc',
50         'animation/animation_registrar.h',
51         'animation/animation_timeline.cc',
52         'animation/animation_timeline.h',
53         'animation/element_animations.cc',
54         'animation/element_animations.h',
55         'animation/keyframed_animation_curve.cc',
56         'animation/keyframed_animation_curve.h',
57         'animation/layer_animation_controller.cc',
58         'animation/layer_animation_controller.h',
59         'animation/layer_animation_event_observer.h',
60         'animation/layer_animation_value_observer.h',
61         'animation/layer_animation_value_provider.h',
62         'animation/scroll_offset_animation_curve.cc',
63         'animation/scroll_offset_animation_curve.h',
64         'animation/scrollbar_animation_controller.cc',
65         'animation/scrollbar_animation_controller.h',
66         'animation/scrollbar_animation_controller_linear_fade.cc',
67         'animation/scrollbar_animation_controller_linear_fade.h',
68         'animation/scrollbar_animation_controller_thinning.cc',
69         'animation/scrollbar_animation_controller_thinning.h',
70         'animation/timing_function.cc',
71         'animation/timing_function.h',
72         'animation/transform_operation.cc',
73         'animation/transform_operation.h',
74         'animation/transform_operations.cc',
75         'animation/transform_operations.h',
76         'base/completion_event.h',
77         'base/delayed_unique_notifier.cc',
78         'base/delayed_unique_notifier.h',
79         'base/histograms.cc',
80         'base/histograms.h',
81         'base/invalidation_region.cc',
82         'base/invalidation_region.h',
83         'base/list_container.cc',
84         'base/list_container.h',
85         'base/math_util.cc',
86         'base/math_util.h',
87         'base/region.cc',
88         'base/region.h',
89         'base/resource_id.h',
90         'base/rolling_time_delta_history.cc',
91         'base/rolling_time_delta_history.h',
92         'base/scoped_ptr_algorithm.h',
93         'base/scoped_ptr_deque.h',
94         'base/scoped_ptr_vector.h',
95         'base/sidecar_list_container.h',
96         'base/simple_enclosed_region.cc',
97         'base/simple_enclosed_region.h',
98         'base/switches.cc',
99         'base/switches.h',
100         'base/synced_property.h',
101         'base/tiling_data.cc',
102         'base/tiling_data.h',
103         'base/time_util.h',
104         'base/unique_notifier.cc',
105         'base/unique_notifier.h',
106         'debug/benchmark_instrumentation.cc',
107         'debug/benchmark_instrumentation.h',
108         'debug/debug_colors.cc',
109         'debug/debug_colors.h',
110         'debug/debug_rect_history.cc',
111         'debug/debug_rect_history.h',
112         'debug/devtools_instrumentation.h',
113         'debug/frame_rate_counter.cc',
114         'debug/frame_rate_counter.h',
115         'debug/frame_timing_request.cc',
116         'debug/frame_timing_request.h',
117         'debug/frame_timing_tracker.cc',
118         'debug/frame_timing_tracker.h',
119         'debug/frame_viewer_instrumentation.cc',
120         'debug/frame_viewer_instrumentation.h',
121         'debug/invalidation_benchmark.cc',
122         'debug/invalidation_benchmark.h',
123         'debug/lap_timer.cc',
124         'debug/lap_timer.h',
125         'debug/layer_tree_debug_state.cc',
126         'debug/layer_tree_debug_state.h',
127         'debug/micro_benchmark.cc',
128         'debug/micro_benchmark.h',
129         'debug/micro_benchmark_controller.cc',
130         'debug/micro_benchmark_controller.h',
131         'debug/micro_benchmark_controller_impl.cc',
132         'debug/micro_benchmark_controller_impl.h',
133         'debug/micro_benchmark_impl.cc',
134         'debug/micro_benchmark_impl.h',
135         'debug/paint_time_counter.cc',
136         'debug/paint_time_counter.h',
137         'debug/picture_debug_util.cc',
138         'debug/picture_debug_util.h',
139         'debug/picture_record_benchmark.cc',
140         'debug/picture_record_benchmark.h',
141         'debug/rasterize_and_record_benchmark.cc',
142         'debug/rasterize_and_record_benchmark.h',
143         'debug/rasterize_and_record_benchmark_impl.cc',
144         'debug/rasterize_and_record_benchmark_impl.h',
145         'debug/rendering_stats.cc',
146         'debug/rendering_stats.h',
147         'debug/rendering_stats_instrumentation.cc',
148         'debug/rendering_stats_instrumentation.h',
149         'debug/ring_buffer.h',
150         'debug/traced_display_item_list.cc',
151         'debug/traced_display_item_list.h',
152         'debug/traced_picture.cc',
153         'debug/traced_picture.h',
154         'debug/traced_value.cc',
155         'debug/traced_value.h',
156         'debug/unittest_only_benchmark.cc',
157         'debug/unittest_only_benchmark.h',
158         'debug/unittest_only_benchmark_impl.cc',
159         'debug/unittest_only_benchmark_impl.h',
160         'input/input_handler.cc',
161         'input/input_handler.h',
162         'input/layer_selection_bound.cc',
163         'input/layer_selection_bound.h',
164         'input/page_scale_animation.cc',
165         'input/page_scale_animation.h',
166         'input/scroll_elasticity_helper.cc',
167         'input/scroll_elasticity_helper.h',
168         'input/scroll_state.cc',
169         'input/scroll_state.h',
170         'input/selection_bound_type.h',
171         'input/selection.h',
172         'input/top_controls_manager.cc',
173         'input/top_controls_manager.h',
174         'input/top_controls_manager_client.h',
175         'layers/append_quads_data.h',
176         'layers/content_layer_client.h',
177         'layers/delegated_frame_provider.cc',
178         'layers/delegated_frame_provider.h',
179         'layers/delegated_frame_resource_collection.cc',
180         'layers/delegated_frame_resource_collection.h',
181         'layers/delegated_renderer_layer.cc',
182         'layers/delegated_renderer_layer.h',
183         'layers/delegated_renderer_layer_impl.cc',
184         'layers/delegated_renderer_layer_impl.h',
185         'layers/draw_properties.h',
186         'layers/heads_up_display_layer.cc',
187         'layers/heads_up_display_layer.h',
188         'layers/heads_up_display_layer_impl.cc',
189         'layers/heads_up_display_layer_impl.h',
190         'layers/io_surface_layer.cc',
191         'layers/io_surface_layer.h',
192         'layers/io_surface_layer_impl.cc',
193         'layers/io_surface_layer_impl.h',
194         'layers/layer.cc',
195         'layers/layer.h',
196         'layers/layer_client.h',
197         'layers/layer_impl.cc',
198         'layers/layer_impl.h',
199         'layers/layer_iterator.h',
200         'layers/layer_lists.cc',
201         'layers/layer_lists.h',
202         'layers/layer_position_constraint.cc',
203         'layers/layer_position_constraint.h',
204         'layers/layer_utils.cc',
205         'layers/layer_utils.h',
206         'layers/nine_patch_layer.cc',
207         'layers/nine_patch_layer.h',
208         'layers/nine_patch_layer_impl.cc',
209         'layers/nine_patch_layer_impl.h',
210         'layers/paint_properties.h',
211         'layers/painted_scrollbar_layer.cc',
212         'layers/painted_scrollbar_layer.h',
213         'layers/painted_scrollbar_layer_impl.cc',
214         'layers/painted_scrollbar_layer_impl.h',
215         'layers/picture_image_layer.cc',
216         'layers/picture_image_layer.h',
217         'layers/picture_image_layer_impl.cc',
218         'layers/picture_image_layer_impl.h',
219         'layers/picture_layer.cc',
220         'layers/picture_layer.h',
221         'layers/picture_layer_impl.cc',
222         'layers/picture_layer_impl.h',
223         'layers/render_pass_sink.h',
224         'layers/render_surface.cc',
225         'layers/render_surface.h',
226         'layers/render_surface_impl.cc',
227         'layers/render_surface_impl.h',
228         'layers/scrollbar_layer_impl_base.cc',
229         'layers/scrollbar_layer_impl_base.h',
230         'layers/scrollbar_layer_interface.h',
231         'layers/solid_color_layer.cc',
232         'layers/solid_color_layer.h',
233         'layers/solid_color_layer_impl.cc',
234         'layers/solid_color_layer_impl.h',
235         'layers/solid_color_scrollbar_layer.cc',
236         'layers/solid_color_scrollbar_layer.h',
237         'layers/solid_color_scrollbar_layer_impl.cc',
238         'layers/solid_color_scrollbar_layer_impl.h',
239         'layers/surface_layer.cc',
240         'layers/surface_layer.h',
241         'layers/surface_layer_impl.cc',
242         'layers/surface_layer_impl.h',
243         'layers/texture_layer.cc',
244         'layers/texture_layer.h',
245         'layers/texture_layer_client.h',
246         'layers/texture_layer_impl.cc',
247         'layers/texture_layer_impl.h',
248         'layers/ui_resource_layer.cc',
249         'layers/ui_resource_layer.h',
250         'layers/ui_resource_layer_impl.cc',
251         'layers/ui_resource_layer_impl.h',
252         'layers/video_frame_provider.h',
253         'layers/video_frame_provider_client_impl.cc',
254         'layers/video_frame_provider_client_impl.h',
255         'layers/video_layer.cc',
256         'layers/video_layer.h',
257         'layers/video_layer_impl.cc',
258         'layers/video_layer_impl.h',
259         'layers/viewport.cc',
260         'layers/viewport.h',
261         'output/begin_frame_args.cc',
262         'output/begin_frame_args.h',
263         'output/bsp_tree.cc',
264         'output/bsp_tree.h',
265         'output/bsp_walk_action.cc',
266         'output/bsp_walk_action.h',
267         'output/compositor_frame.cc',
268         'output/compositor_frame.h',
269         'output/compositor_frame_ack.cc',
270         'output/compositor_frame_ack.h',
271         'output/compositor_frame_metadata.cc',
272         'output/compositor_frame_metadata.h',
273         'output/context_provider.cc',
274         'output/context_provider.h',
275         'output/copy_output_request.cc',
276         'output/copy_output_request.h',
277         'output/copy_output_result.cc',
278         'output/copy_output_result.h',
279         'output/delegated_frame_data.cc',
280         'output/delegated_frame_data.h',
281         'output/delegating_renderer.cc',
282         'output/delegating_renderer.h',
283         'output/direct_renderer.cc',
284         'output/direct_renderer.h',
285         'output/dynamic_geometry_binding.cc',
286         'output/dynamic_geometry_binding.h',
287         'output/filter_operation.cc',
288         'output/filter_operation.h',
289         'output/filter_operations.cc',
290         'output/filter_operations.h',
291         'output/geometry_binding.cc',
292         'output/geometry_binding.h',
293         'output/gl_frame_data.cc',
294         'output/gl_frame_data.h',
295         'output/gl_renderer.cc',
296         'output/gl_renderer.h',
297         'output/gl_renderer_draw_cache.cc',
298         'output/gl_renderer_draw_cache.h',
299         'output/latency_info_swap_promise.cc',
300         'output/latency_info_swap_promise.h',
301         'output/layer_quad.cc',
302         'output/layer_quad.h',
303         'output/managed_memory_policy.cc',
304         'output/managed_memory_policy.h',
305         'output/output_surface.cc',
306         'output/output_surface.h',
307         'output/output_surface_client.h',
308         'output/overlay_candidate.cc',
309         'output/overlay_candidate.h',
310         'output/overlay_candidate_validator.h',
311         'output/overlay_processor.cc',
312         'output/overlay_processor.h',
313         'output/overlay_strategy_common.cc',
314         'output/overlay_strategy_common.h',
315         'output/overlay_strategy_single_on_top.cc',
316         'output/overlay_strategy_single_on_top.h',
317         'output/overlay_strategy_underlay.cc',
318         'output/overlay_strategy_underlay.h',
319         'output/program_binding.cc',
320         'output/program_binding.h',
321         'output/render_surface_filters.cc',
322         'output/render_surface_filters.h',
323         'output/renderer.cc',
324         'output/renderer.h',
325         'output/renderer_capabilities.cc',
326         'output/renderer_capabilities.h',
327         'output/renderer_settings.cc',
328         'output/renderer_settings.h',
329         'output/shader.cc',
330         'output/shader.h',
331         'output/software_output_device.cc',
332         'output/software_output_device.h',
333         'output/software_renderer.cc',
334         'output/software_renderer.h',
335         'output/static_geometry_binding.cc',
336         'output/static_geometry_binding.h',
337         'output/swap_promise.h',
338         'output/texture_mailbox_deleter.cc',
339         'output/texture_mailbox_deleter.h',
340         'output/viewport_selection_bound.cc',
341         'output/viewport_selection_bound.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_item_list_settings.cc',
353         'playback/display_item_list_settings.h',
354         'playback/display_list_raster_source.cc',
355         'playback/display_list_raster_source.h',
356         'playback/display_list_recording_source.cc',
357         'playback/display_list_recording_source.h',
358         'playback/drawing_display_item.cc',
359         'playback/drawing_display_item.h',
360         'playback/filter_display_item.cc',
361         'playback/filter_display_item.h',
362         'playback/float_clip_display_item.cc',
363         'playback/float_clip_display_item.h',
364         'playback/largest_display_item.cc',
365         'playback/largest_display_item.h',
366         'playback/picture.cc',
367         'playback/picture.h',
368         'playback/picture_pile.cc',
369         'playback/picture_pile.h',
370         'playback/picture_pile_impl.cc',
371         'playback/picture_pile_impl.h',
372         'playback/pixel_ref_map.cc',
373         'playback/pixel_ref_map.h',
374         'playback/raster_source.h',
375         'playback/raster_source_helper.cc',
376         'playback/raster_source_helper.h',
377         'playback/recording_source.h',
378         'playback/transform_display_item.cc',
379         'playback/transform_display_item.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/memory_history.cc',
441         'resources/memory_history.h',
442         'resources/platform_color.h',
443         'resources/release_callback.h',
444         'resources/resource.h',
445         'resources/resource_format.cc',
446         'resources/resource_format.h',
447         'resources/resource_pool.cc',
448         'resources/resource_pool.h',
449         'resources/resource_provider.cc',
450         'resources/resource_provider.h',
451         'resources/resource_util.h',
452         'resources/returned_resource.h',
453         'resources/scoped_resource.cc',
454         'resources/scoped_resource.h',
455         'resources/scoped_ui_resource.cc',
456         'resources/scoped_ui_resource.h',
457         'resources/shared_bitmap.cc',
458         'resources/shared_bitmap.h',
459         'resources/shared_bitmap_manager.h',
460         'resources/single_release_callback.cc',
461         'resources/single_release_callback.h',
462         'resources/single_release_callback_impl.cc',
463         'resources/single_release_callback_impl.h',
464         'resources/texture_mailbox.cc',
465         'resources/texture_mailbox.h',
466         'resources/transferable_resource.cc',
467         'resources/transferable_resource.h',
468         'resources/ui_resource_bitmap.cc',
469         'resources/ui_resource_bitmap.h',
470         'resources/ui_resource_client.h',
471         'resources/ui_resource_request.cc',
472         'resources/ui_resource_request.h',
473         'resources/video_resource_updater.cc',
474         'resources/video_resource_updater.h',
475         'scheduler/begin_frame_source.cc',
476         'scheduler/begin_frame_source.h',
477         'scheduler/begin_frame_tracker.cc',
478         'scheduler/begin_frame_tracker.h',
479         'scheduler/commit_earlyout_reason.h',
480         'scheduler/compositor_timing_history.cc',
481         'scheduler/compositor_timing_history.h',
482         'scheduler/delay_based_time_source.cc',
483         'scheduler/delay_based_time_source.h',
484         'scheduler/draw_result.h',
485         'scheduler/scheduler.cc',
486         'scheduler/scheduler.h',
487         'scheduler/scheduler_settings.cc',
488         'scheduler/scheduler_settings.h',
489         'scheduler/scheduler_state_machine.cc',
490         'scheduler/scheduler_state_machine.h',
491         'scheduler/video_frame_controller.h',
492         'tiles/eviction_tile_priority_queue.cc',
493         'tiles/eviction_tile_priority_queue.h',
494         'tiles/image_decode_controller.cc',
495         'tiles/image_decode_controller.h',
496         'tiles/picture_layer_tiling.cc',
497         'tiles/picture_layer_tiling.h',
498         'tiles/picture_layer_tiling_set.cc',
499         'tiles/picture_layer_tiling_set.h',
500         'tiles/prioritized_tile.cc',
501         'tiles/prioritized_tile.h',
502         'tiles/raster_tile_priority_queue.cc',
503         'tiles/raster_tile_priority_queue.h',
504         'tiles/raster_tile_priority_queue_all.cc',
505         'tiles/raster_tile_priority_queue_all.h',
506         'tiles/raster_tile_priority_queue_required.cc',
507         'tiles/raster_tile_priority_queue_required.h',
508         'tiles/tile.cc',
509         'tiles/tile.h',
510         'tiles/tile_draw_info.cc',
511         'tiles/tile_draw_info.h',
512         'tiles/tile_manager.cc',
513         'tiles/tile_manager.h',
514         'tiles/tile_priority.cc',
515         'tiles/tile_priority.h',
516         'tiles/tiling_set_eviction_queue.cc',
517         'tiles/tiling_set_eviction_queue.h',
518         'tiles/tiling_set_raster_queue_all.cc',
519         'tiles/tiling_set_raster_queue_all.h',
520         'tiles/tiling_set_raster_queue_required.cc',
521         'tiles/tiling_set_raster_queue_required.h',
522         'trees/blocking_task_runner.cc',
523         'trees/blocking_task_runner.h',
524         'trees/damage_tracker.cc',
525         'trees/damage_tracker.h',
526         'trees/draw_property_utils.cc',
527         'trees/draw_property_utils.h',
528         'trees/latency_info_swap_promise_monitor.cc',
529         'trees/latency_info_swap_promise_monitor.h',
530         'trees/layer_tree_host.cc',
531         'trees/layer_tree_host.h',
532         'trees/layer_tree_host_client.h',
533         'trees/layer_tree_host_common.cc',
534         'trees/layer_tree_host_common.h',
535         'trees/layer_tree_host_impl.cc',
536         'trees/layer_tree_host_impl.h',
537         'trees/layer_tree_host_single_thread_client.h',
538         'trees/layer_tree_impl.cc',
539         'trees/layer_tree_impl.h',
540         'trees/layer_tree_settings.cc',
541         'trees/layer_tree_settings.h',
542         'trees/mutator_host_client.h',
543         'trees/occlusion.cc',
544         'trees/occlusion.h',
545         'trees/occlusion_tracker.cc',
546         'trees/occlusion_tracker.h',
547         'trees/property_tree.cc',
548         'trees/property_tree.h',
549         'trees/property_tree_builder.cc',
550         'trees/property_tree_builder.h',
551         'trees/proxy.cc',
552         'trees/proxy.h',
553         'trees/scoped_abort_remaining_swap_promises.h',
554         'trees/single_thread_proxy.cc',
555         'trees/single_thread_proxy.h',
556         'trees/swap_promise_monitor.cc',
557         'trees/swap_promise_monitor.h',
558         'trees/thread_proxy.cc',
559         'trees/thread_proxy.h',
560         'trees/tree_synchronizer.cc',
561         'trees/tree_synchronizer.h',
562       ],
563       'includes': [
564         '../build/android/increase_size_for_speed.gypi',
565       ],
566       'conditions': [
567         ['target_arch == "ia32" or target_arch == "x64"', {
568           'sources': [
569             'raster/texture_compressor_etc1_sse.cc',
570             'raster/texture_compressor_etc1_sse.h',
571           ],
572         }],
573       ],
574     },
575     {
576       # GN version: //cc/surfaces
577       'target_name': 'cc_surfaces',
578       'type': '<(component)',
579       'dependencies': [
580         'cc',
581         '<(DEPTH)/base/base.gyp:base',
582         '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
583         '<(DEPTH)/gpu/gpu.gyp:gpu',
584         '<(DEPTH)/skia/skia.gyp:skia',
585         '<(DEPTH)/ui/events/events.gyp:events_base',
586         '<(DEPTH)/ui/gfx/gfx.gyp:gfx',
587         '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
588       ],
589       'defines': [
590         'CC_SURFACES_IMPLEMENTATION=1',
591       ],
592       'sources': [
593         # Note: file list duplicated in GN build.
594         'surfaces/display.cc',
595         'surfaces/display.h',
596         'surfaces/display_client.h',
597         'surfaces/display_scheduler.cc',
598         'surfaces/display_scheduler.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   ],