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