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   'sources': [
     11     # base class for GMs
     12     '../gm/gm.cpp',
     13     '../gm/gm.h',
     14 
     15     '../gm/aaclip.cpp',
     16     '../gm/aarectmodes.cpp',
     17     '../gm/alphagradients.cpp',
     18     '../gm/arcofzorro.cpp',
     19     '../gm/arithmode.cpp',
     20     '../gm/beziereffects.cpp',
     21     '../gm/bicubicfilter.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/canvasstate.cpp',
     41     '../gm/circles.cpp',
     42     '../gm/circularclips.cpp',
     43     '../gm/clippedbitmapshaders.cpp',
     44     '../gm/coloremoji.cpp',
     45     '../gm/colorfilterimagefilter.cpp',
     46     '../gm/colorfilters.cpp',
     47     '../gm/colormatrix.cpp',
     48     '../gm/colortype.cpp',
     49     '../gm/complexclip.cpp',
     50     '../gm/complexclip2.cpp',
     51     '../gm/composeshader.cpp',
     52     #'../gm/conicpaths.cpp',
     53     '../gm/convexpaths.cpp',
     54     '../gm/convexpolyclip.cpp',
     55     '../gm/convexpolyeffect.cpp',
     56     '../gm/copyTo4444.cpp',
     57     '../gm/cubicpaths.cpp',
     58     '../gm/cmykjpeg.cpp',
     59     '../gm/degeneratesegments.cpp',
     60     '../gm/discard.cpp',
     61     '../gm/dashcubics.cpp',
     62     '../gm/dashing.cpp',
     63     '../gm/deviceproperties.cpp',
     64     '../gm/distantclip.cpp',
     65     '../gm/displacement.cpp',
     66     '../gm/downsamplebitmap.cpp',
     67     '../gm/drawbitmaprect.cpp',
     68     '../gm/drawlooper.cpp',
     69     '../gm/dropshadowimagefilter.cpp',
     70     '../gm/drrect.cpp',
     71     '../gm/etc1bitmap.cpp',
     72     '../gm/extractbitmap.cpp',
     73     '../gm/emboss.cpp',
     74     '../gm/emptypath.cpp',
     75     '../gm/fatpathfill.cpp',
     76     '../gm/factory.cpp',
     77     '../gm/filltypes.cpp',
     78     '../gm/filltypespersp.cpp',
     79     '../gm/filterbitmap.cpp',
     80     '../gm/filterindiabox.cpp',
     81     '../gm/fontcache.cpp',
     82     '../gm/fontmgr.cpp',
     83     '../gm/fontscaler.cpp',
     84     '../gm/gammatext.cpp',
     85     '../gm/getpostextpath.cpp',
     86     '../gm/giantbitmap.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/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 
    188     # Files needed by particular GMs
    189     '../src/utils/debugger/SkDrawCommand.h',
    190     '../src/utils/debugger/SkDrawCommand.cpp',
    191     '../src/utils/debugger/SkDebugCanvas.h',
    192     '../src/utils/debugger/SkDebugCanvas.cpp',
    193     '../src/utils/debugger/SkObjectParser.h',
    194     '../src/utils/debugger/SkObjectParser.cpp',
    195 
    196   ],
    197   'conditions': [
    198     # TODO: Several GMs are known to cause particular problems on Android, so
    199     # we disable them on Android.  See http://skbug.com/2326
    200     [ 'skia_os == "android"', {
    201       'sources!': [
    202         # TODO(borenet): Causes assertion failure on Nexus S.
    203         # See http://skbug.com/705
    204         '../gm/bitmapcopy.cpp',
    205 
    206         # SOME of the bitmaprect tests are disabled on Android; see
    207         # ../gm/bitmaprect.cpp
    208 
    209         # Fail for now until the appropriate freetype changes are submitted.
    210         '../gm/coloremoji.cpp',
    211 
    212         # We skip GPU tests in this GM; see
    213         # ../gm/deviceproperties.cpp
    214 
    215         # TODO(bsalomon): Hangs on Xoom and Nexus S. See http://skbug.com/637
    216         '../gm/drawbitmaprect.cpp',
    217 
    218         # TODO(epoger): Crashes on Nexus 10. See http://skbug.com/2313
    219         '../gm/imagefilterscropexpand.cpp',
    220 
    221         # TODO(borenet): Causes Nexus S to reboot. See http://skbug.com/665
    222         '../gm/shadertext.cpp',
    223         '../gm/shadertext2.cpp',
    224         '../gm/shadertext3.cpp',
    225 
    226         # TODO(reed): Allocates more memory than Android devices are capable of
    227         # fulfilling. See http://skbug.com/1978
    228         '../gm/verylargebitmap.cpp',
    229       ],
    230 
    231       'sources': [
    232         '../gm/androidfallback.cpp',
    233       ],
    234     }],
    235   ],
    236 }
    237