| OLD | NEW | 
|---|
| 1 # include this gypi to include all the golden master slides. | 1 # include this gypi to include all the golden master slides. | 
| 2 { | 2 { | 
| 3   'include_dirs': [ | 3   'include_dirs': [ | 
| 4     '../gm', | 4     '../gm', | 
| 5     # include dirs needed by particular GMs | 5     # include dirs needed by particular GMs | 
| 6     '../src/utils/debugger', | 6     '../src/utils/debugger', | 
| 7     '../src/images', | 7     '../src/images', | 
| 8     '../src/lazy', | 8     '../src/lazy', | 
| 9   ], | 9   ], | 
| 10   'sources': [ | 10   'conditions': [ | 
| 11     # base class for GMs | 11     # If we're building SampleApp on the bots, no need to link in the GM slides. | 
| 12     '../gm/gm.cpp', | 12     # We're not going to run it; we're only making sure it still builds. | 
| 13     '../gm/gm.h', | 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', | 
|  | 21         '../gm/beziereffects.cpp', | 
|  | 22         '../gm/bigblurs.cpp', | 
|  | 23         '../gm/bigmatrix.cpp', | 
|  | 24         '../gm/bigtext.cpp', | 
|  | 25         '../gm/bitmapcopy.cpp', | 
|  | 26         '../gm/bitmapmatrix.cpp', | 
|  | 27         '../gm/bitmapfilters.cpp', | 
|  | 28         '../gm/bitmappremul.cpp', | 
|  | 29         '../gm/bitmaprect.cpp', | 
|  | 30         '../gm/bitmaprecttest.cpp', | 
|  | 31         '../gm/bitmapscroll.cpp', | 
|  | 32         '../gm/bitmapshader.cpp', | 
|  | 33         '../gm/bitmapsource.cpp', | 
|  | 34         '../gm/bleed.cpp', | 
|  | 35         '../gm/blurcircles.cpp', | 
|  | 36         '../gm/blurs.cpp', | 
|  | 37         '../gm/blurquickreject.cpp', | 
|  | 38         '../gm/blurrect.cpp', | 
|  | 39         '../gm/blurroundrect.cpp', | 
|  | 40         '../gm/circles.cpp', | 
|  | 41         '../gm/circularclips.cpp', | 
|  | 42         '../gm/clippedbitmapshaders.cpp', | 
|  | 43         '../gm/coloremoji.cpp', | 
|  | 44         '../gm/colorfilterimagefilter.cpp', | 
|  | 45         '../gm/colorfilters.cpp', | 
|  | 46         '../gm/colormatrix.cpp', | 
|  | 47         '../gm/colortype.cpp', | 
|  | 48         '../gm/complexclip.cpp', | 
|  | 49         '../gm/complexclip2.cpp', | 
|  | 50         '../gm/composeshader.cpp', | 
|  | 51         #'../gm/conicpaths.cpp', | 
|  | 52         '../gm/convexpaths.cpp', | 
|  | 53         '../gm/convexpolyclip.cpp', | 
|  | 54         '../gm/convexpolyeffect.cpp', | 
|  | 55         '../gm/copyTo4444.cpp', | 
|  | 56         '../gm/cubicpaths.cpp', | 
|  | 57         '../gm/cmykjpeg.cpp', | 
|  | 58         '../gm/degeneratesegments.cpp', | 
|  | 59         '../gm/discard.cpp', | 
|  | 60         '../gm/dashcubics.cpp', | 
|  | 61         '../gm/dashing.cpp', | 
|  | 62         '../gm/deviceproperties.cpp', | 
|  | 63         '../gm/distantclip.cpp', | 
|  | 64         '../gm/displacement.cpp', | 
|  | 65         '../gm/downsamplebitmap.cpp', | 
|  | 66         '../gm/drawbitmaprect.cpp', | 
|  | 67         '../gm/drawlooper.cpp', | 
|  | 68         '../gm/dropshadowimagefilter.cpp', | 
|  | 69         '../gm/drrect.cpp', | 
|  | 70         '../gm/etc1bitmap.cpp', | 
|  | 71         '../gm/extractbitmap.cpp', | 
|  | 72         '../gm/emptypath.cpp', | 
|  | 73         '../gm/fatpathfill.cpp', | 
|  | 74         '../gm/factory.cpp', | 
|  | 75         '../gm/filltypes.cpp', | 
|  | 76         '../gm/filltypespersp.cpp', | 
|  | 77         '../gm/filterbitmap.cpp', | 
|  | 78         '../gm/filterindiabox.cpp', | 
|  | 79         '../gm/fontcache.cpp', | 
|  | 80         '../gm/fontmgr.cpp', | 
|  | 81         '../gm/fontscaler.cpp', | 
|  | 82         '../gm/gammatext.cpp', | 
|  | 83         '../gm/getpostextpath.cpp', | 
|  | 84         '../gm/giantbitmap.cpp', | 
|  | 85         '../gm/glyph_pos.cpp', | 
|  | 86         '../gm/glyph_pos_align.cpp', | 
|  | 87         '../gm/gradients.cpp', | 
|  | 88         '../gm/gradients_2pt_conical.cpp', | 
|  | 89         '../gm/gradients_no_texture.cpp', | 
|  | 90         '../gm/gradientDirtyLaundry.cpp', | 
|  | 91         '../gm/gradient_matrix.cpp', | 
|  | 92         '../gm/gradtext.cpp', | 
|  | 93         '../gm/hairlines.cpp', | 
|  | 94         '../gm/hairmodes.cpp', | 
|  | 95         '../gm/hittestpath.cpp', | 
|  | 96         '../gm/imagealphathreshold.cpp', | 
|  | 97         '../gm/imageblur.cpp', | 
|  | 98         '../gm/imageblurtiled.cpp', | 
|  | 99         '../gm/imagemagnifier.cpp', | 
|  | 100         '../gm/imageresizetiled.cpp', | 
|  | 101         '../gm/inversepaths.cpp', | 
|  | 102         '../gm/lerpmode.cpp', | 
|  | 103         '../gm/lighting.cpp', | 
|  | 104         '../gm/lumafilter.cpp', | 
|  | 105         '../gm/image.cpp', | 
|  | 106         '../gm/imagefiltersbase.cpp', | 
|  | 107         '../gm/imagefiltersclipped.cpp', | 
|  | 108         '../gm/imagefilterscropped.cpp', | 
|  | 109         '../gm/imagefilterscropexpand.cpp', | 
|  | 110         '../gm/imagefiltersgraph.cpp', | 
|  | 111         '../gm/imagefiltersscaled.cpp', | 
|  | 112         '../gm/internal_links.cpp', | 
|  | 113         '../gm/lcdtext.cpp', | 
|  | 114         '../gm/linepaths.cpp', | 
|  | 115         '../gm/matrixconvolution.cpp', | 
|  | 116         '../gm/matriximagefilter.cpp', | 
|  | 117         '../gm/megalooper.cpp', | 
|  | 118         '../gm/mixedxfermodes.cpp', | 
|  | 119         '../gm/modecolorfilters.cpp', | 
|  | 120         '../gm/morphology.cpp', | 
|  | 121         '../gm/nested.cpp', | 
|  | 122         '../gm/ninepatchstretch.cpp', | 
|  | 123         '../gm/nonclosedpaths.cpp', | 
|  | 124         '../gm/offsetimagefilter.cpp', | 
|  | 125         '../gm/optimizations.cpp', | 
|  | 126         '../gm/ovals.cpp', | 
|  | 127         '../gm/patch.cpp', | 
|  | 128         '../gm/patheffects.cpp', | 
|  | 129         '../gm/pathfill.cpp', | 
|  | 130         '../gm/pathinterior.cpp', | 
|  | 131         '../gm/pathopsinverse.cpp', | 
|  | 132         '../gm/pathopsskpclip.cpp', | 
|  | 133         '../gm/pathreverse.cpp', | 
|  | 134         '../gm/peekpixels.cpp', | 
|  | 135         '../gm/perlinnoise.cpp', | 
|  | 136         '../gm/pictureimagefilter.cpp', | 
|  | 137         '../gm/pictureshader.cpp', | 
|  | 138         '../gm/points.cpp', | 
|  | 139         '../gm/poly2poly.cpp', | 
|  | 140         '../gm/polygons.cpp', | 
|  | 141         '../gm/quadpaths.cpp', | 
|  | 142         '../gm/rects.cpp', | 
|  | 143         '../gm/resizeimagefilter.cpp', | 
|  | 144         '../gm/rrect.cpp', | 
|  | 145         '../gm/rrects.cpp', | 
|  | 146         '../gm/roundrects.cpp', | 
|  | 147         '../gm/samplerstress.cpp', | 
|  | 148         # '../gm/scalebitmap.cpp', | 
|  | 149         '../gm/shaderbounds.cpp', | 
|  | 150         '../gm/selftest.cpp', | 
|  | 151         '../gm/shadertext.cpp', | 
|  | 152         '../gm/shadertext2.cpp', | 
|  | 153         '../gm/shadertext3.cpp', | 
|  | 154         '../gm/shadows.cpp', | 
|  | 155         '../gm/shallowgradient.cpp', | 
|  | 156         '../gm/simpleaaclip.cpp', | 
|  | 157         '../gm/skbug1719.cpp', | 
|  | 158         '../gm/stringart.cpp', | 
|  | 159         '../gm/spritebitmap.cpp', | 
|  | 160         '../gm/srcmode.cpp', | 
|  | 161         '../gm/strokefill.cpp', | 
|  | 162         '../gm/strokerect.cpp', | 
|  | 163         '../gm/strokerects.cpp', | 
|  | 164         '../gm/strokes.cpp', | 
|  | 165         '../gm/stroketext.cpp', | 
|  | 166         '../gm/tablecolorfilter.cpp', | 
|  | 167         '../gm/texteffects.cpp', | 
|  | 168         '../gm/testimagefilters.cpp', | 
|  | 169         '../gm/texdata.cpp', | 
|  | 170         '../gm/variedtext.cpp', | 
|  | 171         '../gm/texturedomaineffect.cpp', | 
|  | 172         '../gm/thinrects.cpp', | 
|  | 173         '../gm/thinstrokedrects.cpp', | 
|  | 174         '../gm/tileimagefilter.cpp', | 
|  | 175         '../gm/tilemodes.cpp', | 
|  | 176         '../gm/tilemodes_scaled.cpp', | 
|  | 177         '../gm/tinybitmap.cpp', | 
|  | 178         '../gm/twopointradial.cpp', | 
|  | 179         '../gm/typeface.cpp', | 
|  | 180         '../gm/vertices.cpp', | 
|  | 181         '../gm/verttext.cpp', | 
|  | 182         '../gm/verttext2.cpp', | 
|  | 183         '../gm/verylargebitmap.cpp', | 
|  | 184         '../gm/xfermodeimagefilter.cpp', | 
|  | 185         '../gm/xfermodes.cpp', | 
|  | 186         '../gm/xfermodes2.cpp', | 
|  | 187         '../gm/xfermodes3.cpp', | 
|  | 188         '../gm/yuvtorgbeffect.cpp', | 
| 14 | 189 | 
| 15     '../gm/aaclip.cpp', | 190         # Files needed by particular GMs | 
| 16     '../gm/aarectmodes.cpp', | 191         '../src/utils/debugger/SkDrawCommand.h', | 
| 17     '../gm/alphagradients.cpp', | 192         '../src/utils/debugger/SkDrawCommand.cpp', | 
| 18     '../gm/arcofzorro.cpp', | 193         '../src/utils/debugger/SkDebugCanvas.h', | 
| 19     '../gm/arithmode.cpp', | 194         '../src/utils/debugger/SkDebugCanvas.cpp', | 
| 20     '../gm/beziereffects.cpp', | 195         '../src/utils/debugger/SkObjectParser.h', | 
| 21     '../gm/bigblurs.cpp', | 196         '../src/utils/debugger/SkObjectParser.cpp', | 
| 22     '../gm/bigmatrix.cpp', | 197       ], | 
| 23     '../gm/bigtext.cpp', | 198     }], | 
| 24     '../gm/bitmapcopy.cpp', |  | 
| 25     '../gm/bitmapmatrix.cpp', |  | 
| 26     '../gm/bitmapfilters.cpp', |  | 
| 27     '../gm/bitmappremul.cpp', |  | 
| 28     '../gm/bitmaprect.cpp', |  | 
| 29     '../gm/bitmaprecttest.cpp', |  | 
| 30     '../gm/bitmapscroll.cpp', |  | 
| 31     '../gm/bitmapshader.cpp', |  | 
| 32     '../gm/bitmapsource.cpp', |  | 
| 33     '../gm/bleed.cpp', |  | 
| 34     '../gm/blurcircles.cpp', |  | 
| 35     '../gm/blurs.cpp', |  | 
| 36     '../gm/blurquickreject.cpp', |  | 
| 37     '../gm/blurrect.cpp', |  | 
| 38     '../gm/blurroundrect.cpp', |  | 
| 39     '../gm/circles.cpp', |  | 
| 40     '../gm/circularclips.cpp', |  | 
| 41     '../gm/clippedbitmapshaders.cpp', |  | 
| 42     '../gm/coloremoji.cpp', |  | 
| 43     '../gm/colorfilterimagefilter.cpp', |  | 
| 44     '../gm/colorfilters.cpp', |  | 
| 45     '../gm/colormatrix.cpp', |  | 
| 46     '../gm/colortype.cpp', |  | 
| 47     '../gm/complexclip.cpp', |  | 
| 48     '../gm/complexclip2.cpp', |  | 
| 49     '../gm/composeshader.cpp', |  | 
| 50     #'../gm/conicpaths.cpp', |  | 
| 51     '../gm/convexpaths.cpp', |  | 
| 52     '../gm/convexpolyclip.cpp', |  | 
| 53     '../gm/convexpolyeffect.cpp', |  | 
| 54     '../gm/copyTo4444.cpp', |  | 
| 55     '../gm/cubicpaths.cpp', |  | 
| 56     '../gm/cmykjpeg.cpp', |  | 
| 57     '../gm/degeneratesegments.cpp', |  | 
| 58     '../gm/discard.cpp', |  | 
| 59     '../gm/dashcubics.cpp', |  | 
| 60     '../gm/dashing.cpp', |  | 
| 61     '../gm/deviceproperties.cpp', |  | 
| 62     '../gm/distantclip.cpp', |  | 
| 63     '../gm/displacement.cpp', |  | 
| 64     '../gm/downsamplebitmap.cpp', |  | 
| 65     '../gm/drawbitmaprect.cpp', |  | 
| 66     '../gm/drawlooper.cpp', |  | 
| 67     '../gm/dropshadowimagefilter.cpp', |  | 
| 68     '../gm/drrect.cpp', |  | 
| 69     '../gm/etc1bitmap.cpp', |  | 
| 70     '../gm/extractbitmap.cpp', |  | 
| 71     '../gm/emptypath.cpp', |  | 
| 72     '../gm/fatpathfill.cpp', |  | 
| 73     '../gm/factory.cpp', |  | 
| 74     '../gm/filltypes.cpp', |  | 
| 75     '../gm/filltypespersp.cpp', |  | 
| 76     '../gm/filterbitmap.cpp', |  | 
| 77     '../gm/filterindiabox.cpp', |  | 
| 78     '../gm/fontcache.cpp', |  | 
| 79     '../gm/fontmgr.cpp', |  | 
| 80     '../gm/fontscaler.cpp', |  | 
| 81     '../gm/gammatext.cpp', |  | 
| 82     '../gm/getpostextpath.cpp', |  | 
| 83     '../gm/giantbitmap.cpp', |  | 
| 84     '../gm/glyph_pos.cpp', |  | 
| 85     '../gm/glyph_pos_align.cpp', |  | 
| 86     '../gm/gradients.cpp', |  | 
| 87     '../gm/gradients_2pt_conical.cpp', |  | 
| 88     '../gm/gradients_no_texture.cpp', |  | 
| 89     '../gm/gradientDirtyLaundry.cpp', |  | 
| 90     '../gm/gradient_matrix.cpp', |  | 
| 91     '../gm/gradtext.cpp', |  | 
| 92     '../gm/hairlines.cpp', |  | 
| 93     '../gm/hairmodes.cpp', |  | 
| 94     '../gm/hittestpath.cpp', |  | 
| 95     '../gm/imagealphathreshold.cpp', |  | 
| 96     '../gm/imageblur.cpp', |  | 
| 97     '../gm/imageblurtiled.cpp', |  | 
| 98     '../gm/imagemagnifier.cpp', |  | 
| 99     '../gm/imageresizetiled.cpp', |  | 
| 100     '../gm/inversepaths.cpp', |  | 
| 101     '../gm/lerpmode.cpp', |  | 
| 102     '../gm/lighting.cpp', |  | 
| 103     '../gm/lumafilter.cpp', |  | 
| 104     '../gm/image.cpp', |  | 
| 105     '../gm/imagefiltersbase.cpp', |  | 
| 106     '../gm/imagefiltersclipped.cpp', |  | 
| 107     '../gm/imagefilterscropped.cpp', |  | 
| 108     '../gm/imagefilterscropexpand.cpp', |  | 
| 109     '../gm/imagefiltersgraph.cpp', |  | 
| 110     '../gm/imagefiltersscaled.cpp', |  | 
| 111     '../gm/internal_links.cpp', |  | 
| 112     '../gm/lcdtext.cpp', |  | 
| 113     '../gm/linepaths.cpp', |  | 
| 114     '../gm/matrixconvolution.cpp', |  | 
| 115     '../gm/matriximagefilter.cpp', |  | 
| 116     '../gm/megalooper.cpp', |  | 
| 117     '../gm/mixedxfermodes.cpp', |  | 
| 118     '../gm/modecolorfilters.cpp', |  | 
| 119     '../gm/morphology.cpp', |  | 
| 120     '../gm/nested.cpp', |  | 
| 121     '../gm/ninepatchstretch.cpp', |  | 
| 122     '../gm/nonclosedpaths.cpp', |  | 
| 123     '../gm/offsetimagefilter.cpp', |  | 
| 124     '../gm/optimizations.cpp', |  | 
| 125     '../gm/ovals.cpp', |  | 
| 126     '../gm/patch.cpp', |  | 
| 127     '../gm/patheffects.cpp', |  | 
| 128     '../gm/pathfill.cpp', |  | 
| 129     '../gm/pathinterior.cpp', |  | 
| 130     '../gm/pathopsinverse.cpp', |  | 
| 131     '../gm/pathopsskpclip.cpp', |  | 
| 132     '../gm/pathreverse.cpp', |  | 
| 133     '../gm/peekpixels.cpp', |  | 
| 134     '../gm/perlinnoise.cpp', |  | 
| 135     '../gm/pictureimagefilter.cpp', |  | 
| 136     '../gm/pictureshader.cpp', |  | 
| 137     '../gm/points.cpp', |  | 
| 138     '../gm/poly2poly.cpp', |  | 
| 139     '../gm/polygons.cpp', |  | 
| 140     '../gm/quadpaths.cpp', |  | 
| 141     '../gm/rects.cpp', |  | 
| 142     '../gm/resizeimagefilter.cpp', |  | 
| 143     '../gm/rrect.cpp', |  | 
| 144     '../gm/rrects.cpp', |  | 
| 145     '../gm/roundrects.cpp', |  | 
| 146     '../gm/samplerstress.cpp', |  | 
| 147     # '../gm/scalebitmap.cpp', |  | 
| 148     '../gm/shaderbounds.cpp', |  | 
| 149     '../gm/selftest.cpp', |  | 
| 150     '../gm/shadertext.cpp', |  | 
| 151     '../gm/shadertext2.cpp', |  | 
| 152     '../gm/shadertext3.cpp', |  | 
| 153     '../gm/shadows.cpp', |  | 
| 154     '../gm/shallowgradient.cpp', |  | 
| 155     '../gm/simpleaaclip.cpp', |  | 
| 156     '../gm/skbug1719.cpp', |  | 
| 157     '../gm/stringart.cpp', |  | 
| 158     '../gm/spritebitmap.cpp', |  | 
| 159     '../gm/srcmode.cpp', |  | 
| 160     '../gm/strokefill.cpp', |  | 
| 161     '../gm/strokerect.cpp', |  | 
| 162     '../gm/strokerects.cpp', |  | 
| 163     '../gm/strokes.cpp', |  | 
| 164     '../gm/stroketext.cpp', |  | 
| 165     '../gm/tablecolorfilter.cpp', |  | 
| 166     '../gm/texteffects.cpp', |  | 
| 167     '../gm/testimagefilters.cpp', |  | 
| 168     '../gm/texdata.cpp', |  | 
| 169     '../gm/variedtext.cpp', |  | 
| 170     '../gm/texturedomaineffect.cpp', |  | 
| 171     '../gm/thinrects.cpp', |  | 
| 172     '../gm/thinstrokedrects.cpp', |  | 
| 173     '../gm/tileimagefilter.cpp', |  | 
| 174     '../gm/tilemodes.cpp', |  | 
| 175     '../gm/tilemodes_scaled.cpp', |  | 
| 176     '../gm/tinybitmap.cpp', |  | 
| 177     '../gm/twopointradial.cpp', |  | 
| 178     '../gm/typeface.cpp', |  | 
| 179     '../gm/vertices.cpp', |  | 
| 180     '../gm/verttext.cpp', |  | 
| 181     '../gm/verttext2.cpp', |  | 
| 182     '../gm/verylargebitmap.cpp', |  | 
| 183     '../gm/xfermodeimagefilter.cpp', |  | 
| 184     '../gm/xfermodes.cpp', |  | 
| 185     '../gm/xfermodes2.cpp', |  | 
| 186     '../gm/xfermodes3.cpp', |  | 
| 187     '../gm/yuvtorgbeffect.cpp', |  | 
| 188 |  | 
| 189     # Files needed by particular GMs |  | 
| 190     '../src/utils/debugger/SkDrawCommand.h', |  | 
| 191     '../src/utils/debugger/SkDrawCommand.cpp', |  | 
| 192     '../src/utils/debugger/SkDebugCanvas.h', |  | 
| 193     '../src/utils/debugger/SkDebugCanvas.cpp', |  | 
| 194     '../src/utils/debugger/SkObjectParser.h', |  | 
| 195     '../src/utils/debugger/SkObjectParser.cpp', |  | 
| 196 |  | 
| 197   ], |  | 
| 198   'conditions': [ |  | 
| 199     # TODO: Several GMs are known to cause particular problems on Android, so | 199     # TODO: Several GMs are known to cause particular problems on Android, so | 
| 200     # we disable them on Android.  See http://skbug.com/2326 | 200     # we disable them on Android.  See http://skbug.com/2326 | 
| 201     [ 'skia_os == "android"', { | 201     [ 'skia_os == "android"', { | 
| 202       'sources!': [ | 202       'sources!': [ | 
| 203         # TODO(borenet): Causes assertion failure on Nexus S. | 203         # TODO(borenet): Causes assertion failure on Nexus S. | 
| 204         # See http://skbug.com/705 | 204         # See http://skbug.com/705 | 
| 205         '../gm/bitmapcopy.cpp', | 205         '../gm/bitmapcopy.cpp', | 
| 206 | 206 | 
| 207         # SOME of the bitmaprect tests are disabled on Android; see | 207         # SOME of the bitmaprect tests are disabled on Android; see | 
| 208         # ../gm/bitmaprect.cpp | 208         # ../gm/bitmaprect.cpp | 
| (...skipping 15 matching lines...) Expand all  Loading... | 
| 224         '../gm/shadertext2.cpp', | 224         '../gm/shadertext2.cpp', | 
| 225         '../gm/shadertext3.cpp', | 225         '../gm/shadertext3.cpp', | 
| 226 | 226 | 
| 227         # TODO(reed): Allocates more memory than Android devices are capable of | 227         # TODO(reed): Allocates more memory than Android devices are capable of | 
| 228         # fulfilling. See http://skbug.com/1978 | 228         # fulfilling. See http://skbug.com/1978 | 
| 229         '../gm/verylargebitmap.cpp', | 229         '../gm/verylargebitmap.cpp', | 
| 230       ], | 230       ], | 
| 231     }], | 231     }], | 
| 232   ], | 232   ], | 
| 233 } | 233 } | 
| OLD | NEW | 
|---|