blob: 66427e83ffc3a904e80c7261ebce9d973de6d36d [file] [log] [blame]
bsalomon@google.com48dd1a22011-10-31 14:18:20 +00001# include this gypi to include all the golden master slides.
2{
commit-bot@chromium.org6adce672014-02-03 14:48:17 +00003 'include_dirs': [
4 '../gm',
5 # include dirs needed by particular GMs
6 '../src/utils/debugger',
7 '../src/images',
8 '../src/lazy',
9 ],
commit-bot@chromium.org7209f932014-03-23 23:08:18 +000010 'conditions': [
mtkleina7e930f2014-08-06 10:08:42 -070011 # 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',
krajcevski95b1b3d2014-08-07 12:58:38 -070021 '../gm/astcbitmap.cpp',
mtkleina7e930f2014-08-06 10:08:42 -070022 '../gm/beziereffects.cpp',
caryclarkfeff7d22014-10-09 05:36:03 -070023 '../gm/beziers.cpp',
mtkleina7e930f2014-08-06 10:08:42 -070024 '../gm/bigblurs.cpp',
25 '../gm/bigmatrix.cpp',
26 '../gm/bigtext.cpp',
27 '../gm/bitmapcopy.cpp',
28 '../gm/bitmapmatrix.cpp',
29 '../gm/bitmapfilters.cpp',
30 '../gm/bitmappremul.cpp',
31 '../gm/bitmaprect.cpp',
32 '../gm/bitmaprecttest.cpp',
33 '../gm/bitmapscroll.cpp',
34 '../gm/bitmapshader.cpp',
35 '../gm/bitmapsource.cpp',
36 '../gm/bleed.cpp',
37 '../gm/blurcircles.cpp',
38 '../gm/blurs.cpp',
39 '../gm/blurquickreject.cpp',
40 '../gm/blurrect.cpp',
41 '../gm/blurroundrect.cpp',
42 '../gm/circles.cpp',
43 '../gm/circularclips.cpp',
georgeb3eba472014-09-09 11:33:57 -070044 '../gm/clip_strokerect.cpp',
mtkleina7e930f2014-08-06 10:08:42 -070045 '../gm/clippedbitmapshaders.cpp',
sugoice686272014-10-09 05:27:23 -070046 '../gm/colorcube.cpp',
mtkleina7e930f2014-08-06 10:08:42 -070047 '../gm/coloremoji.cpp',
48 '../gm/colorfilterimagefilter.cpp',
49 '../gm/colorfilters.cpp',
50 '../gm/colormatrix.cpp',
51 '../gm/colortype.cpp',
egdanieled3af662014-10-31 06:55:45 -070052 '../gm/colortypexfermode.cpp',
halcanary30b83d42014-10-26 05:23:53 -070053 '../gm/colorwheel.cpp',
mtkleina7e930f2014-08-06 10:08:42 -070054 '../gm/complexclip.cpp',
55 '../gm/complexclip2.cpp',
56 '../gm/composeshader.cpp',
57 #'../gm/conicpaths.cpp',
58 '../gm/convexpaths.cpp',
59 '../gm/convexpolyclip.cpp',
60 '../gm/convexpolyeffect.cpp',
61 '../gm/copyTo4444.cpp',
62 '../gm/cubicpaths.cpp',
63 '../gm/cmykjpeg.cpp',
64 '../gm/degeneratesegments.cpp',
65 '../gm/discard.cpp',
66 '../gm/dashcubics.cpp',
67 '../gm/dashing.cpp',
mtkleina7e930f2014-08-06 10:08:42 -070068 '../gm/distantclip.cpp',
jvanverth9564ce62014-09-16 05:45:19 -070069 '../gm/dftext.cpp',
mtkleina7e930f2014-08-06 10:08:42 -070070 '../gm/displacement.cpp',
71 '../gm/downsamplebitmap.cpp',
72 '../gm/drawbitmaprect.cpp',
73 '../gm/drawlooper.cpp',
74 '../gm/dropshadowimagefilter.cpp',
75 '../gm/drrect.cpp',
76 '../gm/etc1bitmap.cpp',
77 '../gm/extractbitmap.cpp',
reedcc0e3112014-09-10 10:20:24 -070078 '../gm/emboss.cpp',
mtkleina7e930f2014-08-06 10:08:42 -070079 '../gm/emptypath.cpp',
80 '../gm/fatpathfill.cpp',
81 '../gm/factory.cpp',
82 '../gm/filltypes.cpp',
83 '../gm/filltypespersp.cpp',
84 '../gm/filterbitmap.cpp',
85 '../gm/filterindiabox.cpp',
86 '../gm/fontcache.cpp',
87 '../gm/fontmgr.cpp',
88 '../gm/fontscaler.cpp',
89 '../gm/gammatext.cpp',
90 '../gm/getpostextpath.cpp',
91 '../gm/giantbitmap.cpp',
92 '../gm/glyph_pos.cpp',
93 '../gm/glyph_pos_align.cpp',
94 '../gm/gradients.cpp',
95 '../gm/gradients_2pt_conical.cpp',
96 '../gm/gradients_no_texture.cpp',
97 '../gm/gradientDirtyLaundry.cpp',
98 '../gm/gradient_matrix.cpp',
99 '../gm/gradtext.cpp',
100 '../gm/hairlines.cpp',
101 '../gm/hairmodes.cpp',
102 '../gm/hittestpath.cpp',
103 '../gm/imagealphathreshold.cpp',
104 '../gm/imageblur.cpp',
joshualitt5acfea72014-08-11 13:55:34 -0700105 '../gm/imageblur2.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700106 '../gm/imageblurtiled.cpp',
107 '../gm/imagemagnifier.cpp',
108 '../gm/imageresizetiled.cpp',
109 '../gm/inversepaths.cpp',
110 '../gm/lerpmode.cpp',
111 '../gm/lighting.cpp',
112 '../gm/lumafilter.cpp',
113 '../gm/image.cpp',
114 '../gm/imagefiltersbase.cpp',
115 '../gm/imagefiltersclipped.cpp',
116 '../gm/imagefilterscropped.cpp',
117 '../gm/imagefilterscropexpand.cpp',
118 '../gm/imagefiltersgraph.cpp',
119 '../gm/imagefiltersscaled.cpp',
120 '../gm/internal_links.cpp',
121 '../gm/lcdtext.cpp',
122 '../gm/linepaths.cpp',
123 '../gm/matrixconvolution.cpp',
124 '../gm/matriximagefilter.cpp',
125 '../gm/megalooper.cpp',
126 '../gm/mixedxfermodes.cpp',
127 '../gm/modecolorfilters.cpp',
128 '../gm/morphology.cpp',
robertphillips7eacd772014-08-21 13:12:42 -0700129 '../gm/multipicturedraw.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700130 '../gm/nested.cpp',
131 '../gm/ninepatchstretch.cpp',
132 '../gm/nonclosedpaths.cpp',
133 '../gm/offsetimagefilter.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700134 '../gm/ovals.cpp',
135 '../gm/patch.cpp',
dandovcc03adb2014-08-12 17:14:57 -0700136 '../gm/patchgrid.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700137 '../gm/patheffects.cpp',
138 '../gm/pathfill.cpp',
139 '../gm/pathinterior.cpp',
140 '../gm/pathopsinverse.cpp',
141 '../gm/pathopsskpclip.cpp',
142 '../gm/pathreverse.cpp',
143 '../gm/peekpixels.cpp',
144 '../gm/perlinnoise.cpp',
reedd5fa1a42014-08-09 11:08:05 -0700145 '../gm/picture.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700146 '../gm/pictureimagefilter.cpp',
147 '../gm/pictureshader.cpp',
fmalitab5f78262014-08-06 13:07:15 -0700148 '../gm/pictureshadertile.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700149 '../gm/points.cpp',
150 '../gm/poly2poly.cpp',
151 '../gm/polygons.cpp',
152 '../gm/quadpaths.cpp',
153 '../gm/rects.cpp',
154 '../gm/resizeimagefilter.cpp',
155 '../gm/rrect.cpp',
156 '../gm/rrects.cpp',
157 '../gm/roundrects.cpp',
reedd7127e72014-08-12 06:53:09 -0700158 '../gm/samplerstress.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700159 # '../gm/scalebitmap.cpp',
160 '../gm/shaderbounds.cpp',
161 '../gm/selftest.cpp',
162 '../gm/shadertext.cpp',
163 '../gm/shadertext2.cpp',
164 '../gm/shadertext3.cpp',
165 '../gm/shadows.cpp',
166 '../gm/shallowgradient.cpp',
167 '../gm/simpleaaclip.cpp',
168 '../gm/skbug1719.cpp',
caryclarkfeff7d22014-10-09 05:36:03 -0700169 '../gm/smallarc.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700170 '../gm/stringart.cpp',
171 '../gm/spritebitmap.cpp',
172 '../gm/srcmode.cpp',
173 '../gm/strokefill.cpp',
174 '../gm/strokerect.cpp',
175 '../gm/strokerects.cpp',
176 '../gm/strokes.cpp',
177 '../gm/stroketext.cpp',
reed4a8126e2014-09-22 07:29:03 -0700178 '../gm/surface.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700179 '../gm/tablecolorfilter.cpp',
180 '../gm/texteffects.cpp',
181 '../gm/testimagefilters.cpp',
182 '../gm/texdata.cpp',
183 '../gm/variedtext.cpp',
fmalita00d5c2c2014-08-21 08:53:26 -0700184 '../gm/textblob.cpp',
fmalita84833262014-09-19 11:40:51 -0700185 '../gm/textblobshader.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700186 '../gm/texturedomaineffect.cpp',
187 '../gm/thinrects.cpp',
188 '../gm/thinstrokedrects.cpp',
humper535e3b22014-10-27 10:32:06 -0700189 '../gm/tiledscaledbitmap.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700190 '../gm/tileimagefilter.cpp',
191 '../gm/tilemodes.cpp',
192 '../gm/tilemodes_scaled.cpp',
193 '../gm/tinybitmap.cpp',
194 '../gm/twopointradial.cpp',
195 '../gm/typeface.cpp',
196 '../gm/vertices.cpp',
197 '../gm/verttext.cpp',
198 '../gm/verttext2.cpp',
199 '../gm/verylargebitmap.cpp',
200 '../gm/xfermodeimagefilter.cpp',
201 '../gm/xfermodes.cpp',
202 '../gm/xfermodes2.cpp',
203 '../gm/xfermodes3.cpp',
204 '../gm/yuvtorgbeffect.cpp',
205
206 # Files needed by particular GMs
207 '../src/utils/debugger/SkDrawCommand.h',
208 '../src/utils/debugger/SkDrawCommand.cpp',
209 '../src/utils/debugger/SkDebugCanvas.h',
210 '../src/utils/debugger/SkDebugCanvas.cpp',
211 '../src/utils/debugger/SkObjectParser.h',
212 '../src/utils/debugger/SkObjectParser.cpp',
213 ],
214 }],
commit-bot@chromium.org7b789812014-03-24 20:07:44 +0000215 # TODO: Several GMs are known to cause particular problems on Android, so
216 # we disable them on Android. See http://skbug.com/2326
commit-bot@chromium.org7209f932014-03-23 23:08:18 +0000217 [ 'skia_os == "android"', {
218 'sources!': [
commit-bot@chromium.org7b789812014-03-24 20:07:44 +0000219 # TODO(borenet): Causes assertion failure on Nexus S.
220 # See http://skbug.com/705
221 '../gm/bitmapcopy.cpp',
222
223 # SOME of the bitmaprect tests are disabled on Android; see
224 # ../gm/bitmaprect.cpp
225
commit-bot@chromium.org7b789812014-03-24 20:07:44 +0000226 # We skip GPU tests in this GM; see
227 # ../gm/deviceproperties.cpp
228
229 # TODO(bsalomon): Hangs on Xoom and Nexus S. See http://skbug.com/637
230 '../gm/drawbitmaprect.cpp',
231
232 # TODO(epoger): Crashes on Nexus 10. See http://skbug.com/2313
commit-bot@chromium.org7209f932014-03-23 23:08:18 +0000233 '../gm/imagefilterscropexpand.cpp',
commit-bot@chromium.org7b789812014-03-24 20:07:44 +0000234
235 # TODO(borenet): Causes Nexus S to reboot. See http://skbug.com/665
236 '../gm/shadertext.cpp',
237 '../gm/shadertext2.cpp',
238 '../gm/shadertext3.cpp',
239
240 # TODO(reed): Allocates more memory than Android devices are capable of
241 # fulfilling. See http://skbug.com/1978
242 '../gm/verylargebitmap.cpp',
243 ],
commit-bot@chromium.org7209f932014-03-23 23:08:18 +0000244 }],
commit-bot@chromium.org7209f932014-03-23 23:08:18 +0000245 ],
bsalomon@google.com48dd1a22011-10-31 14:18:20 +0000246}