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.
13 'type': '<(component)',
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',
27 'export_dependent_settings': [
28 '<(DEPTH)/skia/skia.gyp:skia',
31 'CC_IMPLEMENTATION=1',
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_id_provider.cc',
43 'animation/animation_id_provider.h',
44 'animation/animation_registrar.cc',
45 'animation/animation_registrar.h',
46 'animation/keyframed_animation_curve.cc',
47 'animation/keyframed_animation_curve.h',
48 'animation/layer_animation_controller.cc',
49 'animation/layer_animation_controller.h',
50 'animation/layer_animation_event_observer.h',
51 'animation/layer_animation_value_observer.h',
52 'animation/layer_animation_value_provider.h',
53 'animation/scroll_offset_animation_curve.cc',
54 'animation/scroll_offset_animation_curve.h',
55 'animation/scrollbar_animation_controller.h',
56 'animation/scrollbar_animation_controller.cc',
57 'animation/scrollbar_animation_controller_linear_fade.cc',
58 'animation/scrollbar_animation_controller_linear_fade.h',
59 'animation/scrollbar_animation_controller_thinning.cc',
60 'animation/scrollbar_animation_controller_thinning.h',
61 'animation/timing_function.cc',
62 'animation/timing_function.h',
63 'animation/transform_operation.cc',
64 'animation/transform_operation.h',
65 'animation/transform_operations.cc',
66 'animation/transform_operations.h',
67 'base/completion_event.h',
68 'base/delayed_unique_notifier.cc',
69 'base/delayed_unique_notifier.h',
70 'base/invalidation_region.cc',
71 'base/invalidation_region.h',
72 'base/latency_info_swap_promise.cc',
73 'base/latency_info_swap_promise.h',
74 'base/latency_info_swap_promise_monitor.cc',
75 'base/latency_info_swap_promise_monitor.h',
78 'base/ref_counted_managed.h',
81 'base/rolling_time_delta_history.cc',
82 'base/rolling_time_delta_history.h',
83 'base/scoped_ptr_algorithm.h',
84 'base/scoped_ptr_deque.h',
85 'base/scoped_ptr_vector.h',
86 'base/simple_enclosed_region.cc',
87 'base/simple_enclosed_region.h',
88 'base/swap_promise.h',
89 'base/swap_promise_monitor.cc',
90 'base/swap_promise_monitor.h',
91 'base/synced_property.h',
94 'base/tiling_data.cc',
97 'base/unique_notifier.cc',
98 'base/unique_notifier.h',
100 'debug/benchmark_instrumentation.cc',
101 'debug/benchmark_instrumentation.h',
102 'debug/debug_colors.cc',
103 'debug/debug_colors.h',
104 'debug/debug_rect_history.cc',
105 'debug/debug_rect_history.h',
106 'debug/devtools_instrumentation.h',
107 'debug/frame_rate_counter.cc',
108 'debug/frame_rate_counter.h',
109 'debug/frame_viewer_instrumentation.cc',
110 'debug/frame_viewer_instrumentation.h',
111 'debug/invalidation_benchmark.cc',
112 'debug/invalidation_benchmark.h',
113 'debug/lap_timer.cc',
115 'debug/layer_tree_debug_state.cc',
116 'debug/layer_tree_debug_state.h',
117 'debug/micro_benchmark.cc',
118 'debug/micro_benchmark.h',
119 'debug/micro_benchmark_impl.cc',
120 'debug/micro_benchmark_impl.h',
121 'debug/micro_benchmark_controller.cc',
122 'debug/micro_benchmark_controller.h',
123 'debug/micro_benchmark_controller_impl.cc',
124 'debug/micro_benchmark_controller_impl.h',
125 'debug/paint_time_counter.cc',
126 'debug/paint_time_counter.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/page_scale_animation.cc',
149 'input/page_scale_animation.h',
150 'input/layer_selection_bound.cc',
151 'input/layer_selection_bound.h',
152 'input/scroll_elasticity_helper.cc',
153 'input/scroll_elasticity_helper.h',
154 'input/selection_bound_type.h',
155 'input/top_controls_manager.cc',
156 'input/top_controls_manager.h',
157 'input/top_controls_manager_client.h',
158 'layers/append_quads_data.h',
159 'layers/content_layer.cc',
160 'layers/content_layer.h',
161 'layers/content_layer_client.h',
162 'layers/contents_scaling_layer.cc',
163 'layers/contents_scaling_layer.h',
164 'layers/delegated_frame_provider.cc',
165 'layers/delegated_frame_provider.h',
166 'layers/delegated_frame_resource_collection.cc',
167 'layers/delegated_frame_resource_collection.h',
168 'layers/delegated_renderer_layer.cc',
169 'layers/delegated_renderer_layer.h',
170 'layers/delegated_renderer_layer_impl.cc',
171 'layers/delegated_renderer_layer_impl.h',
172 'layers/draw_properties.h',
173 'layers/heads_up_display_layer.cc',
174 'layers/heads_up_display_layer.h',
175 'layers/heads_up_display_layer_impl.cc',
176 'layers/heads_up_display_layer_impl.h',
177 'layers/image_layer.cc',
178 'layers/image_layer.h',
179 'layers/io_surface_layer.cc',
180 'layers/io_surface_layer.h',
181 'layers/io_surface_layer_impl.cc',
182 'layers/io_surface_layer_impl.h',
185 'layers/layer_client.h',
186 'layers/layer_impl.cc',
187 'layers/layer_impl.h',
188 'layers/layer_iterator.h',
189 'layers/layer_lists.cc',
190 'layers/layer_lists.h',
191 'layers/layer_position_constraint.cc',
192 'layers/layer_position_constraint.h',
193 'layers/layer_utils.cc',
194 'layers/layer_utils.h',
195 'layers/nine_patch_layer.cc',
196 'layers/nine_patch_layer.h',
197 'layers/nine_patch_layer_impl.cc',
198 'layers/nine_patch_layer_impl.h',
199 'layers/paint_properties.h',
200 'layers/painted_scrollbar_layer.cc',
201 'layers/painted_scrollbar_layer.h',
202 'layers/painted_scrollbar_layer_impl.cc',
203 'layers/painted_scrollbar_layer_impl.h',
204 'layers/picture_image_layer.cc',
205 'layers/picture_image_layer.h',
206 'layers/picture_image_layer_impl.cc',
207 'layers/picture_image_layer_impl.h',
208 'layers/picture_layer.cc',
209 'layers/picture_layer.h',
210 'layers/picture_layer_impl.cc',
211 'layers/picture_layer_impl.h',
212 'layers/render_pass_sink.h',
213 'layers/render_surface.cc',
214 'layers/render_surface.h',
215 'layers/render_surface_impl.cc',
216 'layers/render_surface_impl.h',
217 'layers/scrollbar_layer_impl_base.cc',
218 'layers/scrollbar_layer_impl_base.h',
219 'layers/scrollbar_layer_interface.h',
220 'layers/solid_color_layer.cc',
221 'layers/solid_color_layer.h',
222 'layers/solid_color_layer_impl.cc',
223 'layers/solid_color_layer_impl.h',
224 'layers/solid_color_scrollbar_layer.cc',
225 'layers/solid_color_scrollbar_layer.h',
226 'layers/solid_color_scrollbar_layer_impl.cc',
227 'layers/solid_color_scrollbar_layer_impl.h',
228 'layers/surface_layer.cc',
229 'layers/surface_layer.h',
230 'layers/surface_layer_impl.cc',
231 'layers/surface_layer_impl.h',
232 'layers/texture_layer.cc',
233 'layers/texture_layer.h',
234 'layers/texture_layer_client.h',
235 'layers/texture_layer_impl.cc',
236 'layers/texture_layer_impl.h',
237 'layers/tiled_layer.cc',
238 'layers/tiled_layer.h',
239 'layers/tiled_layer_impl.cc',
240 'layers/tiled_layer_impl.h',
241 'layers/ui_resource_layer.cc',
242 'layers/ui_resource_layer.h',
243 'layers/ui_resource_layer_impl.cc',
244 'layers/ui_resource_layer_impl.h',
245 'layers/video_frame_provider.h',
246 'layers/video_frame_provider_client_impl.cc',
247 'layers/video_frame_provider_client_impl.h',
248 'layers/video_layer.cc',
249 'layers/video_layer.h',
250 'layers/video_layer_impl.cc',
251 'layers/video_layer_impl.h',
252 'output/begin_frame_args.cc',
253 'output/begin_frame_args.h',
254 'output/bsp_tree.cc',
256 'output/bsp_walk_action.cc',
257 'output/bsp_walk_action.h',
258 'output/compositor_frame.cc',
259 'output/compositor_frame.h',
260 'output/compositor_frame_ack.cc',
261 'output/compositor_frame_ack.h',
262 'output/compositor_frame_metadata.cc',
263 'output/compositor_frame_metadata.h',
264 'output/context_provider.cc',
265 'output/context_provider.h',
266 'output/copy_output_request.cc',
267 'output/copy_output_request.h',
268 'output/copy_output_result.cc',
269 'output/copy_output_result.h',
270 'output/delegated_frame_data.h',
271 'output/delegated_frame_data.cc',
272 'output/delegating_renderer.cc',
273 'output/delegating_renderer.h',
274 'output/direct_renderer.cc',
275 'output/direct_renderer.h',
276 'output/filter_operation.cc',
277 'output/filter_operation.h',
278 'output/filter_operations.cc',
279 'output/filter_operations.h',
280 'output/geometry_binding.cc',
281 'output/geometry_binding.h',
282 'output/gl_frame_data.h',
283 'output/gl_frame_data.cc',
284 'output/gl_renderer.cc',
285 'output/gl_renderer.h',
286 'output/gl_renderer_draw_cache.cc',
287 'output/gl_renderer_draw_cache.h',
288 'output/managed_memory_policy.cc',
289 'output/managed_memory_policy.h',
290 'output/output_surface.cc',
291 'output/output_surface.h',
292 'output/output_surface_client.h',
293 'output/overlay_candidate.cc',
294 'output/overlay_candidate.h',
295 'output/overlay_candidate_validator.h',
296 'output/overlay_processor.cc',
297 'output/overlay_processor.h',
298 'output/overlay_strategy_single_on_top.cc',
299 'output/overlay_strategy_single_on_top.h',
300 'output/program_binding.cc',
301 'output/program_binding.h',
302 'output/render_surface_filters.cc',
303 'output/render_surface_filters.h',
304 'output/renderer.cc',
306 'output/renderer_settings.cc',
307 'output/renderer_settings.h',
310 'output/software_frame_data.cc',
311 'output/software_frame_data.h',
312 'output/software_output_device.cc',
313 'output/software_output_device.h',
314 'output/software_renderer.cc',
315 'output/software_renderer.h',
316 'output/viewport_selection_bound.cc',
317 'output/viewport_selection_bound.h',
318 'output/vsync_parameter_observer.h',
319 'quads/checkerboard_draw_quad.cc',
320 'quads/checkerboard_draw_quad.h',
321 'quads/content_draw_quad_base.cc',
322 'quads/content_draw_quad_base.h',
323 'quads/debug_border_draw_quad.cc',
324 'quads/debug_border_draw_quad.h',
325 'quads/draw_polygon.cc',
326 'quads/draw_polygon.h',
327 'quads/draw_quad.cc',
329 'quads/io_surface_draw_quad.cc',
330 'quads/io_surface_draw_quad.h',
331 'quads/largest_draw_quad.h',
332 'quads/largest_draw_quad.cc',
333 'quads/list_container.cc',
334 'quads/list_container.h',
335 'quads/picture_draw_quad.cc',
336 'quads/picture_draw_quad.h',
337 'quads/render_pass.cc',
338 'quads/render_pass.h',
339 'quads/render_pass_draw_quad.cc',
340 'quads/render_pass_draw_quad.h',
341 'quads/render_pass_id.cc',
342 'quads/render_pass_id.h',
343 'quads/shared_quad_state.cc',
344 'quads/shared_quad_state.h',
345 'quads/solid_color_draw_quad.cc',
346 'quads/solid_color_draw_quad.h',
347 'quads/stream_video_draw_quad.cc',
348 'quads/stream_video_draw_quad.h',
349 'quads/surface_draw_quad.cc',
350 'quads/surface_draw_quad.h',
351 'quads/texture_draw_quad.cc',
352 'quads/texture_draw_quad.h',
353 'quads/tile_draw_quad.cc',
354 'quads/tile_draw_quad.h',
355 'quads/yuv_video_draw_quad.cc',
356 'quads/yuv_video_draw_quad.h',
357 'resources/bitmap_content_layer_updater.cc',
358 'resources/bitmap_content_layer_updater.h',
359 'resources/bitmap_tile_task_worker_pool.cc',
360 'resources/bitmap_tile_task_worker_pool.h',
361 'resources/bitmap_skpicture_content_layer_updater.cc',
362 'resources/bitmap_skpicture_content_layer_updater.h',
363 'resources/clip_display_item.cc',
364 'resources/clip_display_item.h',
365 'resources/content_layer_updater.cc',
366 'resources/content_layer_updater.h',
367 'resources/display_item.cc',
368 'resources/display_item.h',
369 'resources/display_item_list.cc',
370 'resources/display_item_list.h',
371 'resources/display_list_raster_source.cc',
372 'resources/display_list_raster_source.h',
373 'resources/display_list_recording_source.cc',
374 'resources/display_list_recording_source.h',
375 'resources/drawing_display_item.cc',
376 'resources/drawing_display_item.h',
377 'resources/eviction_tile_priority_queue.cc',
378 'resources/eviction_tile_priority_queue.h',
379 'resources/filter_display_item.cc',
380 'resources/filter_display_item.h',
381 'resources/float_clip_display_item.cc',
382 'resources/float_clip_display_item.h',
383 'resources/gpu_rasterizer.cc',
384 'resources/gpu_rasterizer.h',
385 'resources/gpu_tile_task_worker_pool.cc',
386 'resources/gpu_tile_task_worker_pool.h',
387 'resources/image_layer_updater.cc',
388 'resources/image_layer_updater.h',
389 'resources/layer_painter.h',
390 'resources/layer_quad.cc',
391 'resources/layer_quad.h',
392 'resources/layer_tiling_data.cc',
393 'resources/layer_tiling_data.h',
394 'resources/layer_updater.cc',
395 'resources/layer_updater.h',
396 'resources/memory_history.cc',
397 'resources/memory_history.h',
398 'resources/one_copy_tile_task_worker_pool.cc',
399 'resources/one_copy_tile_task_worker_pool.h',
400 'resources/picture.cc',
401 'resources/picture.h',
402 'resources/picture_layer_tiling.cc',
403 'resources/picture_layer_tiling.h',
404 'resources/picture_layer_tiling_set.cc',
405 'resources/picture_layer_tiling_set.h',
406 'resources/picture_pile.cc',
407 'resources/picture_pile.h',
408 'resources/picture_pile_impl.cc',
409 'resources/picture_pile_impl.h',
410 'resources/pixel_buffer_tile_task_worker_pool.cc',
411 'resources/pixel_buffer_tile_task_worker_pool.h',
412 'resources/platform_color.h',
413 'resources/prioritized_resource.cc',
414 'resources/prioritized_resource.h',
415 'resources/prioritized_resource_manager.cc',
416 'resources/prioritized_resource_manager.h',
417 'resources/priority_calculator.cc',
418 'resources/priority_calculator.h',
419 'resources/raster_buffer.cc',
420 'resources/raster_buffer.h',
421 'resources/raster_source.h',
422 'resources/raster_source_helper.cc',
423 'resources/raster_source_helper.h',
424 'resources/raster_tile_priority_queue.cc',
425 'resources/raster_tile_priority_queue.h',
426 'resources/rasterizer.h',
427 'resources/software_rasterizer.cc',
428 'resources/software_rasterizer.h',
429 'resources/tile_task_worker_pool.cc',
430 'resources/tile_task_worker_pool.h',
431 'resources/tile_task_runner.cc',
432 'resources/tile_task_runner.h',
433 'resources/recording_source.h',
434 'resources/release_callback.h',
435 'resources/resource.cc',
436 'resources/resource.h',
437 'resources/resource_format.cc',
438 'resources/resource_format.h',
439 'resources/resource_pool.cc',
440 'resources/resource_pool.h',
441 'resources/resource_provider.cc',
442 'resources/resource_provider.h',
443 'resources/resource_update.cc',
444 'resources/resource_update.h',
445 'resources/resource_update_controller.cc',
446 'resources/resource_update_controller.h',
447 'resources/resource_update_queue.cc',
448 'resources/resource_update_queue.h',
449 'resources/returned_resource.h',
450 'resources/scoped_gpu_raster.cc',
451 'resources/scoped_gpu_raster.h',
452 'resources/scoped_resource.cc',
453 'resources/scoped_resource.h',
454 'resources/scoped_ui_resource.cc',
455 'resources/scoped_ui_resource.h',
456 'resources/shared_bitmap.cc',
457 'resources/shared_bitmap.h',
458 'resources/shared_bitmap_manager.h',
459 'resources/single_release_callback.cc',
460 'resources/single_release_callback.h',
461 'resources/single_release_callback_impl.cc',
462 'resources/single_release_callback_impl.h',
463 'resources/skpicture_content_layer_updater.cc',
464 'resources/skpicture_content_layer_updater.h',
465 'resources/task_graph_runner.cc',
466 'resources/task_graph_runner.h',
467 'resources/texture_mailbox.cc',
468 'resources/texture_mailbox.h',
469 'resources/texture_mailbox_deleter.cc',
470 'resources/texture_mailbox_deleter.h',
471 'resources/texture_uploader.cc',
472 'resources/texture_uploader.h',
475 'resources/tile_draw_info.cc',
476 'resources/tile_draw_info.h',
477 'resources/tile_manager.cc',
478 'resources/tile_manager.h',
479 'resources/tile_priority.cc',
480 'resources/tile_priority.h',
481 'resources/tiling_set_eviction_queue.cc',
482 'resources/tiling_set_eviction_queue.h',
483 'resources/tiling_set_raster_queue.cc',
484 'resources/tiling_set_raster_queue.h',
485 'resources/transferable_resource.cc',
486 'resources/transferable_resource.h',
487 'resources/transform_display_item.cc',
488 'resources/transform_display_item.h',
489 'resources/transparency_display_item.cc',
490 'resources/transparency_display_item.h',
491 'resources/ui_resource_bitmap.cc',
492 'resources/ui_resource_bitmap.h',
493 'resources/ui_resource_client.h',
494 'resources/ui_resource_request.cc',
495 'resources/ui_resource_request.h',
496 'resources/video_resource_updater.cc',
497 'resources/video_resource_updater.h',
498 'resources/zero_copy_tile_task_worker_pool.cc',
499 'resources/zero_copy_tile_task_worker_pool.h',
500 'scheduler/begin_frame_source.cc',
501 'scheduler/begin_frame_source.h',
502 'scheduler/commit_earlyout_reason.h',
503 'scheduler/delay_based_time_source.cc',
504 'scheduler/delay_based_time_source.h',
505 'scheduler/draw_result.h',
506 'scheduler/scheduler.cc',
507 'scheduler/scheduler.h',
508 'scheduler/scheduler_settings.cc',
509 'scheduler/scheduler_settings.h',
510 'scheduler/scheduler_state_machine.cc',
511 'scheduler/scheduler_state_machine.h',
512 'trees/blocking_task_runner.cc',
513 'trees/blocking_task_runner.h',
514 'trees/damage_tracker.cc',
515 'trees/damage_tracker.h',
516 'trees/draw_property_utils.cc',
517 'trees/draw_property_utils.h',
518 'trees/layer_sorter.cc',
519 'trees/layer_sorter.h',
520 'trees/layer_tree_host.cc',
521 'trees/layer_tree_host.h',
522 'trees/layer_tree_host_client.h',
523 'trees/layer_tree_host_common.cc',
524 'trees/layer_tree_host_common.h',
525 'trees/layer_tree_host_impl.cc',
526 'trees/layer_tree_host_impl.h',
527 'trees/layer_tree_impl.cc',
528 'trees/layer_tree_impl.h',
529 'trees/layer_tree_settings.cc',
530 'trees/layer_tree_settings.h',
531 'trees/occlusion.cc',
533 'trees/occlusion_tracker.cc',
534 'trees/occlusion_tracker.h',
535 'trees/property_tree.cc',
536 'trees/property_tree.h',
537 'trees/property_tree_builder.cc',
538 'trees/property_tree_builder.h',
541 'trees/proxy_timing_history.cc',
542 'trees/proxy_timing_history.h',
543 'trees/scoped_abort_remaining_swap_promises.h',
544 'trees/single_thread_proxy.cc',
545 'trees/single_thread_proxy.h',
546 'trees/thread_proxy.cc',
547 'trees/thread_proxy.h',
548 'trees/tree_synchronizer.cc',
549 'trees/tree_synchronizer.h',
552 '../build/android/increase_size_for_speed.gypi',
554 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
555 'msvs_disabled_warnings': [ 4267, ],
558 # GN version: //cc/surfaces
559 'target_name': 'cc_surfaces',
560 'type': '<(component)',
563 '<(DEPTH)/base/base.gyp:base',
564 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
565 '<(DEPTH)/skia/skia.gyp:skia',
566 '<(DEPTH)/ui/events/events.gyp:events_base',
567 '<(DEPTH)/ui/gfx/gfx.gyp:gfx',
568 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
571 'CC_SURFACES_IMPLEMENTATION=1',
574 # Note: file list duplicated in GN build.
575 'surfaces/display.cc',
576 'surfaces/display.h',
577 'surfaces/display_client.h',
578 'surfaces/surface.cc',
579 'surfaces/surface.h',
580 'surfaces/surface_aggregator.cc',
581 'surfaces/surface_aggregator.h',
582 'surfaces/surface_factory.cc',
583 'surfaces/surface_factory.h',
584 'surfaces/surface_factory_client.h',
585 'surfaces/surface_id.h',
586 'surfaces/surface_id_allocator.cc',
587 'surfaces/surface_id_allocator.h',
588 'surfaces/surface_manager.cc',
589 'surfaces/surface_manager.h',
590 'surfaces/surface_resource_holder.cc',
591 'surfaces/surface_resource_holder.h',
592 'surfaces/surfaces_export.h',
595 '../build/android/increase_size_for_speed.gypi',