diff options
-rw-r--r-- | gpu.gyp | 250 | ||||
-rw-r--r-- | gpu.gypi | 258 |
2 files changed, 277 insertions, 231 deletions
@@ -110,6 +110,9 @@ { 'target_name': 'skgr', 'type': 'static_library', + 'includes': [ + 'gpu.gypi', + ], 'include_dirs': [ '../include/config', '../include/core', @@ -124,42 +127,12 @@ 'angle.gyp:*', ], 'sources': [ - '../include/gpu/SkGpuCanvas.h', - '../include/gpu/SkGpuDevice.h', - '../include/gpu/SkGr.h', - '../include/gpu/SkGrPixelRef.h', - '../include/gpu/SkGrTexturePixelRef.h', - - '../include/gpu/gl/SkGLContext.h', - '../include/gpu/gl/SkMesaGLContext.h', - '../include/gpu/gl/SkANGLEGLContext.h', - '../include/gpu/gl/SkNativeGLContext.h', - '../include/gpu/gl/SkNullGLContext.h', - '../include/gpu/gl/SkDebugGLContext.h', - - '../src/gpu/SkGpuCanvas.cpp', - '../src/gpu/SkGpuDevice.cpp', - '../src/gpu/SkGr.cpp', - '../src/gpu/SkGrFontScaler.cpp', - '../src/gpu/SkGrPixelRef.cpp', - '../src/gpu/SkGrTexturePixelRef.cpp', - - '../src/gpu/gl/SkGLContext.cpp', - '../src/gpu/gl/SkNullGLContext.cpp', - - '../src/gpu/gl/debug/SkDebugGLContext.cpp', - - '../src/gpu/gl/mac/SkNativeGLContext_mac.cpp', - - '../src/gpu/gl/win/SkNativeGLContext_win.cpp', - - '../src/gpu/gl/unix/SkNativeGLContext_unix.cpp', - - '../src/gpu/gl/mesa/SkMesaGLContext.cpp', - '../src/gpu/gl/angle/SkANGLEGLContext.cpp', - '../src/gpu/gl/angle/GrGLCreateANGLEInterface.cpp', - - '../src/gpu/android/SkNativeGLContext_android.cpp', + '<@(skgr_sources)', + '<@(skgr_native_gl_sources)', + '<@(skgr_angle_gl_sources)', + '<@(skgr_mesa_gl_sources)', + '<@(skgr_debug_gl_sources)', + '<@(skgr_null_gl_sources)', ], 'conditions': [ [ 'not skia_mesa', { @@ -184,7 +157,10 @@ { 'target_name': 'gr', 'type': 'static_library', - 'include_dirs': [ + 'includes': [ + 'gpu.gypi', + ], + 'include_dirs': [ '../include/core', '../include/config', '../include/gpu', @@ -198,200 +174,12 @@ 'angle.gyp:*', ], 'sources': [ - '../include/gpu/GrAARectRenderer.h', - '../include/gpu/GrCacheID.h', - '../include/gpu/GrClipData.h', - '../include/gpu/GrColor.h', - '../include/gpu/GrConfig.h', - '../include/gpu/GrContext.h', - '../include/gpu/GrContextFactory.h', - '../include/gpu/GrCustomStage.h', - '../include/gpu/GrCustomStageUnitTest.h', - '../include/gpu/GrFontScaler.h', - '../include/gpu/GrGlyph.h', - '../include/gpu/GrInstanceCounter.h', - '../include/gpu/GrKey.h', - '../include/gpu/GrMatrix.h', - '../include/gpu/GrNoncopyable.h', - '../include/gpu/GrPaint.h', - '../include/gpu/GrPoint.h', - '../include/gpu/GrProgramStageFactory.h', - '../include/gpu/GrRect.h', - '../include/gpu/GrRefCnt.h', - '../include/gpu/GrRenderTarget.h', - '../include/gpu/GrResource.h', - '../include/gpu/GrSamplerState.h', - '../include/gpu/GrScalar.h', - '../include/gpu/GrSurface.h', - '../include/gpu/GrTextContext.h', - '../include/gpu/GrTexture.h', - '../include/gpu/GrTypes.h', - '../include/gpu/GrUserConfig.h', - - '../include/gpu/gl/GrGLConfig.h', - '../include/gpu/gl/GrGLConfig_chrome.h', - '../include/gpu/gl/GrGLFunctions.h', - '../include/gpu/gl/GrGLInterface.h', - - '../src/gpu/GrAAHairLinePathRenderer.cpp', - '../src/gpu/GrAAHairLinePathRenderer.h', - '../src/gpu/GrAAConvexPathRenderer.cpp', - '../src/gpu/GrAAConvexPathRenderer.h', - '../src/gpu/GrAARectRenderer.cpp', - '../src/gpu/GrAddPathRenderers_default.cpp', - '../src/gpu/GrAllocator.h', - '../src/gpu/GrAllocPool.h', - '../src/gpu/GrAllocPool.cpp', - '../src/gpu/GrAtlas.cpp', - '../src/gpu/GrAtlas.h', - '../src/gpu/GrBinHashKey.h', - '../src/gpu/GrBufferAllocPool.cpp', - '../src/gpu/GrBufferAllocPool.h', - '../src/gpu/GrCacheID.cpp', - '../src/gpu/GrClipData.cpp', - '../src/gpu/GrContext.cpp', - '../src/gpu/GrCustomStage.cpp', - '../src/gpu/GrDefaultPathRenderer.cpp', - '../src/gpu/GrDefaultPathRenderer.h', - '../src/gpu/GrDrawState.h', - '../src/gpu/GrDrawTarget.cpp', - '../src/gpu/GrDrawTarget.h', - '../src/gpu/GrGeometryBuffer.h', - '../src/gpu/GrClipMaskManager.h', - '../src/gpu/GrClipMaskManager.cpp', - '../src/gpu/GrGpu.cpp', - '../src/gpu/GrGpu.h', - '../src/gpu/GrGpuFactory.cpp', - '../src/gpu/GrGpuVertex.h', - '../src/gpu/GrIndexBuffer.h', - '../src/gpu/GrInOrderDrawBuffer.cpp', - '../src/gpu/GrInOrderDrawBuffer.h', - '../src/gpu/GrMatrix.cpp', - '../src/gpu/GrMemory.cpp', - '../src/gpu/GrMemoryPool.cpp', - '../src/gpu/GrMemoryPool.h', - '../src/gpu/GrPath.h', - '../src/gpu/GrPathRendererChain.cpp', - '../src/gpu/GrPathRendererChain.h', - '../src/gpu/GrPathRenderer.cpp', - '../src/gpu/GrPathRenderer.h', - '../src/gpu/GrPathUtils.cpp', - '../src/gpu/GrPathUtils.h', - '../src/gpu/GrPlotMgr.h', - '../src/gpu/GrRandom.h', - '../src/gpu/GrRectanizer.cpp', - '../src/gpu/GrRectanizer.h', - '../src/gpu/GrRedBlackTree.h', - '../src/gpu/GrRenderTarget.cpp', - '../src/gpu/GrResource.cpp', - '../src/gpu/GrResourceCache.cpp', - '../src/gpu/GrResourceCache.h', - '../src/gpu/GrStencil.cpp', - '../src/gpu/GrStencil.h', - '../src/gpu/GrStencilAndCoverPathRenderer.cpp', - '../src/gpu/GrStencilAndCoverPathRenderer.h', - '../src/gpu/GrStencilBuffer.cpp', - '../src/gpu/GrStencilBuffer.h', - '../src/gpu/GrTBSearch.h', - '../src/gpu/GrTDArray.h', - '../src/gpu/GrSWMaskHelper.cpp', - '../src/gpu/GrSWMaskHelper.h', - '../src/gpu/GrSoftwarePathRenderer.cpp', - '../src/gpu/GrSoftwarePathRenderer.h', - '../src/gpu/GrSurface.cpp', - '../src/gpu/GrTemplates.h', - '../src/gpu/GrTextContext.cpp', - '../src/gpu/GrTextStrike.cpp', - '../src/gpu/GrTextStrike.h', - '../src/gpu/GrTextStrike_impl.h', - '../src/gpu/GrTexture.cpp', - '../src/gpu/GrTHashCache.h', - '../src/gpu/GrTLList.h', - '../src/gpu/GrVertexBuffer.h', - '../src/gpu/gr_unittests.cpp', - - '../src/gpu/effects/Gr1DKernelEffect.h', - '../src/gpu/effects/GrTextureStripAtlas.h', - '../src/gpu/effects/GrTextureStripAtlas.cpp', - '../src/gpu/effects/GrColorTableEffect.cpp', - '../src/gpu/effects/GrColorTableEffect.h', - '../src/gpu/effects/GrConvolutionEffect.cpp', - '../src/gpu/effects/GrConvolutionEffect.h', - '../src/gpu/effects/GrSingleTextureEffect.cpp', - '../src/gpu/effects/GrSingleTextureEffect.h', - '../src/gpu/effects/GrTextureDomainEffect.cpp', - '../src/gpu/effects/GrTextureDomainEffect.h', - - '../src/gpu/gl/GrGLCaps.cpp', - '../src/gpu/gl/GrGLCaps.h', - '../src/gpu/gl/GrGLContextInfo.cpp', - '../src/gpu/gl/GrGLContextInfo.h', - '../src/gpu/gl/GrGLCreateNativeInterface_none.cpp', - '../src/gpu/gl/GrGLCreateNullInterface.cpp', - '../src/gpu/gl/GrGLDefaultInterface_none.cpp', - '../src/gpu/gl/GrGLDefaultInterface_native.cpp', - '../src/gpu/gl/GrGLDefines.h', - '../src/gpu/gl/GrGLIndexBuffer.cpp', - '../src/gpu/gl/GrGLIndexBuffer.h', - '../src/gpu/gl/GrGLInterface.cpp', - '../src/gpu/gl/GrGLIRect.h', - '../src/gpu/gl/GrGLPath.cpp', - '../src/gpu/gl/GrGLPath.h', - '../src/gpu/gl/GrGLProgram.cpp', - '../src/gpu/gl/GrGLProgram.h', - '../src/gpu/gl/GrGLProgramStage.cpp', - '../src/gpu/gl/GrGLProgramStage.h', - '../src/gpu/gl/GrGLRenderTarget.cpp', - '../src/gpu/gl/GrGLRenderTarget.h', - '../src/gpu/gl/GrGLShaderBuilder.cpp', - '../src/gpu/gl/GrGLShaderBuilder.h', - '../src/gpu/gl/GrGLShaderVar.h', - '../src/gpu/gl/GrGLSL.cpp', - '../src/gpu/gl/GrGLSL.h', - '../src/gpu/gl/GrGLStencilBuffer.cpp', - '../src/gpu/gl/GrGLStencilBuffer.h', - '../src/gpu/gl/GrGLTexture.cpp', - '../src/gpu/gl/GrGLTexture.h', - '../src/gpu/gl/GrGLUtil.cpp', - '../src/gpu/gl/GrGLUtil.h', - '../src/gpu/gl/GrGLUniformManager.cpp', - '../src/gpu/gl/GrGLUniformManager.h', - '../src/gpu/gl/GrGLUniformHandle.h', - '../src/gpu/gl/GrGLVertexBuffer.cpp', - '../src/gpu/gl/GrGLVertexBuffer.h', - '../src/gpu/gl/GrGpuGL.cpp', - '../src/gpu/gl/GrGpuGL.h', - '../src/gpu/gl/GrGpuGL_program.cpp', - - '../src/gpu/gl/debug/GrGLCreateDebugInterface.cpp', - '../src/gpu/gl/debug/GrFakeRefObj.h', - '../src/gpu/gl/debug/GrBufferObj.h', - '../src/gpu/gl/debug/GrBufferObj.cpp', - '../src/gpu/gl/debug/GrFBBindableObj.h', - '../src/gpu/gl/debug/GrRenderBufferObj.h', - '../src/gpu/gl/debug/GrTextureObj.h', - '../src/gpu/gl/debug/GrTextureObj.cpp', - '../src/gpu/gl/debug/GrTextureUnitObj.h', - '../src/gpu/gl/debug/GrTextureUnitObj.cpp', - '../src/gpu/gl/debug/GrFrameBufferObj.h', - '../src/gpu/gl/debug/GrFrameBufferObj.cpp', - '../src/gpu/gl/debug/GrShaderObj.h', - '../src/gpu/gl/debug/GrShaderObj.cpp', - '../src/gpu/gl/debug/GrProgramObj.h', - '../src/gpu/gl/debug/GrProgramObj.cpp', - '../src/gpu/gl/debug/GrDebugGL.h', - '../src/gpu/gl/debug/GrDebugGL.cpp', - - '../src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp', - - '../src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp', - - '../src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp', - - '../src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp', - '../src/gpu/gl/angle/GrGLCreateANGLEInterface.cpp', - - '../src/gpu/android/GrGLCreateNativeInterface_android.cpp', + '<@(gr_sources)', + '<@(gr_native_gl_sources)', + '<@(gr_angle_gl_sources)', + '<@(gr_mesa_gl_sources)', + '<@(gr_debug_gl_sources)', + '<@(gr_null_gl_sources)', ], 'defines': [ 'GR_IMPLEMENTATION=1', diff --git a/gpu.gypi b/gpu.gypi new file mode 100644 index 0000000..dd70cf0 --- /dev/null +++ b/gpu.gypi @@ -0,0 +1,258 @@ +# Include this gypi to include all 'gr' and 'skgr' files +# The parent gyp/gypi file must define +# 'skia_src_path' e.g. skia/trunk/src +# 'skia_include_path' e.g. skia/trunk/include +# +# The skia build defines these in common_variables.gypi +# +{ + 'variables': { + 'gr_sources': [ + '<(skia_include_path)/gpu/GrAARectRenderer.h', + '<(skia_include_path)/gpu/GrCacheID.h', + '<(skia_include_path)/gpu/GrClipData.h', + '<(skia_include_path)/gpu/GrColor.h', + '<(skia_include_path)/gpu/GrConfig.h', + '<(skia_include_path)/gpu/GrContext.h', + '<(skia_include_path)/gpu/GrContextFactory.h', + '<(skia_include_path)/gpu/GrCustomStage.h', + '<(skia_include_path)/gpu/GrCustomStageUnitTest.h', + '<(skia_include_path)/gpu/GrFontScaler.h', + '<(skia_include_path)/gpu/GrGlyph.h', + '<(skia_include_path)/gpu/GrInstanceCounter.h', + '<(skia_include_path)/gpu/GrKey.h', + '<(skia_include_path)/gpu/GrMatrix.h', + '<(skia_include_path)/gpu/GrNoncopyable.h', + '<(skia_include_path)/gpu/GrPaint.h', + '<(skia_include_path)/gpu/GrPoint.h', + '<(skia_include_path)/gpu/GrProgramStageFactory.h', + '<(skia_include_path)/gpu/GrRect.h', + '<(skia_include_path)/gpu/GrRefCnt.h', + '<(skia_include_path)/gpu/GrRenderTarget.h', + '<(skia_include_path)/gpu/GrResource.h', + '<(skia_include_path)/gpu/GrSamplerState.h', + '<(skia_include_path)/gpu/GrScalar.h', + '<(skia_include_path)/gpu/GrSurface.h', + '<(skia_include_path)/gpu/GrTextContext.h', + '<(skia_include_path)/gpu/GrTexture.h', + '<(skia_include_path)/gpu/GrTypes.h', + '<(skia_include_path)/gpu/GrUserConfig.h', + + '<(skia_include_path)/gpu/gl/GrGLConfig.h', + '<(skia_include_path)/gpu/gl/GrGLFunctions.h', + '<(skia_include_path)/gpu/gl/GrGLInterface.h', + + '<(skia_src_path)/gpu/GrAAHairLinePathRenderer.cpp', + '<(skia_src_path)/gpu/GrAAHairLinePathRenderer.h', + '<(skia_src_path)/gpu/GrAAConvexPathRenderer.cpp', + '<(skia_src_path)/gpu/GrAAConvexPathRenderer.h', + '<(skia_src_path)/gpu/GrAARectRenderer.cpp', + '<(skia_src_path)/gpu/GrAddPathRenderers_default.cpp', + '<(skia_src_path)/gpu/GrAllocator.h', + '<(skia_src_path)/gpu/GrAllocPool.h', + '<(skia_src_path)/gpu/GrAllocPool.cpp', + '<(skia_src_path)/gpu/GrAtlas.cpp', + '<(skia_src_path)/gpu/GrAtlas.h', + '<(skia_src_path)/gpu/GrBinHashKey.h', + '<(skia_src_path)/gpu/GrBufferAllocPool.cpp', + '<(skia_src_path)/gpu/GrBufferAllocPool.h', + '<(skia_src_path)/gpu/GrCacheID.cpp', + '<(skia_src_path)/gpu/GrClipData.cpp', + '<(skia_src_path)/gpu/GrContext.cpp', + '<(skia_src_path)/gpu/GrCustomStage.cpp', + '<(skia_src_path)/gpu/GrDefaultPathRenderer.cpp', + '<(skia_src_path)/gpu/GrDefaultPathRenderer.h', + '<(skia_src_path)/gpu/GrDrawState.h', + '<(skia_src_path)/gpu/GrDrawTarget.cpp', + '<(skia_src_path)/gpu/GrDrawTarget.h', + '<(skia_src_path)/gpu/GrGeometryBuffer.h', + '<(skia_src_path)/gpu/GrClipMaskManager.h', + '<(skia_src_path)/gpu/GrClipMaskManager.cpp', + '<(skia_src_path)/gpu/GrGpu.cpp', + '<(skia_src_path)/gpu/GrGpu.h', + '<(skia_src_path)/gpu/GrGpuFactory.cpp', + '<(skia_src_path)/gpu/GrGpuVertex.h', + '<(skia_src_path)/gpu/GrIndexBuffer.h', + '<(skia_src_path)/gpu/GrInOrderDrawBuffer.cpp', + '<(skia_src_path)/gpu/GrInOrderDrawBuffer.h', + '<(skia_src_path)/gpu/GrMatrix.cpp', + '<(skia_src_path)/gpu/GrMemory.cpp', + '<(skia_src_path)/gpu/GrMemoryPool.cpp', + '<(skia_src_path)/gpu/GrMemoryPool.h', + '<(skia_src_path)/gpu/GrPath.h', + '<(skia_src_path)/gpu/GrPathRendererChain.cpp', + '<(skia_src_path)/gpu/GrPathRendererChain.h', + '<(skia_src_path)/gpu/GrPathRenderer.cpp', + '<(skia_src_path)/gpu/GrPathRenderer.h', + '<(skia_src_path)/gpu/GrPathUtils.cpp', + '<(skia_src_path)/gpu/GrPathUtils.h', + '<(skia_src_path)/gpu/GrPlotMgr.h', + '<(skia_src_path)/gpu/GrRandom.h', + '<(skia_src_path)/gpu/GrRectanizer.cpp', + '<(skia_src_path)/gpu/GrRectanizer.h', + '<(skia_src_path)/gpu/GrRedBlackTree.h', + '<(skia_src_path)/gpu/GrRenderTarget.cpp', + '<(skia_src_path)/gpu/GrResource.cpp', + '<(skia_src_path)/gpu/GrResourceCache.cpp', + '<(skia_src_path)/gpu/GrResourceCache.h', + '<(skia_src_path)/gpu/GrStencil.cpp', + '<(skia_src_path)/gpu/GrStencil.h', + '<(skia_src_path)/gpu/GrStencilAndCoverPathRenderer.cpp', + '<(skia_src_path)/gpu/GrStencilAndCoverPathRenderer.h', + '<(skia_src_path)/gpu/GrStencilBuffer.cpp', + '<(skia_src_path)/gpu/GrStencilBuffer.h', + '<(skia_src_path)/gpu/GrTBSearch.h', + '<(skia_src_path)/gpu/GrTDArray.h', + '<(skia_src_path)/gpu/GrSWMaskHelper.cpp', + '<(skia_src_path)/gpu/GrSWMaskHelper.h', + '<(skia_src_path)/gpu/GrSoftwarePathRenderer.cpp', + '<(skia_src_path)/gpu/GrSoftwarePathRenderer.h', + '<(skia_src_path)/gpu/GrSurface.cpp', + '<(skia_src_path)/gpu/GrTemplates.h', + '<(skia_src_path)/gpu/GrTextContext.cpp', + '<(skia_src_path)/gpu/GrTextStrike.cpp', + '<(skia_src_path)/gpu/GrTextStrike.h', + '<(skia_src_path)/gpu/GrTextStrike_impl.h', + '<(skia_src_path)/gpu/GrTexture.cpp', + '<(skia_src_path)/gpu/GrTHashCache.h', + '<(skia_src_path)/gpu/GrTLList.h', + '<(skia_src_path)/gpu/GrVertexBuffer.h', + '<(skia_src_path)/gpu/gr_unittests.cpp', + + '<(skia_src_path)/gpu/effects/Gr1DKernelEffect.h', + '<(skia_src_path)/gpu/effects/GrTextureStripAtlas.h', + '<(skia_src_path)/gpu/effects/GrTextureStripAtlas.cpp', + '<(skia_src_path)/gpu/effects/GrColorTableEffect.cpp', + '<(skia_src_path)/gpu/effects/GrColorTableEffect.h', + '<(skia_src_path)/gpu/effects/GrConvolutionEffect.cpp', + '<(skia_src_path)/gpu/effects/GrConvolutionEffect.h', + '<(skia_src_path)/gpu/effects/GrSingleTextureEffect.cpp', + '<(skia_src_path)/gpu/effects/GrSingleTextureEffect.h', + '<(skia_src_path)/gpu/effects/GrTextureDomainEffect.cpp', + '<(skia_src_path)/gpu/effects/GrTextureDomainEffect.h', + + '<(skia_src_path)/gpu/gl/GrGLCaps.cpp', + '<(skia_src_path)/gpu/gl/GrGLCaps.h', + '<(skia_src_path)/gpu/gl/GrGLContextInfo.cpp', + '<(skia_src_path)/gpu/gl/GrGLContextInfo.h', + '<(skia_src_path)/gpu/gl/GrGLCreateNativeInterface_none.cpp', + '<(skia_src_path)/gpu/gl/GrGLDefaultInterface_none.cpp', + '<(skia_src_path)/gpu/gl/GrGLDefines.h', + '<(skia_src_path)/gpu/gl/GrGLIndexBuffer.cpp', + '<(skia_src_path)/gpu/gl/GrGLIndexBuffer.h', + '<(skia_src_path)/gpu/gl/GrGLInterface.cpp', + '<(skia_src_path)/gpu/gl/GrGLIRect.h', + '<(skia_src_path)/gpu/gl/GrGLPath.cpp', + '<(skia_src_path)/gpu/gl/GrGLPath.h', + '<(skia_src_path)/gpu/gl/GrGLProgram.cpp', + '<(skia_src_path)/gpu/gl/GrGLProgram.h', + '<(skia_src_path)/gpu/gl/GrGLProgramStage.cpp', + '<(skia_src_path)/gpu/gl/GrGLProgramStage.h', + '<(skia_src_path)/gpu/gl/GrGLRenderTarget.cpp', + '<(skia_src_path)/gpu/gl/GrGLRenderTarget.h', + '<(skia_src_path)/gpu/gl/GrGLShaderBuilder.cpp', + '<(skia_src_path)/gpu/gl/GrGLShaderBuilder.h', + '<(skia_src_path)/gpu/gl/GrGLShaderVar.h', + '<(skia_src_path)/gpu/gl/GrGLSL.cpp', + '<(skia_src_path)/gpu/gl/GrGLSL.h', + '<(skia_src_path)/gpu/gl/GrGLStencilBuffer.cpp', + '<(skia_src_path)/gpu/gl/GrGLStencilBuffer.h', + '<(skia_src_path)/gpu/gl/GrGLTexture.cpp', + '<(skia_src_path)/gpu/gl/GrGLTexture.h', + '<(skia_src_path)/gpu/gl/GrGLUtil.cpp', + '<(skia_src_path)/gpu/gl/GrGLUtil.h', + '<(skia_src_path)/gpu/gl/GrGLUniformManager.cpp', + '<(skia_src_path)/gpu/gl/GrGLUniformManager.h', + '<(skia_src_path)/gpu/gl/GrGLUniformHandle.h', + '<(skia_src_path)/gpu/gl/GrGLVertexBuffer.cpp', + '<(skia_src_path)/gpu/gl/GrGLVertexBuffer.h', + '<(skia_src_path)/gpu/gl/GrGpuGL.cpp', + '<(skia_src_path)/gpu/gl/GrGpuGL.h', + '<(skia_src_path)/gpu/gl/GrGpuGL_program.cpp', + ], + 'gr_native_gl_sources': [ + '<(skia_src_path)/gpu/gl/GrGLDefaultInterface_native.cpp', + '<(skia_src_path)/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp', + '<(skia_src_path)/gpu/gl/win/GrGLCreateNativeInterface_win.cpp', + '<(skia_src_path)/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp', + '<(skia_src_path)/gpu/android/GrGLCreateNativeInterface_android.cpp', + ], + 'gr_mesa_gl_sources': [ + '<(skia_src_path)/gpu/gl/mesa/GrGLCreateMesaInterface.cpp', + ], + 'gr_angle_gl_sources': [ + '<(skia_src_path)/gpu/gl/angle/GrGLCreateANGLEInterface.cpp', + ], + 'gr_debug_gl_sources': [ + '<(skia_src_path)/gpu/gl/debug/GrGLCreateDebugInterface.cpp', + '<(skia_src_path)/gpu/gl/debug/GrFakeRefObj.h', + '<(skia_src_path)/gpu/gl/debug/GrBufferObj.h', + '<(skia_src_path)/gpu/gl/debug/GrBufferObj.cpp', + '<(skia_src_path)/gpu/gl/debug/GrFBBindableObj.h', + '<(skia_src_path)/gpu/gl/debug/GrRenderBufferObj.h', + '<(skia_src_path)/gpu/gl/debug/GrTextureObj.h', + '<(skia_src_path)/gpu/gl/debug/GrTextureObj.cpp', + '<(skia_src_path)/gpu/gl/debug/GrTextureUnitObj.h', + '<(skia_src_path)/gpu/gl/debug/GrTextureUnitObj.cpp', + '<(skia_src_path)/gpu/gl/debug/GrFrameBufferObj.h', + '<(skia_src_path)/gpu/gl/debug/GrFrameBufferObj.cpp', + '<(skia_src_path)/gpu/gl/debug/GrShaderObj.h', + '<(skia_src_path)/gpu/gl/debug/GrShaderObj.cpp', + '<(skia_src_path)/gpu/gl/debug/GrProgramObj.h', + '<(skia_src_path)/gpu/gl/debug/GrProgramObj.cpp', + '<(skia_src_path)/gpu/gl/debug/GrDebugGL.h', + '<(skia_src_path)/gpu/gl/debug/GrDebugGL.cpp', + ], + 'gr_null_gl_sources': [ + '<(skia_src_path)/gpu/gl/GrGLCreateNullInterface.cpp', + ], + + 'skgr_sources': [ + '<(skia_include_path)/gpu/SkGpuCanvas.h', + '<(skia_include_path)/gpu/SkGpuDevice.h', + '<(skia_include_path)/gpu/SkGr.h', + '<(skia_include_path)/gpu/SkGrPixelRef.h', + '<(skia_include_path)/gpu/SkGrTexturePixelRef.h', + + '<(skia_include_path)/gpu/gl/SkGLContext.h', + + '<(skia_src_path)/gpu/SkGpuCanvas.cpp', + '<(skia_src_path)/gpu/SkGpuDevice.cpp', + '<(skia_src_path)/gpu/SkGr.cpp', + '<(skia_src_path)/gpu/SkGrFontScaler.cpp', + '<(skia_src_path)/gpu/SkGrPixelRef.cpp', + '<(skia_src_path)/gpu/SkGrTexturePixelRef.cpp', + + '<(skia_src_path)/gpu/gl/SkGLContext.cpp' + ], + 'skgr_native_gl_sources': [ + '<(skia_include_path)/gpu/gl/SkNativeGLContext.h', + '<(skia_src_path)/gpu/gl/mac/SkNativeGLContext_mac.cpp', + '<(skia_src_path)/gpu/gl/win/SkNativeGLContext_win.cpp', + '<(skia_src_path)/gpu/gl/unix/SkNativeGLContext_unix.cpp', + '<(skia_src_path)/gpu/android/SkNativeGLContext_android.cpp', + ], + 'skgr_angle_gl_sources': [ + '<(skia_include_path)/gpu/gl/SkANGLEGLContext.h', + '<(skia_src_path)/gpu/gl/angle/SkANGLEGLContext.cpp', + ], + 'skgr_mesa_gl_sources': [ + '<(skia_include_path)/gpu/gl/SkMesaGLContext.h', + '<(skia_src_path)/gpu/gl/mesa/SkMesaGLContext.cpp', + ], + 'skgr_debug_gl_sources': [ + '<(skia_include_path)/gpu/gl/SkDebugGLContext.h', + '<(skia_src_path)/gpu/gl/debug/SkDebugGLContext.cpp', + ], + 'skgr_null_gl_sources': [ + '<(skia_include_path)/gpu/gl/SkNullGLContext.h', + '<(skia_src_path)/gpu/gl/SkNullGLContext.cpp', + ], + }, +} + +# Local Variables: +# tab-width:2 +# indent-tabs-mode:nil +# End: +# vim: set expandtab tabstop=2 shiftwidth=2: |