Home | History | Annotate | Download | only in gyp
      1 # include this gypi to include all the golden master slides.
      2 {
      3   'include_dirs': [
      4     '../gm',
      5     # include dirs needed by particular GMs
      6     '../src/utils/debugger',
      7     '../src/images',
      8     '../src/lazy',
      9   ],
     10   'conditions': [
     11     # 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',
     21         '../gm/astcbitmap.cpp',
     22         '../gm/beziereffects.cpp',
     23         '../gm/bigblurs.cpp',
     24         '../gm/bigmatrix.cpp',
     25         '../gm/bigtext.cpp',
     26         '../gm/bitmapcopy.cpp',
     27         '../gm/bitmapmatrix.cpp',
     28         '../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',
     43         '../gm/clip_strokerect.cpp',
     44         '../gm/clippedbitmapshaders.cpp',
     45         '../gm/coloremoji.cpp',
     46         '../gm/colorfilterimagefilter.cpp',
     47         '../gm/colorfilters.cpp',
     48         '../gm/colormatrix.cpp',
     49         '../gm/colortype.cpp',
     50         '../gm/complexclip.cpp',
     51         '../gm/complexclip2.cpp',
     52         '../gm/composeshader.cpp',
     53         #'../gm/conicpaths.cpp',
     54         '../gm/convexpaths.cpp',
     55         '../gm/convexpolyclip.cpp',
     56         '../gm/convexpolyeffect.cpp',
     57         '../gm/copyTo4444.cpp',
     58         '../gm/cubicpaths.cpp',
     59         '../gm/cmykjpeg.cpp',
     60         '../gm/degeneratesegments.cpp',
     61         '../gm/discard.cpp',
     62         '../gm/dashcubics.cpp',
     63         '../gm/dashing.cpp',
     64         '../gm/distantclip.cpp',
     65         '../gm/dftext.cpp',
     66         '../gm/displacement.cpp',
     67         '../gm/downsamplebitmap.cpp',
     68         '../gm/drawbitmaprect.cpp',
     69         '../gm/drawlooper.cpp',
     70         '../gm/dropshadowimagefilter.cpp',
     71         '../gm/drrect.cpp',
     72         '../gm/etc1bitmap.cpp',
     73         '../gm/extractbitmap.cpp',
     74         '../gm/emboss.cpp',
     75         '../gm/emptypath.cpp',
     76         '../gm/fatpathfill.cpp',
     77         '../gm/factory.cpp',
     78         '../gm/filltypes.cpp',
     79         '../gm/filltypespersp.cpp',
     80         '../gm/filterbitmap.cpp',
     81         '../gm/filterindiabox.cpp',
     82         '../gm/fontcache.cpp',
     83         '../gm/fontmgr.cpp',
     84         '../gm/fontscaler.cpp',
     85         '../gm/gammatext.cpp',
     86         '../gm/getpostextpath.cpp',
     87         '../gm/giantbitmap.cpp',
     88         '../gm/glyph_pos.cpp',
     89         '../gm/glyph_pos_align.cpp',
     90         '../gm/gradients.cpp',
     91         '../gm/gradients_2pt_conical.cpp',
     92         '../gm/gradients_no_texture.cpp',
     93         '../gm/gradientDirtyLaundry.cpp',
     94         '../gm/gradient_matrix.cpp',
     95         '../gm/gradtext.cpp',
     96         '../gm/hairlines.cpp',
     97         '../gm/hairmodes.cpp',
     98         '../gm/hittestpath.cpp',
     99         '../gm/imagealphathreshold.cpp',
    100         '../gm/imageblur.cpp',
    101         '../gm/imageblur2.cpp',
    102         '../gm/imageblurtiled.cpp',
    103         '../gm/imagemagnifier.cpp',
    104         '../gm/imageresizetiled.cpp',
    105         '../gm/inversepaths.cpp',
    106         '../gm/lerpmode.cpp',
    107         '../gm/lighting.cpp',
    108         '../gm/lumafilter.cpp',
    109         '../gm/image.cpp',
    110         '../gm/imagefiltersbase.cpp',
    111         '../gm/imagefiltersclipped.cpp',
    112         '../gm/imagefilterscropped.cpp',
    113         '../gm/imagefilterscropexpand.cpp',
    114         '../gm/imagefiltersgraph.cpp',
    115         '../gm/imagefiltersscaled.cpp',
    116         '../gm/internal_links.cpp',
    117         '../gm/lcdtext.cpp',
    118         '../gm/linepaths.cpp',
    119         '../gm/matrixconvolution.cpp',
    120         '../gm/matriximagefilter.cpp',
    121         '../gm/megalooper.cpp',
    122         '../gm/mixedxfermodes.cpp',
    123         '../gm/modecolorfilters.cpp',
    124         '../gm/morphology.cpp',
    125         '../gm/multipicturedraw.cpp',
    126         '../gm/nested.cpp',
    127         '../gm/ninepatchstretch.cpp',
    128         '../gm/nonclosedpaths.cpp',
    129         '../gm/offsetimagefilter.cpp',
    130         '../gm/optimizations.cpp',
    131         '../gm/ovals.cpp',
    132         '../gm/patch.cpp',
    133         '../gm/patchgrid.cpp',
    134         '../gm/patheffects.cpp',
    135         '../gm/pathfill.cpp',
    136         '../gm/pathinterior.cpp',
    137         '../gm/pathopsinverse.cpp',
    138         '../gm/pathopsskpclip.cpp',
    139         '../gm/pathreverse.cpp',
    140         '../gm/peekpixels.cpp',
    141         '../gm/perlinnoise.cpp',
    142         '../gm/picture.cpp',
    143         '../gm/pictureimagefilter.cpp',
    144         '../gm/pictureshader.cpp',
    145         '../gm/pictureshadertile.cpp',
    146         '../gm/points.cpp',
    147         '../gm/poly2poly.cpp',
    148         '../gm/polygons.cpp',
    149         '../gm/quadpaths.cpp',
    150         '../gm/rects.cpp',
    151         '../gm/resizeimagefilter.cpp',
    152         '../gm/rrect.cpp',
    153         '../gm/rrects.cpp',
    154         '../gm/roundrects.cpp',
    155         '../gm/samplerstress.cpp',
    156         # '../gm/scalebitmap.cpp',
    157         '../gm/shaderbounds.cpp',
    158         '../gm/selftest.cpp',
    159         '../gm/shadertext.cpp',
    160         '../gm/shadertext2.cpp',
    161         '../gm/shadertext3.cpp',
    162         '../gm/shadows.cpp',
    163         '../gm/shallowgradient.cpp',
    164         '../gm/simpleaaclip.cpp',
    165         '../gm/skbug1719.cpp',
    166         '../gm/stringart.cpp',
    167         '../gm/spritebitmap.cpp',
    168         '../gm/srcmode.cpp',
    169         '../gm/strokefill.cpp',
    170         '../gm/strokerect.cpp',
    171         '../gm/strokerects.cpp',
    172         '../gm/strokes.cpp',
    173         '../gm/stroketext.cpp',
    174         '../gm/surface.cpp',
    175         '../gm/tablecolorfilter.cpp',
    176         '../gm/texteffects.cpp',
    177         '../gm/testimagefilters.cpp',
    178         '../gm/texdata.cpp',
    179         '../gm/variedtext.cpp',
    180         '../gm/textblob.cpp',
    181         '../gm/textblobshader.cpp',
    182         '../gm/texturedomaineffect.cpp',
    183         '../gm/thinrects.cpp',
    184         '../gm/thinstrokedrects.cpp',
    185         '../gm/tileimagefilter.cpp',
    186         '../gm/tilemodes.cpp',
    187         '../gm/tilemodes_scaled.cpp',
    188         '../gm/tinybitmap.cpp',
    189         '../gm/twopointradial.cpp',
    190         '../gm/typeface.cpp',
    191         '../gm/vertices.cpp',
    192         '../gm/verttext.cpp',
    193         '../gm/verttext2.cpp',
    194         '../gm/verylargebitmap.cpp',
    195         '../gm/xfermodeimagefilter.cpp',
    196         '../gm/xfermodes.cpp',
    197         '../gm/xfermodes2.cpp',
    198         '../gm/xfermodes3.cpp',
    199         '../gm/yuvtorgbeffect.cpp',
    200 
    201         # Files needed by particular GMs
    202         '../src/utils/debugger/SkDrawCommand.h',
    203         '../src/utils/debugger/SkDrawCommand.cpp',
    204         '../src/utils/debugger/SkDebugCanvas.h',
    205         '../src/utils/debugger/SkDebugCanvas.cpp',
    206         '../src/utils/debugger/SkObjectParser.h',
    207         '../src/utils/debugger/SkObjectParser.cpp',
    208       ],
    209     }],
    210     # TODO: Several GMs are known to cause particular problems on Android, so
    211     # we disable them on Android.  See http://skbug.com/2326
    212     [ 'skia_os == "android"', {
    213       'sources!': [
    214         # TODO(borenet): Causes assertion failure on Nexus S.
    215         # See http://skbug.com/705
    216         '../gm/bitmapcopy.cpp',
    217 
    218         # SOME of the bitmaprect tests are disabled on Android; see
    219         # ../gm/bitmaprect.cpp
    220 
    221         # Fail for now until the appropriate freetype changes are submitted.
    222         '../gm/coloremoji.cpp',
    223 
    224         # We skip GPU tests in this GM; see
    225         # ../gm/deviceproperties.cpp
    226 
    227         # TODO(bsalomon): Hangs on Xoom and Nexus S. See http://skbug.com/637
    228         '../gm/drawbitmaprect.cpp',
    229 
    230         # TODO(epoger): Crashes on Nexus 10. See http://skbug.com/2313
    231         '../gm/imagefilterscropexpand.cpp',
    232 
    233         # TODO(borenet): Causes Nexus S to reboot. See http://skbug.com/665
    234         '../gm/shadertext.cpp',
    235         '../gm/shadertext2.cpp',
    236         '../gm/shadertext3.cpp',
    237 
    238         # TODO(reed): Allocates more memory than Android devices are capable of
    239         # fulfilling. See http://skbug.com/1978
    240         '../gm/verylargebitmap.cpp',
    241       ],
    242     }],
    243   ],
    244 }
    245