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