scroggo | 3e56227 | 2015-03-25 10:22:41 -0700 | [diff] [blame] | 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. |
bsalomon@google.com | 48dd1a2 | 2011-10-31 14:18:20 +0000 | [diff] [blame] | 5 | # include this gypi to include all the golden master slides. |
| 6 | { |
commit-bot@chromium.org | 6adce67 | 2014-02-03 14:48:17 +0000 | [diff] [blame] | 7 | '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.org | 7209f93 | 2014-03-23 23:08:18 +0000 | [diff] [blame] | 14 | 'conditions': [ |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 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', |
reed | 19d8f9f | 2015-01-29 10:48:16 -0800 | [diff] [blame] | 22 | '../gm/addarc.cpp', |
halcanary | db0dcc7 | 2015-03-20 12:31:52 -0700 | [diff] [blame] | 23 | '../gm/all_bitmap_configs.cpp', |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 24 | '../gm/alphagradients.cpp', |
| 25 | '../gm/arcofzorro.cpp', |
| 26 | '../gm/arithmode.cpp', |
krajcevski | 95b1b3d | 2014-08-07 12:58:38 -0700 | [diff] [blame] | 27 | '../gm/astcbitmap.cpp', |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 28 | '../gm/beziereffects.cpp', |
caryclark | feff7d2 | 2014-10-09 05:36:03 -0700 | [diff] [blame] | 29 | '../gm/beziers.cpp', |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 30 | '../gm/bigblurs.cpp', |
| 31 | '../gm/bigmatrix.cpp', |
| 32 | '../gm/bigtext.cpp', |
| 33 | '../gm/bitmapcopy.cpp', |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 34 | '../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', |
robertphillips | 028b98a | 2015-01-14 09:44:02 -0800 | [diff] [blame] | 49 | '../gm/clipdrawdraw.cpp', |
george | b3eba47 | 2014-09-09 11:33:57 -0700 | [diff] [blame] | 50 | '../gm/clip_strokerect.cpp', |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 51 | '../gm/clippedbitmapshaders.cpp', |
reed | afa278e | 2014-11-24 19:11:48 -0800 | [diff] [blame] | 52 | '../gm/cgms.cpp', |
| 53 | '../gm/cgm.c', |
sugoi | ce68627 | 2014-10-09 05:27:23 -0700 | [diff] [blame] | 54 | '../gm/colorcube.cpp', |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 55 | '../gm/coloremoji.cpp', |
| 56 | '../gm/colorfilterimagefilter.cpp', |
| 57 | '../gm/colorfilters.cpp', |
| 58 | '../gm/colormatrix.cpp', |
| 59 | '../gm/colortype.cpp', |
egdaniel | ed3af66 | 2014-10-31 06:55:45 -0700 | [diff] [blame] | 60 | '../gm/colortypexfermode.cpp', |
halcanary | 30b83d4 | 2014-10-26 05:23:53 -0700 | [diff] [blame] | 61 | '../gm/colorwheel.cpp', |
senorblanco | d6ed19c | 2015-02-26 06:58:17 -0800 | [diff] [blame] | 62 | '../gm/concavepaths.cpp', |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 63 | '../gm/complexclip.cpp', |
| 64 | '../gm/complexclip2.cpp', |
egdaniel | df79503 | 2014-12-17 11:22:37 -0800 | [diff] [blame] | 65 | '../gm/complexclip3.cpp', |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 66 | '../gm/composeshader.cpp', |
reed | 40c85e4 | 2015-01-05 10:01:25 -0800 | [diff] [blame] | 67 | '../gm/conicpaths.cpp', |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 68 | '../gm/convexpaths.cpp', |
| 69 | '../gm/convexpolyclip.cpp', |
| 70 | '../gm/convexpolyeffect.cpp', |
| 71 | '../gm/copyTo4444.cpp', |
| 72 | '../gm/cubicpaths.cpp', |
| 73 | '../gm/cmykjpeg.cpp', |
joshualitt | 5ce33c1 | 2015-01-28 11:08:00 -0800 | [diff] [blame] | 74 | '../gm/dstreadshuffle.cpp', |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 75 | '../gm/degeneratesegments.cpp', |
bsalomon | b0ae649 | 2014-12-29 07:05:27 -0800 | [diff] [blame] | 76 | '../gm/dcshader.cpp', |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 77 | '../gm/discard.cpp', |
| 78 | '../gm/dashcubics.cpp', |
| 79 | '../gm/dashing.cpp', |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 80 | '../gm/distantclip.cpp', |
jvanverth | 9564ce6 | 2014-09-16 05:45:19 -0700 | [diff] [blame] | 81 | '../gm/dftext.cpp', |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 82 | '../gm/displacement.cpp', |
| 83 | '../gm/downsamplebitmap.cpp', |
| 84 | '../gm/drawbitmaprect.cpp', |
tomhudson | cdf34cd | 2015-03-06 06:15:20 -0800 | [diff] [blame] | 85 | '../gm/drawfilter.cpp', |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 86 | '../gm/drawlooper.cpp', |
| 87 | '../gm/dropshadowimagefilter.cpp', |
| 88 | '../gm/drrect.cpp', |
joshualitt | 5ce33c1 | 2015-01-28 11:08:00 -0800 | [diff] [blame] | 89 | '../gm/dstreadshuffle.cpp', |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 90 | '../gm/etc1bitmap.cpp', |
| 91 | '../gm/extractbitmap.cpp', |
reed | cc0e311 | 2014-09-10 10:20:24 -0700 | [diff] [blame] | 92 | '../gm/emboss.cpp', |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 93 | '../gm/emptypath.cpp', |
| 94 | '../gm/fatpathfill.cpp', |
| 95 | '../gm/factory.cpp', |
| 96 | '../gm/filltypes.cpp', |
| 97 | '../gm/filltypespersp.cpp', |
| 98 | '../gm/filterbitmap.cpp', |
robertphillips | 9a26410 | 2014-12-08 09:18:58 -0800 | [diff] [blame] | 99 | '../gm/filterfastbounds.cpp', |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 100 | '../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', |
halcanary | d476a17 | 2014-12-02 06:37:21 -0800 | [diff] [blame] | 115 | '../gm/grayscalejpg.cpp', |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 116 | '../gm/hairlines.cpp', |
| 117 | '../gm/hairmodes.cpp', |
| 118 | '../gm/hittestpath.cpp', |
| 119 | '../gm/imagealphathreshold.cpp', |
| 120 | '../gm/imageblur.cpp', |
joshualitt | 5acfea7 | 2014-08-11 13:55:34 -0700 | [diff] [blame] | 121 | '../gm/imageblur2.cpp', |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 122 | '../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', |
senorblanco | d4bb991 | 2015-03-20 08:54:32 -0700 | [diff] [blame] | 136 | '../gm/imagefilterstransformed.cpp', |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 137 | '../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', |
reed | c8e4765 | 2015-02-19 11:39:46 -0800 | [diff] [blame] | 144 | '../gm/mipmap.cpp', |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 145 | '../gm/modecolorfilters.cpp', |
| 146 | '../gm/morphology.cpp', |
robertphillips | 7eacd77 | 2014-08-21 13:12:42 -0700 | [diff] [blame] | 147 | '../gm/multipicturedraw.cpp', |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 148 | '../gm/nested.cpp', |
| 149 | '../gm/ninepatchstretch.cpp', |
| 150 | '../gm/nonclosedpaths.cpp', |
| 151 | '../gm/offsetimagefilter.cpp', |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 152 | '../gm/ovals.cpp', |
| 153 | '../gm/patch.cpp', |
dandov | cc03adb | 2014-08-12 17:14:57 -0700 | [diff] [blame] | 154 | '../gm/patchgrid.cpp', |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 155 | '../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', |
reed | d5fa1a4 | 2014-08-09 11:08:05 -0700 | [diff] [blame] | 163 | '../gm/picture.cpp', |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 164 | '../gm/pictureimagefilter.cpp', |
| 165 | '../gm/pictureshader.cpp', |
fmalita | b5f7826 | 2014-08-06 13:07:15 -0700 | [diff] [blame] | 166 | '../gm/pictureshadertile.cpp', |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 167 | '../gm/points.cpp', |
| 168 | '../gm/poly2poly.cpp', |
| 169 | '../gm/polygons.cpp', |
| 170 | '../gm/quadpaths.cpp', |
kkinnunen | dc0f408 | 2015-01-26 00:14:26 -0800 | [diff] [blame] | 171 | '../gm/recordopts.cpp', |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 172 | '../gm/rects.cpp', |
halcanary | 1b5c604 | 2015-02-18 11:29:56 -0800 | [diff] [blame] | 173 | '../gm/repeated_bitmap.cpp', |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 174 | '../gm/resizeimagefilter.cpp', |
| 175 | '../gm/rrect.cpp', |
| 176 | '../gm/rrects.cpp', |
| 177 | '../gm/roundrects.cpp', |
reed | d7127e7 | 2014-08-12 06:53:09 -0700 | [diff] [blame] | 178 | '../gm/samplerstress.cpp', |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 179 | # '../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', |
caryclark | feff7d2 | 2014-10-09 05:36:03 -0700 | [diff] [blame] | 189 | '../gm/smallarc.cpp', |
halcanary | 84bc52a | 2014-12-02 14:01:46 -0800 | [diff] [blame] | 190 | '../gm/smallimage.cpp', |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 191 | '../gm/spritebitmap.cpp', |
| 192 | '../gm/srcmode.cpp', |
joshualitt | 6364807 | 2015-02-19 10:25:21 -0800 | [diff] [blame] | 193 | '../gm/stlouisarch.cpp', |
| 194 | '../gm/stringart.cpp', |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 195 | '../gm/strokefill.cpp', |
| 196 | '../gm/strokerect.cpp', |
| 197 | '../gm/strokerects.cpp', |
| 198 | '../gm/strokes.cpp', |
| 199 | '../gm/stroketext.cpp', |
reed | 4a8126e | 2014-09-22 07:29:03 -0700 | [diff] [blame] | 200 | '../gm/surface.cpp', |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 201 | '../gm/tablecolorfilter.cpp', |
| 202 | '../gm/texteffects.cpp', |
| 203 | '../gm/testimagefilters.cpp', |
| 204 | '../gm/texdata.cpp', |
| 205 | '../gm/variedtext.cpp', |
bsalomon | 17168df | 2014-12-09 09:00:49 -0800 | [diff] [blame] | 206 | '../gm/tallstretchedbitmaps.cpp', |
fmalita | 00d5c2c | 2014-08-21 08:53:26 -0700 | [diff] [blame] | 207 | '../gm/textblob.cpp', |
fmalita | 8483326 | 2014-09-19 11:40:51 -0700 | [diff] [blame] | 208 | '../gm/textblobshader.cpp', |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 209 | '../gm/texturedomaineffect.cpp', |
| 210 | '../gm/thinrects.cpp', |
| 211 | '../gm/thinstrokedrects.cpp', |
humper | 535e3b2 | 2014-10-27 10:32:06 -0700 | [diff] [blame] | 212 | '../gm/tiledscaledbitmap.cpp', |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 213 | '../gm/tileimagefilter.cpp', |
| 214 | '../gm/tilemodes.cpp', |
| 215 | '../gm/tilemodes_scaled.cpp', |
| 216 | '../gm/tinybitmap.cpp', |
halcanary | a7976be | 2015-01-07 13:23:09 -0800 | [diff] [blame] | 217 | '../gm/transparency.cpp', |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 218 | '../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 |
joshualitt | 95964c6 | 2015-02-11 13:45:50 -0800 | [diff] [blame] | 231 | '../src/gpu/GrTestBatch.h', |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 232 | '../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.org | 7b78981 | 2014-03-24 20:07:44 +0000 | [diff] [blame] | 240 | # 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.org | 7209f93 | 2014-03-23 23:08:18 +0000 | [diff] [blame] | 242 | [ 'skia_os == "android"', { |
| 243 | 'sources!': [ |
commit-bot@chromium.org | 7b78981 | 2014-03-24 20:07:44 +0000 | [diff] [blame] | 244 | # 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.org | 7b78981 | 2014-03-24 20:07:44 +0000 | [diff] [blame] | 251 | # 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.org | 7209f93 | 2014-03-23 23:08:18 +0000 | [diff] [blame] | 258 | '../gm/imagefilterscropexpand.cpp', |
commit-bot@chromium.org | 7b78981 | 2014-03-24 20:07:44 +0000 | [diff] [blame] | 259 | |
| 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.org | 7209f93 | 2014-03-23 23:08:18 +0000 | [diff] [blame] | 269 | }], |
commit-bot@chromium.org | 7209f93 | 2014-03-23 23:08:18 +0000 | [diff] [blame] | 270 | ], |
bsalomon@google.com | 48dd1a2 | 2011-10-31 14:18:20 +0000 | [diff] [blame] | 271 | } |