summaryrefslogtreecommitdiffstats
path: root/cc/cc.gyp
blob: abdd9163cb164fe624fa31990cd01c74b5809481 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'variables': {
    'cc_source_files': [
      'hash_pair.h',
      'scoped_ptr_deque.h',
      'scoped_ptr_hash_map.h',
      'scoped_ptr_vector.h',
      'bitmap_canvas_layer_updater.cc',
      'bitmap_canvas_layer_updater.h',
      'bitmap_skpicture_canvas_layer_updater.cc',
      'bitmap_skpicture_canvas_layer_updater.h',
      'caching_bitmap_canvas_layer_updater.cc',
      'caching_bitmap_canvas_layer_updater.h',
      'active_animation.cc',
      'active_animation.h',
      'append_quads_data.h',
      'animation_curve.cc',
      'animation_curve.h',
      'animation_events.h',
      'checkerboard_draw_quad.cc',
      'checkerboard_draw_quad.h',
      'completion_event.h',
      'damage_tracker.cc',
      'damage_tracker.h',
      'debug_border_draw_quad.cc',
      'debug_border_draw_quad.h',
      'debug_rect_history.cc',
      'debug_rect_history.h',
      'delay_based_time_source.cc',
      'delay_based_time_source.h',
      'delegated_renderer_layer_impl.cc',
      'delegated_renderer_layer_impl.h',
      'direct_renderer.cc',
      'direct_renderer.h',
      'draw_quad.cc',
      'draw_quad.h',
      'font_atlas.cc',
      'font_atlas.h',
      'frame_rate_controller.cc',
      'frame_rate_controller.h',
      'frame_rate_counter.cc',
      'frame_rate_counter.h',
      'graphics_context.h',
      'heads_up_display_layer_impl.cc',
      'heads_up_display_layer_impl.h',
      'io_surface_draw_quad.cc',
      'io_surface_draw_quad.h',
      'io_surface_layer_impl.cc',
      'io_surface_layer_impl.h',
      'input_handler.h',
      'keyframed_animation_curve.cc',
      'keyframed_animation_curve.h',
      'layer_animation_controller.cc',
      'layer_animation_controller.h',
      'layer_impl.cc',
      'layer_impl.h',
      'layer_iterator.cc',
      'layer_iterator.h',
      'layer_quad.cc',
      'layer_quad.h',
      'layer_sorter.cc',
      'layer_sorter.h',
      'layer_tiling_data.cc',
      'layer_tiling_data.h',
      'layer_tree_host.cc',
      'layer_tree_host.h',
      'layer_tree_host_client.h',
      'layer_tree_host_common.cc',
      'layer_tree_host_common.h',
      'layer_tree_host_impl.cc',
      'layer_tree_host_impl.h',
      'managed_memory_policy.cc',
      'managed_memory_policy.h',
      'math_util.cc',
      'math_util.h',
      'occlusion_tracker.cc',
      'occlusion_tracker.h',
      'overdraw_metrics.cc',
      'overdraw_metrics.h',
      'page_scale_animation.cc',
      'page_scale_animation.h',
      'prioritized_texture.cc',
      'prioritized_texture.h',
      'prioritized_texture_manager.cc',
      'prioritized_texture_manager.h',
      'priority_calculator.cc',
      'priority_calculator.h',
      'proxy.cc',
      'proxy.h',
      'quad_culler.cc',
      'quad_culler.h',
      'quad_sink.h',
      'render_pass.cc',
      'render_pass.h',
      'render_pass_draw_quad.cc',
      'render_pass_draw_quad.h',
      'render_pass_sink.h',
      'render_surface_impl.cc',
      'render_surface_impl.h',
      'render_surface_filters.cc',
      'render_surface_filters.h',
      'renderer.cc',
      'renderer.h',
      'gl_renderer.cc',
      'gl_renderer.h',
      'software_renderer.cc',
      'software_renderer.h',
      'rendering_stats.h',
      'resource_provider.cc',
      'resource_provider.h',
      'resource_update.cc',
      'scheduler.cc',
      'scheduler.h',
      'scheduler_state_machine.cc',
      'scheduler_state_machine.h',
      'scoped_texture.cc',
      'scoped_texture.h',
      'scoped_thread_proxy.cc',
      'scoped_thread_proxy.h',
      'scrollbar_animation_controller.cc',
      'scrollbar_animation_controller.h',
      'scrollbar_animation_controller_linear_fade.cc',
      'scrollbar_animation_controller_linear_fade.h',
      'scrollbar_layer_impl.cc',
      'scrollbar_layer_impl.h',
      'scrollbar_geometry_fixed_thumb.cc',
      'scrollbar_geometry_fixed_thumb.h',
      'scrollbar_geometry_stub.cc',
      'scrollbar_geometry_stub.h',
      'settings.cc',
      'settings.h',
      'shared_quad_state.cc',
      'shared_quad_state.h',
      'single_thread_proxy.cc',
      'single_thread_proxy.h',
      'solid_color_draw_quad.cc',
      'solid_color_draw_quad.h',
      'solid_color_layer_impl.cc',
      'solid_color_layer_impl.h',
      'stream_video_draw_quad.cc',
      'stream_video_draw_quad.h',
      'texture.cc',
      'texture.h',
      'texture_draw_quad.cc',
      'texture_draw_quad.h',
      'texture_layer_impl.cc',
      'texture_layer_impl.h',
      'texture_update_controller.cc',
      'texture_update_controller.h',
      'texture_update_queue.cc',
      'texture_update_queue.h',
      'thread.h',
      'thread_proxy.cc',
      'thread_proxy.h',
      'thread_task.h',
      'tile_draw_quad.cc',
      'tile_draw_quad.h',
      'tiled_layer_impl.cc',
      'tiled_layer_impl.h',
      'time_source.h',
      'timer.cc',
      'timer.h',
      'timing_function.cc',
      'timing_function.h',
      'video_layer_impl.cc',
      'video_layer_impl.h',
      'yuv_video_draw_quad.cc',
      'yuv_video_draw_quad.h',
      'canvas_layer_updater.cc',
      'canvas_layer_updater.h',
      'content_layer.cc',
      'content_layer.h',
      'content_layer_client.h',
      'delegated_renderer_layer.cc',
      'delegated_renderer_layer.h',
      'geometry_binding.cc',
      'geometry_binding.h',
      'heads_up_display_layer.cc',
      'heads_up_display_layer.h',
      'io_surface_layer.cc',
      'io_surface_layer.h',
      'image_layer.cc',
      'image_layer.h',
      'layer.cc',
      'layer.h',
      'layer_painter.h',
      'layer_updater.cc',
      'layer_updater.h',
      'platform_color.h',
      'program_binding.cc',
      'program_binding.h',
      'rate_limiter.cc',
      'rate_limiter.h',
      'render_surface.cc',
      'render_surface.h',
      'scrollbar_layer.cc',
      'scrollbar_layer.h',
      'shader.cc',
      'shader.h',
      'skpicture_canvas_layer_updater.cc',
      'skpicture_canvas_layer_updater.h',
      'solid_color_layer.cc',
      'solid_color_layer.h',
      'switches.cc',
      'switches.h',
      'texture_copier.cc',
      'texture_copier.h',
      'texture_layer.cc',
      'texture_layer.h',
      'texture_layer_client.h',
      'texture_uploader.cc',
      'texture_uploader.h',
      'tiled_layer.cc',
      'tiled_layer.h',
      'tree_synchronizer.cc',
      'tree_synchronizer.h',
      'video_layer.cc',
      'video_layer.h',

      'resource_update.h',
      'threaded_test.h',
    ],
  },
  'targets': [
    {
      'target_name': 'cc',
      'type': 'static_library',
      'includes': [
        'cc.gypi',
      ],
      'dependencies': [
        '<(DEPTH)/base/base.gyp:base',
        '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
        '<(DEPTH)/skia/skia.gyp:skia',
        '<(DEPTH)/ui/gl/gl.gyp:gl',
        '<(DEPTH)/ui/ui.gyp:ui',
        '<(webkit_src_dir)/Source/WTF/WTF.gyp/WTF.gyp:wtf',
        '<(webkit_src_dir)/Source/WebCore/WebCore.gyp/WebCore.gyp:webcore_platform_geometry',
        '<(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit_wtf_support',
      ],
      'defines': [
        # http://crbug.com/154052
        'WEBKIT_GLUE_IMPLEMENTATION=1',
      ],
      'include_dirs': [
        '<(webkit_src_dir)/Source/Platform/chromium',
        '<@(cc_stubs_dirs)',
      ],
      'sources': [
        '<@(cc_source_files)',
        'stubs/FloatPoint.h',
        'stubs/FloatPoint3D.h',
        'stubs/FloatQuad.h',
        'stubs/FloatRect.h',
        'stubs/FloatSize.h',
        'stubs/IntPoint.h',
        'stubs/IntRect.h',
        'stubs/IntSize.h',
        'stubs/NotImplemented.h',
        'stubs/Region.h',
        'stubs/SkiaUtils.h',
        'stubs/TilingData.h',
        'stubs/UnitBezier.h',

        'stubs/config.h',
        'stubs/float_point_3d.h',
        'stubs/float_point.h',
        'stubs/float_quad.h',
        'stubs/float_rect.h',
        'stubs/float_size.h',
        'stubs/int_point.h',
        'stubs/int_rect.h',
        'stubs/int_size.h',
        'stubs/not_implemented.h',
        'stubs/skia_utils.h',
        'stubs/tiling_data.h',
        'stubs/unit_bezier.h',
      ],
    },
  ],
}