blob: d8c6a2a51ea4aa3ebfa98865378d70d5628c8b5e [file] [log] [blame]
[email protected]3fccb63f2012-08-06 23:19:301# 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': {
[email protected]d09344f2013-03-30 20:02:517 'chromium_code': 1,
[email protected]94f206c12012-08-25 00:09:148 'cc_source_files': [
[email protected]95e4e1a02013-03-18 07:09:099 'animation/animation.cc',
10 'animation/animation.h',
11 'animation/animation_curve.cc',
12 'animation/animation_curve.h',
13 'animation/animation_events.h',
14 'animation/animation_id_provider.cc',
15 'animation/animation_id_provider.h',
16 'animation/animation_registrar.cc',
17 'animation/animation_registrar.h',
[email protected]cc3cfaa2013-03-18 09:05:5218 'layers/append_quads_data.h',
[email protected]e12dd0e2013-03-18 08:24:4019 'resources/bitmap_content_layer_updater.cc',
20 'resources/bitmap_content_layer_updater.h',
21 'resources/bitmap_skpicture_content_layer_updater.cc',
22 'resources/bitmap_skpicture_content_layer_updater.h',
23 'resources/caching_bitmap_content_layer_updater.cc',
24 'resources/caching_bitmap_content_layer_updater.h',
[email protected]89e82672013-03-18 07:50:5625 'quads/checkerboard_draw_quad.cc',
26 'quads/checkerboard_draw_quad.h',
[email protected]681ccff2013-03-18 06:13:5227 'base/completion_event.h',
[email protected]7f0d825f2013-03-18 07:24:3028 'output/compositor_frame.cc',
29 'output/compositor_frame.h',
30 'output/compositor_frame_ack.cc',
31 'output/compositor_frame_ack.h',
32 'output/compositor_frame_metadata.cc',
33 'output/compositor_frame_metadata.h',
[email protected]9ee4d3a2013-03-27 17:43:1634 'quads/content_draw_quad_base.cc',
35 'quads/content_draw_quad_base.h',
[email protected]cc3cfaa2013-03-18 09:05:5236 'layers/content_layer.cc',
37 'layers/content_layer.h',
38 'layers/content_layer_client.h',
[email protected]e12dd0e2013-03-18 08:24:4039 'resources/content_layer_updater.cc',
40 'resources/content_layer_updater.h',
[email protected]cc3cfaa2013-03-18 09:05:5241 'layers/contents_scaling_layer.cc',
42 'layers/contents_scaling_layer.h',
[email protected]7f0d825f2013-03-18 07:24:3043 'output/context_provider.h',
[email protected]556fd292013-03-18 08:03:0444 'trees/damage_tracker.cc',
45 'trees/damage_tracker.h',
[email protected]89e82672013-03-18 07:50:5646 'quads/debug_border_draw_quad.cc',
47 'quads/debug_border_draw_quad.h',
[email protected]6e84de22013-03-18 06:54:2748 'debug/debug_colors.cc',
49 'debug/debug_colors.h',
50 'debug/debug_rect_history.cc',
51 'debug/debug_rect_history.h',
[email protected]be4655a2013-03-18 08:36:3152 'scheduler/delay_based_time_source.cc',
53 'scheduler/delay_based_time_source.h',
[email protected]7f0d825f2013-03-18 07:24:3054 'output/delegated_frame_data.h',
55 'output/delegated_frame_data.cc',
[email protected]cc3cfaa2013-03-18 09:05:5256 'layers/delegated_renderer_layer.cc',
57 'layers/delegated_renderer_layer.h',
58 'layers/delegated_renderer_layer_impl.cc',
59 'layers/delegated_renderer_layer_impl.h',
[email protected]7f0d825f2013-03-18 07:24:3060 'output/delegating_renderer.cc',
61 'output/delegating_renderer.h',
[email protected]6e84de22013-03-18 06:54:2762 'debug/devtools_instrumentation.h',
[email protected]7f0d825f2013-03-18 07:24:3063 'output/direct_renderer.cc',
64 'output/direct_renderer.h',
[email protected]cc3cfaa2013-03-18 09:05:5265 'layers/draw_properties.h',
[email protected]89e82672013-03-18 07:50:5666 'quads/draw_quad.cc',
67 'quads/draw_quad.h',
[email protected]6e84de22013-03-18 06:54:2768 'debug/fake_web_graphics_context_3d.cc',
69 'debug/fake_web_graphics_context_3d.h',
[email protected]be4655a2013-03-18 08:36:3170 'scheduler/frame_rate_controller.cc',
71 'scheduler/frame_rate_controller.h',
[email protected]6e84de22013-03-18 06:54:2772 'debug/frame_rate_counter.cc',
73 'debug/frame_rate_counter.h',
[email protected]7f0d825f2013-03-18 07:24:3074 'output/geometry_binding.cc',
75 'output/geometry_binding.h',
76 'output/gl_frame_data.h',
77 'output/gl_frame_data.cc',
78 'output/gl_renderer.cc',
79 'output/gl_renderer.h',
80 'output/gl_renderer_draw_cache.cc',
81 'output/gl_renderer_draw_cache.h',
[email protected]681ccff2013-03-18 06:13:5282 'base/hash_pair.h',
[email protected]cc3cfaa2013-03-18 09:05:5283 'layers/heads_up_display_layer.cc',
84 'layers/heads_up_display_layer.h',
85 'layers/heads_up_display_layer_impl.cc',
86 'layers/heads_up_display_layer_impl.h',
[email protected]e12dd0e2013-03-18 08:24:4087 'resources/image_layer_updater.cc',
88 'resources/image_layer_updater.h',
[email protected]cc3cfaa2013-03-18 09:05:5289 'layers/image_layer.cc',
90 'layers/image_layer.h',
[email protected]3052b10f2013-03-18 07:41:2191 'input/input_handler.h',
[email protected]89e82672013-03-18 07:50:5692 'quads/io_surface_draw_quad.cc',
93 'quads/io_surface_draw_quad.h',
[email protected]cc3cfaa2013-03-18 09:05:5294 'layers/io_surface_layer.cc',
95 'layers/io_surface_layer.h',
96 'layers/io_surface_layer_impl.cc',
97 'layers/io_surface_layer_impl.h',
[email protected]95e4e1a02013-03-18 07:09:0998 'animation/keyframed_animation_curve.cc',
99 'animation/keyframed_animation_curve.h',
[email protected]cdb284d72013-03-18 09:34:48100 'debug/latency_info.h',
[email protected]cc3cfaa2013-03-18 09:05:52101 'layers/layer.cc',
102 'layers/layer.h',
[email protected]95e4e1a02013-03-18 07:09:09103 'animation/layer_animation_controller.cc',
104 'animation/layer_animation_controller.h',
105 'animation/layer_animation_event_observer.h',
106 'animation/layer_animation_value_observer.h',
[email protected]cc3cfaa2013-03-18 09:05:52107 'layers/layer_impl.cc',
108 'layers/layer_impl.h',
109 'layers/layer_iterator.cc',
110 'layers/layer_iterator.h',
[email protected]50761e92013-03-29 20:51:28111 'layers/layer_lists.h',
[email protected]e12dd0e2013-03-18 08:24:40112 'resources/layer_painter.h',
113 'resources/layer_quad.cc',
114 'resources/layer_quad.h',
[email protected]556fd292013-03-18 08:03:04115 'trees/layer_sorter.cc',
116 'trees/layer_sorter.h',
[email protected]e12dd0e2013-03-18 08:24:40117 'resources/layer_tiling_data.cc',
118 'resources/layer_tiling_data.h',
[email protected]6e84de22013-03-18 06:54:27119 'debug/layer_tree_debug_state.cc',
120 'debug/layer_tree_debug_state.h',
[email protected]556fd292013-03-18 08:03:04121 'trees/layer_tree_host.cc',
122 'trees/layer_tree_host.h',
123 'trees/layer_tree_host_client.h',
124 'trees/layer_tree_host_common.cc',
125 'trees/layer_tree_host_common.h',
126 'trees/layer_tree_host_impl.cc',
127 'trees/layer_tree_host_impl.h',
128 'trees/layer_tree_impl.cc',
129 'trees/layer_tree_impl.h',
130 'trees/layer_tree_settings.cc',
131 'trees/layer_tree_settings.h',
[email protected]e12dd0e2013-03-18 08:24:40132 'resources/layer_updater.cc',
133 'resources/layer_updater.h',
134 'resources/managed_memory_policy.cc',
135 'resources/managed_memory_policy.h',
[email protected]cdb284d72013-03-18 09:34:48136 'resources/managed_tile_state.cc',
137 'resources/managed_tile_state.h',
[email protected]681ccff2013-03-18 06:13:52138 'base/math_util.cc',
139 'base/math_util.h',
[email protected]e12dd0e2013-03-18 08:24:40140 'resources/memory_history.cc',
141 'resources/memory_history.h',
[email protected]cc3cfaa2013-03-18 09:05:52142 'layers/nine_patch_layer.cc',
143 'layers/nine_patch_layer.h',
144 'layers/nine_patch_layer_impl.cc',
145 'layers/nine_patch_layer_impl.h',
[email protected]556fd292013-03-18 08:03:04146 'trees/occlusion_tracker.cc',
147 'trees/occlusion_tracker.h',
[email protected]7f0d825f2013-03-18 07:24:30148 'output/output_surface.cc',
149 'output/output_surface.h',
150 'output/output_surface_client.h',
[email protected]6e84de22013-03-18 06:54:27151 'debug/overdraw_metrics.cc',
152 'debug/overdraw_metrics.h',
[email protected]3052b10f2013-03-18 07:41:21153 'input/page_scale_animation.cc',
154 'input/page_scale_animation.h',
[email protected]6e84de22013-03-18 06:54:27155 'debug/paint_time_counter.cc',
156 'debug/paint_time_counter.h',
[email protected]e12dd0e2013-03-18 08:24:40157 'resources/picture.cc',
158 'resources/picture.h',
[email protected]9ee4d3a2013-03-27 17:43:16159 'quads/picture_draw_quad.cc',
160 'quads/picture_draw_quad.h',
[email protected]cc3cfaa2013-03-18 09:05:52161 'layers/picture_image_layer.cc',
162 'layers/picture_image_layer.h',
163 'layers/picture_image_layer_impl.cc',
164 'layers/picture_image_layer_impl.h',
165 'layers/picture_layer.cc',
166 'layers/picture_layer.h',
167 'layers/picture_layer_impl.cc',
168 'layers/picture_layer_impl.h',
[email protected]e12dd0e2013-03-18 08:24:40169 'resources/picture_layer_tiling.cc',
170 'resources/picture_layer_tiling.h',
171 'resources/picture_layer_tiling_set.cc',
172 'resources/picture_layer_tiling_set.h',
173 'resources/picture_pile.cc',
174 'resources/picture_pile.h',
175 'resources/picture_pile_base.cc',
176 'resources/picture_pile_base.h',
177 'resources/picture_pile_impl.cc',
178 'resources/picture_pile_impl.h',
[email protected]cdb284d72013-03-18 09:34:48179 'input/pinch_zoom_scrollbar.cc',
180 'input/pinch_zoom_scrollbar.h',
181 'input/pinch_zoom_scrollbar_geometry.cc',
182 'input/pinch_zoom_scrollbar_geometry.h',
183 'input/pinch_zoom_scrollbar_painter.cc',
184 'input/pinch_zoom_scrollbar_painter.h',
[email protected]e12dd0e2013-03-18 08:24:40185 'resources/platform_color.h',
186 'resources/prioritized_resource.cc',
187 'resources/prioritized_resource.h',
188 'resources/prioritized_resource_manager.cc',
189 'resources/prioritized_resource_manager.h',
190 'resources/priority_calculator.cc',
191 'resources/priority_calculator.h',
[email protected]7f0d825f2013-03-18 07:24:30192 'output/program_binding.cc',
193 'output/program_binding.h',
[email protected]556fd292013-03-18 08:03:04194 'trees/proxy.cc',
195 'trees/proxy.h',
196 'trees/quad_culler.cc',
197 'trees/quad_culler.h',
[email protected]cc3cfaa2013-03-18 09:05:52198 'layers/quad_sink.h',
[email protected]e12dd0e2013-03-18 08:24:40199 'resources/raster_worker_pool.cc',
200 'resources/raster_worker_pool.h',
[email protected]be4655a2013-03-18 08:36:31201 'scheduler/rate_limiter.cc',
202 'scheduler/rate_limiter.h',
[email protected]681ccff2013-03-18 06:13:52203 'base/region.cc',
204 'base/region.h',
[email protected]89e82672013-03-18 07:50:56205 'quads/render_pass.cc',
206 'quads/render_pass.h',
207 'quads/render_pass_draw_quad.cc',
208 'quads/render_pass_draw_quad.h',
[email protected]cc3cfaa2013-03-18 09:05:52209 'layers/render_pass_sink.h',
210 'layers/render_surface.cc',
211 'layers/render_surface.h',
[email protected]7f0d825f2013-03-18 07:24:30212 'output/render_surface_filters.cc',
213 'output/render_surface_filters.h',
[email protected]cc3cfaa2013-03-18 09:05:52214 'layers/render_surface_impl.cc',
215 'layers/render_surface_impl.h',
[email protected]7f0d825f2013-03-18 07:24:30216 'output/renderer.cc',
217 'output/renderer.h',
[email protected]6e84de22013-03-18 06:54:27218 'debug/rendering_stats.cc',
219 'debug/rendering_stats.h',
[email protected]372bad5f2013-03-21 16:38:43220 'debug/rendering_stats_instrumentation.cc',
221 'debug/rendering_stats_instrumentation.h',
[email protected]e12dd0e2013-03-18 08:24:40222 'resources/resource.cc',
223 'resources/resource.h',
224 'resources/resource_pool.cc',
225 'resources/resource_pool.h',
226 'resources/resource_provider.cc',
227 'resources/resource_provider.h',
228 'resources/resource_update.cc',
229 'resources/resource_update.h',
230 'resources/resource_update_controller.cc',
231 'resources/resource_update_controller.h',
232 'resources/resource_update_queue.cc',
233 'resources/resource_update_queue.h',
[email protected]6e84de22013-03-18 06:54:27234 'debug/ring_buffer.h',
[email protected]be4655a2013-03-18 08:36:31235 'scheduler/scheduler.cc',
236 'scheduler/scheduler.h',
237 'scheduler/scheduler_settings.cc',
238 'scheduler/scheduler_settings.h',
239 'scheduler/scheduler_state_machine.cc',
240 'scheduler/scheduler_state_machine.h',
[email protected]681ccff2013-03-18 06:13:52241 'base/scoped_ptr_algorithm.h',
242 'base/scoped_ptr_deque.h',
243 'base/scoped_ptr_hash_map.h',
244 'base/scoped_ptr_vector.h',
[email protected]e12dd0e2013-03-18 08:24:40245 'resources/scoped_resource.cc',
246 'resources/scoped_resource.h',
[email protected]95e4e1a02013-03-18 07:09:09247 'animation/scrollbar_animation_controller.h',
248 'animation/scrollbar_animation_controller_linear_fade.cc',
249 'animation/scrollbar_animation_controller_linear_fade.h',
[email protected]cc3cfaa2013-03-18 09:05:52250 'layers/scrollbar_geometry_fixed_thumb.cc',
251 'layers/scrollbar_geometry_fixed_thumb.h',
252 'layers/scrollbar_geometry_stub.cc',
253 'layers/scrollbar_geometry_stub.h',
254 'layers/scrollbar_layer.cc',
255 'layers/scrollbar_layer.h',
256 'layers/scrollbar_layer_impl.cc',
257 'layers/scrollbar_layer_impl.h',
258 'layers/scrollbar_layer_impl_base.h',
[email protected]7f0d825f2013-03-18 07:24:30259 'output/shader.cc',
260 'output/shader.h',
[email protected]89e82672013-03-18 07:50:56261 'quads/shared_quad_state.cc',
262 'quads/shared_quad_state.h',
[email protected]556fd292013-03-18 08:03:04263 'trees/single_thread_proxy.cc',
264 'trees/single_thread_proxy.h',
[email protected]e12dd0e2013-03-18 08:24:40265 'resources/skpicture_content_layer_updater.cc',
266 'resources/skpicture_content_layer_updater.h',
[email protected]7f0d825f2013-03-18 07:24:30267 'output/software_frame_data.cc',
268 'output/software_frame_data.h',
269 'output/software_output_device.cc',
270 'output/software_output_device.h',
271 'output/software_renderer.cc',
272 'output/software_renderer.h',
[email protected]89e82672013-03-18 07:50:56273 'quads/solid_color_draw_quad.cc',
274 'quads/solid_color_draw_quad.h',
[email protected]cc3cfaa2013-03-18 09:05:52275 'layers/solid_color_layer.cc',
276 'layers/solid_color_layer.h',
277 'layers/solid_color_layer_impl.cc',
278 'layers/solid_color_layer_impl.h',
[email protected]89e82672013-03-18 07:50:56279 'quads/stream_video_draw_quad.cc',
280 'quads/stream_video_draw_quad.h',
[email protected]681ccff2013-03-18 06:13:52281 'base/switches.cc',
282 'base/switches.h',
[email protected]7f0d825f2013-03-18 07:24:30283 'output/texture_copier.cc',
284 'output/texture_copier.h',
[email protected]89e82672013-03-18 07:50:56285 'quads/texture_draw_quad.cc',
286 'quads/texture_draw_quad.h',
[email protected]cc3cfaa2013-03-18 09:05:52287 'layers/texture_layer.cc',
288 'layers/texture_layer.h',
289 'layers/texture_layer_client.h',
290 'layers/texture_layer_impl.cc',
291 'layers/texture_layer_impl.h',
[email protected]e12dd0e2013-03-18 08:24:40292 'resources/texture_mailbox.cc',
293 'resources/texture_mailbox.h',
[email protected]be4655a2013-03-18 08:36:31294 'scheduler/texture_uploader.cc',
295 'scheduler/texture_uploader.h',
[email protected]681ccff2013-03-18 06:13:52296 'base/thread.h',
297 'base/thread_impl.cc',
298 'base/thread_impl.h',
[email protected]556fd292013-03-18 08:03:04299 'trees/thread_proxy.cc',
300 'trees/thread_proxy.h',
[email protected]e12dd0e2013-03-18 08:24:40301 'resources/tile.cc',
302 'resources/tile.h',
[email protected]89e82672013-03-18 07:50:56303 'quads/tile_draw_quad.cc',
304 'quads/tile_draw_quad.h',
[email protected]e12dd0e2013-03-18 08:24:40305 'resources/tile_manager.cc',
306 'resources/tile_manager.h',
307 'resources/tile_priority.cc',
308 'resources/tile_priority.h',
[email protected]cc3cfaa2013-03-18 09:05:52309 'layers/tiled_layer.cc',
310 'layers/tiled_layer.h',
311 'layers/tiled_layer_impl.cc',
312 'layers/tiled_layer_impl.h',
[email protected]681ccff2013-03-18 06:13:52313 'base/tiling_data.cc',
314 'base/tiling_data.h',
[email protected]be4655a2013-03-18 08:36:31315 'scheduler/time_source.h',
[email protected]cdb284d72013-03-18 09:34:48316 'animation/timing_function.cc',
317 'animation/timing_function.h',
[email protected]3052b10f2013-03-18 07:41:21318 'input/top_controls_manager.cc',
319 'input/top_controls_manager.h',
320 'input/top_controls_manager_client.h',
[email protected]e12dd0e2013-03-18 08:24:40321 'resources/transferable_resource.cc',
322 'resources/transferable_resource.h',
[email protected]cdb284d72013-03-18 09:34:48323 'animation/transform_operation.cc',
324 'animation/transform_operation.h',
325 'animation/transform_operations.cc',
326 'animation/transform_operations.h',
[email protected]556fd292013-03-18 08:03:04327 'trees/tree_synchronizer.cc',
328 'trees/tree_synchronizer.h',
[email protected]681ccff2013-03-18 06:13:52329 'base/util.h',
[email protected]cc3cfaa2013-03-18 09:05:52330 'layers/video_frame_provider.h',
331 'layers/video_frame_provider_client_impl.cc',
332 'layers/video_frame_provider_client_impl.h',
333 'layers/video_layer.cc',
334 'layers/video_layer.h',
335 'layers/video_layer_impl.cc',
336 'layers/video_layer_impl.h',
[email protected]be4655a2013-03-18 08:36:31337 'scheduler/vsync_time_source.cc',
338 'scheduler/vsync_time_source.h',
[email protected]681ccff2013-03-18 06:13:52339 'base/worker_pool.cc',
340 'base/worker_pool.h',
[email protected]89e82672013-03-18 07:50:56341 'quads/yuv_video_draw_quad.cc',
342 'quads/yuv_video_draw_quad.h',
[email protected]94f206c12012-08-25 00:09:14343 ],
[email protected]920caa52012-12-18 22:39:50344 'conditions': [
345 ['inside_chromium_build==1', {
346 'webkit_src_dir': '<(DEPTH)/third_party/WebKit',
347 }, {
348 'webkit_src_dir': '<(DEPTH)/../../..',
349 }],
350 ],
[email protected]3fccb63f2012-08-06 23:19:30351 },
[email protected]920caa52012-12-18 22:39:50352 'conditions': [
353 ['inside_chromium_build==0', {
354 'defines': [
355 'INSIDE_WEBKIT_BUILD=1',
356 ],
357 }],
358 ],
[email protected]3fccb63f2012-08-06 23:19:30359 'targets': [
360 {
361 'target_name': 'cc',
[email protected]52347c842012-11-02 21:06:20362 'type': '<(component)',
[email protected]439458f32012-10-16 02:24:31363 'dependencies': [
364 '<(DEPTH)/base/base.gyp:base',
365 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
[email protected]1aca0092013-03-04 22:46:03366 '<(DEPTH)/gpu/gpu.gyp:gpu',
[email protected]439458f32012-10-16 02:24:31367 '<(DEPTH)/skia/skia.gyp:skia',
[email protected]59cb7b352012-10-30 06:45:48368 '<(DEPTH)/media/media.gyp:media',
[email protected]439458f32012-10-16 02:24:31369 '<(DEPTH)/ui/gl/gl.gyp:gl',
[email protected]bd3d1ce2013-03-06 01:01:57370 '<(DEPTH)/ui/surface/surface.gyp:surface',
[email protected]439458f32012-10-16 02:24:31371 '<(DEPTH)/ui/ui.gyp:ui',
[email protected]52347c842012-11-02 21:06:20372 '<(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit',
[email protected]439458f32012-10-16 02:24:31373 ],
374 'defines': [
[email protected]52347c842012-11-02 21:06:20375 'CC_IMPLEMENTATION=1',
[email protected]439458f32012-10-16 02:24:31376 ],
[email protected]439458f32012-10-16 02:24:31377 'sources': [
378 '<@(cc_source_files)',
[email protected]94f206c12012-08-25 00:09:14379 ],
[email protected]895399a2013-01-30 00:47:21380 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
381 'msvs_disabled_warnings': [ 4267, ],
[email protected]94f206c12012-08-25 00:09:14382 },
383 ],
[email protected]3fccb63f2012-08-06 23:19:30384}