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