blob: 8effe7fe75194129879ad02ba8e4b327f578d31a [file] [log] [blame]
scroggo3e562272015-03-25 10:22:41 -07001# Copyright 2015 Google Inc.
2#
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
bsalomon@google.com48dd1a22011-10-31 14:18:20 +00005# include this gypi to include all the golden master slides.
6{
commit-bot@chromium.org6adce672014-02-03 14:48:17 +00007 'include_dirs': [
8 '../gm',
9 # include dirs needed by particular GMs
10 '../src/utils/debugger',
11 '../src/images',
12 '../src/lazy',
13 ],
commit-bot@chromium.org7209f932014-03-23 23:08:18 +000014 'conditions': [
mtkleina7e930f2014-08-06 10:08:42 -070015 # If we're building SampleApp on the bots, no need to link in the GM slides.
16 # We're not going to run it; we're only making sure it still builds.
17 # It'd be nice to do this in SampleApp.gypi, but I can't find a way to make it work.
18 [ 'not ("<(_target_name)" == "SampleApp" and skia_is_bot)', {
19 'sources': [
20 '../gm/aaclip.cpp',
21 '../gm/aarectmodes.cpp',
reed19d8f9f2015-01-29 10:48:16 -080022 '../gm/addarc.cpp',
halcanarydb0dcc72015-03-20 12:31:52 -070023 '../gm/all_bitmap_configs.cpp',
mtkleina7e930f2014-08-06 10:08:42 -070024 '../gm/alphagradients.cpp',
25 '../gm/arcofzorro.cpp',
26 '../gm/arithmode.cpp',
krajcevski95b1b3d2014-08-07 12:58:38 -070027 '../gm/astcbitmap.cpp',
mtkleina7e930f2014-08-06 10:08:42 -070028 '../gm/beziereffects.cpp',
caryclarkfeff7d22014-10-09 05:36:03 -070029 '../gm/beziers.cpp',
mtkleina7e930f2014-08-06 10:08:42 -070030 '../gm/bigblurs.cpp',
31 '../gm/bigmatrix.cpp',
32 '../gm/bigtext.cpp',
33 '../gm/bitmapcopy.cpp',
mtkleina7e930f2014-08-06 10:08:42 -070034 '../gm/bitmapfilters.cpp',
35 '../gm/bitmappremul.cpp',
36 '../gm/bitmaprect.cpp',
37 '../gm/bitmaprecttest.cpp',
38 '../gm/bitmapscroll.cpp',
39 '../gm/bitmapshader.cpp',
40 '../gm/bitmapsource.cpp',
41 '../gm/bleed.cpp',
42 '../gm/blurcircles.cpp',
43 '../gm/blurs.cpp',
44 '../gm/blurquickreject.cpp',
45 '../gm/blurrect.cpp',
46 '../gm/blurroundrect.cpp',
47 '../gm/circles.cpp',
48 '../gm/circularclips.cpp',
robertphillips028b98a2015-01-14 09:44:02 -080049 '../gm/clipdrawdraw.cpp',
georgeb3eba472014-09-09 11:33:57 -070050 '../gm/clip_strokerect.cpp',
mtkleina7e930f2014-08-06 10:08:42 -070051 '../gm/clippedbitmapshaders.cpp',
reedafa278e2014-11-24 19:11:48 -080052 '../gm/cgms.cpp',
53 '../gm/cgm.c',
sugoice686272014-10-09 05:27:23 -070054 '../gm/colorcube.cpp',
mtkleina7e930f2014-08-06 10:08:42 -070055 '../gm/coloremoji.cpp',
56 '../gm/colorfilterimagefilter.cpp',
57 '../gm/colorfilters.cpp',
58 '../gm/colormatrix.cpp',
59 '../gm/colortype.cpp',
egdanieled3af662014-10-31 06:55:45 -070060 '../gm/colortypexfermode.cpp',
halcanary30b83d42014-10-26 05:23:53 -070061 '../gm/colorwheel.cpp',
senorblancod6ed19c2015-02-26 06:58:17 -080062 '../gm/concavepaths.cpp',
mtkleina7e930f2014-08-06 10:08:42 -070063 '../gm/complexclip.cpp',
64 '../gm/complexclip2.cpp',
egdanieldf795032014-12-17 11:22:37 -080065 '../gm/complexclip3.cpp',
mtkleina7e930f2014-08-06 10:08:42 -070066 '../gm/composeshader.cpp',
reed40c85e42015-01-05 10:01:25 -080067 '../gm/conicpaths.cpp',
mtkleina7e930f2014-08-06 10:08:42 -070068 '../gm/convexpaths.cpp',
69 '../gm/convexpolyclip.cpp',
70 '../gm/convexpolyeffect.cpp',
71 '../gm/copyTo4444.cpp',
72 '../gm/cubicpaths.cpp',
73 '../gm/cmykjpeg.cpp',
joshualitt5ce33c12015-01-28 11:08:00 -080074 '../gm/dstreadshuffle.cpp',
mtkleina7e930f2014-08-06 10:08:42 -070075 '../gm/degeneratesegments.cpp',
bsalomonb0ae6492014-12-29 07:05:27 -080076 '../gm/dcshader.cpp',
mtkleina7e930f2014-08-06 10:08:42 -070077 '../gm/discard.cpp',
78 '../gm/dashcubics.cpp',
79 '../gm/dashing.cpp',
mtkleina7e930f2014-08-06 10:08:42 -070080 '../gm/distantclip.cpp',
jvanverth9564ce62014-09-16 05:45:19 -070081 '../gm/dftext.cpp',
mtkleina7e930f2014-08-06 10:08:42 -070082 '../gm/displacement.cpp',
83 '../gm/downsamplebitmap.cpp',
84 '../gm/drawbitmaprect.cpp',
tomhudsoncdf34cd2015-03-06 06:15:20 -080085 '../gm/drawfilter.cpp',
mtkleina7e930f2014-08-06 10:08:42 -070086 '../gm/drawlooper.cpp',
87 '../gm/dropshadowimagefilter.cpp',
88 '../gm/drrect.cpp',
joshualitt5ce33c12015-01-28 11:08:00 -080089 '../gm/dstreadshuffle.cpp',
mtkleina7e930f2014-08-06 10:08:42 -070090 '../gm/etc1bitmap.cpp',
91 '../gm/extractbitmap.cpp',
reedcc0e3112014-09-10 10:20:24 -070092 '../gm/emboss.cpp',
mtkleina7e930f2014-08-06 10:08:42 -070093 '../gm/emptypath.cpp',
94 '../gm/fatpathfill.cpp',
95 '../gm/factory.cpp',
96 '../gm/filltypes.cpp',
97 '../gm/filltypespersp.cpp',
98 '../gm/filterbitmap.cpp',
robertphillips9a264102014-12-08 09:18:58 -080099 '../gm/filterfastbounds.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700100 '../gm/filterindiabox.cpp',
101 '../gm/fontcache.cpp',
102 '../gm/fontmgr.cpp',
103 '../gm/fontscaler.cpp',
104 '../gm/gammatext.cpp',
105 '../gm/getpostextpath.cpp',
106 '../gm/giantbitmap.cpp',
107 '../gm/glyph_pos.cpp',
108 '../gm/glyph_pos_align.cpp',
109 '../gm/gradients.cpp',
110 '../gm/gradients_2pt_conical.cpp',
111 '../gm/gradients_no_texture.cpp',
112 '../gm/gradientDirtyLaundry.cpp',
113 '../gm/gradient_matrix.cpp',
114 '../gm/gradtext.cpp',
halcanaryd476a172014-12-02 06:37:21 -0800115 '../gm/grayscalejpg.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700116 '../gm/hairlines.cpp',
117 '../gm/hairmodes.cpp',
118 '../gm/hittestpath.cpp',
119 '../gm/imagealphathreshold.cpp',
120 '../gm/imageblur.cpp',
joshualitt5acfea72014-08-11 13:55:34 -0700121 '../gm/imageblur2.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700122 '../gm/imageblurtiled.cpp',
123 '../gm/imagemagnifier.cpp',
124 '../gm/imageresizetiled.cpp',
125 '../gm/inversepaths.cpp',
126 '../gm/lerpmode.cpp',
127 '../gm/lighting.cpp',
128 '../gm/lumafilter.cpp',
129 '../gm/image.cpp',
130 '../gm/imagefiltersbase.cpp',
131 '../gm/imagefiltersclipped.cpp',
132 '../gm/imagefilterscropped.cpp',
133 '../gm/imagefilterscropexpand.cpp',
134 '../gm/imagefiltersgraph.cpp',
135 '../gm/imagefiltersscaled.cpp',
senorblancod4bb9912015-03-20 08:54:32 -0700136 '../gm/imagefilterstransformed.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700137 '../gm/internal_links.cpp',
138 '../gm/lcdtext.cpp',
139 '../gm/linepaths.cpp',
140 '../gm/matrixconvolution.cpp',
141 '../gm/matriximagefilter.cpp',
142 '../gm/megalooper.cpp',
143 '../gm/mixedxfermodes.cpp',
reedc8e47652015-02-19 11:39:46 -0800144 '../gm/mipmap.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700145 '../gm/modecolorfilters.cpp',
146 '../gm/morphology.cpp',
robertphillips7eacd772014-08-21 13:12:42 -0700147 '../gm/multipicturedraw.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700148 '../gm/nested.cpp',
149 '../gm/ninepatchstretch.cpp',
150 '../gm/nonclosedpaths.cpp',
151 '../gm/offsetimagefilter.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700152 '../gm/ovals.cpp',
153 '../gm/patch.cpp',
dandovcc03adb2014-08-12 17:14:57 -0700154 '../gm/patchgrid.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700155 '../gm/patheffects.cpp',
156 '../gm/pathfill.cpp',
157 '../gm/pathinterior.cpp',
158 '../gm/pathopsinverse.cpp',
159 '../gm/pathopsskpclip.cpp',
160 '../gm/pathreverse.cpp',
161 '../gm/peekpixels.cpp',
162 '../gm/perlinnoise.cpp',
reedd5fa1a42014-08-09 11:08:05 -0700163 '../gm/picture.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700164 '../gm/pictureimagefilter.cpp',
165 '../gm/pictureshader.cpp',
fmalitab5f78262014-08-06 13:07:15 -0700166 '../gm/pictureshadertile.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700167 '../gm/points.cpp',
168 '../gm/poly2poly.cpp',
169 '../gm/polygons.cpp',
170 '../gm/quadpaths.cpp',
kkinnunendc0f4082015-01-26 00:14:26 -0800171 '../gm/recordopts.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700172 '../gm/rects.cpp',
halcanary1b5c6042015-02-18 11:29:56 -0800173 '../gm/repeated_bitmap.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700174 '../gm/resizeimagefilter.cpp',
175 '../gm/rrect.cpp',
176 '../gm/rrects.cpp',
177 '../gm/roundrects.cpp',
reedd7127e72014-08-12 06:53:09 -0700178 '../gm/samplerstress.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700179 # '../gm/scalebitmap.cpp',
180 '../gm/shaderbounds.cpp',
181 '../gm/selftest.cpp',
182 '../gm/shadertext.cpp',
183 '../gm/shadertext2.cpp',
184 '../gm/shadertext3.cpp',
185 '../gm/shadows.cpp',
186 '../gm/shallowgradient.cpp',
187 '../gm/simpleaaclip.cpp',
188 '../gm/skbug1719.cpp',
caryclarkfeff7d22014-10-09 05:36:03 -0700189 '../gm/smallarc.cpp',
halcanary84bc52a2014-12-02 14:01:46 -0800190 '../gm/smallimage.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700191 '../gm/spritebitmap.cpp',
192 '../gm/srcmode.cpp',
joshualitt63648072015-02-19 10:25:21 -0800193 '../gm/stlouisarch.cpp',
194 '../gm/stringart.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700195 '../gm/strokefill.cpp',
196 '../gm/strokerect.cpp',
197 '../gm/strokerects.cpp',
198 '../gm/strokes.cpp',
199 '../gm/stroketext.cpp',
reed4a8126e2014-09-22 07:29:03 -0700200 '../gm/surface.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700201 '../gm/tablecolorfilter.cpp',
202 '../gm/texteffects.cpp',
203 '../gm/testimagefilters.cpp',
204 '../gm/texdata.cpp',
205 '../gm/variedtext.cpp',
bsalomon17168df2014-12-09 09:00:49 -0800206 '../gm/tallstretchedbitmaps.cpp',
fmalita00d5c2c2014-08-21 08:53:26 -0700207 '../gm/textblob.cpp',
fmalita84833262014-09-19 11:40:51 -0700208 '../gm/textblobshader.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700209 '../gm/texturedomaineffect.cpp',
210 '../gm/thinrects.cpp',
211 '../gm/thinstrokedrects.cpp',
humper535e3b22014-10-27 10:32:06 -0700212 '../gm/tiledscaledbitmap.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700213 '../gm/tileimagefilter.cpp',
214 '../gm/tilemodes.cpp',
215 '../gm/tilemodes_scaled.cpp',
216 '../gm/tinybitmap.cpp',
halcanarya7976be2015-01-07 13:23:09 -0800217 '../gm/transparency.cpp',
mtkleina7e930f2014-08-06 10:08:42 -0700218 '../gm/twopointradial.cpp',
219 '../gm/typeface.cpp',
220 '../gm/vertices.cpp',
221 '../gm/verttext.cpp',
222 '../gm/verttext2.cpp',
223 '../gm/verylargebitmap.cpp',
224 '../gm/xfermodeimagefilter.cpp',
225 '../gm/xfermodes.cpp',
226 '../gm/xfermodes2.cpp',
227 '../gm/xfermodes3.cpp',
228 '../gm/yuvtorgbeffect.cpp',
229
230 # Files needed by particular GMs
joshualitt95964c62015-02-11 13:45:50 -0800231 '../src/gpu/GrTestBatch.h',
mtkleina7e930f2014-08-06 10:08:42 -0700232 '../src/utils/debugger/SkDrawCommand.h',
233 '../src/utils/debugger/SkDrawCommand.cpp',
234 '../src/utils/debugger/SkDebugCanvas.h',
235 '../src/utils/debugger/SkDebugCanvas.cpp',
236 '../src/utils/debugger/SkObjectParser.h',
237 '../src/utils/debugger/SkObjectParser.cpp',
238 ],
239 }],
commit-bot@chromium.org7b789812014-03-24 20:07:44 +0000240 # TODO: Several GMs are known to cause particular problems on Android, so
241 # we disable them on Android. See http://skbug.com/2326
commit-bot@chromium.org7209f932014-03-23 23:08:18 +0000242 [ 'skia_os == "android"', {
243 'sources!': [
commit-bot@chromium.org7b789812014-03-24 20:07:44 +0000244 # TODO(borenet): Causes assertion failure on Nexus S.
245 # See http://skbug.com/705
246 '../gm/bitmapcopy.cpp',
247
248 # SOME of the bitmaprect tests are disabled on Android; see
249 # ../gm/bitmaprect.cpp
250
commit-bot@chromium.org7b789812014-03-24 20:07:44 +0000251 # We skip GPU tests in this GM; see
252 # ../gm/deviceproperties.cpp
253
254 # TODO(bsalomon): Hangs on Xoom and Nexus S. See http://skbug.com/637
255 '../gm/drawbitmaprect.cpp',
256
257 # TODO(epoger): Crashes on Nexus 10. See http://skbug.com/2313
commit-bot@chromium.org7209f932014-03-23 23:08:18 +0000258 '../gm/imagefilterscropexpand.cpp',
commit-bot@chromium.org7b789812014-03-24 20:07:44 +0000259
260 # TODO(borenet): Causes Nexus S to reboot. See http://skbug.com/665
261 '../gm/shadertext.cpp',
262 '../gm/shadertext2.cpp',
263 '../gm/shadertext3.cpp',
264
265 # TODO(reed): Allocates more memory than Android devices are capable of
266 # fulfilling. See http://skbug.com/1978
267 '../gm/verylargebitmap.cpp',
268 ],
commit-bot@chromium.org7209f932014-03-23 23:08:18 +0000269 }],
commit-bot@chromium.org7209f932014-03-23 23:08:18 +0000270 ],
bsalomon@google.com48dd1a22011-10-31 14:18:20 +0000271}