Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 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. |
| 4 | |
| 5 | { |
| 6 | 'variables': { |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 7 | 'chromium_code': 1, |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 8 | }, |
| 9 | 'targets': [ |
| 10 | { |
| 11 | 'target_name': 'cc', |
| 12 | 'type': '<(component)', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 13 | 'dependencies': [ |
| 14 | '<(DEPTH)/base/base.gyp:base', |
| 15 | '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 16 | '<(DEPTH)/gpu/gpu.gyp:gpu', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 17 | '<(DEPTH)/skia/skia.gyp:skia', |
| 18 | '<(DEPTH)/media/media.gyp:media', |
| 19 | '<(DEPTH)/ui/gl/gl.gyp:gl', |
| 20 | '<(DEPTH)/ui/ui.gyp:ui', |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 21 | '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink_minimal', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 22 | ], |
| 23 | 'defines': [ |
| 24 | 'CC_IMPLEMENTATION=1', |
| 25 | ], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 26 | 'sources': [ |
Ben Murdoch | bbcdd45 | 2013-07-25 10:06:34 +0100 | [diff] [blame] | 27 | 'animation/animation.cc', |
| 28 | 'animation/animation.h', |
| 29 | 'animation/animation_curve.cc', |
| 30 | 'animation/animation_curve.h', |
| 31 | 'animation/animation_delegate.h', |
| 32 | 'animation/animation_events.cc', |
| 33 | 'animation/animation_events.h', |
| 34 | 'animation/animation_id_provider.cc', |
| 35 | 'animation/animation_id_provider.h', |
| 36 | 'animation/animation_registrar.cc', |
| 37 | 'animation/animation_registrar.h', |
| 38 | 'animation/keyframed_animation_curve.cc', |
| 39 | 'animation/keyframed_animation_curve.h', |
| 40 | 'animation/layer_animation_controller.cc', |
| 41 | 'animation/layer_animation_controller.h', |
| 42 | 'animation/layer_animation_event_observer.h', |
| 43 | 'animation/layer_animation_value_observer.h', |
| 44 | 'animation/scrollbar_animation_controller.h', |
| 45 | 'animation/scrollbar_animation_controller_linear_fade.cc', |
| 46 | 'animation/scrollbar_animation_controller_linear_fade.h', |
| 47 | 'animation/timing_function.cc', |
| 48 | 'animation/timing_function.h', |
| 49 | 'animation/transform_operation.cc', |
| 50 | 'animation/transform_operation.h', |
| 51 | 'animation/transform_operations.cc', |
| 52 | 'animation/transform_operations.h', |
| 53 | 'base/completion_event.h', |
| 54 | 'base/invalidation_region.cc', |
| 55 | 'base/invalidation_region.h', |
| 56 | 'base/math_util.cc', |
| 57 | 'base/math_util.h', |
| 58 | 'base/region.cc', |
| 59 | 'base/region.h', |
| 60 | 'base/scoped_ptr_algorithm.h', |
| 61 | 'base/scoped_ptr_deque.h', |
| 62 | 'base/scoped_ptr_hash_map.h', |
| 63 | 'base/scoped_ptr_vector.h', |
| 64 | 'base/switches.cc', |
| 65 | 'base/switches.h', |
| 66 | 'base/tiling_data.cc', |
| 67 | 'base/tiling_data.h', |
| 68 | 'base/util.h', |
| 69 | 'debug/debug_colors.cc', |
| 70 | 'debug/debug_colors.h', |
| 71 | 'debug/debug_rect_history.cc', |
| 72 | 'debug/debug_rect_history.h', |
| 73 | 'debug/devtools_instrumentation.h', |
| 74 | 'debug/fake_web_graphics_context_3d.cc', |
| 75 | 'debug/fake_web_graphics_context_3d.h', |
| 76 | 'debug/frame_rate_counter.cc', |
| 77 | 'debug/frame_rate_counter.h', |
| 78 | 'debug/layer_tree_debug_state.cc', |
| 79 | 'debug/layer_tree_debug_state.h', |
| 80 | 'debug/overdraw_metrics.cc', |
| 81 | 'debug/overdraw_metrics.h', |
| 82 | 'debug/paint_time_counter.cc', |
| 83 | 'debug/paint_time_counter.h', |
| 84 | 'debug/rendering_stats.cc', |
| 85 | 'debug/rendering_stats.h', |
| 86 | 'debug/rendering_stats_instrumentation.cc', |
| 87 | 'debug/rendering_stats_instrumentation.h', |
| 88 | 'debug/ring_buffer.h', |
| 89 | 'debug/traced_picture.cc', |
| 90 | 'debug/traced_picture.h', |
| 91 | 'debug/traced_value.cc', |
| 92 | 'debug/traced_value.h', |
| 93 | 'input/input_handler.h', |
| 94 | 'input/page_scale_animation.cc', |
| 95 | 'input/page_scale_animation.h', |
| 96 | 'input/top_controls_manager.cc', |
| 97 | 'input/top_controls_manager.h', |
| 98 | 'input/top_controls_manager_client.h', |
| 99 | 'layers/append_quads_data.h', |
| 100 | 'layers/compositing_reasons.h', |
| 101 | 'layers/content_layer.cc', |
| 102 | 'layers/content_layer.h', |
| 103 | 'layers/content_layer_client.h', |
| 104 | 'layers/contents_scaling_layer.cc', |
| 105 | 'layers/contents_scaling_layer.h', |
| 106 | 'layers/delegated_renderer_layer.cc', |
| 107 | 'layers/delegated_renderer_layer.h', |
| 108 | 'layers/delegated_renderer_layer_client.h', |
| 109 | 'layers/delegated_renderer_layer_impl.cc', |
| 110 | 'layers/delegated_renderer_layer_impl.h', |
| 111 | 'layers/draw_properties.h', |
| 112 | 'layers/heads_up_display_layer.cc', |
| 113 | 'layers/heads_up_display_layer.h', |
| 114 | 'layers/heads_up_display_layer_impl.cc', |
| 115 | 'layers/heads_up_display_layer_impl.h', |
| 116 | 'layers/image_layer.cc', |
| 117 | 'layers/image_layer.h', |
| 118 | 'layers/io_surface_layer.cc', |
| 119 | 'layers/io_surface_layer.h', |
| 120 | 'layers/io_surface_layer_impl.cc', |
| 121 | 'layers/io_surface_layer_impl.h', |
| 122 | 'layers/layer.cc', |
| 123 | 'layers/layer.h', |
| 124 | 'layers/layer_impl.cc', |
| 125 | 'layers/layer_impl.h', |
| 126 | 'layers/layer_iterator.cc', |
| 127 | 'layers/layer_iterator.h', |
| 128 | 'layers/layer_lists.cc', |
| 129 | 'layers/layer_lists.h', |
| 130 | 'layers/layer_position_constraint.cc', |
| 131 | 'layers/layer_position_constraint.h', |
| 132 | 'layers/nine_patch_layer.cc', |
| 133 | 'layers/nine_patch_layer.h', |
| 134 | 'layers/nine_patch_layer_impl.cc', |
| 135 | 'layers/nine_patch_layer_impl.h', |
| 136 | 'layers/paint_properties.h', |
| 137 | 'layers/picture_image_layer.cc', |
| 138 | 'layers/picture_image_layer.h', |
| 139 | 'layers/picture_image_layer_impl.cc', |
| 140 | 'layers/picture_image_layer_impl.h', |
| 141 | 'layers/picture_layer.cc', |
| 142 | 'layers/picture_layer.h', |
| 143 | 'layers/picture_layer_impl.cc', |
| 144 | 'layers/picture_layer_impl.h', |
| 145 | 'layers/quad_sink.h', |
| 146 | 'layers/render_pass_sink.h', |
| 147 | 'layers/render_surface.cc', |
| 148 | 'layers/render_surface.h', |
| 149 | 'layers/render_surface_impl.cc', |
| 150 | 'layers/render_surface_impl.h', |
| 151 | 'layers/scrollbar_layer.cc', |
| 152 | 'layers/scrollbar_layer.h', |
| 153 | 'layers/scrollbar_layer_impl.cc', |
| 154 | 'layers/scrollbar_layer_impl.h', |
| 155 | 'layers/solid_color_layer.cc', |
| 156 | 'layers/solid_color_layer.h', |
| 157 | 'layers/solid_color_layer_impl.cc', |
| 158 | 'layers/solid_color_layer_impl.h', |
| 159 | 'layers/texture_layer.cc', |
| 160 | 'layers/texture_layer.h', |
| 161 | 'layers/texture_layer_client.h', |
| 162 | 'layers/texture_layer_impl.cc', |
| 163 | 'layers/texture_layer_impl.h', |
| 164 | 'layers/tiled_layer.cc', |
| 165 | 'layers/tiled_layer.h', |
| 166 | 'layers/tiled_layer_impl.cc', |
| 167 | 'layers/tiled_layer_impl.h', |
| 168 | 'layers/video_frame_provider.h', |
| 169 | 'layers/video_frame_provider_client_impl.cc', |
| 170 | 'layers/video_frame_provider_client_impl.h', |
| 171 | 'layers/video_layer.cc', |
| 172 | 'layers/video_layer.h', |
| 173 | 'layers/video_layer_impl.cc', |
| 174 | 'layers/video_layer_impl.h', |
| 175 | 'output/begin_frame_args.cc', |
| 176 | 'output/begin_frame_args.h', |
| 177 | 'output/compositor_frame.cc', |
| 178 | 'output/compositor_frame.h', |
| 179 | 'output/compositor_frame_ack.cc', |
| 180 | 'output/compositor_frame_ack.h', |
| 181 | 'output/compositor_frame_metadata.cc', |
| 182 | 'output/compositor_frame_metadata.h', |
| 183 | 'output/context_provider.h', |
| 184 | 'output/copy_output_request.cc', |
| 185 | 'output/copy_output_request.h', |
| 186 | 'output/copy_output_result.cc', |
| 187 | 'output/copy_output_result.h', |
| 188 | 'output/delegated_frame_data.h', |
| 189 | 'output/delegated_frame_data.cc', |
| 190 | 'output/delegating_renderer.cc', |
| 191 | 'output/delegating_renderer.h', |
| 192 | 'output/direct_renderer.cc', |
| 193 | 'output/direct_renderer.h', |
| 194 | 'output/filter_operation.cc', |
| 195 | 'output/filter_operation.h', |
| 196 | 'output/filter_operations.cc', |
| 197 | 'output/filter_operations.h', |
| 198 | 'output/geometry_binding.cc', |
| 199 | 'output/geometry_binding.h', |
| 200 | 'output/gl_frame_data.h', |
| 201 | 'output/gl_frame_data.cc', |
| 202 | 'output/gl_renderer.cc', |
| 203 | 'output/gl_renderer.h', |
| 204 | 'output/gl_renderer_draw_cache.cc', |
| 205 | 'output/gl_renderer_draw_cache.h', |
| 206 | 'output/managed_memory_policy.cc', |
| 207 | 'output/managed_memory_policy.h', |
| 208 | 'output/output_surface.cc', |
| 209 | 'output/output_surface.h', |
| 210 | 'output/output_surface_client.h', |
| 211 | 'output/program_binding.cc', |
| 212 | 'output/program_binding.h', |
| 213 | 'output/render_surface_filters.cc', |
| 214 | 'output/render_surface_filters.h', |
| 215 | 'output/renderer.cc', |
| 216 | 'output/renderer.h', |
| 217 | 'output/shader.cc', |
| 218 | 'output/shader.h', |
| 219 | 'output/software_frame_data.cc', |
| 220 | 'output/software_frame_data.h', |
| 221 | 'output/software_output_device.cc', |
| 222 | 'output/software_output_device.h', |
| 223 | 'output/software_renderer.cc', |
| 224 | 'output/software_renderer.h', |
| 225 | 'quads/checkerboard_draw_quad.cc', |
| 226 | 'quads/checkerboard_draw_quad.h', |
| 227 | 'quads/content_draw_quad_base.cc', |
| 228 | 'quads/content_draw_quad_base.h', |
| 229 | 'quads/debug_border_draw_quad.cc', |
| 230 | 'quads/debug_border_draw_quad.h', |
| 231 | 'quads/draw_quad.cc', |
| 232 | 'quads/draw_quad.h', |
| 233 | 'quads/io_surface_draw_quad.cc', |
| 234 | 'quads/io_surface_draw_quad.h', |
| 235 | 'quads/picture_draw_quad.cc', |
| 236 | 'quads/picture_draw_quad.h', |
| 237 | 'quads/render_pass.cc', |
| 238 | 'quads/render_pass.h', |
| 239 | 'quads/render_pass_draw_quad.cc', |
| 240 | 'quads/render_pass_draw_quad.h', |
| 241 | 'quads/shared_quad_state.cc', |
| 242 | 'quads/shared_quad_state.h', |
| 243 | 'quads/solid_color_draw_quad.cc', |
| 244 | 'quads/solid_color_draw_quad.h', |
| 245 | 'quads/stream_video_draw_quad.cc', |
| 246 | 'quads/stream_video_draw_quad.h', |
| 247 | 'quads/texture_draw_quad.cc', |
| 248 | 'quads/texture_draw_quad.h', |
| 249 | 'quads/tile_draw_quad.cc', |
| 250 | 'quads/tile_draw_quad.h', |
| 251 | 'quads/yuv_video_draw_quad.cc', |
| 252 | 'quads/yuv_video_draw_quad.h', |
| 253 | 'resources/bitmap_content_layer_updater.cc', |
| 254 | 'resources/bitmap_content_layer_updater.h', |
| 255 | 'resources/bitmap_skpicture_content_layer_updater.cc', |
| 256 | 'resources/bitmap_skpicture_content_layer_updater.h', |
| 257 | 'resources/caching_bitmap_content_layer_updater.cc', |
| 258 | 'resources/caching_bitmap_content_layer_updater.h', |
| 259 | 'resources/content_layer_updater.cc', |
| 260 | 'resources/content_layer_updater.h', |
| 261 | 'resources/image_layer_updater.cc', |
| 262 | 'resources/image_layer_updater.h', |
| 263 | 'resources/image_raster_worker_pool.cc', |
| 264 | 'resources/image_raster_worker_pool.h', |
| 265 | 'resources/layer_painter.h', |
| 266 | 'resources/layer_quad.cc', |
| 267 | 'resources/layer_quad.h', |
| 268 | 'resources/layer_tiling_data.cc', |
| 269 | 'resources/layer_tiling_data.h', |
| 270 | 'resources/layer_updater.cc', |
| 271 | 'resources/layer_updater.h', |
| 272 | 'resources/managed_tile_state.cc', |
| 273 | 'resources/managed_tile_state.h', |
| 274 | 'resources/memory_history.cc', |
| 275 | 'resources/memory_history.h', |
| 276 | 'resources/picture.cc', |
| 277 | 'resources/picture.h', |
| 278 | 'resources/picture_layer_tiling.cc', |
| 279 | 'resources/picture_layer_tiling.h', |
| 280 | 'resources/picture_layer_tiling_set.cc', |
| 281 | 'resources/picture_layer_tiling_set.h', |
| 282 | 'resources/picture_pile.cc', |
| 283 | 'resources/picture_pile.h', |
| 284 | 'resources/picture_pile_base.cc', |
| 285 | 'resources/picture_pile_base.h', |
| 286 | 'resources/picture_pile_impl.cc', |
| 287 | 'resources/picture_pile_impl.h', |
| 288 | 'resources/pixel_buffer_raster_worker_pool.cc', |
| 289 | 'resources/pixel_buffer_raster_worker_pool.h', |
| 290 | 'resources/platform_color.h', |
| 291 | 'resources/prioritized_resource.cc', |
| 292 | 'resources/prioritized_resource.h', |
| 293 | 'resources/prioritized_resource_manager.cc', |
| 294 | 'resources/prioritized_resource_manager.h', |
Ben Murdoch | bb1529c | 2013-08-08 10:24:53 +0100 | [diff] [blame] | 295 | 'resources/prioritized_tile_set.cc', |
| 296 | 'resources/prioritized_tile_set.h', |
Ben Murdoch | bbcdd45 | 2013-07-25 10:06:34 +0100 | [diff] [blame] | 297 | 'resources/priority_calculator.cc', |
| 298 | 'resources/priority_calculator.h', |
| 299 | 'resources/raster_mode.cc', |
| 300 | 'resources/raster_mode.h', |
| 301 | 'resources/raster_worker_pool.cc', |
| 302 | 'resources/raster_worker_pool.h', |
| 303 | 'resources/resource.cc', |
| 304 | 'resources/resource.h', |
| 305 | 'resources/resource_pool.cc', |
| 306 | 'resources/resource_pool.h', |
| 307 | 'resources/resource_provider.cc', |
| 308 | 'resources/resource_provider.h', |
| 309 | 'resources/resource_update.cc', |
| 310 | 'resources/resource_update.h', |
| 311 | 'resources/resource_update_controller.cc', |
| 312 | 'resources/resource_update_controller.h', |
| 313 | 'resources/resource_update_queue.cc', |
| 314 | 'resources/resource_update_queue.h', |
| 315 | 'resources/scoped_resource.cc', |
| 316 | 'resources/scoped_resource.h', |
Torne (Richard Coles) | a36e592 | 2013-08-05 13:57:33 +0100 | [diff] [blame] | 317 | 'resources/scoped_ui_resource.cc', |
| 318 | 'resources/scoped_ui_resource.h', |
Ben Murdoch | bbcdd45 | 2013-07-25 10:06:34 +0100 | [diff] [blame] | 319 | 'resources/skpicture_content_layer_updater.cc', |
| 320 | 'resources/skpicture_content_layer_updater.h', |
| 321 | 'resources/sync_point_helper.cc', |
| 322 | 'resources/sync_point_helper.h', |
| 323 | 'resources/texture_mailbox.cc', |
| 324 | 'resources/texture_mailbox.h', |
| 325 | 'resources/tile.cc', |
| 326 | 'resources/tile.h', |
| 327 | 'resources/tile_manager.cc', |
| 328 | 'resources/tile_manager.h', |
| 329 | 'resources/tile_priority.cc', |
| 330 | 'resources/tile_priority.h', |
| 331 | 'resources/transferable_resource.cc', |
| 332 | 'resources/transferable_resource.h', |
Torne (Richard Coles) | a36e592 | 2013-08-05 13:57:33 +0100 | [diff] [blame] | 333 | 'resources/ui_resource_bitmap.cc', |
| 334 | 'resources/ui_resource_bitmap.h', |
| 335 | 'resources/ui_resource_client.h', |
Ben Murdoch | bbcdd45 | 2013-07-25 10:06:34 +0100 | [diff] [blame] | 336 | 'resources/video_resource_updater.cc', |
| 337 | 'resources/video_resource_updater.h', |
| 338 | 'resources/worker_pool.cc', |
| 339 | 'resources/worker_pool.h', |
| 340 | 'scheduler/delay_based_time_source.cc', |
| 341 | 'scheduler/delay_based_time_source.h', |
| 342 | 'scheduler/frame_rate_controller.cc', |
| 343 | 'scheduler/frame_rate_controller.h', |
| 344 | 'scheduler/rate_limiter.cc', |
| 345 | 'scheduler/rate_limiter.h', |
| 346 | 'scheduler/rolling_time_delta_history.cc', |
| 347 | 'scheduler/rolling_time_delta_history.h', |
| 348 | 'scheduler/scheduler.cc', |
| 349 | 'scheduler/scheduler.h', |
| 350 | 'scheduler/scheduler_settings.cc', |
| 351 | 'scheduler/scheduler_settings.h', |
| 352 | 'scheduler/scheduler_state_machine.cc', |
| 353 | 'scheduler/scheduler_state_machine.h', |
| 354 | 'scheduler/texture_uploader.cc', |
| 355 | 'scheduler/texture_uploader.h', |
| 356 | 'scheduler/time_source.h', |
| 357 | 'trees/damage_tracker.cc', |
| 358 | 'trees/damage_tracker.h', |
| 359 | 'trees/layer_sorter.cc', |
| 360 | 'trees/layer_sorter.h', |
| 361 | 'trees/layer_tree_host.cc', |
| 362 | 'trees/layer_tree_host.h', |
| 363 | 'trees/layer_tree_host_client.h', |
| 364 | 'trees/layer_tree_host_common.cc', |
| 365 | 'trees/layer_tree_host_common.h', |
| 366 | 'trees/layer_tree_host_impl.cc', |
| 367 | 'trees/layer_tree_host_impl.h', |
| 368 | 'trees/layer_tree_impl.cc', |
| 369 | 'trees/layer_tree_impl.h', |
| 370 | 'trees/layer_tree_settings.cc', |
| 371 | 'trees/layer_tree_settings.h', |
| 372 | 'trees/occlusion_tracker.cc', |
| 373 | 'trees/occlusion_tracker.h', |
| 374 | 'trees/proxy.cc', |
| 375 | 'trees/proxy.h', |
| 376 | 'trees/quad_culler.cc', |
| 377 | 'trees/quad_culler.h', |
| 378 | 'trees/single_thread_proxy.cc', |
| 379 | 'trees/single_thread_proxy.h', |
| 380 | 'trees/thread_proxy.cc', |
| 381 | 'trees/thread_proxy.h', |
| 382 | 'trees/tree_synchronizer.cc', |
| 383 | 'trees/tree_synchronizer.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 384 | ], |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 385 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 386 | 'msvs_disabled_warnings': [ 4267, ], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 387 | }, |
| 388 | ], |
| 389 | } |