Search engine setting: Make "Make default" not mouse-focusable.
[chromium-blink-merge.git] / cc / cc.gyp
blob315e10a30d81f1005ec01eb4e42f9d607c6b9241
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/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',
295         'resources/priority_calculator.cc',
296         'resources/priority_calculator.h',
297         'resources/raster_mode.cc',
298         'resources/raster_mode.h',
299         'resources/raster_worker_pool.cc',
300         'resources/raster_worker_pool.h',
301         'resources/resource.cc',
302         'resources/resource.h',
303         'resources/resource_pool.cc',
304         'resources/resource_pool.h',
305         'resources/resource_provider.cc',
306         'resources/resource_provider.h',
307         'resources/resource_update.cc',
308         'resources/resource_update.h',
309         'resources/resource_update_controller.cc',
310         'resources/resource_update_controller.h',
311         'resources/resource_update_queue.cc',
312         'resources/resource_update_queue.h',
313         'resources/scoped_resource.cc',
314         'resources/scoped_resource.h',
315         'resources/scoped_ui_resource.cc',
316         'resources/scoped_ui_resource.h',
317         'resources/skpicture_content_layer_updater.cc',
318         'resources/skpicture_content_layer_updater.h',
319         'resources/sync_point_helper.cc',
320         'resources/sync_point_helper.h',
321         'resources/texture_mailbox.cc',
322         'resources/texture_mailbox.h',
323         'resources/tile.cc',
324         'resources/tile.h',
325         'resources/tile_manager.cc',
326         'resources/tile_manager.h',
327         'resources/tile_priority.cc',
328         'resources/tile_priority.h',
329         'resources/transferable_resource.cc',
330         'resources/transferable_resource.h',
331         'resources/ui_resource_bitmap.cc',
332         'resources/ui_resource_bitmap.h',
333         'resources/ui_resource_client.h',
334         'resources/video_resource_updater.cc',
335         'resources/video_resource_updater.h',
336         'resources/worker_pool.cc',
337         'resources/worker_pool.h',
338         'scheduler/delay_based_time_source.cc',
339         'scheduler/delay_based_time_source.h',
340         'scheduler/frame_rate_controller.cc',
341         'scheduler/frame_rate_controller.h',
342         'scheduler/rate_limiter.cc',
343         'scheduler/rate_limiter.h',
344         'scheduler/rolling_time_delta_history.cc',
345         'scheduler/rolling_time_delta_history.h',
346         'scheduler/scheduler.cc',
347         'scheduler/scheduler.h',
348         'scheduler/scheduler_settings.cc',
349         'scheduler/scheduler_settings.h',
350         'scheduler/scheduler_state_machine.cc',
351         'scheduler/scheduler_state_machine.h',
352         'scheduler/texture_uploader.cc',
353         'scheduler/texture_uploader.h',
354         'scheduler/time_source.h',
355         'trees/damage_tracker.cc',
356         'trees/damage_tracker.h',
357         'trees/layer_sorter.cc',
358         'trees/layer_sorter.h',
359         'trees/layer_tree_host.cc',
360         'trees/layer_tree_host.h',
361         'trees/layer_tree_host_client.h',
362         'trees/layer_tree_host_common.cc',
363         'trees/layer_tree_host_common.h',
364         'trees/layer_tree_host_impl.cc',
365         'trees/layer_tree_host_impl.h',
366         'trees/layer_tree_impl.cc',
367         'trees/layer_tree_impl.h',
368         'trees/layer_tree_settings.cc',
369         'trees/layer_tree_settings.h',
370         'trees/occlusion_tracker.cc',
371         'trees/occlusion_tracker.h',
372         'trees/proxy.cc',
373         'trees/proxy.h',
374         'trees/quad_culler.cc',
375         'trees/quad_culler.h',
376         'trees/single_thread_proxy.cc',
377         'trees/single_thread_proxy.h',
378         'trees/thread_proxy.cc',
379         'trees/thread_proxy.h',
380         'trees/tree_synchronizer.cc',
381         'trees/tree_synchronizer.h',
382       ],
383       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
384       'msvs_disabled_warnings': [ 4267, ],
385     },
386   ],