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