Home | History | Annotate | Download | only in gyp
      1 # Include this gypi to include all 'gpu' files
      2 # The parent gyp/gypi file must define
      3 #       'skia_src_path'     e.g. skia/trunk/src
      4 #       'skia_include_path' e.g. skia/trunk/include
      5 #
      6 # The skia build defines these in common_variables.gypi
      7 #
      8 {
      9   'variables': {
     10     'skgpu_sources': [
     11       '<(skia_include_path)/gpu/GrBackendEffectFactory.h',
     12       '<(skia_include_path)/gpu/GrCacheable.h',
     13       '<(skia_include_path)/gpu/GrClipData.h',
     14       '<(skia_include_path)/gpu/GrColor.h',
     15       '<(skia_include_path)/gpu/GrConfig.h',
     16       '<(skia_include_path)/gpu/GrContext.h',
     17       '<(skia_include_path)/gpu/GrContextFactory.h',
     18       '<(skia_include_path)/gpu/GrCoordTransform.h',
     19       '<(skia_include_path)/gpu/GrEffect.h',
     20       '<(skia_include_path)/gpu/GrEffectStage.h',
     21       '<(skia_include_path)/gpu/GrEffectUnitTest.h',
     22       '<(skia_include_path)/gpu/GrFontScaler.h',
     23       '<(skia_include_path)/gpu/GrGlyph.h',
     24       '<(skia_include_path)/gpu/GrGpuObject.h',
     25       '<(skia_include_path)/gpu/GrKey.h',
     26       '<(skia_include_path)/gpu/GrPaint.h',
     27       '<(skia_include_path)/gpu/GrPathRendererChain.h',
     28       '<(skia_include_path)/gpu/GrRect.h',
     29       '<(skia_include_path)/gpu/GrRenderTarget.h',
     30       '<(skia_include_path)/gpu/GrSurface.h',
     31       '<(skia_include_path)/gpu/GrTBackendEffectFactory.h',
     32       '<(skia_include_path)/gpu/GrTexture.h',
     33       '<(skia_include_path)/gpu/GrTextureAccess.h',
     34       '<(skia_include_path)/gpu/GrTypes.h',
     35       '<(skia_include_path)/gpu/GrUserConfig.h',
     36 
     37       '<(skia_include_path)/gpu/gl/GrGLConfig.h',
     38       '<(skia_include_path)/gpu/gl/GrGLExtensions.h',
     39       '<(skia_include_path)/gpu/gl/GrGLFunctions.h',
     40       '<(skia_include_path)/gpu/gl/GrGLInterface.h',
     41 
     42       '<(skia_src_path)/gpu/GrAAHairLinePathRenderer.cpp',
     43       '<(skia_src_path)/gpu/GrAAHairLinePathRenderer.h',
     44       '<(skia_src_path)/gpu/GrAAConvexPathRenderer.cpp',
     45       '<(skia_src_path)/gpu/GrAAConvexPathRenderer.h',
     46       '<(skia_src_path)/gpu/GrAARectRenderer.cpp',
     47       '<(skia_src_path)/gpu/GrAARectRenderer.h',
     48       '<(skia_src_path)/gpu/GrAddPathRenderers_default.cpp',
     49       '<(skia_src_path)/gpu/GrAllocator.h',
     50       '<(skia_src_path)/gpu/GrAllocPool.h',
     51       '<(skia_src_path)/gpu/GrAllocPool.cpp',
     52       '<(skia_src_path)/gpu/GrAtlas.cpp',
     53       '<(skia_src_path)/gpu/GrAtlas.h',
     54       '<(skia_src_path)/gpu/GrBinHashKey.h',
     55       '<(skia_src_path)/gpu/GrBitmapTextContext.cpp',
     56       '<(skia_src_path)/gpu/GrBitmapTextContext.h',
     57       '<(skia_src_path)/gpu/GrBlend.cpp',
     58       '<(skia_src_path)/gpu/GrBlend.h',
     59       '<(skia_src_path)/gpu/GrBufferAllocPool.cpp',
     60       '<(skia_src_path)/gpu/GrBufferAllocPool.h',
     61       '<(skia_src_path)/gpu/GrCacheable.cpp',
     62       '<(skia_src_path)/gpu/GrCacheID.cpp',
     63       '<(skia_src_path)/gpu/GrClipData.cpp',
     64       '<(skia_src_path)/gpu/GrContext.cpp',
     65       '<(skia_src_path)/gpu/GrDefaultPathRenderer.cpp',
     66       '<(skia_src_path)/gpu/GrDefaultPathRenderer.h',
     67       '<(skia_src_path)/gpu/GrDistanceFieldTextContext.h',
     68       '<(skia_src_path)/gpu/GrDistanceFieldTextContext.cpp',
     69       '<(skia_src_path)/gpu/GrDrawState.cpp',
     70       '<(skia_src_path)/gpu/GrDrawState.h',
     71       '<(skia_src_path)/gpu/GrDrawTarget.cpp',
     72       '<(skia_src_path)/gpu/GrDrawTarget.h',
     73       '<(skia_src_path)/gpu/GrDrawTargetCaps.h',
     74       '<(skia_src_path)/gpu/GrEffect.cpp',
     75       '<(skia_src_path)/gpu/GrGeometryBuffer.h',
     76       '<(skia_src_path)/gpu/GrClipMaskCache.h',
     77       '<(skia_src_path)/gpu/GrClipMaskCache.cpp',
     78       '<(skia_src_path)/gpu/GrClipMaskManager.h',
     79       '<(skia_src_path)/gpu/GrClipMaskManager.cpp',
     80       '<(skia_src_path)/gpu/GrGpu.cpp',
     81       '<(skia_src_path)/gpu/GrGpu.h',
     82       '<(skia_src_path)/gpu/GrGpuObject.cpp',
     83       '<(skia_src_path)/gpu/GrGpuFactory.cpp',
     84       '<(skia_src_path)/gpu/GrIndexBuffer.h',
     85       '<(skia_src_path)/gpu/GrInOrderDrawBuffer.cpp',
     86       '<(skia_src_path)/gpu/GrInOrderDrawBuffer.h',
     87       '<(skia_src_path)/gpu/GrLayerCache.cpp',
     88       '<(skia_src_path)/gpu/GrLayerCache.h',
     89       '<(skia_src_path)/gpu/GrMemoryPool.cpp',
     90       '<(skia_src_path)/gpu/GrMemoryPool.h',
     91       '<(skia_src_path)/gpu/GrOrderedSet.h',
     92       '<(skia_src_path)/gpu/GrOvalRenderer.cpp',
     93       '<(skia_src_path)/gpu/GrOvalRenderer.h',
     94       '<(skia_src_path)/gpu/GrPaint.cpp',
     95       '<(skia_src_path)/gpu/GrPath.cpp',
     96       '<(skia_src_path)/gpu/GrPath.h',
     97       '<(skia_src_path)/gpu/GrPathRendererChain.cpp',
     98       '<(skia_src_path)/gpu/GrPathRenderer.cpp',
     99       '<(skia_src_path)/gpu/GrPathRenderer.h',
    100       '<(skia_src_path)/gpu/GrPathUtils.cpp',
    101       '<(skia_src_path)/gpu/GrPathUtils.h',
    102       '<(skia_src_path)/gpu/GrPictureUtils.h',
    103       '<(skia_src_path)/gpu/GrPictureUtils.cpp',
    104       '<(skia_src_path)/gpu/GrPlotMgr.h',
    105       '<(skia_src_path)/gpu/GrRectanizer.h',
    106       '<(skia_src_path)/gpu/GrRectanizer_pow2.cpp',
    107       '<(skia_src_path)/gpu/GrRectanizer_pow2.h',
    108       '<(skia_src_path)/gpu/GrRectanizer_skyline.cpp',
    109       '<(skia_src_path)/gpu/GrRectanizer_skyline.h',
    110       '<(skia_src_path)/gpu/GrRedBlackTree.h',
    111       '<(skia_src_path)/gpu/GrRenderTarget.cpp',
    112       '<(skia_src_path)/gpu/GrReducedClip.cpp',
    113       '<(skia_src_path)/gpu/GrReducedClip.h',
    114       '<(skia_src_path)/gpu/GrResourceCache.cpp',
    115       '<(skia_src_path)/gpu/GrResourceCache.h',
    116       '<(skia_src_path)/gpu/GrStencil.cpp',
    117       '<(skia_src_path)/gpu/GrStencil.h',
    118       '<(skia_src_path)/gpu/GrStencilAndCoverPathRenderer.cpp',
    119       '<(skia_src_path)/gpu/GrStencilAndCoverPathRenderer.h',
    120       '<(skia_src_path)/gpu/GrStencilBuffer.cpp',
    121       '<(skia_src_path)/gpu/GrStencilBuffer.h',
    122       '<(skia_src_path)/gpu/GrStrokeInfo.h',
    123       '<(skia_src_path)/gpu/GrTBSearch.h',
    124       '<(skia_src_path)/gpu/GrTraceMarker.cpp',
    125       '<(skia_src_path)/gpu/GrTraceMarker.h',
    126       '<(skia_src_path)/gpu/GrTracing.h',
    127       '<(skia_src_path)/gpu/GrSWMaskHelper.cpp',
    128       '<(skia_src_path)/gpu/GrSWMaskHelper.h',
    129       '<(skia_src_path)/gpu/GrSoftwarePathRenderer.cpp',
    130       '<(skia_src_path)/gpu/GrSoftwarePathRenderer.h',
    131       '<(skia_src_path)/gpu/GrSurface.cpp',
    132       '<(skia_src_path)/gpu/GrTemplates.h',
    133       '<(skia_src_path)/gpu/GrTextContext.cpp',
    134       '<(skia_src_path)/gpu/GrTextContext.h',
    135       '<(skia_src_path)/gpu/GrTextStrike.cpp',
    136       '<(skia_src_path)/gpu/GrTextStrike.h',
    137       '<(skia_src_path)/gpu/GrTextStrike_impl.h',
    138       '<(skia_src_path)/gpu/GrTexture.cpp',
    139       '<(skia_src_path)/gpu/GrTextureAccess.cpp',
    140       '<(skia_src_path)/gpu/GrTHashTable.h',
    141       '<(skia_src_path)/gpu/GrVertexBuffer.h',
    142 
    143       '<(skia_src_path)/gpu/effects/Gr1DKernelEffect.h',
    144       '<(skia_src_path)/gpu/effects/GrConfigConversionEffect.cpp',
    145       '<(skia_src_path)/gpu/effects/GrConfigConversionEffect.h',
    146       '<(skia_src_path)/gpu/effects/GrBezierEffect.cpp',
    147       '<(skia_src_path)/gpu/effects/GrBezierEffect.h',
    148       '<(skia_src_path)/gpu/effects/GrConvolutionEffect.cpp',
    149       '<(skia_src_path)/gpu/effects/GrConvolutionEffect.h',
    150       '<(skia_src_path)/gpu/effects/GrConvexPolyEffect.cpp',
    151       '<(skia_src_path)/gpu/effects/GrConvexPolyEffect.h',
    152       '<(skia_src_path)/gpu/effects/GrBicubicEffect.cpp',
    153       '<(skia_src_path)/gpu/effects/GrBicubicEffect.h',
    154       '<(skia_src_path)/gpu/effects/GrCustomCoordsTextureEffect.cpp',
    155       '<(skia_src_path)/gpu/effects/GrCustomCoordsTextureEffect.h',
    156       '<(skia_src_path)/gpu/effects/GrDashingEffect.cpp',
    157       '<(skia_src_path)/gpu/effects/GrDashingEffect.h',
    158       '<(skia_src_path)/gpu/effects/GrDistanceFieldTextureEffect.cpp',
    159       '<(skia_src_path)/gpu/effects/GrDistanceFieldTextureEffect.h',
    160       '<(skia_src_path)/gpu/effects/GrDitherEffect.cpp',
    161       '<(skia_src_path)/gpu/effects/GrDitherEffect.h',
    162       '<(skia_src_path)/gpu/effects/GrOvalEffect.cpp',
    163       '<(skia_src_path)/gpu/effects/GrOvalEffect.h',
    164       '<(skia_src_path)/gpu/effects/GrRRectEffect.cpp',
    165       '<(skia_src_path)/gpu/effects/GrRRectEffect.h',
    166       '<(skia_src_path)/gpu/effects/GrSimpleTextureEffect.cpp',
    167       '<(skia_src_path)/gpu/effects/GrSimpleTextureEffect.h',
    168       '<(skia_src_path)/gpu/effects/GrSingleTextureEffect.cpp',
    169       '<(skia_src_path)/gpu/effects/GrSingleTextureEffect.h',
    170       '<(skia_src_path)/gpu/effects/GrTextureDomain.cpp',
    171       '<(skia_src_path)/gpu/effects/GrTextureDomain.h',
    172       '<(skia_src_path)/gpu/effects/GrTextureStripAtlas.cpp',
    173       '<(skia_src_path)/gpu/effects/GrTextureStripAtlas.h',
    174 
    175       '<(skia_src_path)/gpu/gl/GrGLAssembleInterface.cpp',
    176       '<(skia_src_path)/gpu/gl/GrGLAssembleInterface.h',
    177       '<(skia_src_path)/gpu/gl/GrGLBufferImpl.cpp',
    178       '<(skia_src_path)/gpu/gl/GrGLBufferImpl.h',
    179       '<(skia_src_path)/gpu/gl/GrGLCaps.cpp',
    180       '<(skia_src_path)/gpu/gl/GrGLCaps.h',
    181       '<(skia_src_path)/gpu/gl/GrGLContext.cpp',
    182       '<(skia_src_path)/gpu/gl/GrGLContext.h',
    183       '<(skia_src_path)/gpu/gl/GrGLCreateNativeInterface_none.cpp',
    184       '<(skia_src_path)/gpu/gl/GrGLDefaultInterface_none.cpp',
    185       '<(skia_src_path)/gpu/gl/GrGLDefines.h',
    186       '<(skia_src_path)/gpu/gl/GrGLEffect.h',
    187       '<(skia_src_path)/gpu/gl/GrGLVertexEffect.h',
    188       '<(skia_src_path)/gpu/gl/GrGLExtensions.cpp',
    189       '<(skia_src_path)/gpu/gl/GrGLIndexBuffer.cpp',
    190       '<(skia_src_path)/gpu/gl/GrGLIndexBuffer.h',
    191       '<(skia_src_path)/gpu/gl/GrGLInterface.cpp',
    192       '<(skia_src_path)/gpu/gl/GrGLIRect.h',
    193       '<(skia_src_path)/gpu/gl/GrGLNameAllocator.cpp',
    194       '<(skia_src_path)/gpu/gl/GrGLNameAllocator.h',
    195       '<(skia_src_path)/gpu/gl/GrGLNoOpInterface.cpp',
    196       '<(skia_src_path)/gpu/gl/GrGLNoOpInterface.h',
    197       '<(skia_src_path)/gpu/gl/GrGLPath.cpp',
    198       '<(skia_src_path)/gpu/gl/GrGLPath.h',
    199       '<(skia_src_path)/gpu/gl/GrGLProgram.cpp',
    200       '<(skia_src_path)/gpu/gl/GrGLProgram.h',
    201       '<(skia_src_path)/gpu/gl/GrGLProgramDesc.cpp',
    202       '<(skia_src_path)/gpu/gl/GrGLProgramDesc.h',
    203       '<(skia_src_path)/gpu/gl/GrGLProgramEffects.cpp',
    204       '<(skia_src_path)/gpu/gl/GrGLProgramEffects.h',
    205       '<(skia_src_path)/gpu/gl/GrGLRenderTarget.cpp',
    206       '<(skia_src_path)/gpu/gl/GrGLRenderTarget.h',
    207       '<(skia_src_path)/gpu/gl/GrGLShaderBuilder.cpp',
    208       '<(skia_src_path)/gpu/gl/GrGLShaderBuilder.h',
    209       '<(skia_src_path)/gpu/gl/GrGLShaderVar.h',
    210       '<(skia_src_path)/gpu/gl/GrGLSL.cpp',
    211       '<(skia_src_path)/gpu/gl/GrGLSL.h',
    212       '<(skia_src_path)/gpu/gl/GrGLSL_impl.h',
    213       '<(skia_src_path)/gpu/gl/GrGLStencilBuffer.cpp',
    214       '<(skia_src_path)/gpu/gl/GrGLStencilBuffer.h',
    215       '<(skia_src_path)/gpu/gl/GrGLTexture.cpp',
    216       '<(skia_src_path)/gpu/gl/GrGLTexture.h',
    217       '<(skia_src_path)/gpu/gl/GrGLUtil.cpp',
    218       '<(skia_src_path)/gpu/gl/GrGLUtil.h',
    219       '<(skia_src_path)/gpu/gl/GrGLUniformManager.cpp',
    220       '<(skia_src_path)/gpu/gl/GrGLUniformManager.h',
    221       '<(skia_src_path)/gpu/gl/GrGLUniformHandle.h',
    222       '<(skia_src_path)/gpu/gl/GrGLVertexArray.cpp',
    223       '<(skia_src_path)/gpu/gl/GrGLVertexArray.h',
    224       '<(skia_src_path)/gpu/gl/GrGLVertexBuffer.cpp',
    225       '<(skia_src_path)/gpu/gl/GrGLVertexBuffer.h',
    226       '<(skia_src_path)/gpu/gl/GrGpuGL.cpp',
    227       '<(skia_src_path)/gpu/gl/GrGpuGL.h',
    228       '<(skia_src_path)/gpu/gl/GrGpuGL_program.cpp',
    229 
    230       # Sk files
    231       '<(skia_include_path)/gpu/SkGpuDevice.h',
    232       '<(skia_include_path)/gpu/SkGr.h',
    233       '<(skia_include_path)/gpu/SkGrPixelRef.h',
    234       '<(skia_include_path)/gpu/SkGrTexturePixelRef.h',
    235 
    236       '<(skia_include_path)/gpu/gl/SkGLContextHelper.h',
    237 
    238       '<(skia_src_path)/gpu/SkGpuDevice.cpp',
    239       '<(skia_src_path)/gpu/SkGr.cpp',
    240       '<(skia_src_path)/gpu/SkGrFontScaler.cpp',
    241       '<(skia_src_path)/gpu/SkGrPixelRef.cpp',
    242       '<(skia_src_path)/gpu/SkGrTexturePixelRef.cpp',
    243 
    244       '<(skia_src_path)/image/SkImage_Gpu.cpp',
    245       '<(skia_src_path)/image/SkSurface_Gpu.cpp',
    246 
    247       '<(skia_src_path)/gpu/gl/SkGLContextHelper.cpp'
    248     ],
    249     'skgpu_native_gl_sources': [
    250       '<(skia_src_path)/gpu/gl/GrGLDefaultInterface_native.cpp',
    251       '<(skia_src_path)/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp',
    252       '<(skia_src_path)/gpu/gl/win/GrGLCreateNativeInterface_win.cpp',
    253       '<(skia_src_path)/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp',
    254       '<(skia_src_path)/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp',
    255       '<(skia_src_path)/gpu/gl/android/GrGLCreateNativeInterface_android.cpp',
    256 
    257       # Sk files
    258       '<(skia_include_path)/gpu/gl/SkNativeGLContext.h',
    259       '<(skia_src_path)/gpu/gl/mac/SkNativeGLContext_mac.cpp',
    260       '<(skia_src_path)/gpu/gl/nacl/SkNativeGLContext_nacl.cpp',
    261       '<(skia_src_path)/gpu/gl/win/SkNativeGLContext_win.cpp',
    262       '<(skia_src_path)/gpu/gl/unix/SkNativeGLContext_unix.cpp',
    263       '<(skia_src_path)/gpu/gl/android/SkNativeGLContext_android.cpp',
    264       '<(skia_src_path)/gpu/gl/iOS/SkNativeGLContext_iOS.mm',
    265     ],
    266     'skgpu_mesa_gl_sources': [
    267       '<(skia_src_path)/gpu/gl/mesa/GrGLCreateMesaInterface.cpp',
    268 
    269       # Sk files
    270       '<(skia_include_path)/gpu/gl/SkMesaGLContext.h',
    271       '<(skia_src_path)/gpu/gl/mesa/SkMesaGLContext.cpp',
    272     ],
    273     'skgpu_angle_gl_sources': [
    274       '<(skia_src_path)/gpu/gl/angle/GrGLCreateANGLEInterface.cpp',
    275 
    276       # Sk files
    277       '<(skia_include_path)/gpu/gl/SkANGLEGLContext.h',
    278       '<(skia_src_path)/gpu/gl/angle/SkANGLEGLContext.cpp',
    279     ],
    280     'skgpu_debug_gl_sources': [
    281       '<(skia_src_path)/gpu/gl/debug/GrGLCreateDebugInterface.cpp',
    282       '<(skia_src_path)/gpu/gl/debug/GrFakeRefObj.h',
    283       '<(skia_src_path)/gpu/gl/debug/GrBufferObj.h',
    284       '<(skia_src_path)/gpu/gl/debug/GrBufferObj.cpp',
    285       '<(skia_src_path)/gpu/gl/debug/GrFBBindableObj.h',
    286       '<(skia_src_path)/gpu/gl/debug/GrRenderBufferObj.h',
    287       '<(skia_src_path)/gpu/gl/debug/GrTextureObj.h',
    288       '<(skia_src_path)/gpu/gl/debug/GrTextureObj.cpp',
    289       '<(skia_src_path)/gpu/gl/debug/GrTextureUnitObj.h',
    290       '<(skia_src_path)/gpu/gl/debug/GrTextureUnitObj.cpp',
    291       '<(skia_src_path)/gpu/gl/debug/GrFrameBufferObj.h',
    292       '<(skia_src_path)/gpu/gl/debug/GrFrameBufferObj.cpp',
    293       '<(skia_src_path)/gpu/gl/debug/GrShaderObj.h',
    294       '<(skia_src_path)/gpu/gl/debug/GrShaderObj.cpp',
    295       '<(skia_src_path)/gpu/gl/debug/GrProgramObj.h',
    296       '<(skia_src_path)/gpu/gl/debug/GrProgramObj.cpp',
    297       '<(skia_src_path)/gpu/gl/debug/GrDebugGL.h',
    298       '<(skia_src_path)/gpu/gl/debug/GrDebugGL.cpp',
    299       '<(skia_src_path)/gpu/gl/debug/GrVertexArrayObj.h',
    300 
    301       # Sk files
    302       '<(skia_include_path)/gpu/gl/SkDebugGLContext.h',
    303       '<(skia_src_path)/gpu/gl/debug/SkDebugGLContext.cpp',
    304     ],
    305     'skgpu_null_gl_sources': [
    306       '<(skia_src_path)/gpu/gl/GrGLCreateNullInterface.cpp',
    307 
    308       # Sk files
    309       '<(skia_include_path)/gpu/gl/SkNullGLContext.h',
    310       '<(skia_src_path)/gpu/gl/SkNullGLContext.cpp',
    311     ],
    312   },
    313 }
    314