epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 1 | { |
bsalomon@google.com | 9f169a4 | 2012-01-12 20:56:52 +0000 | [diff] [blame] | 2 | 'variables': { |
| 3 | 'skia_gpu_disable_osaa%': 0, |
| 4 | }, |
| 5 | 'skia_gpu_disable_osaa': '<(skia_gpu_disable_osaa)', |
| 6 | |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 7 | 'includes': [ |
epoger@google.com | 5351b37 | 2011-07-01 17:16:26 +0000 | [diff] [blame] | 8 | 'common.gypi', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 9 | ], |
bsalomon@google.com | e295313 | 2011-10-13 13:33:08 +0000 | [diff] [blame] | 10 | 'target_defaults': { |
| 11 | 'conditions': [ |
| 12 | ['skia_os != "win"', { |
| 13 | 'sources/': [ ['exclude', '_win.(h|cpp)$'], |
| 14 | ], |
| 15 | }], |
| 16 | ['skia_os != "mac"', { |
| 17 | 'sources/': [ ['exclude', '_mac.(h|cpp)$'], |
| 18 | ], |
| 19 | }], |
| 20 | ['skia_os != "linux"', { |
| 21 | 'sources/': [ ['exclude', '_unix.(h|cpp)$'], |
| 22 | ], |
| 23 | }], |
| 24 | ['skia_os != "ios"', { |
| 25 | 'sources/': [ ['exclude', '_iOS.(h|cpp)$'], |
| 26 | ], |
| 27 | }], |
| 28 | ['skia_os != "android"', { |
| 29 | 'sources/': [ ['exclude', '_android.(h|cpp)$'], |
| 30 | ], |
| 31 | }], |
| 32 | [ 'skia_os == "android"', { |
| 33 | 'defines': [ |
| 34 | 'GR_ANDROID_BUILD=1', |
| 35 | ], |
| 36 | }], |
| 37 | [ 'skia_os == "mac"', { |
| 38 | 'defines': [ |
| 39 | 'GR_MAC_BUILD=1', |
| 40 | ], |
| 41 | }], |
| 42 | [ 'skia_os == "linux"', { |
| 43 | 'defines': [ |
| 44 | 'GR_LINUX_BUILD=1', |
| 45 | ], |
| 46 | }], |
| 47 | [ 'skia_os == "ios"', { |
| 48 | 'defines': [ |
| 49 | 'GR_IOS_BUILD=1', |
| 50 | ], |
| 51 | }], |
| 52 | [ 'skia_os == "win"', { |
| 53 | 'defines': [ |
| 54 | 'GR_WIN32_BUILD=1', |
| 55 | 'GR_GL_FUNCTION_TYPE=__stdcall', |
| 56 | ], |
| 57 | }], |
| 58 | ], |
| 59 | 'direct_dependent_settings': { |
| 60 | 'conditions': [ |
| 61 | [ 'skia_os == "android"', { |
| 62 | 'defines': [ |
| 63 | 'GR_ANDROID_BUILD=1', |
| 64 | ], |
| 65 | }], |
| 66 | [ 'skia_os == "mac"', { |
| 67 | 'defines': [ |
| 68 | 'GR_MAC_BUILD=1', |
| 69 | ], |
| 70 | }], |
| 71 | [ 'skia_os == "linux"', { |
| 72 | 'defines': [ |
| 73 | 'GR_LINUX_BUILD=1', |
| 74 | ], |
| 75 | }], |
| 76 | [ 'skia_os == "ios"', { |
| 77 | 'defines': [ |
| 78 | 'GR_IOS_BUILD=1', |
| 79 | ], |
| 80 | }], |
| 81 | [ 'skia_os == "win"', { |
| 82 | 'defines': [ |
| 83 | 'GR_WIN32_BUILD=1', |
| 84 | 'GR_GL_FUNCTION_TYPE=__stdcall', |
| 85 | ], |
| 86 | }], |
| 87 | ], |
| 88 | 'include_dirs': [ |
| 89 | '../include/gpu', |
| 90 | ], |
| 91 | }, |
| 92 | }, |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 93 | 'targets': [ |
| 94 | { |
| 95 | 'target_name': 'skgr', |
| 96 | 'type': 'static_library', |
| 97 | 'include_dirs': [ |
| 98 | '../include/config', |
| 99 | '../include/core', |
| 100 | '../src/core', |
| 101 | '../include/gpu', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 102 | ], |
| 103 | 'sources': [ |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 104 | '../include/gpu/SkGLContext.h', |
| 105 | '../include/gpu/SkMesaGLContext.h', |
| 106 | '../include/gpu/SkNativeGLContext.h', |
bsalomon@google.com | 7491372 | 2011-10-27 20:44:19 +0000 | [diff] [blame] | 107 | '../include/gpu/SkNullGLContext.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 108 | '../include/gpu/SkGpuCanvas.h', |
| 109 | '../include/gpu/SkGpuDevice.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 110 | '../include/gpu/SkGr.h', |
| 111 | '../include/gpu/SkGrTexturePixelRef.h', |
| 112 | |
| 113 | '../src/gpu/GrPrintf_skia.cpp', |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 114 | '../src/gpu/SkGLContext.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 115 | '../src/gpu/SkGpuCanvas.cpp', |
| 116 | '../src/gpu/SkGpuDevice.cpp', |
| 117 | '../src/gpu/SkGr.cpp', |
| 118 | '../src/gpu/SkGrFontScaler.cpp', |
| 119 | '../src/gpu/SkGrTexturePixelRef.cpp', |
bsalomon@google.com | 7491372 | 2011-10-27 20:44:19 +0000 | [diff] [blame] | 120 | '../src/gpu/SkNullGLContext.cpp', |
bsalomon@google.com | e295313 | 2011-10-13 13:33:08 +0000 | [diff] [blame] | 121 | |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 122 | '../src/gpu/android/SkNativeGLContext_android.cpp', |
| 123 | |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 124 | '../src/gpu/mac/SkNativeGLContext_mac.cpp', |
bsalomon@google.com | e295313 | 2011-10-13 13:33:08 +0000 | [diff] [blame] | 125 | |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 126 | '../src/gpu/win/SkNativeGLContext_win.cpp', |
bsalomon@google.com | e295313 | 2011-10-13 13:33:08 +0000 | [diff] [blame] | 127 | |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 128 | '../src/gpu/unix/SkNativeGLContext_unix.cpp', |
bsalomon@google.com | e295313 | 2011-10-13 13:33:08 +0000 | [diff] [blame] | 129 | |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 130 | '../src/gpu/mesa/SkMesaGLContext.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 131 | ], |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 132 | 'conditions': [ |
| 133 | [ 'not skia_mesa', { |
| 134 | 'sources!': [ |
| 135 | '../src/gpu/mesa/SkMesaGLContext.cpp', |
| 136 | ], |
| 137 | }], |
| 138 | [ 'skia_mesa and skia_os == "mac"', { |
| 139 | 'include_dirs': [ |
| 140 | '$(SDKROOT)/usr/X11/include/', |
| 141 | ], |
| 142 | }], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 143 | ], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 144 | }, |
| 145 | { |
| 146 | 'target_name': 'gr', |
| 147 | 'type': 'static_library', |
| 148 | 'include_dirs': [ |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 149 | '../include/core', |
| 150 | '../include/config', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 151 | '../include/gpu', |
bsalomon@google.com | 150d284 | 2012-01-12 20:19:56 +0000 | [diff] [blame] | 152 | '../src/core', # SkRasterClip.h |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 153 | ], |
| 154 | 'dependencies': [ |
| 155 | 'libtess.gyp:libtess', |
| 156 | ], |
| 157 | 'sources': [ |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 158 | '../include/gpu/GrClip.h', |
| 159 | '../include/gpu/GrClipIterator.h', |
| 160 | '../include/gpu/GrColor.h', |
| 161 | '../include/gpu/GrConfig.h', |
| 162 | '../include/gpu/GrContext.h', |
| 163 | '../include/gpu/GrFontScaler.h', |
| 164 | '../include/gpu/GrGLConfig.h', |
| 165 | '../include/gpu/GrGLConfig_chrome.h', |
bsalomon@google.com | 85b505b | 2011-11-07 14:56:51 +0000 | [diff] [blame] | 166 | '../include/gpu/GrGLDefines.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 167 | '../include/gpu/GrGLInterface.h', |
| 168 | '../include/gpu/GrGlyph.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 169 | '../include/gpu/GrInstanceCounter.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 170 | '../include/gpu/GrKey.h', |
| 171 | '../include/gpu/GrMatrix.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 172 | '../include/gpu/GrNoncopyable.h', |
| 173 | '../include/gpu/GrPaint.h', |
| 174 | '../include/gpu/GrPath.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 175 | '../include/gpu/GrPoint.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 176 | '../include/gpu/GrRect.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 177 | '../include/gpu/GrRefCnt.h', |
| 178 | '../include/gpu/GrRenderTarget.h', |
| 179 | '../include/gpu/GrResource.h', |
| 180 | '../include/gpu/GrSamplerState.h', |
| 181 | '../include/gpu/GrScalar.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 182 | '../include/gpu/GrTextContext.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 183 | '../include/gpu/GrTexture.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 184 | '../include/gpu/GrTypes.h', |
| 185 | '../include/gpu/GrUserConfig.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 186 | |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 187 | '../src/gpu/GrAAHairLinePathRenderer.cpp', |
| 188 | '../src/gpu/GrAAHairLinePathRenderer.h', |
bsalomon@google.com | 69cc6ad | 2012-01-17 14:25:10 +0000 | [diff] [blame] | 189 | '../src/gpu/GrAAConvexPathRenderer.cpp', |
| 190 | '../src/gpu/GrAAConvexPathRenderer.h', |
| 191 | '../src/gpu/GrAddPathRenderers_default.cpp', |
bsalomon@google.com | ffa11bb | 2011-10-20 13:43:13 +0000 | [diff] [blame] | 192 | '../src/gpu/GrAllocator.h', |
| 193 | '../src/gpu/GrAllocPool.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 194 | '../src/gpu/GrAllocPool.cpp', |
| 195 | '../src/gpu/GrAtlas.cpp', |
bsalomon@google.com | ffa11bb | 2011-10-20 13:43:13 +0000 | [diff] [blame] | 196 | '../src/gpu/GrAtlas.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 197 | '../src/gpu/GrBinHashKey.h', |
| 198 | '../src/gpu/GrBufferAllocPool.cpp', |
| 199 | '../src/gpu/GrBufferAllocPool.h', |
| 200 | '../src/gpu/GrClip.cpp', |
| 201 | '../src/gpu/GrContext.cpp', |
| 202 | '../src/gpu/GrDefaultPathRenderer.cpp', |
| 203 | '../src/gpu/GrDefaultPathRenderer.h', |
tomhudson@google.com | 9381363 | 2011-10-27 20:21:16 +0000 | [diff] [blame] | 204 | '../src/gpu/GrDrawState.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 205 | '../src/gpu/GrDrawTarget.cpp', |
| 206 | '../src/gpu/GrDrawTarget.h', |
| 207 | '../src/gpu/GrGeometryBuffer.h', |
bsalomon@google.com | 89ec61e | 2012-02-10 20:05:18 +0000 | [diff] [blame] | 208 | '../src/gpu/GrGLContextInfo.cpp', |
| 209 | '../src/gpu/GrGLContextInfo.h', |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 210 | '../src/gpu/GrGLCreateNativeInterface_none.cpp', |
bsalomon@google.com | 7491372 | 2011-10-27 20:44:19 +0000 | [diff] [blame] | 211 | '../src/gpu/GrGLCreateNullInterface.cpp', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 212 | '../src/gpu/GrGLDefaultInterface_none.cpp', |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 213 | '../src/gpu/GrGLDefaultInterface_native.cpp', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 214 | '../src/gpu/GrGLIndexBuffer.cpp', |
| 215 | '../src/gpu/GrGLIndexBuffer.h', |
| 216 | '../src/gpu/GrGLInterface.cpp', |
| 217 | '../src/gpu/GrGLIRect.h', |
| 218 | '../src/gpu/GrGLProgram.cpp', |
| 219 | '../src/gpu/GrGLProgram.h', |
| 220 | '../src/gpu/GrGLRenderTarget.cpp', |
| 221 | '../src/gpu/GrGLRenderTarget.h', |
| 222 | '../src/gpu/GrGLShaderVar.h', |
tomhudson@google.com | 086e535 | 2011-12-08 14:44:10 +0000 | [diff] [blame] | 223 | '../src/gpu/GrGLSL.cpp', |
| 224 | '../src/gpu/GrGLSL.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 225 | '../src/gpu/GrGLStencilBuffer.cpp', |
| 226 | '../src/gpu/GrGLStencilBuffer.h', |
| 227 | '../src/gpu/GrGLTexture.cpp', |
| 228 | '../src/gpu/GrGLTexture.h', |
| 229 | '../src/gpu/GrGLUtil.cpp', |
| 230 | '../src/gpu/GrGLVertexBuffer.cpp', |
| 231 | '../src/gpu/GrGLVertexBuffer.h', |
| 232 | '../src/gpu/GrGpu.cpp', |
| 233 | '../src/gpu/GrGpu.h', |
| 234 | '../src/gpu/GrGpuFactory.cpp', |
| 235 | '../src/gpu/GrGpuGL.cpp', |
| 236 | '../src/gpu/GrGpuGL.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 237 | '../src/gpu/GrGpuGLShaders.cpp', |
| 238 | '../src/gpu/GrGpuGLShaders.h', |
bsalomon@google.com | ffa11bb | 2011-10-20 13:43:13 +0000 | [diff] [blame] | 239 | '../src/gpu/GrGpuVertex.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 240 | '../src/gpu/GrIndexBuffer.h', |
| 241 | '../src/gpu/GrInOrderDrawBuffer.cpp', |
| 242 | '../src/gpu/GrInOrderDrawBuffer.h', |
| 243 | '../src/gpu/GrMatrix.cpp', |
| 244 | '../src/gpu/GrMemory.cpp', |
| 245 | '../src/gpu/GrPathRendererChain.cpp', |
| 246 | '../src/gpu/GrPathRendererChain.h', |
| 247 | '../src/gpu/GrPathRenderer.cpp', |
| 248 | '../src/gpu/GrPathRenderer.h', |
| 249 | '../src/gpu/GrPathUtils.cpp', |
| 250 | '../src/gpu/GrPathUtils.h', |
bsalomon@google.com | ffa11bb | 2011-10-20 13:43:13 +0000 | [diff] [blame] | 251 | '../src/gpu/GrPlotMgr.h', |
| 252 | '../src/gpu/GrRandom.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 253 | '../src/gpu/GrRectanizer.cpp', |
bsalomon@google.com | ffa11bb | 2011-10-20 13:43:13 +0000 | [diff] [blame] | 254 | '../src/gpu/GrRectanizer.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 255 | '../src/gpu/GrRedBlackTree.h', |
| 256 | '../src/gpu/GrRenderTarget.cpp', |
| 257 | '../src/gpu/GrResource.cpp', |
| 258 | '../src/gpu/GrResourceCache.cpp', |
| 259 | '../src/gpu/GrResourceCache.h', |
| 260 | '../src/gpu/GrStencil.cpp', |
bsalomon@google.com | ffa11bb | 2011-10-20 13:43:13 +0000 | [diff] [blame] | 261 | '../src/gpu/GrStencil.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 262 | '../src/gpu/GrStencilBuffer.cpp', |
| 263 | '../src/gpu/GrStencilBuffer.h', |
bsalomon@google.com | ffa11bb | 2011-10-20 13:43:13 +0000 | [diff] [blame] | 264 | '../src/gpu/GrStringBuilder.h', |
| 265 | '../src/gpu/GrTBSearch.h', |
| 266 | '../src/gpu/GrTDArray.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 267 | '../src/gpu/GrTesselatedPathRenderer.cpp', |
| 268 | '../src/gpu/GrTesselatedPathRenderer.h', |
| 269 | '../src/gpu/GrTextContext.cpp', |
| 270 | '../src/gpu/GrTextStrike.cpp', |
bsalomon@google.com | ffa11bb | 2011-10-20 13:43:13 +0000 | [diff] [blame] | 271 | '../src/gpu/GrTextStrike.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 272 | '../src/gpu/GrTextStrike_impl.h', |
| 273 | '../src/gpu/GrTexture.cpp', |
bsalomon@google.com | ffa11bb | 2011-10-20 13:43:13 +0000 | [diff] [blame] | 274 | '../src/gpu/GrTHashCache.h', |
| 275 | '../src/gpu/GrTLList.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 276 | '../src/gpu/GrVertexBuffer.h', |
| 277 | '../src/gpu/gr_unittests.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 278 | |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 279 | |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 280 | '../src/gpu/mac/GrGLCreateNativeInterface_mac.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 281 | |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 282 | '../src/gpu/win/GrGLCreateNativeInterface_win.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 283 | |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 284 | '../src/gpu/unix/GrGLCreateNativeInterface_unix.cpp', |
| 285 | |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 286 | '../src/gpu/android/GrGLCreateNativeInterface_android.cpp', |
| 287 | |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 288 | '../src/gpu/mesa/GrGLCreateMesaInterface.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 289 | ], |
| 290 | 'defines': [ |
| 291 | 'GR_IMPLEMENTATION=1', |
| 292 | ], |
| 293 | 'conditions': [ |
bsalomon@google.com | 9f169a4 | 2012-01-12 20:56:52 +0000 | [diff] [blame] | 294 | [ 'skia_gpu_disable_osaa', { |
| 295 | 'defines': [ |
| 296 | 'GR_USE_OFFSCREEN_AA=0', |
| 297 | ], |
| 298 | }], |
epoger@google.com | 8846cb2 | 2011-07-01 20:20:07 +0000 | [diff] [blame] | 299 | [ 'skia_os == "linux"', { |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 300 | 'sources!': [ |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 301 | '../src/gpu/GrGLDefaultInterface_none.cpp', |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 302 | '../src/gpu/GrGLCreateNativeInterface_none.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 303 | ], |
| 304 | 'link_settings': { |
| 305 | 'libraries': [ |
| 306 | '-lGL', |
| 307 | '-lX11', |
| 308 | ], |
| 309 | }, |
| 310 | }], |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 311 | [ 'skia_mesa and skia_os == "linux"', { |
| 312 | 'link_settings': { |
| 313 | 'libraries': [ |
| 314 | '-lOSMesa', |
| 315 | ], |
| 316 | }, |
| 317 | }], |
epoger@google.com | 8846cb2 | 2011-07-01 20:20:07 +0000 | [diff] [blame] | 318 | [ 'skia_os == "mac"', { |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 319 | 'link_settings': { |
| 320 | 'libraries': [ |
| 321 | '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', |
| 322 | ], |
| 323 | }, |
| 324 | 'sources!': [ |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 325 | '../src/gpu/GrGLDefaultInterface_none.cpp', |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 326 | '../src/gpu/GrGLCreateNativeInterface_none.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 327 | ], |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 328 | }], |
| 329 | [ 'skia_mesa and skia_os == "mac"', { |
| 330 | 'link_settings': { |
| 331 | 'libraries': [ |
| 332 | '$(SDKROOT)/usr/X11/lib/libOSMesa.dylib', |
| 333 | ], |
| 334 | }, |
| 335 | 'include_dirs': [ |
| 336 | '$(SDKROOT)/usr/X11/include/', |
| 337 | ], |
| 338 | }], |
| 339 | [ 'not skia_mesa', { |
| 340 | 'sources!': [ |
| 341 | '../src/gpu/mesa/GrGLCreateMesaInterface.cpp', |
| 342 | ], |
| 343 | }], |
epoger@google.com | 8846cb2 | 2011-07-01 20:20:07 +0000 | [diff] [blame] | 344 | [ 'skia_os == "win"', { |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 345 | 'sources!': [ |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 346 | '../src/gpu/GrGLDefaultInterface_none.cpp', |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 347 | '../src/gpu/GrGLCreateNativeInterface_none.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 348 | ], |
| 349 | }], |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 350 | [ 'skia_os == "android"', { |
| 351 | 'sources!': [ |
| 352 | '../src/gpu/GrGLDefaultInterface_none.cpp', |
| 353 | '../src/gpu/GrGLCreateNativeInterface_none.cpp', |
| 354 | ], |
| 355 | 'link_settings': { |
| 356 | 'libraries': [ |
| 357 | '-lGLESv2', |
| 358 | '-lEGL', |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 359 | ], |
| 360 | }, |
| 361 | }], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 362 | ], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 363 | }, |
| 364 | ], |
| 365 | } |
| 366 | |
| 367 | # Local Variables: |
| 368 | # tab-width:2 |
| 369 | # indent-tabs-mode:nil |
| 370 | # End: |
| 371 | # vim: set expandtab tabstop=2 shiftwidth=2: |