blob: 6ee6bd7d5a75a30e46a1772a7bb0678f4e21654f [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',
mtkleina7e930f2014-08-06 10:08:42 -070028 '../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',
robertphillips028b98a2015-01-14 09:44:02 -080043 '../gm/clipdrawdraw.cpp',
georgeb3eba472014-09-09 11:33:57 -070044 '../gm/clip_strokerect.cpp',
mtkleina7e930f2014-08-06 10:08:42 -070045 '../gm/clippedbitmapshaders.cpp',
reedafa278e2014-11-24 19:11:48 -080046 '../gm/cgms.cpp',
47 '../gm/cgm.c',
sugoice686272014-10-09 05:27:23 -070048 '../gm/colorcube.cpp',
mtkleina7e930f2014-08-06 10:08:42 -070049 '../gm/coloremoji.cpp',
50 '../gm/colorfilterimagefilter.cpp',
51 '../gm/colorfilters.cpp',
52 '../gm/colormatrix.cpp',
53 '../gm/colortype.cpp',
egdanieled3af662014-10-31 06:55:45 -070054 '../gm/colortypexfermode.cpp',
halcanary30b83d42014-10-26 05:23:53 -070055 '../gm/colorwheel.cpp',
mtkleina7e930f2014-08-06 10:08:42 -070056 '../gm/complexclip.cpp',
57 '../gm/complexclip2.cpp',
egdanieldf795032014-12-17 11:22:37 -080058 '../gm/complexclip3.cpp',
mtkleina7e930f2014-08-06 10:08:42 -070059 '../gm/composeshader.cpp',
reed40c85e42015-01-05 10:01:25 -080060 '../gm/conicpaths.cpp',
mtkleina7e930f2014-08-06 10:08:42 -070061 '../gm/convexpaths.cpp',
62 '../gm/convexpolyclip.cpp',
63 '../gm/convexpolyeffect.cpp',
64 '../gm/copyTo4444.cpp',
65 '../gm/cubicpaths.cpp',
66 '../gm/cmykjpeg.cpp',
67 '../gm/degeneratesegments.cpp',
bsalomonb0ae6492014-12-29 07:05:27 -080068 '../gm/dcshader.cpp',
mtkleina7e930f2014-08-06 10:08:42 -070069 '../gm/discard.cpp',
70 '../gm/dashcubics.cpp',
71 '../gm/dashing.cpp',
mtkleina7e930f2014-08-06 10:08:42 -070072 '../gm/distantclip.cpp',
jvanverth9564ce62014-09-16 05:45:19 -070073 '../gm/dftext.cpp',
mtkleina7e930f2014-08-06 10:08:42 -070074 '../gm/displacement.cpp',
75 '../gm/downsamplebitmap.cpp',
76 '../gm/drawbitmaprect.cpp',
77 '../gm/drawlooper.cpp',
78 '../gm/dropshadowimagefilter.cpp',
79 '../gm/drrect.cpp',
80 '../gm/etc1bitmap.cpp',
81 '../gm/extractbitmap.cpp',
reedcc0e3112014-09-10 10:20:24 -070082 '../gm/emboss.cpp',
mtkleina7e930f2014-08-06 10:08:42 -070083 '../gm/emptypath.cpp',
84 '../gm/fatpathfill.cpp',
85 '../gm/factory.cpp',
86 '../gm/filltypes.cpp',
87 '../gm/filltypespersp.cpp',
88 '../gm/filterbitmap.cpp',
robertphillips9a264102014-12-08 09:18:58 -080089 '../gm/filterfastbounds.cpp',
mtkleina7e930f2014-08-06 10:08:42 -070090 '../gm/filterindiabox.cpp',
91 '../gm/fontcache.cpp',
92 '../gm/fontmgr.cpp',
93 '../gm/fontscaler.cpp',
94 '../gm/gammatext.cpp',
95 '../gm/getpostextpath.cpp',
96 '../gm/giantbitmap.cpp',
97 '../gm/glyph_pos.cpp',
98 '../gm/glyph_pos_align.cpp',
99 '../gm/gradients.cpp',
100 '../gm/gradients_2pt_conical.cpp',
101 '../gm/gradients_no_texture.cpp',
102 '../gm/gradientDirtyLaundry.cpp',
103 '../gm/gradient_matrix.cpp',
104 '../gm/gradtext.cpp',
halcanaryd476a172014-12-02 06:37:21 -0800105 '../gm/grayscalejpg.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700106 '../gm/hairlines.cpp',
107 '../gm/hairmodes.cpp',
108 '../gm/hittestpath.cpp',
109 '../gm/imagealphathreshold.cpp',
110 '../gm/imageblur.cpp',
joshualitt5acfea72014-08-11 13:55:34 -0700111 '../gm/imageblur2.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700112 '../gm/imageblurtiled.cpp',
113 '../gm/imagemagnifier.cpp',
114 '../gm/imageresizetiled.cpp',
115 '../gm/inversepaths.cpp',
116 '../gm/lerpmode.cpp',
117 '../gm/lighting.cpp',
118 '../gm/lumafilter.cpp',
119 '../gm/image.cpp',
120 '../gm/imagefiltersbase.cpp',
121 '../gm/imagefiltersclipped.cpp',
122 '../gm/imagefilterscropped.cpp',
123 '../gm/imagefilterscropexpand.cpp',
124 '../gm/imagefiltersgraph.cpp',
125 '../gm/imagefiltersscaled.cpp',
126 '../gm/internal_links.cpp',
127 '../gm/lcdtext.cpp',
128 '../gm/linepaths.cpp',
129 '../gm/matrixconvolution.cpp',
130 '../gm/matriximagefilter.cpp',
131 '../gm/megalooper.cpp',
132 '../gm/mixedxfermodes.cpp',
133 '../gm/modecolorfilters.cpp',
134 '../gm/morphology.cpp',
robertphillips7eacd772014-08-21 13:12:42 -0700135 '../gm/multipicturedraw.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700136 '../gm/nested.cpp',
137 '../gm/ninepatchstretch.cpp',
138 '../gm/nonclosedpaths.cpp',
139 '../gm/offsetimagefilter.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700140 '../gm/ovals.cpp',
141 '../gm/patch.cpp',
dandovcc03adb2014-08-12 17:14:57 -0700142 '../gm/patchgrid.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700143 '../gm/patheffects.cpp',
144 '../gm/pathfill.cpp',
145 '../gm/pathinterior.cpp',
146 '../gm/pathopsinverse.cpp',
147 '../gm/pathopsskpclip.cpp',
148 '../gm/pathreverse.cpp',
149 '../gm/peekpixels.cpp',
150 '../gm/perlinnoise.cpp',
reedd5fa1a42014-08-09 11:08:05 -0700151 '../gm/picture.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700152 '../gm/pictureimagefilter.cpp',
153 '../gm/pictureshader.cpp',
fmalitab5f78262014-08-06 13:07:15 -0700154 '../gm/pictureshadertile.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700155 '../gm/points.cpp',
156 '../gm/poly2poly.cpp',
157 '../gm/polygons.cpp',
158 '../gm/quadpaths.cpp',
159 '../gm/rects.cpp',
160 '../gm/resizeimagefilter.cpp',
161 '../gm/rrect.cpp',
162 '../gm/rrects.cpp',
163 '../gm/roundrects.cpp',
reedd7127e72014-08-12 06:53:09 -0700164 '../gm/samplerstress.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700165 # '../gm/scalebitmap.cpp',
166 '../gm/shaderbounds.cpp',
167 '../gm/selftest.cpp',
168 '../gm/shadertext.cpp',
169 '../gm/shadertext2.cpp',
170 '../gm/shadertext3.cpp',
171 '../gm/shadows.cpp',
172 '../gm/shallowgradient.cpp',
173 '../gm/simpleaaclip.cpp',
174 '../gm/skbug1719.cpp',
caryclarkfeff7d22014-10-09 05:36:03 -0700175 '../gm/smallarc.cpp',
halcanary84bc52a2014-12-02 14:01:46 -0800176 '../gm/smallimage.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700177 '../gm/stringart.cpp',
178 '../gm/spritebitmap.cpp',
179 '../gm/srcmode.cpp',
180 '../gm/strokefill.cpp',
181 '../gm/strokerect.cpp',
182 '../gm/strokerects.cpp',
183 '../gm/strokes.cpp',
184 '../gm/stroketext.cpp',
reed4a8126e2014-09-22 07:29:03 -0700185 '../gm/surface.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700186 '../gm/tablecolorfilter.cpp',
187 '../gm/texteffects.cpp',
188 '../gm/testimagefilters.cpp',
189 '../gm/texdata.cpp',
190 '../gm/variedtext.cpp',
bsalomon17168df2014-12-09 09:00:49 -0800191 '../gm/tallstretchedbitmaps.cpp',
fmalita00d5c2c2014-08-21 08:53:26 -0700192 '../gm/textblob.cpp',
fmalita84833262014-09-19 11:40:51 -0700193 '../gm/textblobshader.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700194 '../gm/texturedomaineffect.cpp',
195 '../gm/thinrects.cpp',
196 '../gm/thinstrokedrects.cpp',
humper535e3b22014-10-27 10:32:06 -0700197 '../gm/tiledscaledbitmap.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700198 '../gm/tileimagefilter.cpp',
199 '../gm/tilemodes.cpp',
200 '../gm/tilemodes_scaled.cpp',
201 '../gm/tinybitmap.cpp',
halcanarya7976be2015-01-07 13:23:09 -0800202 '../gm/transparency.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700203 '../gm/twopointradial.cpp',
204 '../gm/typeface.cpp',
205 '../gm/vertices.cpp',
206 '../gm/verttext.cpp',
207 '../gm/verttext2.cpp',
208 '../gm/verylargebitmap.cpp',
209 '../gm/xfermodeimagefilter.cpp',
210 '../gm/xfermodes.cpp',
211 '../gm/xfermodes2.cpp',
212 '../gm/xfermodes3.cpp',
213 '../gm/yuvtorgbeffect.cpp',
214
215 # Files needed by particular GMs
216 '../src/utils/debugger/SkDrawCommand.h',
217 '../src/utils/debugger/SkDrawCommand.cpp',
218 '../src/utils/debugger/SkDebugCanvas.h',
219 '../src/utils/debugger/SkDebugCanvas.cpp',
220 '../src/utils/debugger/SkObjectParser.h',
221 '../src/utils/debugger/SkObjectParser.cpp',
222 ],
223 }],
commit-bot@chromium.org7b789812014-03-24 20:07:44 +0000224 # TODO: Several GMs are known to cause particular problems on Android, so
225 # we disable them on Android. See http://skbug.com/2326
commit-bot@chromium.org7209f932014-03-23 23:08:18 +0000226 [ 'skia_os == "android"', {
227 'sources!': [
commit-bot@chromium.org7b789812014-03-24 20:07:44 +0000228 # TODO(borenet): Causes assertion failure on Nexus S.
229 # See http://skbug.com/705
230 '../gm/bitmapcopy.cpp',
231
232 # SOME of the bitmaprect tests are disabled on Android; see
233 # ../gm/bitmaprect.cpp
234
commit-bot@chromium.org7b789812014-03-24 20:07:44 +0000235 # We skip GPU tests in this GM; see
236 # ../gm/deviceproperties.cpp
237
238 # TODO(bsalomon): Hangs on Xoom and Nexus S. See http://skbug.com/637
239 '../gm/drawbitmaprect.cpp',
240
241 # TODO(epoger): Crashes on Nexus 10. See http://skbug.com/2313
commit-bot@chromium.org7209f932014-03-23 23:08:18 +0000242 '../gm/imagefilterscropexpand.cpp',
commit-bot@chromium.org7b789812014-03-24 20:07:44 +0000243
244 # TODO(borenet): Causes Nexus S to reboot. See http://skbug.com/665
245 '../gm/shadertext.cpp',
246 '../gm/shadertext2.cpp',
247 '../gm/shadertext3.cpp',
248
249 # TODO(reed): Allocates more memory than Android devices are capable of
250 # fulfilling. See http://skbug.com/1978
251 '../gm/verylargebitmap.cpp',
252 ],
commit-bot@chromium.org7209f932014-03-23 23:08:18 +0000253 }],
commit-bot@chromium.org7209f932014-03-23 23:08:18 +0000254 ],
bsalomon@google.com48dd1a22011-10-31 14:18:20 +0000255}