1# 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. 5# include this gypi to include all the golden master slides. 6{ 7 'include_dirs': [ 8 '../gm', 9 # include dirs needed by particular GMs 10 '../src/utils/debugger', 11 '../src/images', 12 '../src/lazy', 13 ], 14 'conditions': [ 15 # 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', 22 '../gm/addarc.cpp', 23 '../gm/all_bitmap_configs.cpp', 24 '../gm/alphagradients.cpp', 25 '../gm/anisotropic.cpp', 26 '../gm/arcofzorro.cpp', 27 '../gm/arithmode.cpp', 28 '../gm/astcbitmap.cpp', 29 '../gm/badpaint.cpp', 30 '../gm/beziereffects.cpp', 31 '../gm/beziers.cpp', 32 '../gm/bigblurs.cpp', 33 '../gm/bigmatrix.cpp', 34 '../gm/bigtext.cpp', 35 '../gm/bitmapcopy.cpp', 36 '../gm/bitmapfilters.cpp', 37 '../gm/bitmappremul.cpp', 38 '../gm/bitmaprect.cpp', 39 '../gm/bitmaprecttest.cpp', 40 '../gm/bitmapscroll.cpp', 41 '../gm/bitmapshader.cpp', 42 '../gm/bitmapsource.cpp', 43 '../gm/bitmapsource2.cpp', 44 '../gm/bleed.cpp', 45 '../gm/blend.cpp', 46 '../gm/blurcircles.cpp', 47 '../gm/blurs.cpp', 48 '../gm/blurquickreject.cpp', 49 '../gm/blurrect.cpp', 50 '../gm/blurroundrect.cpp', 51 '../gm/bmpfilterqualityrepeat.cpp', 52 '../gm/circles.cpp', 53 '../gm/circularclips.cpp', 54 '../gm/clipdrawdraw.cpp', 55 '../gm/clip_strokerect.cpp', 56 '../gm/clippedbitmapshaders.cpp', 57 '../gm/cgms.cpp', 58 '../gm/cgm.c', 59 '../gm/colorcube.cpp', 60 '../gm/coloremoji.cpp', 61 '../gm/colorfilterimagefilter.cpp', 62 '../gm/colorfilters.cpp', 63 '../gm/colormatrix.cpp', 64 '../gm/colortype.cpp', 65 '../gm/colortypexfermode.cpp', 66 '../gm/colorwheel.cpp', 67 '../gm/concavepaths.cpp', 68 '../gm/complexclip.cpp', 69 '../gm/complexclip2.cpp', 70 '../gm/complexclip3.cpp', 71 '../gm/composeshader.cpp', 72 '../gm/conicpaths.cpp', 73 '../gm/constcolorprocessor.cpp', 74 '../gm/convex_all_line_paths.cpp', 75 '../gm/convexpaths.cpp', 76 '../gm/convexpolyclip.cpp', 77 '../gm/convexpolyeffect.cpp', 78 '../gm/copyTo4444.cpp', 79 '../gm/cubicpaths.cpp', 80 '../gm/cmykjpeg.cpp', 81 '../gm/dstreadshuffle.cpp', 82 '../gm/degeneratesegments.cpp', 83 '../gm/dcshader.cpp', 84 '../gm/discard.cpp', 85 '../gm/dashcubics.cpp', 86 '../gm/dashing.cpp', 87 '../gm/distantclip.cpp', 88 '../gm/dftext.cpp', 89 '../gm/displacement.cpp', 90 '../gm/downsamplebitmap.cpp', 91 '../gm/drawbitmaprect.cpp', 92 '../gm/drawfilter.cpp', 93 '../gm/drawlooper.cpp', 94 '../gm/dropshadowimagefilter.cpp', 95 '../gm/drrect.cpp', 96 '../gm/dstreadshuffle.cpp', 97 '../gm/etc1bitmap.cpp', 98 '../gm/extractbitmap.cpp', 99 '../gm/emboss.cpp', 100 '../gm/emptypath.cpp', 101 '../gm/fadefilter.cpp', 102 '../gm/fatpathfill.cpp', 103 '../gm/factory.cpp', 104 '../gm/filltypes.cpp', 105 '../gm/filltypespersp.cpp', 106 '../gm/filterbitmap.cpp', 107 '../gm/filterfastbounds.cpp', 108 '../gm/filterindiabox.cpp', 109 '../gm/fontcache.cpp', 110 '../gm/fontmgr.cpp', 111 '../gm/fontscaler.cpp', 112 '../gm/gammatext.cpp', 113 '../gm/getpostextpath.cpp', 114 '../gm/giantbitmap.cpp', 115 '../gm/glyph_pos.cpp', 116 '../gm/glyph_pos_align.cpp', 117 '../gm/gradients.cpp', 118 '../gm/gradients_2pt_conical.cpp', 119 '../gm/gradients_no_texture.cpp', 120 '../gm/gradientDirtyLaundry.cpp', 121 '../gm/gradient_matrix.cpp', 122 '../gm/gradtext.cpp', 123 '../gm/grayscalejpg.cpp', 124 '../gm/hairlines.cpp', 125 '../gm/hairmodes.cpp', 126 '../gm/hittestpath.cpp', 127 '../gm/imagealphathreshold.cpp', 128 '../gm/imageblur.cpp', 129 '../gm/imageblur2.cpp', 130 '../gm/imageblurtiled.cpp', 131 '../gm/imagemagnifier.cpp', 132 '../gm/imageresizetiled.cpp', 133 '../gm/inversepaths.cpp', 134 '../gm/lerpmode.cpp', 135 '../gm/lighting.cpp', 136 '../gm/lumafilter.cpp', 137 '../gm/image.cpp', 138 '../gm/imagefilters.cpp', 139 '../gm/imagefiltersbase.cpp', 140 '../gm/imagefiltersclipped.cpp', 141 '../gm/imagefilterscropped.cpp', 142 '../gm/imagefilterscropexpand.cpp', 143 '../gm/imagefiltersgraph.cpp', 144 '../gm/imagefiltersscaled.cpp', 145 '../gm/imagefilterstransformed.cpp', 146 '../gm/internal_links.cpp', 147 '../gm/largeglyphblur.cpp', 148 '../gm/lcdtext.cpp', 149 '../gm/linepaths.cpp', 150 '../gm/matrixconvolution.cpp', 151 '../gm/matriximagefilter.cpp', 152 '../gm/megalooper.cpp', 153 '../gm/mixedxfermodes.cpp', 154 '../gm/mixedtextblobs.cpp', 155 '../gm/mipmap.cpp', 156 '../gm/modecolorfilters.cpp', 157 '../gm/morphology.cpp', 158 '../gm/multipicturedraw.cpp', 159 '../gm/nested.cpp', 160 '../gm/ninepatchstretch.cpp', 161 '../gm/nonclosedpaths.cpp', 162 '../gm/offsetimagefilter.cpp', 163 '../gm/ovals.cpp', 164 '../gm/patch.cpp', 165 '../gm/patchgrid.cpp', 166 '../gm/patheffects.cpp', 167 '../gm/pathfill.cpp', 168 '../gm/pathinterior.cpp', 169 '../gm/pathopsinverse.cpp', 170 '../gm/pathopsskpclip.cpp', 171 '../gm/pathreverse.cpp', 172 '../gm/peekpixels.cpp', 173 '../gm/perlinnoise.cpp', 174 '../gm/picture.cpp', 175 '../gm/pictureimagefilter.cpp', 176 '../gm/pictureshader.cpp', 177 '../gm/pictureshadertile.cpp', 178 '../gm/pixelsnap.cpp', 179 '../gm/points.cpp', 180 '../gm/poly2poly.cpp', 181 '../gm/polygons.cpp', 182 '../gm/quadpaths.cpp', 183 '../gm/recordopts.cpp', 184 '../gm/rects.cpp', 185 '../gm/repeated_bitmap.cpp', 186 '../gm/resizeimagefilter.cpp', 187 '../gm/rrect.cpp', 188 '../gm/rrects.cpp', 189 '../gm/roundrects.cpp', 190 '../gm/samplerstress.cpp', 191 # '../gm/scalebitmap.cpp', 192 '../gm/shaderbounds.cpp', 193 '../gm/selftest.cpp', 194 '../gm/shadertext.cpp', 195 '../gm/shadertext2.cpp', 196 '../gm/shadertext3.cpp', 197 '../gm/shadows.cpp', 198 '../gm/shallowgradient.cpp', 199 '../gm/simpleaaclip.cpp', 200 '../gm/skbug1719.cpp', 201 '../gm/smallarc.cpp', 202 '../gm/smallimage.cpp', 203 '../gm/spritebitmap.cpp', 204 '../gm/srcmode.cpp', 205 '../gm/stlouisarch.cpp', 206 '../gm/stringart.cpp', 207 '../gm/strokefill.cpp', 208 '../gm/strokerect.cpp', 209 '../gm/strokerects.cpp', 210 '../gm/strokes.cpp', 211 '../gm/stroketext.cpp', 212 '../gm/surface.cpp', 213 '../gm/tablecolorfilter.cpp', 214 '../gm/texteffects.cpp', 215 '../gm/testimagefilters.cpp', 216 '../gm/texdata.cpp', 217 '../gm/variedtext.cpp', 218 '../gm/tallstretchedbitmaps.cpp', 219 '../gm/textblob.cpp', 220 '../gm/textbloblooper.cpp', 221 '../gm/textblobcolortrans.cpp', 222 '../gm/textblobgeometrychange.cpp', 223 '../gm/textblobshader.cpp', 224 '../gm/textblobtransforms.cpp', 225 '../gm/texturedomaineffect.cpp', 226 '../gm/thinrects.cpp', 227 '../gm/thinstrokedrects.cpp', 228 '../gm/tiledscaledbitmap.cpp', 229 '../gm/tileimagefilter.cpp', 230 '../gm/tilemodes.cpp', 231 '../gm/tilemodes_scaled.cpp', 232 '../gm/tinybitmap.cpp', 233 '../gm/transparency.cpp', 234 '../gm/typeface.cpp', 235 '../gm/vertices.cpp', 236 '../gm/verttext.cpp', 237 '../gm/verttext2.cpp', 238 '../gm/verylargebitmap.cpp', 239 '../gm/xfermodeimagefilter.cpp', 240 '../gm/xfermodes.cpp', 241 '../gm/xfermodes2.cpp', 242 '../gm/xfermodes3.cpp', 243 '../gm/yuvtorgbeffect.cpp', 244 245 # Files needed by particular GMs 246 '../src/gpu/GrTestBatch.h', 247 '../src/utils/debugger/SkDrawCommand.h', 248 '../src/utils/debugger/SkDrawCommand.cpp', 249 '../src/utils/debugger/SkDebugCanvas.h', 250 '../src/utils/debugger/SkDebugCanvas.cpp', 251 '../src/utils/debugger/SkObjectParser.h', 252 '../src/utils/debugger/SkObjectParser.cpp', 253 ], 254 }], 255 # TODO: Several GMs are known to cause particular problems on Android, so 256 # we disable them on Android. See http://skbug.com/2326 257 [ 'skia_os == "android"', { 258 'sources!': [ 259 # TODO(borenet): Causes assertion failure on Nexus S. 260 # See http://skbug.com/705 261 '../gm/bitmapcopy.cpp', 262 263 # SOME of the bitmaprect tests are disabled on Android; see 264 # ../gm/bitmaprect.cpp 265 266 # We skip GPU tests in this GM; see 267 # ../gm/deviceproperties.cpp 268 269 # TODO(bsalomon): Hangs on Xoom and Nexus S. See http://skbug.com/637 270 '../gm/drawbitmaprect.cpp', 271 272 # TODO(epoger): Crashes on Nexus 10. See http://skbug.com/2313 273 '../gm/imagefilterscropexpand.cpp', 274 275 # TODO(borenet): Causes Nexus S to reboot. See http://skbug.com/665 276 '../gm/shadertext.cpp', 277 '../gm/shadertext2.cpp', 278 '../gm/shadertext3.cpp', 279 280 # TODO(reed): Allocates more memory than Android devices are capable of 281 # fulfilling. See http://skbug.com/1978 282 '../gm/verylargebitmap.cpp', 283 ], 284 }], 285 ], 286} 287