2011-05-31 13:50:51 +00:00
|
|
|
{
|
2011-10-13 13:33:08 +00:00
|
|
|
'target_defaults': {
|
|
|
|
'conditions': [
|
|
|
|
['skia_os != "win"', {
|
|
|
|
'sources/': [ ['exclude', '_win.(h|cpp)$'],
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
['skia_os != "mac"', {
|
|
|
|
'sources/': [ ['exclude', '_mac.(h|cpp)$'],
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
['skia_os != "linux"', {
|
|
|
|
'sources/': [ ['exclude', '_unix.(h|cpp)$'],
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
['skia_os != "ios"', {
|
|
|
|
'sources/': [ ['exclude', '_iOS.(h|cpp)$'],
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
['skia_os != "android"', {
|
|
|
|
'sources/': [ ['exclude', '_android.(h|cpp)$'],
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
[ 'skia_os == "android"', {
|
|
|
|
'defines': [
|
|
|
|
'GR_ANDROID_BUILD=1',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
[ 'skia_os == "mac"', {
|
|
|
|
'defines': [
|
|
|
|
'GR_MAC_BUILD=1',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
[ 'skia_os == "linux"', {
|
|
|
|
'defines': [
|
|
|
|
'GR_LINUX_BUILD=1',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
[ 'skia_os == "ios"', {
|
|
|
|
'defines': [
|
|
|
|
'GR_IOS_BUILD=1',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
[ 'skia_os == "win"', {
|
|
|
|
'defines': [
|
|
|
|
'GR_WIN32_BUILD=1',
|
|
|
|
'GR_GL_FUNCTION_TYPE=__stdcall',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
'direct_dependent_settings': {
|
|
|
|
'conditions': [
|
|
|
|
[ 'skia_os == "android"', {
|
|
|
|
'defines': [
|
|
|
|
'GR_ANDROID_BUILD=1',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
[ 'skia_os == "mac"', {
|
|
|
|
'defines': [
|
|
|
|
'GR_MAC_BUILD=1',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
[ 'skia_os == "linux"', {
|
|
|
|
'defines': [
|
|
|
|
'GR_LINUX_BUILD=1',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
[ 'skia_os == "ios"', {
|
|
|
|
'defines': [
|
|
|
|
'GR_IOS_BUILD=1',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
[ 'skia_os == "win"', {
|
|
|
|
'defines': [
|
|
|
|
'GR_WIN32_BUILD=1',
|
|
|
|
'GR_GL_FUNCTION_TYPE=__stdcall',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
'include_dirs': [
|
|
|
|
'../include/gpu',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
2011-05-31 13:50:51 +00:00
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'skgr',
|
|
|
|
'type': 'static_library',
|
|
|
|
'include_dirs': [
|
2012-03-29 14:51:56 +00:00
|
|
|
'../include/config',
|
|
|
|
'../include/core',
|
2011-05-31 13:50:51 +00:00
|
|
|
'../src/core',
|
|
|
|
'../include/gpu',
|
2012-05-07 17:09:37 +00:00
|
|
|
'../src/gpu',
|
2011-05-31 13:50:51 +00:00
|
|
|
],
|
2012-04-02 20:42:26 +00:00
|
|
|
'dependencies': [
|
|
|
|
'angle.gyp:*',
|
|
|
|
],
|
|
|
|
'export_dependent_settings': [
|
|
|
|
'angle.gyp:*',
|
|
|
|
],
|
2011-05-31 13:50:51 +00:00
|
|
|
'sources': [
|
|
|
|
'../include/gpu/SkGpuCanvas.h',
|
|
|
|
'../include/gpu/SkGpuDevice.h',
|
|
|
|
'../include/gpu/SkGr.h',
|
|
|
|
'../include/gpu/SkGrTexturePixelRef.h',
|
|
|
|
|
2012-02-14 15:11:59 +00:00
|
|
|
'../include/gpu/gl/SkGLContext.h',
|
|
|
|
'../include/gpu/gl/SkMesaGLContext.h',
|
2012-04-02 20:42:26 +00:00
|
|
|
'../include/gpu/gl/SkANGLEGLContext.h',
|
2012-02-14 15:11:59 +00:00
|
|
|
'../include/gpu/gl/SkNativeGLContext.h',
|
|
|
|
'../include/gpu/gl/SkNullGLContext.h',
|
2012-03-19 14:42:13 +00:00
|
|
|
'../include/gpu/gl/SkDebugGLContext.h',
|
2012-02-10 21:35:06 +00:00
|
|
|
|
2011-05-31 13:50:51 +00:00
|
|
|
'../src/gpu/SkGpuCanvas.cpp',
|
|
|
|
'../src/gpu/SkGpuDevice.cpp',
|
|
|
|
'../src/gpu/SkGr.cpp',
|
|
|
|
'../src/gpu/SkGrFontScaler.cpp',
|
|
|
|
'../src/gpu/SkGrTexturePixelRef.cpp',
|
2012-02-10 21:35:06 +00:00
|
|
|
|
|
|
|
'../src/gpu/gl/SkGLContext.cpp',
|
|
|
|
'../src/gpu/gl/SkNullGLContext.cpp',
|
2012-03-28 18:22:01 +00:00
|
|
|
|
|
|
|
'../src/gpu/gl/debug/SkDebugGLContext.cpp',
|
2011-10-13 13:33:08 +00:00
|
|
|
|
2012-03-28 19:37:51 +00:00
|
|
|
'../src/gpu/gl/mac/SkNativeGLContext_mac.cpp',
|
2011-11-03 13:08:29 +00:00
|
|
|
|
2012-03-28 19:37:51 +00:00
|
|
|
'../src/gpu/gl/win/SkNativeGLContext_win.cpp',
|
2011-10-13 13:33:08 +00:00
|
|
|
|
2012-03-28 19:37:51 +00:00
|
|
|
'../src/gpu/gl/unix/SkNativeGLContext_unix.cpp',
|
2011-10-13 13:33:08 +00:00
|
|
|
|
2012-03-28 19:37:51 +00:00
|
|
|
'../src/gpu/gl/mesa/SkMesaGLContext.cpp',
|
2012-04-02 20:42:26 +00:00
|
|
|
'../src/gpu/gl/angle/SkANGLEGLContext.cpp',
|
|
|
|
'../src/gpu/gl/angle/GrGLCreateANGLEInterface.cpp',
|
2011-10-13 13:33:08 +00:00
|
|
|
|
2012-03-28 19:37:51 +00:00
|
|
|
'../src/gpu/android/SkNativeGLContext_android.cpp',
|
2011-05-31 13:50:51 +00:00
|
|
|
],
|
2011-10-19 20:43:20 +00:00
|
|
|
'conditions': [
|
|
|
|
[ 'not skia_mesa', {
|
|
|
|
'sources!': [
|
2012-03-28 19:37:51 +00:00
|
|
|
'../src/gpu/gl/mesa/SkMesaGLContext.cpp',
|
2011-10-19 20:43:20 +00:00
|
|
|
],
|
|
|
|
}],
|
|
|
|
[ 'skia_mesa and skia_os == "mac"', {
|
|
|
|
'include_dirs': [
|
|
|
|
'$(SDKROOT)/usr/X11/include/',
|
|
|
|
],
|
|
|
|
}],
|
2012-04-02 20:42:26 +00:00
|
|
|
[ 'not skia_angle', {
|
|
|
|
'sources!': [
|
|
|
|
'../include/gpu/gl/SkANGLEGLContext.h',
|
|
|
|
'../src/gpu/gl/angle/SkANGLEGLContext.cpp',
|
|
|
|
'../src/gpu/gl/angle/GrGLCreateANGLEInterface.cpp',
|
|
|
|
],
|
|
|
|
}],
|
2011-05-31 13:50:51 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'target_name': 'gr',
|
|
|
|
'type': 'static_library',
|
|
|
|
'include_dirs': [
|
|
|
|
'../include/core',
|
|
|
|
'../include/config',
|
2011-10-12 19:53:16 +00:00
|
|
|
'../include/gpu',
|
2012-01-12 20:19:56 +00:00
|
|
|
'../src/core', # SkRasterClip.h
|
2012-05-10 12:13:36 +00:00
|
|
|
'../src/gpu'
|
2011-05-31 13:50:51 +00:00
|
|
|
],
|
|
|
|
'dependencies': [
|
2012-04-02 20:42:26 +00:00
|
|
|
'angle.gyp:*',
|
|
|
|
],
|
|
|
|
'export_dependent_settings': [
|
|
|
|
'angle.gyp:*',
|
2011-05-31 13:50:51 +00:00
|
|
|
],
|
|
|
|
'sources': [
|
2011-10-12 19:53:16 +00:00
|
|
|
'../include/gpu/GrClip.h',
|
|
|
|
'../include/gpu/GrClipIterator.h',
|
|
|
|
'../include/gpu/GrColor.h',
|
|
|
|
'../include/gpu/GrConfig.h',
|
|
|
|
'../include/gpu/GrContext.h',
|
2012-04-19 19:15:35 +00:00
|
|
|
'../include/gpu/GrContextFactory.h',
|
2012-04-20 18:35:38 +00:00
|
|
|
'../include/gpu/GrCustomStage.h',
|
2011-10-12 19:53:16 +00:00
|
|
|
'../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',
|
2012-05-18 19:54:48 +00:00
|
|
|
'../include/gpu/GrProgramStageFactory.h',
|
2011-10-12 19:53:16 +00:00
|
|
|
'../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/GrTextContext.h',
|
|
|
|
'../include/gpu/GrTexture.h',
|
|
|
|
'../include/gpu/GrTypes.h',
|
|
|
|
'../include/gpu/GrUserConfig.h',
|
2011-05-31 13:50:51 +00:00
|
|
|
|
2012-02-14 15:11:59 +00:00
|
|
|
'../include/gpu/gl/GrGLConfig.h',
|
|
|
|
'../include/gpu/gl/GrGLConfig_chrome.h',
|
2012-05-07 21:33:56 +00:00
|
|
|
'../include/gpu/gl/GrGLFunctions.h',
|
2012-02-14 15:11:59 +00:00
|
|
|
'../include/gpu/gl/GrGLInterface.h',
|
2012-02-10 21:35:06 +00:00
|
|
|
|
2011-10-12 19:53:16 +00:00
|
|
|
'../src/gpu/GrAAHairLinePathRenderer.cpp',
|
|
|
|
'../src/gpu/GrAAHairLinePathRenderer.h',
|
2012-01-17 14:25:10 +00:00
|
|
|
'../src/gpu/GrAAConvexPathRenderer.cpp',
|
|
|
|
'../src/gpu/GrAAConvexPathRenderer.h',
|
|
|
|
'../src/gpu/GrAddPathRenderers_default.cpp',
|
2011-10-20 13:43:13 +00:00
|
|
|
'../src/gpu/GrAllocator.h',
|
|
|
|
'../src/gpu/GrAllocPool.h',
|
2011-10-12 19:53:16 +00:00
|
|
|
'../src/gpu/GrAllocPool.cpp',
|
|
|
|
'../src/gpu/GrAtlas.cpp',
|
2011-10-20 13:43:13 +00:00
|
|
|
'../src/gpu/GrAtlas.h',
|
2012-03-16 14:02:46 +00:00
|
|
|
'../src/gpu/GrBatchedTextContext.cpp',
|
|
|
|
'../src/gpu/GrBatchedTextContext.h',
|
2011-10-12 19:53:16 +00:00
|
|
|
'../src/gpu/GrBinHashKey.h',
|
|
|
|
'../src/gpu/GrBufferAllocPool.cpp',
|
|
|
|
'../src/gpu/GrBufferAllocPool.h',
|
|
|
|
'../src/gpu/GrClip.cpp',
|
|
|
|
'../src/gpu/GrContext.cpp',
|
2012-04-18 17:49:20 +00:00
|
|
|
'../src/gpu/GrCustomStage.cpp',
|
2011-10-12 19:53:16 +00:00
|
|
|
'../src/gpu/GrDefaultPathRenderer.cpp',
|
|
|
|
'../src/gpu/GrDefaultPathRenderer.h',
|
2012-03-16 14:02:46 +00:00
|
|
|
'../src/gpu/GrDefaultTextContext.cpp',
|
|
|
|
'../src/gpu/GrDefaultTextContext.h',
|
2011-10-27 20:21:16 +00:00
|
|
|
'../src/gpu/GrDrawState.h',
|
2011-10-12 19:53:16 +00:00
|
|
|
'../src/gpu/GrDrawTarget.cpp',
|
|
|
|
'../src/gpu/GrDrawTarget.h',
|
|
|
|
'../src/gpu/GrGeometryBuffer.h',
|
2012-04-16 18:03:03 +00:00
|
|
|
'../src/gpu/GrClipMaskManager.h',
|
|
|
|
'../src/gpu/GrClipMaskManager.cpp',
|
2011-10-12 19:53:16 +00:00
|
|
|
'../src/gpu/GrGpu.cpp',
|
|
|
|
'../src/gpu/GrGpu.h',
|
|
|
|
'../src/gpu/GrGpuFactory.cpp',
|
2011-10-20 13:43:13 +00:00
|
|
|
'../src/gpu/GrGpuVertex.h',
|
2011-10-12 19:53:16 +00:00
|
|
|
'../src/gpu/GrIndexBuffer.h',
|
|
|
|
'../src/gpu/GrInOrderDrawBuffer.cpp',
|
|
|
|
'../src/gpu/GrInOrderDrawBuffer.h',
|
|
|
|
'../src/gpu/GrMatrix.cpp',
|
|
|
|
'../src/gpu/GrMemory.cpp',
|
|
|
|
'../src/gpu/GrPathRendererChain.cpp',
|
|
|
|
'../src/gpu/GrPathRendererChain.h',
|
|
|
|
'../src/gpu/GrPathRenderer.cpp',
|
|
|
|
'../src/gpu/GrPathRenderer.h',
|
|
|
|
'../src/gpu/GrPathUtils.cpp',
|
|
|
|
'../src/gpu/GrPathUtils.h',
|
2011-10-20 13:43:13 +00:00
|
|
|
'../src/gpu/GrPlotMgr.h',
|
|
|
|
'../src/gpu/GrRandom.h',
|
2011-10-12 19:53:16 +00:00
|
|
|
'../src/gpu/GrRectanizer.cpp',
|
2011-10-20 13:43:13 +00:00
|
|
|
'../src/gpu/GrRectanizer.h',
|
2011-10-12 19:53:16 +00:00
|
|
|
'../src/gpu/GrRedBlackTree.h',
|
|
|
|
'../src/gpu/GrRenderTarget.cpp',
|
|
|
|
'../src/gpu/GrResource.cpp',
|
|
|
|
'../src/gpu/GrResourceCache.cpp',
|
|
|
|
'../src/gpu/GrResourceCache.h',
|
|
|
|
'../src/gpu/GrStencil.cpp',
|
2011-10-20 13:43:13 +00:00
|
|
|
'../src/gpu/GrStencil.h',
|
2011-10-12 19:53:16 +00:00
|
|
|
'../src/gpu/GrStencilBuffer.cpp',
|
|
|
|
'../src/gpu/GrStencilBuffer.h',
|
2011-10-20 13:43:13 +00:00
|
|
|
'../src/gpu/GrStringBuilder.h',
|
|
|
|
'../src/gpu/GrTBSearch.h',
|
|
|
|
'../src/gpu/GrTDArray.h',
|
2012-05-01 12:19:34 +00:00
|
|
|
'../src/gpu/GrSoftwarePathRenderer.cpp',
|
|
|
|
'../src/gpu/GrSoftwarePathRenderer.h',
|
2011-10-12 19:53:16 +00:00
|
|
|
'../src/gpu/GrTextStrike.cpp',
|
2011-10-20 13:43:13 +00:00
|
|
|
'../src/gpu/GrTextStrike.h',
|
2011-10-12 19:53:16 +00:00
|
|
|
'../src/gpu/GrTextStrike_impl.h',
|
|
|
|
'../src/gpu/GrTexture.cpp',
|
2011-10-20 13:43:13 +00:00
|
|
|
'../src/gpu/GrTHashCache.h',
|
|
|
|
'../src/gpu/GrTLList.h',
|
2011-10-12 19:53:16 +00:00
|
|
|
'../src/gpu/GrVertexBuffer.h',
|
|
|
|
'../src/gpu/gr_unittests.cpp',
|
2011-05-31 13:50:51 +00:00
|
|
|
|
2012-05-31 18:40:36 +00:00
|
|
|
'../src/gpu/effects/Gr1DKernelEffect.h',
|
2012-05-10 12:13:36 +00:00
|
|
|
'../src/gpu/effects/GrConvolutionEffect.cpp',
|
|
|
|
'../src/gpu/effects/GrConvolutionEffect.h',
|
2012-05-31 18:40:36 +00:00
|
|
|
'../src/gpu/effects/GrMorphologyEffect.cpp',
|
|
|
|
'../src/gpu/effects/GrMorphologyEffect.h',
|
2012-05-10 12:13:36 +00:00
|
|
|
|
2012-02-14 14:09:57 +00:00
|
|
|
'../src/gpu/gl/GrGLCaps.cpp',
|
|
|
|
'../src/gpu/gl/GrGLCaps.h',
|
2012-02-10 21:35:06 +00:00
|
|
|
'../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',
|
2012-05-07 17:28:41 +00:00
|
|
|
'../src/gpu/gl/GrGLDefines.h',
|
2012-02-10 21:35:06 +00:00
|
|
|
'../src/gpu/gl/GrGLIndexBuffer.cpp',
|
|
|
|
'../src/gpu/gl/GrGLIndexBuffer.h',
|
|
|
|
'../src/gpu/gl/GrGLInterface.cpp',
|
|
|
|
'../src/gpu/gl/GrGLIRect.h',
|
|
|
|
'../src/gpu/gl/GrGLProgram.cpp',
|
|
|
|
'../src/gpu/gl/GrGLProgram.h',
|
2012-04-18 17:49:20 +00:00
|
|
|
'../src/gpu/gl/GrGLProgramStage.cpp',
|
|
|
|
'../src/gpu/gl/GrGLProgramStage.h',
|
2012-02-10 21:35:06 +00:00
|
|
|
'../src/gpu/gl/GrGLRenderTarget.cpp',
|
|
|
|
'../src/gpu/gl/GrGLRenderTarget.h',
|
2012-05-11 20:38:48 +00:00
|
|
|
'../src/gpu/gl/GrGLShaderBuilder.cpp',
|
|
|
|
'../src/gpu/gl/GrGLShaderBuilder.h',
|
2012-02-10 21:35:06 +00:00
|
|
|
'../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',
|
2012-05-07 17:09:37 +00:00
|
|
|
'../src/gpu/gl/GrGLUtil.h',
|
2012-02-10 21:35:06 +00:00
|
|
|
'../src/gpu/gl/GrGLVertexBuffer.cpp',
|
|
|
|
'../src/gpu/gl/GrGLVertexBuffer.h',
|
|
|
|
'../src/gpu/gl/GrGpuGL.cpp',
|
|
|
|
'../src/gpu/gl/GrGpuGL.h',
|
2012-05-31 15:07:19 +00:00
|
|
|
'../src/gpu/gl/GrGpuGL_program.cpp',
|
2011-05-31 13:50:51 +00:00
|
|
|
|
2012-03-28 18:22:01 +00:00
|
|
|
'../src/gpu/gl/debug/GrGLCreateDebugInterface.cpp',
|
2012-04-05 14:40:53 +00:00
|
|
|
'../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',
|
2012-03-28 18:22:01 +00:00
|
|
|
|
2012-03-28 19:37:51 +00:00
|
|
|
'../src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp',
|
2011-05-31 13:50:51 +00:00
|
|
|
|
2012-03-28 19:37:51 +00:00
|
|
|
'../src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp',
|
2011-05-31 13:50:51 +00:00
|
|
|
|
2012-03-28 19:37:51 +00:00
|
|
|
'../src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp',
|
2011-10-19 20:43:20 +00:00
|
|
|
|
2012-03-28 19:37:51 +00:00
|
|
|
'../src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp',
|
2012-04-02 20:42:26 +00:00
|
|
|
'../src/gpu/gl/angle/GrGLCreateANGLEInterface.cpp',
|
2011-11-03 13:08:29 +00:00
|
|
|
|
2012-03-28 19:37:51 +00:00
|
|
|
'../src/gpu/android/GrGLCreateNativeInterface_android.cpp',
|
2011-05-31 13:50:51 +00:00
|
|
|
],
|
|
|
|
'defines': [
|
|
|
|
'GR_IMPLEMENTATION=1',
|
|
|
|
],
|
|
|
|
'conditions': [
|
2011-07-01 20:20:07 +00:00
|
|
|
[ 'skia_os == "linux"', {
|
2011-05-31 13:50:51 +00:00
|
|
|
'sources!': [
|
2012-02-10 21:35:06 +00:00
|
|
|
'../src/gpu/gl/GrGLDefaultInterface_none.cpp',
|
|
|
|
'../src/gpu/gl/GrGLCreateNativeInterface_none.cpp',
|
2011-05-31 13:50:51 +00:00
|
|
|
],
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'-lGL',
|
|
|
|
'-lX11',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
}],
|
2011-10-19 20:43:20 +00:00
|
|
|
[ 'skia_mesa and skia_os == "linux"', {
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'-lOSMesa',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
}],
|
2011-07-01 20:20:07 +00:00
|
|
|
[ 'skia_os == "mac"', {
|
2011-05-31 13:50:51 +00:00
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
'sources!': [
|
2012-02-10 21:35:06 +00:00
|
|
|
'../src/gpu/gl/GrGLDefaultInterface_none.cpp',
|
|
|
|
'../src/gpu/gl/GrGLCreateNativeInterface_none.cpp',
|
2011-05-31 13:50:51 +00:00
|
|
|
],
|
2011-10-19 20:43:20 +00:00
|
|
|
}],
|
|
|
|
[ 'skia_mesa and skia_os == "mac"', {
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'$(SDKROOT)/usr/X11/lib/libOSMesa.dylib',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
'include_dirs': [
|
|
|
|
'$(SDKROOT)/usr/X11/include/',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
[ 'not skia_mesa', {
|
|
|
|
'sources!': [
|
2012-03-28 19:37:51 +00:00
|
|
|
'../src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp',
|
2011-10-19 20:43:20 +00:00
|
|
|
],
|
|
|
|
}],
|
2011-07-01 20:20:07 +00:00
|
|
|
[ 'skia_os == "win"', {
|
2011-05-31 13:50:51 +00:00
|
|
|
'sources!': [
|
2012-02-10 21:35:06 +00:00
|
|
|
'../src/gpu/gl/GrGLDefaultInterface_none.cpp',
|
|
|
|
'../src/gpu/gl/GrGLCreateNativeInterface_none.cpp',
|
2011-05-31 13:50:51 +00:00
|
|
|
],
|
|
|
|
}],
|
2012-04-02 20:42:26 +00:00
|
|
|
[ 'not skia_angle', {
|
|
|
|
'sources!': [
|
|
|
|
'../include/gpu/gl/SkANGLEGLContext.h',
|
|
|
|
|
|
|
|
'../src/gpu/gl/angle/GrGLCreateANGLEInterface.cpp',
|
|
|
|
'../src/gpu/gl/angle/SkANGLEGLContext.cpp',
|
|
|
|
],
|
|
|
|
}],
|
2011-11-03 13:08:29 +00:00
|
|
|
[ 'skia_os == "android"', {
|
|
|
|
'sources!': [
|
2012-02-10 21:35:06 +00:00
|
|
|
'../src/gpu/gl/GrGLDefaultInterface_none.cpp',
|
|
|
|
'../src/gpu/gl/GrGLCreateNativeInterface_none.cpp',
|
2011-11-03 13:08:29 +00:00
|
|
|
],
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'-lGLESv2',
|
|
|
|
'-lEGL',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
}],
|
2011-05-31 13:50:51 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|
|
|
|
|
|
|
|
# Local Variables:
|
|
|
|
# tab-width:2
|
|
|
|
# indent-tabs-mode:nil
|
|
|
|
# End:
|
|
|
|
# vim: set expandtab tabstop=2 shiftwidth=2:
|