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.
12 'type': '<(component)',
14 '<(DEPTH)/base/base.gyp:base',
15 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
16 '<(DEPTH)/gpu/gpu.gyp:gpu',
17 '<(DEPTH)/media/media.gyp:media',
18 '<(DEPTH)/skia/skia.gyp:skia',
19 '<(DEPTH)/ui/events/events.gyp:events_base',
20 '<(DEPTH)/ui/gfx/gfx.gyp:gfx',
21 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
22 '<(DEPTH)/ui/gl/gl.gyp:gl',
27 'export_dependent_settings': [
28 '<(DEPTH)/skia/skia.gyp:skia',
31 'CC_IMPLEMENTATION=1',
34 'animation/animation.cc',
35 'animation/animation.h',
36 'animation/animation_curve.cc',
37 'animation/animation_curve.h',
38 'animation/animation_delegate.h',
39 'animation/animation_events.cc',
40 'animation/animation_events.h',
41 'animation/animation_id_provider.cc',
42 'animation/animation_id_provider.h',
43 'animation/animation_registrar.cc',
44 'animation/animation_registrar.h',
45 'animation/keyframed_animation_curve.cc',
46 'animation/keyframed_animation_curve.h',
47 'animation/layer_animation_controller.cc',
48 'animation/layer_animation_controller.h',
49 'animation/layer_animation_event_observer.h',
50 'animation/layer_animation_value_observer.h',
51 'animation/layer_animation_value_provider.h',
52 'animation/scroll_offset_animation_curve.cc',
53 'animation/scroll_offset_animation_curve.h',
54 'animation/scrollbar_animation_controller.h',
55 'animation/scrollbar_animation_controller_linear_fade.cc',
56 'animation/scrollbar_animation_controller_linear_fade.h',
57 'animation/scrollbar_animation_controller_thinning.cc',
58 'animation/scrollbar_animation_controller_thinning.h',
59 'animation/timing_function.cc',
60 'animation/timing_function.h',
61 'animation/transform_operation.cc',
62 'animation/transform_operation.h',
63 'animation/transform_operations.cc',
64 'animation/transform_operations.h',
65 'base/completion_event.h',
66 'base/invalidation_region.cc',
67 'base/invalidation_region.h',
68 'base/latency_info_swap_promise.cc',
69 'base/latency_info_swap_promise.h',
70 'base/latency_info_swap_promise_monitor.cc',
71 'base/latency_info_swap_promise_monitor.h',
74 'base/ref_counted_managed.h',
77 'base/rolling_time_delta_history.cc',
78 'base/rolling_time_delta_history.h',
79 'base/scoped_ptr_algorithm.h',
80 'base/scoped_ptr_deque.h',
81 'base/scoped_ptr_vector.h',
82 'base/swap_promise.h',
83 'base/swap_promise_monitor.cc',
84 'base/swap_promise_monitor.h',
87 'base/tiling_data.cc',
90 'debug/benchmark_instrumentation.cc',
91 'debug/benchmark_instrumentation.h',
92 'debug/debug_colors.cc',
93 'debug/debug_colors.h',
94 'debug/debug_rect_history.cc',
95 'debug/debug_rect_history.h',
96 'debug/devtools_instrumentation.h',
97 'debug/frame_rate_counter.cc',
98 'debug/frame_rate_counter.h',
99 'debug/layer_tree_debug_state.cc',
100 'debug/layer_tree_debug_state.h',
101 'debug/micro_benchmark.cc',
102 'debug/micro_benchmark.h',
103 'debug/micro_benchmark_impl.cc',
104 'debug/micro_benchmark_impl.h',
105 'debug/micro_benchmark_controller.cc',
106 'debug/micro_benchmark_controller.h',
107 'debug/micro_benchmark_controller_impl.cc',
108 'debug/micro_benchmark_controller_impl.h',
109 'debug/paint_time_counter.cc',
110 'debug/paint_time_counter.h',
111 'debug/picture_record_benchmark.cc',
112 'debug/picture_record_benchmark.h',
113 'debug/rasterize_and_record_benchmark.cc',
114 'debug/rasterize_and_record_benchmark.h',
115 'debug/rasterize_and_record_benchmark_impl.cc',
116 'debug/rasterize_and_record_benchmark_impl.h',
117 'debug/rendering_stats.cc',
118 'debug/rendering_stats.h',
119 'debug/rendering_stats_instrumentation.cc',
120 'debug/rendering_stats_instrumentation.h',
121 'debug/ring_buffer.h',
122 'debug/traced_picture.cc',
123 'debug/traced_picture.h',
124 'debug/traced_value.cc',
125 'debug/traced_value.h',
126 'debug/unittest_only_benchmark.cc',
127 'debug/unittest_only_benchmark.h',
128 'debug/unittest_only_benchmark_impl.cc',
129 'debug/unittest_only_benchmark_impl.h',
130 'input/input_handler.h',
131 'input/page_scale_animation.cc',
132 'input/page_scale_animation.h',
133 'input/top_controls_manager.cc',
134 'input/top_controls_manager.h',
135 'input/top_controls_manager_client.h',
136 'layers/append_quads_data.h',
137 'layers/content_layer.cc',
138 'layers/content_layer.h',
139 'layers/content_layer_client.h',
140 'layers/contents_scaling_layer.cc',
141 'layers/contents_scaling_layer.h',
142 'layers/delegated_frame_provider.cc',
143 'layers/delegated_frame_provider.h',
144 'layers/delegated_frame_resource_collection.cc',
145 'layers/delegated_frame_resource_collection.h',
146 'layers/delegated_renderer_layer.cc',
147 'layers/delegated_renderer_layer.h',
148 'layers/delegated_renderer_layer_impl.cc',
149 'layers/delegated_renderer_layer_impl.h',
150 'layers/draw_properties.h',
151 'layers/heads_up_display_layer.cc',
152 'layers/heads_up_display_layer.h',
153 'layers/heads_up_display_layer_impl.cc',
154 'layers/heads_up_display_layer_impl.h',
155 'layers/image_layer.cc',
156 'layers/image_layer.h',
157 'layers/io_surface_layer.cc',
158 'layers/io_surface_layer.h',
159 'layers/io_surface_layer_impl.cc',
160 'layers/io_surface_layer_impl.h',
163 'layers/layer_client.h',
164 'layers/layer_impl.cc',
165 'layers/layer_impl.h',
166 'layers/layer_iterator.h',
167 'layers/layer_lists.cc',
168 'layers/layer_lists.h',
169 'layers/layer_position_constraint.cc',
170 'layers/layer_position_constraint.h',
171 'layers/layer_utils.cc',
172 'layers/layer_utils.h',
173 'layers/nine_patch_layer.cc',
174 'layers/nine_patch_layer.h',
175 'layers/nine_patch_layer_impl.cc',
176 'layers/nine_patch_layer_impl.h',
177 'layers/paint_properties.h',
178 'layers/painted_scrollbar_layer.cc',
179 'layers/painted_scrollbar_layer.h',
180 'layers/painted_scrollbar_layer_impl.cc',
181 'layers/painted_scrollbar_layer_impl.h',
182 'layers/picture_image_layer.cc',
183 'layers/picture_image_layer.h',
184 'layers/picture_image_layer_impl.cc',
185 'layers/picture_image_layer_impl.h',
186 'layers/picture_layer.cc',
187 'layers/picture_layer.h',
188 'layers/picture_layer_impl.cc',
189 'layers/picture_layer_impl.h',
190 'layers/quad_sink.h',
191 'layers/render_pass_sink.h',
192 'layers/render_surface.cc',
193 'layers/render_surface.h',
194 'layers/render_surface_impl.cc',
195 'layers/render_surface_impl.h',
196 'layers/scrollbar_layer_impl_base.cc',
197 'layers/scrollbar_layer_impl_base.h',
198 'layers/scrollbar_layer_interface.h',
199 'layers/solid_color_layer.cc',
200 'layers/solid_color_layer.h',
201 'layers/solid_color_layer_impl.cc',
202 'layers/solid_color_layer_impl.h',
203 'layers/solid_color_scrollbar_layer.cc',
204 'layers/solid_color_scrollbar_layer.h',
205 'layers/solid_color_scrollbar_layer_impl.cc',
206 'layers/solid_color_scrollbar_layer_impl.h',
207 'layers/surface_layer.cc',
208 'layers/surface_layer.h',
209 'layers/surface_layer_impl.cc',
210 'layers/surface_layer_impl.h',
211 'layers/texture_layer.cc',
212 'layers/texture_layer.h',
213 'layers/texture_layer_client.h',
214 'layers/texture_layer_impl.cc',
215 'layers/texture_layer_impl.h',
216 'layers/tiled_layer.cc',
217 'layers/tiled_layer.h',
218 'layers/tiled_layer_impl.cc',
219 'layers/tiled_layer_impl.h',
220 'layers/ui_resource_layer.cc',
221 'layers/ui_resource_layer.h',
222 'layers/ui_resource_layer_impl.cc',
223 'layers/ui_resource_layer_impl.h',
224 'layers/video_frame_provider.h',
225 'layers/video_frame_provider_client_impl.cc',
226 'layers/video_frame_provider_client_impl.h',
227 'layers/video_layer.cc',
228 'layers/video_layer.h',
229 'layers/video_layer_impl.cc',
230 'layers/video_layer_impl.h',
231 'output/begin_frame_args.cc',
232 'output/begin_frame_args.h',
233 'output/compositor_frame.cc',
234 'output/compositor_frame.h',
235 'output/compositor_frame_ack.cc',
236 'output/compositor_frame_ack.h',
237 'output/compositor_frame_metadata.cc',
238 'output/compositor_frame_metadata.h',
239 'output/context_provider.cc',
240 'output/context_provider.h',
241 'output/copy_output_request.cc',
242 'output/copy_output_request.h',
243 'output/copy_output_result.cc',
244 'output/copy_output_result.h',
245 'output/delegated_frame_data.h',
246 'output/delegated_frame_data.cc',
247 'output/delegating_renderer.cc',
248 'output/delegating_renderer.h',
249 'output/direct_renderer.cc',
250 'output/direct_renderer.h',
251 'output/filter_operation.cc',
252 'output/filter_operation.h',
253 'output/filter_operations.cc',
254 'output/filter_operations.h',
255 'output/geometry_binding.cc',
256 'output/geometry_binding.h',
257 'output/gl_frame_data.h',
258 'output/gl_frame_data.cc',
259 'output/gl_renderer.cc',
260 'output/gl_renderer.h',
261 'output/gl_renderer_draw_cache.cc',
262 'output/gl_renderer_draw_cache.h',
263 'output/managed_memory_policy.cc',
264 'output/managed_memory_policy.h',
265 'output/output_surface.cc',
266 'output/output_surface.h',
267 'output/output_surface_client.h',
268 'output/program_binding.cc',
269 'output/program_binding.h',
270 'output/render_surface_filters.cc',
271 'output/render_surface_filters.h',
272 'output/renderer.cc',
276 'output/software_frame_data.cc',
277 'output/software_frame_data.h',
278 'output/software_output_device.cc',
279 'output/software_output_device.h',
280 'output/software_renderer.cc',
281 'output/software_renderer.h',
282 'quads/checkerboard_draw_quad.cc',
283 'quads/checkerboard_draw_quad.h',
284 'quads/content_draw_quad_base.cc',
285 'quads/content_draw_quad_base.h',
286 'quads/debug_border_draw_quad.cc',
287 'quads/debug_border_draw_quad.h',
288 'quads/draw_quad.cc',
290 'quads/io_surface_draw_quad.cc',
291 'quads/io_surface_draw_quad.h',
292 'quads/picture_draw_quad.cc',
293 'quads/picture_draw_quad.h',
294 'quads/render_pass.cc',
295 'quads/render_pass.h',
296 'quads/render_pass_draw_quad.cc',
297 'quads/render_pass_draw_quad.h',
298 'quads/shared_quad_state.cc',
299 'quads/shared_quad_state.h',
300 'quads/solid_color_draw_quad.cc',
301 'quads/solid_color_draw_quad.h',
302 'quads/stream_video_draw_quad.cc',
303 'quads/stream_video_draw_quad.h',
304 'quads/surface_draw_quad.cc',
305 'quads/surface_draw_quad.h',
306 'quads/texture_draw_quad.cc',
307 'quads/texture_draw_quad.h',
308 'quads/tile_draw_quad.cc',
309 'quads/tile_draw_quad.h',
310 'quads/yuv_video_draw_quad.cc',
311 'quads/yuv_video_draw_quad.h',
312 'resources/bitmap_content_layer_updater.cc',
313 'resources/bitmap_content_layer_updater.h',
314 'resources/bitmap_skpicture_content_layer_updater.cc',
315 'resources/bitmap_skpicture_content_layer_updater.h',
316 'resources/content_layer_updater.cc',
317 'resources/content_layer_updater.h',
318 'resources/direct_raster_worker_pool.cc',
319 'resources/direct_raster_worker_pool.h',
320 'resources/image_layer_updater.cc',
321 'resources/image_layer_updater.h',
322 'resources/image_raster_worker_pool.cc',
323 'resources/image_raster_worker_pool.h',
324 'resources/layer_painter.h',
325 'resources/layer_quad.cc',
326 'resources/layer_quad.h',
327 'resources/layer_tiling_data.cc',
328 'resources/layer_tiling_data.h',
329 'resources/layer_updater.cc',
330 'resources/layer_updater.h',
331 'resources/managed_tile_state.cc',
332 'resources/managed_tile_state.h',
333 'resources/memory_history.cc',
334 'resources/memory_history.h',
335 'resources/picture.cc',
336 'resources/picture.h',
337 'resources/picture_layer_tiling.cc',
338 'resources/picture_layer_tiling.h',
339 'resources/picture_layer_tiling_set.cc',
340 'resources/picture_layer_tiling_set.h',
341 'resources/picture_pile.cc',
342 'resources/picture_pile.h',
343 'resources/picture_pile_base.cc',
344 'resources/picture_pile_base.h',
345 'resources/picture_pile_impl.cc',
346 'resources/picture_pile_impl.h',
347 'resources/pixel_buffer_raster_worker_pool.cc',
348 'resources/pixel_buffer_raster_worker_pool.h',
349 'resources/platform_color.h',
350 'resources/prioritized_resource.cc',
351 'resources/prioritized_resource.h',
352 'resources/prioritized_resource_manager.cc',
353 'resources/prioritized_resource_manager.h',
354 'resources/prioritized_tile_set.cc',
355 'resources/prioritized_tile_set.h',
356 'resources/priority_calculator.cc',
357 'resources/priority_calculator.h',
358 'resources/raster_mode.cc',
359 'resources/raster_mode.h',
360 'resources/raster_worker_pool.cc',
361 'resources/raster_worker_pool.h',
362 'resources/raster_worker_pool_delegate.cc',
363 'resources/raster_worker_pool_delegate.h',
364 'resources/release_callback.h',
365 'resources/resource.cc',
366 'resources/resource.h',
367 'resources/resource_format.h',
368 'resources/resource_format.cc',
369 'resources/resource_pool.cc',
370 'resources/resource_pool.h',
371 'resources/resource_provider.cc',
372 'resources/resource_provider.h',
373 'resources/resource_update.cc',
374 'resources/resource_update.h',
375 'resources/resource_update_controller.cc',
376 'resources/resource_update_controller.h',
377 'resources/resource_update_queue.cc',
378 'resources/resource_update_queue.h',
379 'resources/returned_resource.h',
380 'resources/scoped_resource.cc',
381 'resources/scoped_resource.h',
382 'resources/scoped_ui_resource.cc',
383 'resources/scoped_ui_resource.h',
384 'resources/shared_bitmap.cc',
385 'resources/shared_bitmap.h',
386 'resources/shared_bitmap_manager.h',
387 'resources/single_release_callback.cc',
388 'resources/single_release_callback.h',
389 'resources/skpicture_content_layer_updater.cc',
390 'resources/skpicture_content_layer_updater.h',
391 'resources/task_graph_runner.cc',
392 'resources/task_graph_runner.h',
393 'resources/texture_mailbox.cc',
394 'resources/texture_mailbox.h',
395 'resources/texture_mailbox_deleter.cc',
396 'resources/texture_mailbox_deleter.h',
397 'resources/texture_uploader.cc',
398 'resources/texture_uploader.h',
401 'resources/tile_manager.cc',
402 'resources/tile_manager.h',
403 'resources/tile_priority.cc',
404 'resources/tile_priority.h',
405 'resources/transferable_resource.cc',
406 'resources/transferable_resource.h',
407 'resources/ui_resource_bitmap.cc',
408 'resources/ui_resource_bitmap.h',
409 'resources/ui_resource_client.h',
410 'resources/ui_resource_request.cc',
411 'resources/ui_resource_request.h',
412 'resources/video_resource_updater.cc',
413 'resources/video_resource_updater.h',
414 'scheduler/delay_based_time_source.cc',
415 'scheduler/delay_based_time_source.h',
416 'scheduler/draw_swap_readback_result.h',
417 'scheduler/frame_rate_controller.cc',
418 'scheduler/frame_rate_controller.h',
419 'scheduler/scheduler.cc',
420 'scheduler/scheduler.h',
421 'scheduler/scheduler_settings.cc',
422 'scheduler/scheduler_settings.h',
423 'scheduler/scheduler_state_machine.cc',
424 'scheduler/scheduler_state_machine.h',
425 'scheduler/time_source.h',
426 'trees/blocking_task_runner.cc',
427 'trees/blocking_task_runner.h',
428 'trees/damage_tracker.cc',
429 'trees/damage_tracker.h',
430 'trees/layer_sorter.cc',
431 'trees/layer_sorter.h',
432 'trees/layer_tree_host.cc',
433 'trees/layer_tree_host.h',
434 'trees/layer_tree_host_client.h',
435 'trees/layer_tree_host_common.cc',
436 'trees/layer_tree_host_common.h',
437 'trees/layer_tree_host_impl.cc',
438 'trees/layer_tree_host_impl.h',
439 'trees/layer_tree_impl.cc',
440 'trees/layer_tree_impl.h',
441 'trees/layer_tree_settings.cc',
442 'trees/layer_tree_settings.h',
443 'trees/occlusion_tracker.cc',
444 'trees/occlusion_tracker.h',
447 'trees/proxy_timing_history.cc',
448 'trees/proxy_timing_history.h',
449 'trees/quad_culler.cc',
450 'trees/quad_culler.h',
451 'trees/single_thread_proxy.cc',
452 'trees/single_thread_proxy.h',
453 'trees/thread_proxy.cc',
454 'trees/thread_proxy.h',
455 'trees/tree_synchronizer.cc',
456 'trees/tree_synchronizer.h',
458 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
459 'msvs_disabled_warnings': [ 4267, ],
462 'target_name': 'cc_surfaces',
463 'type': '<(component)',
466 '<(DEPTH)/base/base.gyp:base',
467 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
468 '<(DEPTH)/skia/skia.gyp:skia',
469 '<(DEPTH)/ui/gfx/gfx.gyp:gfx',
470 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
473 'CC_SURFACES_IMPLEMENTATION=1',
476 'surfaces/surface.cc',
477 'surfaces/surface.h',
478 'surfaces/surface_aggregator.cc',
479 'surfaces/surface_aggregator.h',
480 'surfaces/surface_manager.cc',
481 'surfaces/surface_manager.h',
482 'surfaces/surfaces_export.h',