Disable the HMAC-SHA256 and AES_256_GCM cipher suites for
[chromium-blink-merge.git] / cc / cc.gyp
blobcd9afeb3488ccf8f98807ab77b03eb5b84605daf
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   },
9   'targets': [
10     {
11       'target_name': 'cc',
12       'type': '<(component)',
13       'dependencies': [
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)/skia/skia.gyp:skia',
18         '<(DEPTH)/media/media.gyp:media',
19         '<(DEPTH)/ui/gl/gl.gyp:gl',
20         '<(DEPTH)/ui/ui.gyp:ui',
21         '<(DEPTH)/third_party/WebKit/public/blink.gyp:blink_minimal',
22       ],
23       'defines': [
24         'CC_IMPLEMENTATION=1',
25       ],
26       'sources': [
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/test_context_provider.cc',
90         'debug/test_context_provider.h',
91         'debug/test_web_graphics_context_3d.cc',
92         'debug/test_web_graphics_context_3d.h',
93         'debug/traced_picture.cc',
94         'debug/traced_picture.h',
95         'debug/traced_value.cc',
96         'debug/traced_value.h',
97         'input/input_handler.h',
98         'input/page_scale_animation.cc',
99         'input/page_scale_animation.h',
100         'input/top_controls_manager.cc',
101         'input/top_controls_manager.h',
102         'input/top_controls_manager_client.h',
103         'layers/append_quads_data.h',
104         'layers/compositing_reasons.h',
105         'layers/content_layer.cc',
106         'layers/content_layer.h',
107         'layers/content_layer_client.h',
108         'layers/contents_scaling_layer.cc',
109         'layers/contents_scaling_layer.h',
110         'layers/delegated_renderer_layer.cc',
111         'layers/delegated_renderer_layer.h',
112         'layers/delegated_renderer_layer_client.h',
113         'layers/delegated_renderer_layer_impl.cc',
114         'layers/delegated_renderer_layer_impl.h',
115         'layers/draw_properties.h',
116         'layers/heads_up_display_layer.cc',
117         'layers/heads_up_display_layer.h',
118         'layers/heads_up_display_layer_impl.cc',
119         'layers/heads_up_display_layer_impl.h',
120         'layers/image_layer.cc',
121         'layers/image_layer.h',
122         'layers/io_surface_layer.cc',
123         'layers/io_surface_layer.h',
124         'layers/io_surface_layer_impl.cc',
125         'layers/io_surface_layer_impl.h',
126         'layers/layer.cc',
127         'layers/layer.h',
128         'layers/layer_client.h',
129         'layers/layer_impl.cc',
130         'layers/layer_impl.h',
131         'layers/layer_iterator.cc',
132         'layers/layer_iterator.h',
133         'layers/layer_lists.cc',
134         'layers/layer_lists.h',
135         'layers/layer_position_constraint.cc',
136         'layers/layer_position_constraint.h',
137         'layers/nine_patch_layer.cc',
138         'layers/nine_patch_layer.h',
139         'layers/nine_patch_layer_impl.cc',
140         'layers/nine_patch_layer_impl.h',
141         'layers/paint_properties.h',
142         'layers/picture_image_layer.cc',
143         'layers/picture_image_layer.h',
144         'layers/picture_image_layer_impl.cc',
145         'layers/picture_image_layer_impl.h',
146         'layers/picture_layer.cc',
147         'layers/picture_layer.h',
148         'layers/picture_layer_impl.cc',
149         'layers/picture_layer_impl.h',
150         'layers/quad_sink.h',
151         'layers/render_pass_sink.h',
152         'layers/render_surface.cc',
153         'layers/render_surface.h',
154         'layers/render_surface_impl.cc',
155         'layers/render_surface_impl.h',
156         'layers/scrollbar_layer.cc',
157         'layers/scrollbar_layer.h',
158         'layers/scrollbar_layer_impl.cc',
159         'layers/scrollbar_layer_impl.h',
160         'layers/solid_color_layer.cc',
161         'layers/solid_color_layer.h',
162         'layers/solid_color_layer_impl.cc',
163         'layers/solid_color_layer_impl.h',
164         'layers/texture_layer.cc',
165         'layers/texture_layer.h',
166         'layers/texture_layer_client.h',
167         'layers/texture_layer_impl.cc',
168         'layers/texture_layer_impl.h',
169         'layers/tiled_layer.cc',
170         'layers/tiled_layer.h',
171         'layers/tiled_layer_impl.cc',
172         'layers/tiled_layer_impl.h',
173         'layers/video_frame_provider.h',
174         'layers/video_frame_provider_client_impl.cc',
175         'layers/video_frame_provider_client_impl.h',
176         'layers/video_layer.cc',
177         'layers/video_layer.h',
178         'layers/video_layer_impl.cc',
179         'layers/video_layer_impl.h',
180         'output/begin_frame_args.cc',
181         'output/begin_frame_args.h',
182         'output/compositor_frame.cc',
183         'output/compositor_frame.h',
184         'output/compositor_frame_ack.cc',
185         'output/compositor_frame_ack.h',
186         'output/compositor_frame_metadata.cc',
187         'output/compositor_frame_metadata.h',
188         'output/context_provider.h',
189         'output/copy_output_request.cc',
190         'output/copy_output_request.h',
191         'output/copy_output_result.cc',
192         'output/copy_output_result.h',
193         'output/delegated_frame_data.h',
194         'output/delegated_frame_data.cc',
195         'output/delegating_renderer.cc',
196         'output/delegating_renderer.h',
197         'output/direct_renderer.cc',
198         'output/direct_renderer.h',
199         'output/filter_operation.cc',
200         'output/filter_operation.h',
201         'output/filter_operations.cc',
202         'output/filter_operations.h',
203         'output/geometry_binding.cc',
204         'output/geometry_binding.h',
205         'output/gl_frame_data.h',
206         'output/gl_frame_data.cc',
207         'output/gl_renderer.cc',
208         'output/gl_renderer.h',
209         'output/gl_renderer_draw_cache.cc',
210         'output/gl_renderer_draw_cache.h',
211         'output/managed_memory_policy.cc',
212         'output/managed_memory_policy.h',
213         'output/output_surface.cc',
214         'output/output_surface.h',
215         'output/output_surface_client.h',
216         'output/program_binding.cc',
217         'output/program_binding.h',
218         'output/render_surface_filters.cc',
219         'output/render_surface_filters.h',
220         'output/renderer.cc',
221         'output/renderer.h',
222         'output/shader.cc',
223         'output/shader.h',
224         'output/software_frame_data.cc',
225         'output/software_frame_data.h',
226         'output/software_output_device.cc',
227         'output/software_output_device.h',
228         'output/software_renderer.cc',
229         'output/software_renderer.h',
230         'quads/checkerboard_draw_quad.cc',
231         'quads/checkerboard_draw_quad.h',
232         'quads/content_draw_quad_base.cc',
233         'quads/content_draw_quad_base.h',
234         'quads/debug_border_draw_quad.cc',
235         'quads/debug_border_draw_quad.h',
236         'quads/draw_quad.cc',
237         'quads/draw_quad.h',
238         'quads/io_surface_draw_quad.cc',
239         'quads/io_surface_draw_quad.h',
240         'quads/picture_draw_quad.cc',
241         'quads/picture_draw_quad.h',
242         'quads/render_pass.cc',
243         'quads/render_pass.h',
244         'quads/render_pass_draw_quad.cc',
245         'quads/render_pass_draw_quad.h',
246         'quads/shared_quad_state.cc',
247         'quads/shared_quad_state.h',
248         'quads/solid_color_draw_quad.cc',
249         'quads/solid_color_draw_quad.h',
250         'quads/stream_video_draw_quad.cc',
251         'quads/stream_video_draw_quad.h',
252         'quads/texture_draw_quad.cc',
253         'quads/texture_draw_quad.h',
254         'quads/tile_draw_quad.cc',
255         'quads/tile_draw_quad.h',
256         'quads/yuv_video_draw_quad.cc',
257         'quads/yuv_video_draw_quad.h',
258         'resources/bitmap_content_layer_updater.cc',
259         'resources/bitmap_content_layer_updater.h',
260         'resources/bitmap_skpicture_content_layer_updater.cc',
261         'resources/bitmap_skpicture_content_layer_updater.h',
262         'resources/caching_bitmap_content_layer_updater.cc',
263         'resources/caching_bitmap_content_layer_updater.h',
264         'resources/content_layer_updater.cc',
265         'resources/content_layer_updater.h',
266         'resources/image_layer_updater.cc',
267         'resources/image_layer_updater.h',
268         'resources/image_raster_worker_pool.cc',
269         'resources/image_raster_worker_pool.h',
270         'resources/layer_painter.h',
271         'resources/layer_quad.cc',
272         'resources/layer_quad.h',
273         'resources/layer_tiling_data.cc',
274         'resources/layer_tiling_data.h',
275         'resources/layer_updater.cc',
276         'resources/layer_updater.h',
277         'resources/managed_tile_state.cc',
278         'resources/managed_tile_state.h',
279         'resources/memory_history.cc',
280         'resources/memory_history.h',
281         'resources/picture.cc',
282         'resources/picture.h',
283         'resources/picture_layer_tiling.cc',
284         'resources/picture_layer_tiling.h',
285         'resources/picture_layer_tiling_set.cc',
286         'resources/picture_layer_tiling_set.h',
287         'resources/picture_pile.cc',
288         'resources/picture_pile.h',
289         'resources/picture_pile_base.cc',
290         'resources/picture_pile_base.h',
291         'resources/picture_pile_impl.cc',
292         'resources/picture_pile_impl.h',
293         'resources/pixel_buffer_raster_worker_pool.cc',
294         'resources/pixel_buffer_raster_worker_pool.h',
295         'resources/platform_color.h',
296         'resources/prioritized_resource.cc',
297         'resources/prioritized_resource.h',
298         'resources/prioritized_resource_manager.cc',
299         'resources/prioritized_resource_manager.h',
300         'resources/prioritized_tile_set.cc',
301         'resources/prioritized_tile_set.h',
302         'resources/priority_calculator.cc',
303         'resources/priority_calculator.h',
304         'resources/raster_mode.cc',
305         'resources/raster_mode.h',
306         'resources/raster_worker_pool.cc',
307         'resources/raster_worker_pool.h',
308         'resources/resource.cc',
309         'resources/resource.h',
310         'resources/resource_pool.cc',
311         'resources/resource_pool.h',
312         'resources/resource_provider.cc',
313         'resources/resource_provider.h',
314         'resources/resource_update.cc',
315         'resources/resource_update.h',
316         'resources/resource_update_controller.cc',
317         'resources/resource_update_controller.h',
318         'resources/resource_update_queue.cc',
319         'resources/resource_update_queue.h',
320         'resources/returned_resource.h',
321         'resources/scoped_resource.cc',
322         'resources/scoped_resource.h',
323         'resources/scoped_ui_resource.cc',
324         'resources/scoped_ui_resource.h',
325         'resources/skpicture_content_layer_updater.cc',
326         'resources/skpicture_content_layer_updater.h',
327         'resources/sync_point_helper.cc',
328         'resources/sync_point_helper.h',
329         'resources/texture_mailbox.cc',
330         'resources/texture_mailbox.h',
331         'resources/tile.cc',
332         'resources/tile.h',
333         'resources/tile_manager.cc',
334         'resources/tile_manager.h',
335         'resources/tile_priority.cc',
336         'resources/tile_priority.h',
337         'resources/transferable_resource.cc',
338         'resources/transferable_resource.h',
339         'resources/ui_resource_bitmap.cc',
340         'resources/ui_resource_bitmap.h',
341         'resources/ui_resource_client.h',
342         'resources/video_resource_updater.cc',
343         'resources/video_resource_updater.h',
344         'resources/worker_pool.cc',
345         'resources/worker_pool.h',
346         'scheduler/delay_based_time_source.cc',
347         'scheduler/delay_based_time_source.h',
348         'scheduler/frame_rate_controller.cc',
349         'scheduler/frame_rate_controller.h',
350         'scheduler/rate_limiter.cc',
351         'scheduler/rate_limiter.h',
352         'scheduler/rolling_time_delta_history.cc',
353         'scheduler/rolling_time_delta_history.h',
354         'scheduler/scheduler.cc',
355         'scheduler/scheduler.h',
356         'scheduler/scheduler_settings.cc',
357         'scheduler/scheduler_settings.h',
358         'scheduler/scheduler_state_machine.cc',
359         'scheduler/scheduler_state_machine.h',
360         'scheduler/texture_uploader.cc',
361         'scheduler/texture_uploader.h',
362         'scheduler/time_source.h',
363         'trees/damage_tracker.cc',
364         'trees/damage_tracker.h',
365         'trees/layer_sorter.cc',
366         'trees/layer_sorter.h',
367         'trees/layer_tree_host.cc',
368         'trees/layer_tree_host.h',
369         'trees/layer_tree_host_client.h',
370         'trees/layer_tree_host_common.cc',
371         'trees/layer_tree_host_common.h',
372         'trees/layer_tree_host_impl.cc',
373         'trees/layer_tree_host_impl.h',
374         'trees/layer_tree_impl.cc',
375         'trees/layer_tree_impl.h',
376         'trees/layer_tree_settings.cc',
377         'trees/layer_tree_settings.h',
378         'trees/occlusion_tracker.cc',
379         'trees/occlusion_tracker.h',
380         'trees/proxy.cc',
381         'trees/proxy.h',
382         'trees/quad_culler.cc',
383         'trees/quad_culler.h',
384         'trees/single_thread_proxy.cc',
385         'trees/single_thread_proxy.h',
386         'trees/thread_proxy.cc',
387         'trees/thread_proxy.h',
388         'trees/tree_synchronizer.cc',
389         'trees/tree_synchronizer.h',
390       ],
391       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
392       'msvs_disabled_warnings': [ 4267, ],
393     },
394   ],