chromeos: bluetooth: add BluetoothInputClient
[chromium-blink-merge.git] / skia / skia.gyp
blob4290d86e6cb35e0e22c8337e308d821baf5b1a10
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   'targets': [
7     {
8       'target_name': 'skia',
9       'type': '<(component)',
10       'variables': {
11         'optimize': 'max',
12       },
13       'sources': [
14         #'../third_party/skia/src/animator/SkAnimate.h',
15         #'../third_party/skia/src/animator/SkAnimateActive.cpp',
16         #'../third_party/skia/src/animator/SkAnimateActive.h',
17         #'../third_party/skia/src/animator/SkAnimateBase.cpp',
18         #'../third_party/skia/src/animator/SkAnimateBase.h',
19         #'../third_party/skia/src/animator/SkAnimateField.cpp',
20         #'../third_party/skia/src/animator/SkAnimateMaker.cpp',
21         #'../third_party/skia/src/animator/SkAnimateMaker.h',
22         #'../third_party/skia/src/animator/SkAnimateProperties.h',
23         #'../third_party/skia/src/animator/SkAnimateSchema.xsd',
24         #'../third_party/skia/src/animator/SkAnimateSchema.xsx',
25         #'../third_party/skia/src/animator/SkAnimateSet.cpp',
26         #'../third_party/skia/src/animator/SkAnimateSet.h',
27         #'../third_party/skia/src/animator/SkAnimator.cpp',
28         #'../third_party/skia/src/animator/SkAnimatorScript.cpp',
29         #'../third_party/skia/src/animator/SkAnimatorScript.h',
30         #'../third_party/skia/src/animator/SkAnimatorScript2.cpp',
31         #'../third_party/skia/src/animator/SkAnimatorScript2.h',
32         #'../third_party/skia/src/animator/SkBase64.cpp',
33         #'../third_party/skia/src/animator/SkBase64.h',
34         #'../third_party/skia/src/animator/SkBoundable.cpp',
35         #'../third_party/skia/src/animator/SkBoundable.h',
36         #'../third_party/skia/src/animator/SkBuildCondensedInfo.cpp',
37         #'../third_party/skia/src/animator/SkCondensedDebug.cpp',
38         #'../third_party/skia/src/animator/SkCondensedRelease.cpp',
39         #'../third_party/skia/src/animator/SkDisplayAdd.cpp',
40         #'../third_party/skia/src/animator/SkDisplayAdd.h',
41         #'../third_party/skia/src/animator/SkDisplayApply.cpp',
42         #'../third_party/skia/src/animator/SkDisplayApply.h',
43         #'../third_party/skia/src/animator/SkDisplayBounds.cpp',
44         #'../third_party/skia/src/animator/SkDisplayBounds.h',
45         #'../third_party/skia/src/animator/SkDisplayEvent.cpp',
46         #'../third_party/skia/src/animator/SkDisplayEvent.h',
47         #'../third_party/skia/src/animator/SkDisplayEvents.cpp',
48         #'../third_party/skia/src/animator/SkDisplayEvents.h',
49         #'../third_party/skia/src/animator/SkDisplayInclude.cpp',
50         #'../third_party/skia/src/animator/SkDisplayInclude.h',
51         #'../third_party/skia/src/animator/SkDisplayInput.cpp',
52         #'../third_party/skia/src/animator/SkDisplayInput.h',
53         #'../third_party/skia/src/animator/SkDisplayList.cpp',
54         #'../third_party/skia/src/animator/SkDisplayList.h',
55         #'../third_party/skia/src/animator/SkDisplayMath.cpp',
56         #'../third_party/skia/src/animator/SkDisplayMath.h',
57         #'../third_party/skia/src/animator/SkDisplayMovie.cpp',
58         #'../third_party/skia/src/animator/SkDisplayMovie.h',
59         #'../third_party/skia/src/animator/SkDisplayNumber.cpp',
60         #'../third_party/skia/src/animator/SkDisplayNumber.h',
61         #'../third_party/skia/src/animator/SkDisplayPost.cpp',
62         #'../third_party/skia/src/animator/SkDisplayPost.h',
63         #'../third_party/skia/src/animator/SkDisplayRandom.cpp',
64         #'../third_party/skia/src/animator/SkDisplayRandom.h',
65         #'../third_party/skia/src/animator/SkDisplayScreenplay.cpp',
66         #'../third_party/skia/src/animator/SkDisplayScreenplay.h',
67         #'../third_party/skia/src/animator/SkDisplayType.cpp',
68         #'../third_party/skia/src/animator/SkDisplayType.h',
69         #'../third_party/skia/src/animator/SkDisplayTypes.cpp',
70         #'../third_party/skia/src/animator/SkDisplayTypes.h',
71         #'../third_party/skia/src/animator/SkDisplayXMLParser.cpp',
72         #'../third_party/skia/src/animator/SkDisplayXMLParser.h',
73         #'../third_party/skia/src/animator/SkDisplayable.cpp',
74         #'../third_party/skia/src/animator/SkDisplayable.h',
75         #'../third_party/skia/src/animator/SkDraw3D.cpp',
76         #'../third_party/skia/src/animator/SkDraw3D.h',
77         #'../third_party/skia/src/animator/SkDrawBitmap.cpp',
78         #'../third_party/skia/src/animator/SkDrawBitmap.h',
79         #'../third_party/skia/src/animator/SkDrawBlur.cpp',
80         #'../third_party/skia/src/animator/SkDrawBlur.h',
81         #'../third_party/skia/src/animator/SkDrawClip.cpp',
82         #'../third_party/skia/src/animator/SkDrawClip.h',
83         #'../third_party/skia/src/animator/SkDrawColor.cpp',
84         #'../third_party/skia/src/animator/SkDrawColor.h',
85         #'../third_party/skia/src/animator/SkDrawDash.cpp',
86         #'../third_party/skia/src/animator/SkDrawDash.h',
87         #'../third_party/skia/src/animator/SkDrawDiscrete.cpp',
88         #'../third_party/skia/src/animator/SkDrawDiscrete.h',
89         #'../third_party/skia/src/animator/SkDrawEmboss.cpp',
90         #'../third_party/skia/src/animator/SkDrawEmboss.h',
91         #'../third_party/skia/src/animator/SkDrawExtraPathEffect.cpp',
92         #'../third_party/skia/src/animator/SkDrawFull.cpp',
93         #'../third_party/skia/src/animator/SkDrawFull.h',
94         #'../third_party/skia/src/animator/SkDrawGradient.cpp',
95         #'../third_party/skia/src/animator/SkDrawGradient.h',
96         #'../third_party/skia/src/animator/SkDrawGroup.cpp',
97         #'../third_party/skia/src/animator/SkDrawGroup.h',
98         #'../third_party/skia/src/animator/SkDrawLine.cpp',
99         #'../third_party/skia/src/animator/SkDrawLine.h',
100         #'../third_party/skia/src/animator/SkDrawMatrix.cpp',
101         #'../third_party/skia/src/animator/SkDrawMatrix.h',
102         #'../third_party/skia/src/animator/SkDrawOval.cpp',
103         #'../third_party/skia/src/animator/SkDrawOval.h',
104         #'../third_party/skia/src/animator/SkDrawPaint.cpp',
105         #'../third_party/skia/src/animator/SkDrawPaint.h',
106         #'../third_party/skia/src/animator/SkDrawPath.cpp',
107         #'../third_party/skia/src/animator/SkDrawPath.h',
108         #'../third_party/skia/src/animator/SkDrawPoint.cpp',
109         #'../third_party/skia/src/animator/SkDrawPoint.h',
110         #'../third_party/skia/src/animator/SkDrawRectangle.cpp',
111         #'../third_party/skia/src/animator/SkDrawRectangle.h',
112         #'../third_party/skia/src/animator/SkDrawSaveLayer.cpp',
113         #'../third_party/skia/src/animator/SkDrawSaveLayer.h',
114         #'../third_party/skia/src/animator/SkDrawShader.cpp',
115         #'../third_party/skia/src/animator/SkDrawShader.h',
116         #'../third_party/skia/src/animator/SkDrawText.cpp',
117         #'../third_party/skia/src/animator/SkDrawText.h',
118         #'../third_party/skia/src/animator/SkDrawTextBox.cpp',
119         #'../third_party/skia/src/animator/SkDrawTextBox.h',
120         #'../third_party/skia/src/animator/SkDrawTo.cpp',
121         #'../third_party/skia/src/animator/SkDrawTo.h',
122         #'../third_party/skia/src/animator/SkDrawTransparentShader.cpp',
123         #'../third_party/skia/src/animator/SkDrawTransparentShader.h',
124         #'../third_party/skia/src/animator/SkDrawable.cpp',
125         #'../third_party/skia/src/animator/SkDrawable.h',
126         #'../third_party/skia/src/animator/SkDump.cpp',
127         #'../third_party/skia/src/animator/SkDump.h',
128         #'../third_party/skia/src/animator/SkExtraPathEffects.xsd',
129         #'../third_party/skia/src/animator/SkExtras.h',
130         #'../third_party/skia/src/animator/SkGetCondensedInfo.cpp',
131         #'../third_party/skia/src/animator/SkHitClear.cpp',
132         #'../third_party/skia/src/animator/SkHitClear.h',
133         #'../third_party/skia/src/animator/SkHitTest.cpp',
134         #'../third_party/skia/src/animator/SkHitTest.h',
135         #'../third_party/skia/src/animator/SkIntArray.h',
136         #'../third_party/skia/src/animator/SkMatrixParts.cpp',
137         #'../third_party/skia/src/animator/SkMatrixParts.h',
138         #'../third_party/skia/src/animator/SkMemberInfo.cpp',
139         #'../third_party/skia/src/animator/SkMemberInfo.h',
140         #'../third_party/skia/src/animator/SkOpArray.cpp',
141         #'../third_party/skia/src/animator/SkOpArray.h',
142         #'../third_party/skia/src/animator/SkOperand.h',
143         #'../third_party/skia/src/animator/SkOperand2.h',
144         #'../third_party/skia/src/animator/SkOperandInterpolator.h',
145         #'../third_party/skia/src/animator/SkOperandIterpolator.cpp',
146         #'../third_party/skia/src/animator/SkPaintParts.cpp',
147         #'../third_party/skia/src/animator/SkPaintParts.h',
148         #'../third_party/skia/src/animator/SkParseSVGPath.cpp',
149         #'../third_party/skia/src/animator/SkPathParts.cpp',
150         #'../third_party/skia/src/animator/SkPathParts.h',
151         #'../third_party/skia/src/animator/SkPostParts.cpp',
152         #'../third_party/skia/src/animator/SkPostParts.h',
153         #'../third_party/skia/src/animator/SkScript.cpp',
154         #'../third_party/skia/src/animator/SkScript.h',
155         #'../third_party/skia/src/animator/SkScript2.h',
156         #'../third_party/skia/src/animator/SkScriptCallBack.h',
157         #'../third_party/skia/src/animator/SkScriptDecompile.cpp',
158         #'../third_party/skia/src/animator/SkScriptRuntime.cpp',
159         #'../third_party/skia/src/animator/SkScriptRuntime.h',
160         #'../third_party/skia/src/animator/SkScriptTokenizer.cpp',
161         #'../third_party/skia/src/animator/SkSnapshot.cpp',
162         #'../third_party/skia/src/animator/SkSnapshot.h',
163         #'../third_party/skia/src/animator/SkTDArray_Experimental.h',
164         #'../third_party/skia/src/animator/SkTextOnPath.cpp',
165         #'../third_party/skia/src/animator/SkTextOnPath.h',
166         #'../third_party/skia/src/animator/SkTextToPath.cpp',
167         #'../third_party/skia/src/animator/SkTextToPath.h',
168         #'../third_party/skia/src/animator/SkTypedArray.cpp',
169         #'../third_party/skia/src/animator/SkTypedArray.h',
170         #'../third_party/skia/src/animator/SkXMLAnimatorWriter.cpp',
171         #'../third_party/skia/src/animator/SkXMLAnimatorWriter.h',
173         '../third_party/skia/src/animator/SkTime.cpp',
175         '../third_party/skia/src/core/ARGB32_Clamp_Bilinear_BitmapShader.h',
176         '../third_party/skia/src/core/Sk64.cpp',
177         '../third_party/skia/src/core/SkAAClip.cpp',
178         '../third_party/skia/src/core/SkAdvancedTypefaceMetrics.cpp',
179         '../third_party/skia/src/core/SkAlphaRuns.cpp',
180         '../third_party/skia/src/core/SkAntiRun.h',
181         '../third_party/skia/src/core/SkBitmap.cpp',
182         '../third_party/skia/src/core/SkBitmapProcShader.cpp',
183         '../third_party/skia/src/core/SkBitmapProcShader.h',
184         '../third_party/skia/src/core/SkBitmapProcState.cpp',
185         '../third_party/skia/src/core/SkBitmapProcState.h',
186         '../third_party/skia/src/core/SkBitmapProcState_matrix.h',
187         '../third_party/skia/src/core/SkBitmapProcState_matrixProcs.cpp',
188         '../third_party/skia/src/core/SkBitmapProcState_sample.h',
189         '../third_party/skia/src/core/SkBitmapSampler.cpp',
190         '../third_party/skia/src/core/SkBitmapSampler.h',
191         '../third_party/skia/src/core/SkBitmapSamplerTemplate.h',
192         '../third_party/skia/src/core/SkBitmapShader16BilerpTemplate.h',
193         '../third_party/skia/src/core/SkBitmapShaderTemplate.h',
194         '../third_party/skia/src/core/SkBitmap_scroll.cpp',
195         '../third_party/skia/src/core/SkBlitBWMaskTemplate.h',
196         '../third_party/skia/src/core/SkBlitMask_D32.cpp',
197         '../third_party/skia/src/core/SkBlitRow_D16.cpp',
198         '../third_party/skia/src/core/SkBlitRow_D32.cpp',
199         '../third_party/skia/src/core/SkBlitRow_D4444.cpp',
200         '../third_party/skia/src/core/SkBlitter.cpp',
201         '../third_party/skia/src/core/SkBlitter_4444.cpp',
202         '../third_party/skia/src/core/SkBlitter_A1.cpp',
203         '../third_party/skia/src/core/SkBlitter_A8.cpp',
204         '../third_party/skia/src/core/SkBlitter_ARGB32.cpp',
205         '../third_party/skia/src/core/SkBlitter_RGB16.cpp',
206         '../third_party/skia/src/core/SkBlitter_Sprite.cpp',
207         '../third_party/skia/src/core/SkBuffer.cpp',
208         '../third_party/skia/src/core/SkCanvas.cpp',
209         '../third_party/skia/src/core/SkChunkAlloc.cpp',
210         '../third_party/skia/src/core/SkClampRange.cpp',
211         '../third_party/skia/src/core/SkClipStack.cpp',
212         '../third_party/skia/src/core/SkColor.cpp',
213         '../third_party/skia/src/core/SkColorFilter.cpp',
214         '../third_party/skia/src/core/SkColorTable.cpp',
215         '../third_party/skia/src/core/SkComposeShader.cpp',
216         '../third_party/skia/src/core/SkConcaveToTriangles.cpp',
217         '../third_party/skia/src/core/SkConcaveToTriangles.h',
218         '../third_party/skia/src/core/SkConfig8888.cpp',
219         '../third_party/skia/src/core/SkConfig8888.h',
220         '../third_party/skia/src/core/SkCordic.cpp',
221         '../third_party/skia/src/core/SkCordic.h',
222         '../third_party/skia/src/core/SkCoreBlitters.h',
223         '../third_party/skia/src/core/SkCubicClipper.cpp',
224         '../third_party/skia/src/core/SkCubicClipper.h',
225         '../third_party/skia/src/core/SkData.cpp',
226         '../third_party/skia/src/core/SkDebug.cpp',
227         #'../third_party/skia/src/core/SkDebug_stdio.cpp',
228         '../third_party/skia/src/core/SkDeque.cpp',
229         '../third_party/skia/src/core/SkDevice.cpp',
230         '../third_party/skia/src/core/SkDither.cpp',
231         '../third_party/skia/src/core/SkDraw.cpp',
232         '../third_party/skia/src/core/SkDrawProcs.h',
233         #'../third_party/skia/src/core/SkDrawing.cpp',
234         '../third_party/skia/src/core/SkEdgeBuilder.cpp',
235         '../third_party/skia/src/core/SkEdgeClipper.cpp',
236         '../third_party/skia/src/core/SkEdge.cpp',
237         '../third_party/skia/src/core/SkEdge.h',
238         '../third_party/skia/src/core/SkFP.h',
239         '../third_party/skia/src/core/SkFilterProc.cpp',
240         '../third_party/skia/src/core/SkFilterProc.h',
241         '../third_party/skia/src/core/SkFlate.cpp',
242         '../third_party/skia/src/core/SkFlattenable.cpp',
243         '../third_party/skia/src/core/SkFloat.cpp',
244         '../third_party/skia/src/core/SkFloat.h',
245         '../third_party/skia/src/core/SkFloatBits.cpp',
246         '../third_party/skia/src/core/SkFontHost.cpp',
247         '../third_party/skia/src/core/SkGeometry.cpp',
248         '../third_party/skia/src/core/SkGlyphCache.cpp',
249         '../third_party/skia/src/core/SkGlyphCache.h',
250         '../third_party/skia/src/core/SkGraphics.cpp',
251         '../third_party/skia/src/core/SkLineClipper.cpp',
252         '../third_party/skia/src/core/SkMMapStream.cpp',
253         '../third_party/skia/src/core/SkMallocPixelRef.cpp',
254         '../third_party/skia/src/core/SkMask.cpp',
255         '../third_party/skia/src/core/SkMaskFilter.cpp',
256         '../third_party/skia/src/core/SkMath.cpp',
257         '../third_party/skia/src/core/SkMatrix.cpp',
258         '../third_party/skia/src/core/SkMetaData.cpp',
259         '../third_party/skia/src/core/SkPackBits.cpp',
260         '../third_party/skia/src/core/SkPaint.cpp',
261         '../third_party/skia/src/core/SkPath.cpp',
262         '../third_party/skia/src/core/SkPathEffect.cpp',
263         '../third_party/skia/src/core/SkPathHeap.cpp',
264         '../third_party/skia/src/core/SkPathHeap.h',
265         '../third_party/skia/src/core/SkPathMeasure.cpp',
266         '../third_party/skia/src/core/SkPicture.cpp',
267         '../third_party/skia/src/core/SkPictureFlat.cpp',
268         '../third_party/skia/src/core/SkPictureFlat.h',
269         '../third_party/skia/src/core/SkPicturePlayback.cpp',
270         '../third_party/skia/src/core/SkPicturePlayback.h',
271         '../third_party/skia/src/core/SkPictureRecord.cpp',
272         '../third_party/skia/src/core/SkPictureRecord.h',
273         '../third_party/skia/src/core/SkPixelRef.cpp',
274         '../third_party/skia/src/core/SkPoint.cpp',
275         '../third_party/skia/src/core/SkProcSpriteBlitter.cpp',
276         '../third_party/skia/src/core/SkPtrRecorder.cpp',
277         '../third_party/skia/src/core/SkQuadClipper.cpp',
278         '../third_party/skia/src/core/SkQuadClipper.h',
279         '../third_party/skia/src/core/SkRasterClip.cpp',
280         '../third_party/skia/src/core/SkRasterizer.cpp',
281         '../third_party/skia/src/core/SkRect.cpp',
282         '../third_party/skia/src/core/SkRefDict.cpp',
283         '../third_party/skia/src/core/SkRegion.cpp',
284         '../third_party/skia/src/core/SkRegionPriv.h',
285         '../third_party/skia/src/core/SkRegion_path.cpp',
286         '../third_party/skia/src/core/SkScalar.cpp',
287         '../third_party/skia/src/core/SkScalerContext.cpp',
288         '../third_party/skia/src/core/SkScan.cpp',
289         '../third_party/skia/src/core/SkScanPriv.h',
290         '../third_party/skia/src/core/SkScan_AntiPath.cpp',
291         '../third_party/skia/src/core/SkScan_Antihair.cpp',
292         '../third_party/skia/src/core/SkScan_Hairline.cpp',
293         '../third_party/skia/src/core/SkScan_Path.cpp',
294         '../third_party/skia/src/core/SkShader.cpp',
295         '../third_party/skia/src/core/SkShape.cpp',
296         '../third_party/skia/src/core/SkSpriteBlitter_ARGB32.cpp',
297         '../third_party/skia/src/core/SkSpriteBlitter_RGB16.cpp',
298         '../third_party/skia/src/core/SkSinTable.h',
299         '../third_party/skia/src/core/SkSpriteBlitter.h',
300         '../third_party/skia/src/core/SkSpriteBlitterTemplate.h',
301         '../third_party/skia/src/core/SkStream.cpp',
302         '../third_party/skia/src/core/SkString.cpp',
303         '../third_party/skia/src/core/SkStroke.cpp',
304         '../third_party/skia/src/core/SkStrokerPriv.cpp',
305         '../third_party/skia/src/core/SkStrokerPriv.h',
306         '../third_party/skia/src/core/SkTextFormatParams.h',
307         '../third_party/skia/src/core/SkTSearch.cpp',
308         '../third_party/skia/src/core/SkTSort.h',
309         '../third_party/skia/src/core/SkTemplatesPriv.h',
310         '../third_party/skia/src/core/SkTypeface.cpp',
311         '../third_party/skia/src/core/SkTypefaceCache.cpp',
312         '../third_party/skia/src/core/SkUnPreMultiply.cpp',
313         '../third_party/skia/src/core/SkUtils.cpp',
314         '../third_party/skia/src/core/SkWriter32.cpp',
315         '../third_party/skia/src/core/SkXfermode.cpp',
317         '../third_party/skia/src/effects/Sk1DPathEffect.cpp',
318         '../third_party/skia/src/effects/Sk2DPathEffect.cpp',
319         '../third_party/skia/src/effects/SkAvoidXfermode.cpp',
320         '../third_party/skia/src/effects/SkBitmapCache.cpp',
321         '../third_party/skia/src/effects/SkBitmapCache.h',
322         '../third_party/skia/src/effects/SkBlurDrawLooper.cpp',
323         '../third_party/skia/src/effects/SkBlurImageFilter.cpp',
324         '../third_party/skia/src/effects/SkBlurMask.cpp',
325         '../third_party/skia/src/effects/SkBlurMask.h',
326         '../third_party/skia/src/effects/SkBlurMaskFilter.cpp',
327         '../third_party/skia/src/effects/SkColorFilters.cpp',
328         '../third_party/skia/src/effects/SkColorMatrixFilter.cpp',
329         '../third_party/skia/src/effects/SkCornerPathEffect.cpp',
330         '../third_party/skia/src/effects/SkDashPathEffect.cpp',
331         '../third_party/skia/src/effects/SkDiscretePathEffect.cpp',
332         '../third_party/skia/src/effects/SkEmbossMask.cpp',
333         '../third_party/skia/src/effects/SkEmbossMask.h',
334         '../third_party/skia/src/effects/SkEmbossMask_Table.h',
335         '../third_party/skia/src/effects/SkEmbossMaskFilter.cpp',
336         '../third_party/skia/src/effects/SkGradientShader.cpp',
337         '../third_party/skia/src/effects/SkKernel33MaskFilter.cpp',
338         '../third_party/skia/src/effects/SkLayerDrawLooper.cpp',
339         '../third_party/skia/src/effects/SkLayerRasterizer.cpp',
340         '../third_party/skia/src/effects/SkPaintFlagsDrawFilter.cpp',
341         '../third_party/skia/src/effects/SkPorterDuff.cpp',
342         '../third_party/skia/src/effects/SkPixelXorXfermode.cpp',
343         '../third_party/skia/src/effects/SkRadialGradient_Table.h',
344         '../third_party/skia/src/effects/SkTableColorFilter.cpp',
345         '../third_party/skia/src/effects/SkTransparentShader.cpp',
347         '../third_party/skia/src/gpu/GrAAConvexPathRenderer.cpp',
348         '../third_party/skia/src/gpu/GrAAConvexPathRenderer.h',
349         '../third_party/skia/src/gpu/GrAAHairLinePathRenderer.cpp',
350         '../third_party/skia/src/gpu/GrAAHairLinePathRenderer.h',
351         '../third_party/skia/src/gpu/GrAddPathRenderers_default.cpp',
352         '../third_party/skia/src/gpu/GrAllocPool.cpp',
353         '../third_party/skia/src/gpu/GrAllocPool.h',
354         '../third_party/skia/src/gpu/GrAllocator.h',
355         '../third_party/skia/src/gpu/GrAtlas.cpp',
356         '../third_party/skia/src/gpu/GrAtlas.h',
357         '../third_party/skia/src/gpu/GrBufferAllocPool.cpp',
358         '../third_party/skia/src/gpu/GrBufferAllocPool.h',
359         '../third_party/skia/src/gpu/GrClip.cpp',
360         '../third_party/skia/src/gpu/GrContext.cpp',
361         '../third_party/skia/src/gpu/GrDefaultPathRenderer.cpp',
362         '../third_party/skia/src/gpu/GrDefaultPathRenderer.h',
363         '../third_party/skia/src/gpu/GrDrawTarget.cpp',
364         '../third_party/skia/src/gpu/GrDrawTarget.h',
365         '../third_party/skia/src/gpu/GrGeometryBuffer.h',
366         '../third_party/skia/src/gpu/GrGpu.cpp',
367         '../third_party/skia/src/gpu/GrGpu.h',
368         '../third_party/skia/src/gpu/GrGpuFactory.cpp',
369         '../third_party/skia/src/gpu/GrInOrderDrawBuffer.cpp',
370         '../third_party/skia/src/gpu/GrInOrderDrawBuffer.h',
371         '../third_party/skia/src/gpu/GrIndexBuffer.h',
372         '../third_party/skia/src/gpu/GrMatrix.cpp',
373         '../third_party/skia/src/gpu/GrMemory.cpp',
374         '../third_party/skia/src/gpu/GrPathRenderer.cpp',
375         '../third_party/skia/src/gpu/GrPathRenderer.h',
376         '../third_party/skia/src/gpu/GrPathRendererChain.cpp',
377         '../third_party/skia/src/gpu/GrPathRendererChain.h',
378         '../third_party/skia/src/gpu/GrPathUtils.cpp',
379         '../third_party/skia/src/gpu/GrPlotMgr.h',
380         '../third_party/skia/src/gpu/GrPrintf_skia.cpp',
381         '../third_party/skia/src/gpu/GrRandom.h',
382         '../third_party/skia/src/gpu/GrRectanizer.h',
383         '../third_party/skia/src/gpu/GrRectanizer_fifo.cpp',
384         '../third_party/skia/src/gpu/GrRenderTarget.cpp',
385         '../third_party/skia/src/gpu/GrResource.cpp',
386         '../third_party/skia/src/gpu/GrResourceCache.cpp',
387         '../third_party/skia/src/gpu/GrResourceCache.h',
388         '../third_party/skia/src/gpu/GrStencil.cpp',
389         '../third_party/skia/src/gpu/GrStencil.h',
390         '../third_party/skia/src/gpu/GrStencilBuffer.cpp',
391         '../third_party/skia/src/gpu/GrStencilBuffer.h',
392         '../third_party/skia/src/gpu/GrStringBuilder.h',
393         '../third_party/skia/src/gpu/GrTBSearch.h',
394         '../third_party/skia/src/gpu/GrTDArray.h',
395         '../third_party/skia/src/gpu/GrTHashCache.h',
396         '../third_party/skia/src/gpu/GrTLList.h',
397         '../third_party/skia/src/gpu/GrTesselatedPathRenderer.cpp',
398         '../third_party/skia/src/gpu/GrTesselatedPathRenderer.h',
399         '../third_party/skia/src/gpu/GrTextContext.cpp',
400         '../third_party/skia/src/gpu/GrTextStrike.cpp',
401         '../third_party/skia/src/gpu/GrTextStrike.h',
402         '../third_party/skia/src/gpu/GrTextStrike_impl.h',
403         '../third_party/skia/src/gpu/GrTexture.cpp',
404         '../third_party/skia/src/gpu/GrVertexBuffer.h',
405         '../third_party/skia/src/gpu/SkGpuCanvas.cpp',
406         '../third_party/skia/src/gpu/SkGpuDevice.cpp',
407         '../third_party/skia/src/gpu/SkGr.cpp',
408         '../third_party/skia/src/gpu/SkGrFontScaler.cpp',
409         '../third_party/skia/src/gpu/SkGrTexturePixelRef.cpp',
410         '../third_party/skia/src/gpu/gl/GrGLCaps.cpp',
411         '../third_party/skia/src/gpu/gl/GrGLCaps.h',
412         '../third_party/skia/src/gpu/gl/GrGLContextInfo.cpp',
413         '../third_party/skia/src/gpu/gl/GrGLContextInfo.h',
414         '../third_party/skia/src/gpu/gl/GrGLCreateNativeInterface_none.cpp',
415         '../third_party/skia/src/gpu/gl/GrGLDefaultInterface_none.cpp',
416         '../third_party/skia/src/gpu/gl/GrGLIRect.h',
417         '../third_party/skia/src/gpu/gl/GrGLIndexBuffer.cpp',
418         '../third_party/skia/src/gpu/gl/GrGLIndexBuffer.h',
419         '../third_party/skia/src/gpu/gl/GrGLInterface.cpp',
420         '../third_party/skia/src/gpu/gl/GrGLProgram.cpp',
421         '../third_party/skia/src/gpu/gl/GrGLProgram.h',
422         '../third_party/skia/src/gpu/gl/GrGLRenderTarget.cpp',
423         '../third_party/skia/src/gpu/gl/GrGLRenderTarget.h',
424         '../third_party/skia/src/gpu/gl/GrGLSL.cpp',
425         '../third_party/skia/src/gpu/gl/GrGLSL.h',
426         '../third_party/skia/src/gpu/gl/GrGLStencilBuffer.cpp',
427         '../third_party/skia/src/gpu/gl/GrGLTexture.cpp',
428         '../third_party/skia/src/gpu/gl/GrGLTexture.h',
429         '../third_party/skia/src/gpu/gl/GrGLUtil.cpp',
430         '../third_party/skia/src/gpu/gl/GrGLVertexBuffer.cpp',
431         '../third_party/skia/src/gpu/gl/GrGLVertexBuffer.h',
432         '../third_party/skia/src/gpu/gl/GrGpuGL.cpp',
433         '../third_party/skia/src/gpu/gl/GrGpuGL.h',
434         '../third_party/skia/src/gpu/gl/GrGpuGLShaders.cpp',
435         '../third_party/skia/src/gpu/gl/GrGpuGLShaders.h',
437         '../third_party/skia/src/images/bmpdecoderhelper.cpp',
438         '../third_party/skia/src/images/bmpdecoderhelper.h',
439         '../third_party/skia/src/images/SkBitmap_RLEPixels.h',
440         '../third_party/skia/src/images/SkCreateRLEPixelRef.cpp',
441         #'../third_party/skia/src/images/SkFDStream.cpp',
442         #'../third_party/skia/src/images/SkFlipPixelRef.cpp',
443         '../third_party/skia/src/images/SkImageDecoder.cpp',
444         '../third_party/skia/src/images/SkImageDecoder_Factory.cpp',
445         #'../third_party/skia/src/images/SkImageDecoder_fpdfemb.cpp',
446         #'../third_party/skia/src/images/SkImageDecoder_libbmp.cpp',
447         #'../third_party/skia/src/images/SkImageDecoder_libgif.cpp',
448         #'../third_party/skia/src/images/SkImageDecoder_libico.cpp',
449         #'../third_party/skia/src/images/SkImageDecoder_libjpeg.cpp',
450         #'../third_party/skia/src/images/SkImageDecoder_libpng.cpp',
451         #'../third_party/skia/src/images/SkImageDecoder_libpvjpeg.cpp',
452         #'../third_party/skia/src/images/SkImageDecoder_wbmp.cpp',
453         #'../third_party/skia/src/images/SkImageEncoder.cpp',
454         #'../third_party/skia/src/images/SkImageEncoder_Factory.cpp',
455         #'../third_party/skia/src/images/SkImageRef.cpp',
456         #'../third_party/skia/src/images/SkImageRefPool.cpp',
457         #'../third_party/skia/src/images/SkImageRefPool.h',
458         #'../third_party/skia/src/images/SkImageRef_GlobalPool.cpp',
459         #'../third_party/skia/src/images/SkMovie.cpp',
460         #'../third_party/skia/src/images/SkMovie_gif.cpp',
461         '../third_party/skia/src/images/SkScaledBitmapSampler.cpp',
462         '../third_party/skia/src/images/SkScaledBitmapSampler.h',
464         '../third_party/skia/src/opts/opts_check_SSE2.cpp',
466         '../third_party/skia/src/pdf/SkBitSet.cpp',
467         '../third_party/skia/src/pdf/SkPDFCatalog.cpp',
468         '../third_party/skia/src/pdf/SkPDFDevice.cpp',
469         '../third_party/skia/src/pdf/SkPDFDocument.cpp',
470         '../third_party/skia/src/pdf/SkPDFFont.cpp',
471         '../third_party/skia/src/pdf/SkPDFFormXObject.cpp',
472         '../third_party/skia/src/pdf/SkPDFGraphicState.cpp',
473         '../third_party/skia/src/pdf/SkPDFImage.cpp',
474         '../third_party/skia/src/pdf/SkPDFPage.cpp',
475         '../third_party/skia/src/pdf/SkPDFShader.cpp',
476         '../third_party/skia/src/pdf/SkPDFStream.cpp',
477         '../third_party/skia/src/pdf/SkPDFTypes.cpp',
478         '../third_party/skia/src/pdf/SkPDFUtils.cpp',
480         '../third_party/skia/src/ports/FontHostConfiguration_android.cpp',
481         #'../third_party/skia/src/ports/SkFontHost_FONTPATH.cpp',
482         '../third_party/skia/src/ports/SkFontHost_FreeType.cpp',
483         '../third_party/skia/src/ports/SkFontHost_android.cpp',
484         #'../third_party/skia/src/ports/SkFontHost_ascender.cpp',
485         '../third_party/skia/src/ports/SkFontHost_tables.cpp',
486         '../third_party/skia/src/ports/SkFontHost_gamma.cpp',
487         '../third_party/skia/src/ports/SkFontHost_gamma_none.cpp',
488         #'../third_party/skia/src/ports/SkFontHost_linux.cpp',
489         '../third_party/skia/src/ports/SkFontHost_mac.cpp',
490         #'../third_party/skia/src/ports/SkFontHost_none.cpp',
491         '../third_party/skia/src/ports/SkFontHost_sandbox_none.cpp',
492         '../third_party/skia/src/ports/SkFontHost_win.cpp',
493         '../third_party/skia/src/ports/SkGlobalInitialization_chromium.cpp',
494         #'../third_party/skia/src/ports/SkImageDecoder_CG.cpp',
495         #'../third_party/skia/src/ports/SkImageDecoder_empty.cpp',
496         #'../third_party/skia/src/ports/SkImageRef_ashmem.cpp',
497         #'../third_party/skia/src/ports/SkImageRef_ashmem.h',
498         #'../third_party/skia/src/ports/SkOSEvent_android.cpp',
499         #'../third_party/skia/src/ports/SkOSEvent_dummy.cpp',
500         '../third_party/skia/src/ports/SkOSFile_stdio.cpp',
501         #'../third_party/skia/src/ports/SkThread_none.cpp',
502         '../third_party/skia/src/ports/SkThread_pthread.cpp',
503         '../third_party/skia/src/ports/SkThread_win.cpp',
504         '../third_party/skia/src/ports/SkTime_Unix.cpp',
505         #'../third_party/skia/src/ports/SkXMLParser_empty.cpp',
506         #'../third_party/skia/src/ports/SkXMLParser_expat.cpp',
507         #'../third_party/skia/src/ports/SkXMLParser_tinyxml.cpp',
508         #'../third_party/skia/src/ports/SkXMLPullParser_expat.cpp',
509         '../third_party/skia/src/ports/sk_predefined_gamma.h',
511         '../third_party/skia/include/utils/mac/SkCGUtils.h',
512         '../third_party/skia/include/utils/SkDeferredCanvas.h',
513         '../third_party/skia/include/utils/SkMatrix44.h',
514         '../third_party/skia/src/utils/mac/SkCreateCGImageRef.cpp',
515         '../third_party/skia/src/utils/SkDeferredCanvas.cpp',
516         '../third_party/skia/src/utils/SkMatrix44.cpp',
518         '../third_party/skia/include/core/Sk64.h',
519         '../third_party/skia/include/core/SkAdvancedTypefaceMetrics.h',
520         '../third_party/skia/include/core/SkAutoKern.h',
521         '../third_party/skia/include/core/SkBitmap.h',
522         '../third_party/skia/include/core/SkBlitRow.h',
523         '../third_party/skia/include/core/SkBlitter.h',
524         '../third_party/skia/include/core/SkBounder.h',
525         '../third_party/skia/include/core/SkBuffer.h',
526         '../third_party/skia/include/core/SkCanvas.h',
527         '../third_party/skia/include/core/SkChunkAlloc.h',
528         '../third_party/skia/include/core/SkClipStack.h',
529         '../third_party/skia/include/core/SkColor.h',
530         '../third_party/skia/include/core/SkColorFilter.h',
531         '../third_party/skia/include/core/SkColorPriv.h',
532         '../third_party/skia/include/core/SkColorShader.h',
533         '../third_party/skia/include/core/SkComposeShader.h',
534         '../third_party/skia/include/core/SkData.h',
535         '../third_party/skia/include/core/SkDeque.h',
536         '../third_party/skia/include/core/SkDescriptor.h',
537         '../third_party/skia/include/core/SkDevice.h',
538         '../third_party/skia/include/core/SkDither.h',
539         '../third_party/skia/include/core/SkDraw.h',
540         '../third_party/skia/include/core/SkDrawFilter.h',
541         '../third_party/skia/include/core/SkDrawLooper.h',
542         #'../third_party/skia/include/core/SkDrawing.h',
543         '../third_party/skia/include/core/SkEndian.h',
544         '../third_party/skia/include/core/SkFDot6.h',
545         '../third_party/skia/include/core/SkFixed.h',
546         '../third_party/skia/include/core/SkFlate.h',
547         '../third_party/skia/include/core/SkFlattenable.h',
548         '../third_party/skia/include/core/SkFloatBits.h',
549         '../third_party/skia/include/core/SkFloatingPoint.h',
550         '../third_party/skia/include/core/SkFontHost.h',
551         '../third_party/skia/include/core/SkGeometry.h',
552         '../third_party/skia/include/core/SkGraphics.h',
553         '../third_party/skia/include/core/SkMMapStream.h',
554         '../third_party/skia/include/core/SkMallocPixelRef.h',
555         '../third_party/skia/include/core/SkMask.h',
556         '../third_party/skia/include/core/SkMaskFilter.h',
557         '../third_party/skia/include/core/SkMath.h',
558         '../third_party/skia/include/core/SkMatrix.h',
559         '../third_party/skia/include/core/SkOSFile.h',
560         '../third_party/skia/include/core/SkPackBits.h',
561         '../third_party/skia/include/core/SkPaint.h',
562         '../third_party/skia/include/core/SkPath.h',
563         '../third_party/skia/include/core/SkPathEffect.h',
564         '../third_party/skia/include/core/SkPathMeasure.h',
565         '../third_party/skia/include/core/SkPerspIter.h',
566         '../third_party/skia/include/core/SkPicture.h',
567         '../third_party/skia/include/core/SkPixelRef.h',
568         '../third_party/skia/include/core/SkPoint.h',
569         '../third_party/skia/include/core/SkPtrRecorder.h',
570         '../third_party/skia/include/core/SkRandom.h',
571         '../third_party/skia/include/core/SkRasterizer.h',
572         '../third_party/skia/include/core/SkReader32.h',
573         '../third_party/skia/include/core/SkRect.h',
574         '../third_party/skia/include/core/SkRefCnt.h',
575         '../third_party/skia/include/core/SkRefDict.h',
576         '../third_party/skia/include/core/SkRegion.h',
577         '../third_party/skia/include/core/SkScalar.h',
578         '../third_party/skia/include/core/SkScalarCompare.h',
579         '../third_party/skia/include/core/SkScalerContext.h',
580         '../third_party/skia/include/core/SkScan.h',
581         '../third_party/skia/include/core/SkShader.h',
582         '../third_party/skia/include/core/SkStream.h',
583         '../third_party/skia/include/core/SkString.h',
584         '../third_party/skia/include/core/SkStroke.h',
585         '../third_party/skia/include/core/SkTArray.h',
586         '../third_party/skia/include/core/SkTDArray.h',
587         '../third_party/skia/include/core/SkTDStack.h',
588         '../third_party/skia/include/core/SkTDict.h',
589         '../third_party/skia/include/core/SkTRegistry.h',
590         '../third_party/skia/include/core/SkTScopedPtr.h',
591         '../third_party/skia/include/core/SkTSearch.h',
592         '../third_party/skia/include/core/SkTemplates.h',
593         '../third_party/skia/include/core/SkThread.h',
594         '../third_party/skia/include/core/SkThread_platform.h',
595         '../third_party/skia/include/core/SkTime.h',
596         '../third_party/skia/include/core/SkTypeface.h',
597         '../third_party/skia/include/core/SkTypes.h',
598         '../third_party/skia/include/core/SkUnPreMultiply.h',
599         '../third_party/skia/include/core/SkUnitMapper.h',
600         '../third_party/skia/include/core/SkUtils.h',
601         '../third_party/skia/include/core/SkWriter32.h',
602         '../third_party/skia/include/core/SkXfermode.h',
604         '../third_party/skia/include/effects/Sk1DPathEffect.h',
605         '../third_party/skia/include/effects/Sk2DPathEffect.h',
606         '../third_party/skia/include/effects/SkAvoidXfermode.h',
607         '../third_party/skia/include/effects/SkBlurDrawLooper.h',
608         '../third_party/skia/include/effects/SkBlurImageFilter.h',
609         '../third_party/skia/include/effects/SkBlurMaskFilter.h',
610         '../third_party/skia/include/effects/SkColorMatrix.h',
611         '../third_party/skia/include/effects/SkColorMatrixFilter.h',
612         '../third_party/skia/include/effects/SkCornerPathEffect.h',
613         '../third_party/skia/include/effects/SkDashPathEffect.h',
614         '../third_party/skia/include/effects/SkDiscretePathEffect.h',
615         '../third_party/skia/include/effects/SkDrawExtraPathEffect.h',
616         '../third_party/skia/include/effects/SkEmbossMaskFilter.h',
617         '../third_party/skia/include/effects/SkGradientShader.h',
618         '../third_party/skia/include/effects/SkKernel33MaskFilter.h',
619         '../third_party/skia/include/effects/SkLayerDrawLooper.h',
620         '../third_party/skia/include/effects/SkLayerRasterizer.h',
621         '../third_party/skia/include/effects/SkPaintFlagsDrawFilter.h',
622         '../third_party/skia/include/effects/SkPixelXorXfermode.h',
623         '../third_party/skia/include/effects/SkPorterDuff.h',
624         '../third_party/skia/include/effects/SkTransparentShader.h',
626         '../third_party/skia/include/gpu/GrClip.h',
627         '../third_party/skia/include/gpu/GrClipIterator.h',
628         '../third_party/skia/include/gpu/GrColor.h',
629         '../third_party/skia/include/gpu/GrConfig.h',
630         '../third_party/skia/include/gpu/GrContext.h',
631         '../third_party/skia/include/gpu/GrFontScaler.h',
632         '../third_party/skia/include/gpu/gl/GrGLConfig.h',
633         '../third_party/skia/include/gpu/gl/GrGLConfig_chrome.h',
634         '../third_party/skia/include/gpu/gl/GrGLInterface.h',
635         '../third_party/skia/include/gpu/GrGlyph.h',
636         '../third_party/skia/include/gpu/GrInstanceCounter.h',
637         '../third_party/skia/include/gpu/GrKey.h',
638         '../third_party/skia/include/gpu/GrMatrix.h',
639         '../third_party/skia/include/gpu/GrNoncopyable.h',
640         '../third_party/skia/include/gpu/GrPaint.h',
641         '../third_party/skia/include/gpu/GrPath.h',
642         '../third_party/skia/include/gpu/GrPoint.h',
643         '../third_party/skia/include/gpu/GrRect.h',
644         '../third_party/skia/include/gpu/GrRefCnt.h',
645         '../third_party/skia/include/gpu/GrRenderTarget.h',
646         '../third_party/skia/include/gpu/GrSamplerState.h',
647         '../third_party/skia/include/gpu/GrScalar.h',
648         '../third_party/skia/include/gpu/GrTextContext.h',
649         '../third_party/skia/include/gpu/GrTexture.h',
650         '../third_party/skia/include/gpu/GrTypes.h',
651         '../third_party/skia/include/gpu/GrUserConfig.h',
652         '../third_party/skia/include/gpu/SkGpuCanvas.h',
653         '../third_party/skia/include/gpu/SkGpuDevice.h',
654         '../third_party/skia/include/gpu/SkGr.h',
655         '../third_party/skia/include/gpu/SkGrTexturePixelRef.h',
657         '../third_party/skia/include/pdf/SkBitSet.h',
658         '../third_party/skia/include/pdf/SkPDFCatalog.h',
659         '../third_party/skia/include/pdf/SkPDFDevice.h',
660         '../third_party/skia/include/pdf/SkPDFDocument.h',
661         '../third_party/skia/include/pdf/SkPDFFont.h',
662         '../third_party/skia/include/pdf/SkPDFFormXObject.h',
663         '../third_party/skia/include/pdf/SkPDFGraphicState.h',
664         '../third_party/skia/include/pdf/SkPDFImage.h',
665         '../third_party/skia/include/pdf/SkPDFPage.h',
666         '../third_party/skia/include/pdf/SkPDFShader.h',
667         '../third_party/skia/include/pdf/SkPDFStream.h',
668         '../third_party/skia/include/pdf/SkPDFTypes.h',
669         '../third_party/skia/include/pdf/SkPDFUtils.h',
671         '../third_party/skia/include/ports/SkStream_Win.h',
672         '../third_party/skia/include/ports/SkTypeface_win.h',
674         '../third_party/skia/include/images/SkFlipPixelRef.h',
675         '../third_party/skia/include/images/SkImageDecoder.h',
676         '../third_party/skia/include/images/SkImageEncoder.h',
677         '../third_party/skia/include/images/SkImageRef.h',
678         '../third_party/skia/include/images/SkImageRef_GlobalPool.h',
679         '../third_party/skia/include/images/SkMovie.h',
680         '../third_party/skia/include/images/SkPageFlipper.h',
682         'ext/bitmap_platform_device.h',
683         'ext/bitmap_platform_device_android.cc',
684         'ext/bitmap_platform_device_android.h',
685         'ext/bitmap_platform_device_data.h',
686         'ext/bitmap_platform_device_linux.cc',
687         'ext/bitmap_platform_device_linux.h',
688         'ext/bitmap_platform_device_mac.cc',
689         'ext/bitmap_platform_device_mac.h',
690         'ext/bitmap_platform_device_win.cc',
691         'ext/bitmap_platform_device_win.h',
692         'ext/convolver.cc',
693         'ext/convolver.h',
694         'ext/google_logging.cc',
695         'ext/image_operations.cc',
696         'ext/image_operations.h',
697         'ext/SkThread_chrome.cc',
698         'ext/platform_canvas.cc',
699         'ext/platform_canvas.h',
700         'ext/platform_canvas_linux.cc',
701         'ext/platform_canvas_mac.cc',
702         'ext/platform_canvas_win.cc',
703         'ext/platform_device.cc',
704         'ext/platform_device.h',
705         'ext/platform_device_linux.cc',
706         'ext/platform_device_mac.cc',
707         'ext/platform_device_win.cc',
708         'ext/SkMemory_new_handler.cpp',
709         'ext/skia_sandbox_support_win.h',
710         'ext/skia_sandbox_support_win.cc',
711         'ext/skia_utils_mac.mm',
712         'ext/skia_utils_mac.h',
713         'ext/skia_utils_win.cc',
714         'ext/skia_utils_win.h',
715         'ext/vector_canvas.cc',
716         'ext/vector_canvas.h',
717         'ext/vector_platform_device_emf_win.cc',
718         'ext/vector_platform_device_emf_win.h',
719         'ext/vector_platform_device_skia.cc',
720         'ext/vector_platform_device_skia.h',
721       ],
722       'include_dirs': [
723         '..',
724         'config',
725         '../third_party/skia/include/config',
726         '../third_party/skia/include/core',
727         '../third_party/skia/include/effects',
728         '../third_party/skia/include/gpu',
729         '../third_party/skia/include/gpu/gl',
730         '../third_party/skia/include/images',
731         '../third_party/skia/include/pdf',
732         '../third_party/skia/include/ports',
733         '../third_party/skia/include/utils',
734         '../third_party/skia/src/core',
735       ],
736       'msvs_disabled_warnings': [4244, 4267,4345, 4390, 4554, 4800],
737       'mac_framework_dirs': [
738         '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Frameworks',
739       ],
740       'defines': [
741         'SK_BUILD_NO_IMAGE_ENCODE',
742         'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"',
743         'GR_STATIC_RECT_VB=1',
744         'GR_USE_OFFSCREEN_AA=0',
745         'GR_AGGRESSIVE_SHADER_OPTS=1',
746         'SK_DISABLE_FAST_AA_STROKE_RECT',
747         'SK_DEFAULT_FONT_CACHE_LIMIT=(20*1024*1024)',
749         # temporary for landing Skia rev 3077 with minimal layout test breakage
750         'SK_SIMPLE_TWOCOLOR_VERTICAL_GRADIENTS',
752         # skia uses static initializers to initialize the serialization logic
753         # of its "pictures" library. This is currently not used in chrome; if
754         # it ever gets used the processes that use it need to call
755         # SkGraphics::Init().
756         'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=0',
758         # Temporarily disable the Skia fix in
759         # http://code.google.com/p/skia/source/detail?r=3037 ; enabling that
760         # fix will require substantial rebaselining.
761         'SK_DRAW_POS_TEXT_IGNORE_SUBPIXEL_LEFT_ALIGN_FIX',
762       ],
763       'sources!': [
764         '../third_party/skia/include/core/SkTypes.h',
765       ],
766       'conditions': [
767         [ 'OS != "android"', {
768           'sources/': [
769             ['exclude', '_android\\.(cc|cpp)$'],
770           ],
771           'sources!': [
772             # Below files are only used by Android
773             '../third_party/skia/src/ports/SkFontHost_gamma.cpp',
774             '../third_party/skia/src/ports/SkThread_pthread.cpp',
775           ],
776         }],
777         [ 'OS != "mac"', {
778           'sources/': [
779             ['exclude', '_mac\\.(cc|cpp|mm?)$'],
780             ['exclude', '/mac/']
781           ],
782         }],
783         [ 'OS != "win"', {
784           'sources/': [ ['exclude', '_win\\.(cc|cpp)$'] ],
785         }],
786         [ 'armv7 == 1', {
787           'defines': [
788             '__ARM_ARCH__=7',
789           ],
790         }],
791         [ 'armv7 == 1 and arm_neon == 1', {
792           'defines': [
793             '__ARM_HAVE_NEON',
794           ],
795         }],
796         [ 'target_arch == "arm"', {
797           'sources!': [
798             '../third_party/skia/src/opts/opts_check_SSE2.cpp'
799           ],
800         }],
801         [ 'use_glib == 1', {
802           'dependencies': [
803             '../build/linux/system.gyp:fontconfig',
804             '../build/linux/system.gyp:freetype2',
805             '../build/linux/system.gyp:pangocairo',
806             '../third_party/harfbuzz/harfbuzz.gyp:harfbuzz',
807             '../third_party/icu/icu.gyp:icuuc',
808           ],
809           'cflags': [
810             '-Wno-unused',
811             '-Wno-unused-function',
812           ],
813           'sources': [
814             'ext/SkFontHost_fontconfig.cpp',
815             'ext/SkFontHost_fontconfig_direct.cpp',
816           ],
817         }],
818         [ 'use_glib == 0 and OS != "android"', {
819           'sources/': [ ['exclude', '_linux\\.(cc|cpp)$'] ],
820           'sources!': [
821             '../third_party/skia/src/ports/SkFontHost_FreeType.cpp',
822             '../third_party/skia/src/ports/SkFontHost_TryeType_Tables.cpp',
823             '../third_party/skia/src/ports/SkFontHost_gamma_none.cpp',
824             '../third_party/skia/src/ports/SkFontHost_tables.cpp',
825           ],
826         }],
827         [ 'OS == "android"', {
828           'sources/': [
829             ['exclude', '_linux\\.(cc|cpp)$'],
830             ['include', 'ext/platform_device_linux\\.cc$'],
831             ['include', 'ext/platform_canvas_linux\\.cc$'],
832           ],
833         }],
834         [ 'toolkit_uses_gtk == 1', {
835           'dependencies': [
836             '../build/linux/system.gyp:gdk',
837           ],
838         }, {  # toolkit_uses_gtk == 0
839           'sources/': [ ['exclude', '_gtk\\.(cc|cpp)$'] ],
840         }],
841         [ 'OS == "android"', {
842           'defines': [
843             'SK_BUILD_FOR_ANDROID_NDK',
844           ],
845           'conditions': [
846             [ '_toolset == "target"', {
847               'defines': [
848                 'HAVE_ENDIAN_H',
849                 'HAVE_PTHREADS',
850                 'OS_ANDROID',
851                 'USE_CHROMIUM_SKIA',
852               ],
853               'dependencies': [
854                 '../third_party/freetype/freetype.gyp:ft2',
855                 '../third_party/harfbuzz/harfbuzz.gyp:harfbuzz',
856                 '../third_party/expat/expat.gyp:expat',
857                 'skia_opts'
858               ],
859               'dependencies!': [
860                 # Android doesn't use Skia's PDF generation, which is what uses
861                 # sfntly.
862                 '../third_party/sfntly/sfntly.gyp:sfntly',
863               ],
864               # This exports a hard dependency because it needs to run its
865               # symlink action in order to expose the skia header files.
866               'hard_dependency': 1,
867               'include_dirs': [
868                 '../third_party/expat/files/lib',
869               ],
870               'sources!': [
871                 'ext/SkThread_chrome.cc',
872                 'ext/vector_platform_device_skia.cc',
873                 '../third_party/skia/src/core/SkTypefaceCache.cpp',
874                 '../third_party/skia/src/ports/SkFontHost_gamma_none.cpp',
875               ],
876               'export_dependent_settings': [
877                 '../third_party/harfbuzz/harfbuzz.gyp:harfbuzz',
878               ],
879             }],
880             [ '_toolset=="host" and host_os=="linux"', {
881               'sources': [
882                 'ext/platform_device_linux.cc',
883                 'ext/platform_canvas_linux.cc',
884               ],
885             }],
886           ],
887         }],
888         [ 'OS == "mac"', {
889           'defines': [
890             'SK_BUILD_FOR_MAC',
891           ],
892           'include_dirs': [
893             '../third_party/skia/include/utils/mac',
894           ],
895           'link_settings': {
896             'libraries': [
897               '$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
898             ],
899           },
900           'conditions': [
901              [ 'use_skia == 0', {
902                'sources/': [
903                  ['exclude', '/pdf/'],
904                  ['exclude', 'ext/vector_platform_device_skia\\.(cc|h)'],
905                ],
906             },
907             { # use_skia
908               'defines': [
909                 'SK_USE_MAC_CORE_TEXT',
910 #                'SK_USE_COLOR_LUMINANCE',
911               ],
912             }],
913           ],
914         }],
915         [ 'OS == "win"', {
916           'sources!': [
917             '../third_party/skia/src/core/SkMMapStream.cpp',
918             '../third_party/skia/src/ports/SkTime_Unix.cpp',
919             '../third_party/skia/src/ports/SkFontHost_sandbox_none.cpp',
920             'ext/SkThread_chrome.cc',
921           ],
922           'include_dirs': [
923             'config/win',
924           ],
925           'direct_dependent_settings': {
926             'include_dirs': [
927               'config/win',
928             ],
929           },
930         }],
931         ['component=="shared_library"', {
932           'defines': [
933             'GR_DLL=1',
934             'GR_IMPLEMENTATION=1',
935             'SKIA_DLL',
936             'SKIA_IMPLEMENTATION=1',
937           ],
938           'dependencies': [
939             '../base/base.gyp:base',
940           ],
941           'direct_dependent_settings': {
942             'defines': [
943               'GR_DLL',
944               'SKIA_DLL',
945             ],
946           },
947         }],
948       ],
949       'dependencies': [
950         'skia_opts',
951         'skia_libtess',
952         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
953         '../third_party/sfntly/sfntly.gyp:sfntly',
954         '../third_party/zlib/zlib.gyp:zlib',
955       ],
956       'direct_dependent_settings': {
957         'include_dirs': [
958           'config',
959           '../third_party/skia/include/config',
960           '../third_party/skia/include/core',
961           '../third_party/skia/include/effects',
962           '../third_party/skia/include/pdf',
963           '../third_party/skia/include/gpu',
964           '../third_party/skia/include/gpu/gl',
965           '../third_party/skia/include/ports',
966           '../third_party/skia/include/utils',
967           'ext',
968         ],
969         'mac_framework_dirs': [
970           '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Frameworks',
971         ],
972         'defines': [
973           'SK_BUILD_NO_IMAGE_ENCODE',
974           'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"',
975           'GR_AGGRESSIVE_SHADER_OPTS=1',
976         ],
977         'conditions': [
978           ['OS=="android"', {
979             'defines': [
980               'SK_BUILD_FOR_ANDROID_NDK',
981             ],
982             'conditions': [
983               [ '_toolset == "target"', {
984                 'defines': [
985                   'HAVE_ENDIAN_H',
986                   'SK_RELEASE',  # Assume platform has a release build.
987                 ],
988                 'dependencies!': [
989                   'skia_opts',
990                   '../third_party/zlib/zlib.gyp:zlib',
991                 ],
992               }],
993             ],
994           }],
995           ['OS=="mac"', {
996             'include_dirs': [
997               '../third_party/skia/include/utils/mac',
998             ],
999           }],
1000         ],
1001       },
1002     },
1004     # Due to an unfortunate intersection of lameness between gcc and gyp,
1005     # we have to build the *_SSE2.cpp files in a separate target.  The
1006     # gcc lameness is that, in order to compile SSE2 intrinsics code, it
1007     # must be passed the -msse2 flag.  However, with this flag, it may
1008     # emit SSE2 instructions even for scalar code, such as the CPUID
1009     # test used to test for the presence of SSE2.  So that, and all other
1010     # code must be compiled *without* -msse2.  The gyp lameness is that it
1011     # does not allow file-specific CFLAGS, so we must create this extra
1012     # target for those files to be compiled with -msse2.
1013     #
1014     # This is actually only a problem on 32-bit Linux (all Intel Macs have
1015     # SSE2, Linux x86_64 has SSE2 by definition, and MSC will happily emit
1016     # SSE2 from instrinsics, which generating plain ol' 386 for everything
1017     # else).  However, to keep the .gyp file simple and avoid platform-specific
1018     # build breakage, we do this on all platforms.
1020     # For about the same reason, we need to compile the ARM opts files
1021     # separately as well.
1022     {
1023       'target_name': 'skia_opts',
1024       'type': 'static_library',
1025       'variables': {
1026         'optimize': 'max',
1027       },
1028       'include_dirs': [
1029         '..',
1030         'config',
1031         '../third_party/skia/include/config',
1032         '../third_party/skia/include/core',
1033         '../third_party/skia/include/effects',
1034         '../third_party/skia/include/images',
1035         '../third_party/skia/include/utils',
1036         '../third_party/skia/src/core',
1037       ],
1038       'conditions': [
1039         [ 'os_posix == 1 and OS != "mac" and OS != "android" and target_arch != "arm"', {
1040           'cflags': [
1041             '-msse2',
1042           ],
1043         }],
1044         [ 'OS == "android"', {
1045           'defines': [
1046             'SK_BUILD_FOR_ANDROID_NDK',
1047           ],
1048         }],
1049         [ 'target_arch != "arm"', {
1050           'sources': [
1051             '../third_party/skia/src/opts/SkBitmapProcState_opts_SSE2.cpp',
1052             '../third_party/skia/src/opts/SkBlitRow_opts_SSE2.cpp',
1053             '../third_party/skia/src/opts/SkUtils_opts_SSE2.cpp',
1054           ],
1055           'dependencies': [
1056             'skia_opts_ssse3',
1057           ],
1058         },
1059         {  # arm
1060           'conditions': [
1061             [ 'armv7 == 1', {
1062               'defines': [
1063                 '__ARM_ARCH__=7',
1064               ],
1065             }],
1066             [ 'armv7 == 1 and arm_neon == 1', {
1067               'defines': [
1068                 '__ARM_HAVE_NEON',
1069               ],
1070               'cflags': [
1071                 # The neon assembly contains conditional instructions which
1072                 # aren't enclosed in an IT block. The assembler complains
1073                 # without this option.
1074                 # See #86592.
1075                 '-Wa,-mimplicit-it=always',
1076               ],
1077            }],
1078           ],
1079           # The assembly uses the frame pointer register (r7 in Thumb/r11 in
1080           # ARM), the compiler doesn't like that. Explicitly remove the
1081           # -fno-omit-frame-pointer flag for Android, as that gets added to all
1082           # targets via common.gypi.
1083           'cflags!': [
1084             '-fno-omit-frame-pointer',
1085           ],
1086           'cflags': [
1087             '-fomit-frame-pointer',
1088           ],
1089           'sources': [
1090             '../third_party/skia/src/opts/SkBitmapProcState_opts_arm.cpp',
1091             '../third_party/skia/src/opts/SkBlitRow_opts_arm.cpp',
1092             '../third_party/skia/src/opts/opts_check_arm.cpp',
1093           ],
1094         }],
1095         [ 'armv7 == 1 and arm_neon == 0', {
1096           'sources': [
1097             '../third_party/skia/src/opts/memset.arm.S',
1098         ],
1099         }],
1100         [ 'armv7 == 1 and arm_neon == 1', {
1101           'sources': [
1102             '../third_party/skia/src/opts/memset16_neon.S',
1103             '../third_party/skia/src/opts/memset32_neon.S',
1104         ],
1105         }],
1106         [ 'target_arch == "arm" and armv7 != 1', {
1107           'sources': [
1108             '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp',
1109           ],
1110           'sources!': [
1111             '../third_party/skia/src/opts/SkBlitRow_opts_arm.cpp',
1112           ],
1113         }],
1114       ],
1115     },
1116     # For the same lame reasons as what is done for skia_opts, we have to
1117     # create another target specifically for SSSE3 code as we would not want
1118     # to compile the SSE2 code with -mssse3 which would potentially allow
1119     # gcc to generate SSSE3 code.
1120     {
1121       'target_name': 'skia_opts_ssse3',
1122       'type': 'static_library',
1123       'variables': {
1124         'optimize': 'max',
1125       },
1126       'include_dirs': [
1127         '..',
1128         'config',
1129         '../third_party/skia/include/config',
1130         '../third_party/skia/include/core',
1131         '../third_party/skia/src/core',
1132       ],
1133       'conditions': [
1134         [ 'OS in ["linux", "freebsd", "openbsd", "solaris"]', {
1135           'cflags': [
1136             '-mssse3',
1137           ],
1138         }],
1139         # TODO: when ninja/make understand
1140         # GCC_ENABLE_SUPPLEMENTAL_SSE3_INSTRUCTIONS, set that to YES here
1141         # instead of stepping on OTHER_CFLAGS.
1142         [ 'OS in ["mac"]', {
1143           'xcode_settings': {
1144             'OTHER_CFLAGS': ['-mssse3',],
1145           },
1146         }],
1147         [ 'OS == "win"', {
1148           'include_dirs': [
1149             'config/win',
1150           ],
1151           'direct_dependent_settings': {
1152             'include_dirs': [
1153               'config/win',
1154             ],
1155           },
1156         }],
1157         [ 'target_arch != "arm"', {
1158           'sources': [
1159             '../third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp',
1160           ],
1161         }],
1162       ],
1163     },
1164     {
1165       'target_name': 'skia_libtess',
1166       'type': 'static_library',
1167       'variables': {
1168         'optimize': 'max',
1169       },
1170       'include_dirs': [
1171         '../third_party/skia/third_party/glu',
1172       ],
1173       'sources': [
1174         '../third_party/skia/third_party/glu/sk_glu.h',
1175         '../third_party/skia/third_party/glu/gluos.h',
1176         '../third_party/skia/third_party/glu/libtess/dict-list.h',
1177         '../third_party/skia/third_party/glu/libtess/dict.c',
1178         '../third_party/skia/third_party/glu/libtess/dict.h',
1179         '../third_party/skia/third_party/glu/libtess/geom.c',
1180         '../third_party/skia/third_party/glu/libtess/geom.h',
1181         '../third_party/skia/third_party/glu/libtess/memalloc.c',
1182         '../third_party/skia/third_party/glu/libtess/memalloc.h',
1183         '../third_party/skia/third_party/glu/libtess/mesh.c',
1184         '../third_party/skia/third_party/glu/libtess/mesh.h',
1185         '../third_party/skia/third_party/glu/libtess/normal.c',
1186         '../third_party/skia/third_party/glu/libtess/normal.h',
1187         '../third_party/skia/third_party/glu/libtess/priorityq-heap.h',
1188         '../third_party/skia/third_party/glu/libtess/priorityq-sort.h',
1189         '../third_party/skia/third_party/glu/libtess/priorityq.c',
1190         '../third_party/skia/third_party/glu/libtess/priorityq.h',
1191         '../third_party/skia/third_party/glu/libtess/render.c',
1192         '../third_party/skia/third_party/glu/libtess/render.h',
1193         '../third_party/skia/third_party/glu/libtess/sweep.c',
1194         '../third_party/skia/third_party/glu/libtess/sweep.h',
1195         '../third_party/skia/third_party/glu/libtess/tess.c',
1196         '../third_party/skia/third_party/glu/libtess/tess.h',
1197         '../third_party/skia/third_party/glu/libtess/tessmono.c',
1198         '../third_party/skia/third_party/glu/libtess/tessmono.h',
1199       ],
1200       'direct_dependent_settings': {
1201         'include_dirs': [
1202           '../third_party/skia/third_party/glu',
1203         ],
1204       },
1205     },
1206     {
1207       'target_name': 'image_operations_bench',
1208       'type': 'executable',
1209       'dependencies': [
1210         '../base/base.gyp:base',
1211         'skia',
1212       ],
1213       'include_dirs': [
1214         '..',
1215       ],
1216       'sources': [
1217         'ext/image_operations_bench.cc',
1218       ],
1219     },
1220   ],