Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / skia / gyp / gmslides.gypi
1 # include this gypi to include all the golden master slides.
2 {
3   'include_dirs': [
4     '../gm',
5     # include dirs needed by particular GMs
6     '../src/utils/debugger',
7     '../src/images',
8     '../src/lazy',
9   ],
10   'conditions': [
11     # If we're building SampleApp on the bots, no need to link in the GM slides.
12     # We're not going to run it; we're only making sure it still builds.
13     # It'd be nice to do this in SampleApp.gypi, but I can't find a way to make it work.
14     [ 'not ("<(_target_name)" == "SampleApp" and skia_is_bot)', {
15       'sources': [
16         '../gm/aaclip.cpp',
17         '../gm/aarectmodes.cpp',
18         '../gm/alphagradients.cpp',
19         '../gm/arcofzorro.cpp',
20         '../gm/arithmode.cpp',
21         '../gm/astcbitmap.cpp',
22         '../gm/beziereffects.cpp',
23         '../gm/bigblurs.cpp',
24         '../gm/bigmatrix.cpp',
25         '../gm/bigtext.cpp',
26         '../gm/bitmapcopy.cpp',
27         '../gm/bitmapmatrix.cpp',
28         '../gm/bitmapfilters.cpp',
29         '../gm/bitmappremul.cpp',
30         '../gm/bitmaprect.cpp',
31         '../gm/bitmaprecttest.cpp',
32         '../gm/bitmapscroll.cpp',
33         '../gm/bitmapshader.cpp',
34         '../gm/bitmapsource.cpp',
35         '../gm/bleed.cpp',
36         '../gm/blurcircles.cpp',
37         '../gm/blurs.cpp',
38         '../gm/blurquickreject.cpp',
39         '../gm/blurrect.cpp',
40         '../gm/blurroundrect.cpp',
41         '../gm/circles.cpp',
42         '../gm/circularclips.cpp',
43         '../gm/clippedbitmapshaders.cpp',
44         '../gm/coloremoji.cpp',
45         '../gm/colorfilterimagefilter.cpp',
46         '../gm/colorfilters.cpp',
47         '../gm/colormatrix.cpp',
48         '../gm/colortype.cpp',
49         '../gm/complexclip.cpp',
50         '../gm/complexclip2.cpp',
51         '../gm/composeshader.cpp',
52         #'../gm/conicpaths.cpp',
53         '../gm/convexpaths.cpp',
54         '../gm/convexpolyclip.cpp',
55         '../gm/convexpolyeffect.cpp',
56         '../gm/copyTo4444.cpp',
57         '../gm/cubicpaths.cpp',
58         '../gm/cmykjpeg.cpp',
59         '../gm/degeneratesegments.cpp',
60         '../gm/discard.cpp',
61         '../gm/dashcubics.cpp',
62         '../gm/dashing.cpp',
63         '../gm/deviceproperties.cpp',
64         '../gm/distantclip.cpp',
65         '../gm/displacement.cpp',
66         '../gm/downsamplebitmap.cpp',
67         '../gm/drawbitmaprect.cpp',
68         '../gm/drawlooper.cpp',
69         '../gm/dropshadowimagefilter.cpp',
70         '../gm/drrect.cpp',
71         '../gm/etc1bitmap.cpp',
72         '../gm/extractbitmap.cpp',
73         '../gm/emptypath.cpp',
74         '../gm/fatpathfill.cpp',
75         '../gm/factory.cpp',
76         '../gm/filltypes.cpp',
77         '../gm/filltypespersp.cpp',
78         '../gm/filterbitmap.cpp',
79         '../gm/filterindiabox.cpp',
80         '../gm/fontcache.cpp',
81         '../gm/fontmgr.cpp',
82         '../gm/fontscaler.cpp',
83         '../gm/gammatext.cpp',
84         '../gm/getpostextpath.cpp',
85         '../gm/giantbitmap.cpp',
86         '../gm/glyph_pos.cpp',
87         '../gm/glyph_pos_align.cpp',
88         '../gm/gradients.cpp',
89         '../gm/gradients_2pt_conical.cpp',
90         '../gm/gradients_no_texture.cpp',
91         '../gm/gradientDirtyLaundry.cpp',
92         '../gm/gradient_matrix.cpp',
93         '../gm/gradtext.cpp',
94         '../gm/hairlines.cpp',
95         '../gm/hairmodes.cpp',
96         '../gm/hittestpath.cpp',
97         '../gm/imagealphathreshold.cpp',
98         '../gm/imageblur.cpp',
99         '../gm/imageblur2.cpp',
100         '../gm/imageblurtiled.cpp',
101         '../gm/imagemagnifier.cpp',
102         '../gm/imageresizetiled.cpp',
103         '../gm/inversepaths.cpp',
104         '../gm/lerpmode.cpp',
105         '../gm/lighting.cpp',
106         '../gm/lumafilter.cpp',
107         '../gm/image.cpp',
108         '../gm/imagefiltersbase.cpp',
109         '../gm/imagefiltersclipped.cpp',
110         '../gm/imagefilterscropped.cpp',
111         '../gm/imagefilterscropexpand.cpp',
112         '../gm/imagefiltersgraph.cpp',
113         '../gm/imagefiltersscaled.cpp',
114         '../gm/internal_links.cpp',
115         '../gm/lcdtext.cpp',
116         '../gm/linepaths.cpp',
117         '../gm/matrixconvolution.cpp',
118         '../gm/matriximagefilter.cpp',
119         '../gm/megalooper.cpp',
120         '../gm/mixedxfermodes.cpp',
121         '../gm/modecolorfilters.cpp',
122         '../gm/morphology.cpp',
123         '../gm/nested.cpp',
124         '../gm/ninepatchstretch.cpp',
125         '../gm/nonclosedpaths.cpp',
126         '../gm/offsetimagefilter.cpp',
127         '../gm/optimizations.cpp',
128         '../gm/ovals.cpp',
129         '../gm/patch.cpp',
130         '../gm/patchgrid.cpp',
131         '../gm/patheffects.cpp',
132         '../gm/pathfill.cpp',
133         '../gm/pathinterior.cpp',
134         '../gm/pathopsinverse.cpp',
135         '../gm/pathopsskpclip.cpp',
136         '../gm/pathreverse.cpp',
137         '../gm/peekpixels.cpp',
138         '../gm/perlinnoise.cpp',
139         '../gm/picture.cpp',
140         '../gm/pictureimagefilter.cpp',
141         '../gm/pictureshader.cpp',
142         '../gm/pictureshadertile.cpp',
143         '../gm/points.cpp',
144         '../gm/poly2poly.cpp',
145         '../gm/polygons.cpp',
146         '../gm/quadpaths.cpp',
147         '../gm/rects.cpp',
148         '../gm/resizeimagefilter.cpp',
149         '../gm/rrect.cpp',
150         '../gm/rrects.cpp',
151         '../gm/roundrects.cpp',
152         '../gm/samplerstress.cpp',
153         # '../gm/scalebitmap.cpp',
154         '../gm/shaderbounds.cpp',
155         '../gm/selftest.cpp',
156         '../gm/shadertext.cpp',
157         '../gm/shadertext2.cpp',
158         '../gm/shadertext3.cpp',
159         '../gm/shadows.cpp',
160         '../gm/shallowgradient.cpp',
161         '../gm/simpleaaclip.cpp',
162         '../gm/skbug1719.cpp',
163         '../gm/stringart.cpp',
164         '../gm/spritebitmap.cpp',
165         '../gm/srcmode.cpp',
166         '../gm/strokefill.cpp',
167         '../gm/strokerect.cpp',
168         '../gm/strokerects.cpp',
169         '../gm/strokes.cpp',
170         '../gm/stroketext.cpp',
171         '../gm/tablecolorfilter.cpp',
172         '../gm/texteffects.cpp',
173         '../gm/testimagefilters.cpp',
174         '../gm/texdata.cpp',
175         '../gm/variedtext.cpp',
176         '../gm/texturedomaineffect.cpp',
177         '../gm/thinrects.cpp',
178         '../gm/thinstrokedrects.cpp',
179         '../gm/tileimagefilter.cpp',
180         '../gm/tilemodes.cpp',
181         '../gm/tilemodes_scaled.cpp',
182         '../gm/tinybitmap.cpp',
183         '../gm/twopointradial.cpp',
184         '../gm/typeface.cpp',
185         '../gm/vertices.cpp',
186         '../gm/verttext.cpp',
187         '../gm/verttext2.cpp',
188         '../gm/verylargebitmap.cpp',
189         '../gm/xfermodeimagefilter.cpp',
190         '../gm/xfermodes.cpp',
191         '../gm/xfermodes2.cpp',
192         '../gm/xfermodes3.cpp',
193         '../gm/yuvtorgbeffect.cpp',
194
195         # Files needed by particular GMs
196         '../src/utils/debugger/SkDrawCommand.h',
197         '../src/utils/debugger/SkDrawCommand.cpp',
198         '../src/utils/debugger/SkDebugCanvas.h',
199         '../src/utils/debugger/SkDebugCanvas.cpp',
200         '../src/utils/debugger/SkObjectParser.h',
201         '../src/utils/debugger/SkObjectParser.cpp',
202       ],
203     }],
204     # TODO: Several GMs are known to cause particular problems on Android, so
205     # we disable them on Android.  See http://skbug.com/2326
206     [ 'skia_os == "android"', {
207       'sources!': [
208         # TODO(borenet): Causes assertion failure on Nexus S.
209         # See http://skbug.com/705
210         '../gm/bitmapcopy.cpp',
211
212         # SOME of the bitmaprect tests are disabled on Android; see
213         # ../gm/bitmaprect.cpp
214
215         # Fail for now until the appropriate freetype changes are submitted.
216         '../gm/coloremoji.cpp',
217
218         # We skip GPU tests in this GM; see
219         # ../gm/deviceproperties.cpp
220
221         # TODO(bsalomon): Hangs on Xoom and Nexus S. See http://skbug.com/637
222         '../gm/drawbitmaprect.cpp',
223
224         # TODO(epoger): Crashes on Nexus 10. See http://skbug.com/2313
225         '../gm/imagefilterscropexpand.cpp',
226
227         # TODO(borenet): Causes Nexus S to reboot. See http://skbug.com/665
228         '../gm/shadertext.cpp',
229         '../gm/shadertext2.cpp',
230         '../gm/shadertext3.cpp',
231
232         # TODO(reed): Allocates more memory than Android devices are capable of
233         # fulfilling. See http://skbug.com/1978
234         '../gm/verylargebitmap.cpp',
235       ],
236     }],
237   ],
238 }