Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / cc / cc.gyp
index 17e8842..0b3308d 100644 (file)
         '<(DEPTH)/gpu/gpu.gyp:gpu',
         '<(DEPTH)/media/media.gyp:media',
         '<(DEPTH)/skia/skia.gyp:skia',
-        '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink_minimal',
-        '<(DEPTH)/ui/events/events.gyp:events',
+        '<(DEPTH)/ui/events/events.gyp:events_base',
         '<(DEPTH)/ui/gfx/gfx.gyp:gfx',
+        '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
         '<(DEPTH)/ui/gl/gl.gyp:gl',
       ],
+      'export_dependent_settings': [
+        '<(DEPTH)/skia/skia.gyp:skia',
+      ],
       'defines': [
         'CC_IMPLEMENTATION=1',
       ],
@@ -42,6 +45,9 @@
         'animation/layer_animation_controller.h',
         'animation/layer_animation_event_observer.h',
         'animation/layer_animation_value_observer.h',
+        'animation/layer_animation_value_provider.h',
+        'animation/scroll_offset_animation_curve.cc',
+        'animation/scroll_offset_animation_curve.h',
         'animation/scrollbar_animation_controller.h',
         'animation/scrollbar_animation_controller_linear_fade.cc',
         'animation/scrollbar_animation_controller_linear_fade.h',
         'base/completion_event.h',
         'base/invalidation_region.cc',
         'base/invalidation_region.h',
+        'base/latency_info_swap_promise.cc',
+        'base/latency_info_swap_promise.h',
+        'base/latency_info_swap_promise_monitor.cc',
+        'base/latency_info_swap_promise_monitor.h',
         'base/math_util.cc',
         'base/math_util.h',
         'base/ref_counted_managed.h',
         'base/region.cc',
         'base/region.h',
+        'base/rolling_time_delta_history.cc',
+        'base/rolling_time_delta_history.h',
         'base/scoped_ptr_algorithm.h',
         'base/scoped_ptr_deque.h',
         'base/scoped_ptr_vector.h',
+        'base/swap_promise.h',
+        'base/swap_promise_monitor.cc',
+        'base/swap_promise_monitor.h',
         'base/switches.cc',
         'base/switches.h',
         'base/tiling_data.cc',
         'debug/layer_tree_debug_state.h',
         'debug/micro_benchmark.cc',
         'debug/micro_benchmark.h',
+        'debug/micro_benchmark_impl.cc',
+        'debug/micro_benchmark_impl.h',
         'debug/micro_benchmark_controller.cc',
         'debug/micro_benchmark_controller.h',
+        'debug/micro_benchmark_controller_impl.cc',
+        'debug/micro_benchmark_controller_impl.h',
         'debug/overdraw_metrics.cc',
         'debug/overdraw_metrics.h',
         'debug/paint_time_counter.cc',
         'debug/paint_time_counter.h',
         'debug/picture_record_benchmark.cc',
         'debug/picture_record_benchmark.h',
+        'debug/rasterize_and_record_benchmark.cc',
+        'debug/rasterize_and_record_benchmark.h',
+        'debug/rasterize_and_record_benchmark_impl.cc',
+        'debug/rasterize_and_record_benchmark_impl.h',
         'debug/rendering_stats.cc',
         'debug/rendering_stats.h',
         'debug/rendering_stats_instrumentation.cc',
         'debug/traced_value.h',
         'debug/unittest_only_benchmark.cc',
         'debug/unittest_only_benchmark.h',
+        'debug/unittest_only_benchmark_impl.cc',
+        'debug/unittest_only_benchmark_impl.h',
         'input/input_handler.h',
         'input/page_scale_animation.cc',
         'input/page_scale_animation.h',
         'input/top_controls_manager.h',
         'input/top_controls_manager_client.h',
         'layers/append_quads_data.h',
-        'layers/compositing_reasons.h',
         'layers/content_layer.cc',
         'layers/content_layer.h',
         'layers/content_layer_client.h',
         'layers/delegated_frame_resource_collection.h',
         'layers/delegated_renderer_layer.cc',
         'layers/delegated_renderer_layer.h',
-        'layers/delegated_renderer_layer_client.h',
         'layers/delegated_renderer_layer_impl.cc',
         'layers/delegated_renderer_layer_impl.h',
         'layers/draw_properties.h',
         'layers/layer_client.h',
         'layers/layer_impl.cc',
         'layers/layer_impl.h',
-        'layers/layer_iterator.cc',
         'layers/layer_iterator.h',
         'layers/layer_lists.cc',
         'layers/layer_lists.h',
         'layers/layer_position_constraint.cc',
         'layers/layer_position_constraint.h',
+        'layers/layer_utils.cc',
+        'layers/layer_utils.h',
         'layers/nine_patch_layer.cc',
         'layers/nine_patch_layer.h',
         'layers/nine_patch_layer_impl.cc',
         'layers/solid_color_scrollbar_layer.h',
         'layers/solid_color_scrollbar_layer_impl.cc',
         'layers/solid_color_scrollbar_layer_impl.h',
+        'layers/surface_layer.cc',
+        'layers/surface_layer.h',
+        'layers/surface_layer_impl.cc',
+        'layers/surface_layer_impl.h',
         'layers/texture_layer.cc',
         'layers/texture_layer.h',
         'layers/texture_layer_client.h',
         'quads/solid_color_draw_quad.h',
         'quads/stream_video_draw_quad.cc',
         'quads/stream_video_draw_quad.h',
+        'quads/surface_draw_quad.cc',
+        'quads/surface_draw_quad.h',
         'quads/texture_draw_quad.cc',
         'quads/texture_draw_quad.h',
         'quads/tile_draw_quad.cc',
         'resources/bitmap_content_layer_updater.h',
         'resources/bitmap_skpicture_content_layer_updater.cc',
         'resources/bitmap_skpicture_content_layer_updater.h',
-        'resources/caching_bitmap_content_layer_updater.cc',
-        'resources/caching_bitmap_content_layer_updater.h',
         'resources/content_layer_updater.cc',
         'resources/content_layer_updater.h',
+        'resources/direct_raster_worker_pool.cc',
+        'resources/direct_raster_worker_pool.h',
         'resources/image_layer_updater.cc',
         'resources/image_layer_updater.h',
         'resources/image_raster_worker_pool.cc',
         'resources/raster_mode.h',
         'resources/raster_worker_pool.cc',
         'resources/raster_worker_pool.h',
+        'resources/raster_worker_pool_delegate.cc',
+        'resources/raster_worker_pool_delegate.h',
         'resources/release_callback.h',
         'resources/resource.cc',
         'resources/resource.h',
         'resources/single_release_callback.h',
         'resources/skpicture_content_layer_updater.cc',
         'resources/skpicture_content_layer_updater.h',
+        'resources/task_graph_runner.cc',
+        'resources/task_graph_runner.h',
         'resources/texture_mailbox.cc',
         'resources/texture_mailbox.h',
         'resources/texture_mailbox_deleter.cc',
         'resources/texture_mailbox_deleter.h',
+        'resources/texture_uploader.cc',
+        'resources/texture_uploader.h',
         'resources/tile.cc',
         'resources/tile.h',
         'resources/tile_manager.cc',
         'resources/ui_resource_bitmap.cc',
         'resources/ui_resource_bitmap.h',
         'resources/ui_resource_client.h',
+        'resources/ui_resource_request.cc',
+        'resources/ui_resource_request.h',
         'resources/video_resource_updater.cc',
         'resources/video_resource_updater.h',
-        'resources/worker_pool.cc',
-        'resources/worker_pool.h',
         'scheduler/delay_based_time_source.cc',
         'scheduler/delay_based_time_source.h',
+        'scheduler/draw_swap_readback_result.h',
         'scheduler/frame_rate_controller.cc',
         'scheduler/frame_rate_controller.h',
-        'scheduler/rate_limiter.cc',
-        'scheduler/rate_limiter.h',
-        'scheduler/rolling_time_delta_history.cc',
-        'scheduler/rolling_time_delta_history.h',
         'scheduler/scheduler.cc',
         'scheduler/scheduler.h',
         'scheduler/scheduler_settings.cc',
         'scheduler/scheduler_settings.h',
         'scheduler/scheduler_state_machine.cc',
         'scheduler/scheduler_state_machine.h',
-        'scheduler/texture_uploader.cc',
-        'scheduler/texture_uploader.h',
         'scheduler/time_source.h',
         'trees/blocking_task_runner.cc',
         'trees/blocking_task_runner.h',
         'trees/occlusion_tracker.h',
         'trees/proxy.cc',
         'trees/proxy.h',
+        'trees/proxy_timing_history.cc',
+        'trees/proxy_timing_history.h',
         'trees/quad_culler.cc',
         'trees/quad_culler.h',
         'trees/single_thread_proxy.cc',
       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
       'msvs_disabled_warnings': [ 4267, ],
     },
+    {
+      'target_name': 'cc_surfaces',
+      'type': '<(component)',
+      'dependencies': [
+        'cc',
+        '<(DEPTH)/base/base.gyp:base',
+        '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
+        '<(DEPTH)/skia/skia.gyp:skia',
+        '<(DEPTH)/ui/gfx/gfx.gyp:gfx',
+        '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
+      ],
+      'defines': [
+        'CC_SURFACES_IMPLEMENTATION=1',
+      ],
+      'sources': [
+        'surfaces/surface.cc',
+        'surfaces/surface.h',
+        'surfaces/surface_aggregator.cc',
+        'surfaces/surface_aggregator.h',
+        'surfaces/surface_manager.cc',
+        'surfaces/surface_manager.h',
+        'surfaces/surfaces_export.h',
+      ],
+    },
   ],
 }