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': [ |
| 104 | '../include/gpu/SkGpuCanvas.h', |
| 105 | '../include/gpu/SkGpuDevice.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 106 | '../include/gpu/SkGr.h', |
| 107 | '../include/gpu/SkGrTexturePixelRef.h', |
| 108 | |
tomhudson@google.com | 4072556 | 2012-02-10 21:35:06 +0000 | [diff] [blame^] | 109 | '../include/gpu/SkGLContext.h', |
| 110 | '../include/gpu/SkMesaGLContext.h', |
| 111 | '../include/gpu/SkNativeGLContext.h', |
| 112 | '../include/gpu/SkNullGLContext.h', |
| 113 | |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 114 | '../src/gpu/GrPrintf_skia.cpp', |
| 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', |
tomhudson@google.com | 4072556 | 2012-02-10 21:35:06 +0000 | [diff] [blame^] | 120 | |
| 121 | '../src/gpu/gl/SkGLContext.cpp', |
| 122 | '../src/gpu/gl/SkNullGLContext.cpp', |
bsalomon@google.com | e295313 | 2011-10-13 13:33:08 +0000 | [diff] [blame] | 123 | |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 124 | '../src/gpu/android/SkNativeGLContext_android.cpp', |
| 125 | |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 126 | '../src/gpu/mac/SkNativeGLContext_mac.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/win/SkNativeGLContext_win.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/unix/SkNativeGLContext_unix.cpp', |
bsalomon@google.com | e295313 | 2011-10-13 13:33:08 +0000 | [diff] [blame] | 131 | |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 132 | '../src/gpu/mesa/SkMesaGLContext.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 133 | ], |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 134 | 'conditions': [ |
| 135 | [ 'not skia_mesa', { |
| 136 | 'sources!': [ |
| 137 | '../src/gpu/mesa/SkMesaGLContext.cpp', |
| 138 | ], |
| 139 | }], |
| 140 | [ 'skia_mesa and skia_os == "mac"', { |
| 141 | 'include_dirs': [ |
| 142 | '$(SDKROOT)/usr/X11/include/', |
| 143 | ], |
| 144 | }], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 145 | ], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 146 | }, |
| 147 | { |
| 148 | 'target_name': 'gr', |
| 149 | 'type': 'static_library', |
| 150 | 'include_dirs': [ |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 151 | '../include/core', |
| 152 | '../include/config', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 153 | '../include/gpu', |
bsalomon@google.com | 150d284 | 2012-01-12 20:19:56 +0000 | [diff] [blame] | 154 | '../src/core', # SkRasterClip.h |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 155 | ], |
| 156 | 'dependencies': [ |
| 157 | 'libtess.gyp:libtess', |
| 158 | ], |
| 159 | 'sources': [ |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 160 | '../include/gpu/GrClip.h', |
| 161 | '../include/gpu/GrClipIterator.h', |
| 162 | '../include/gpu/GrColor.h', |
| 163 | '../include/gpu/GrConfig.h', |
| 164 | '../include/gpu/GrContext.h', |
| 165 | '../include/gpu/GrFontScaler.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 166 | '../include/gpu/GrGlyph.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 167 | '../include/gpu/GrInstanceCounter.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 168 | '../include/gpu/GrKey.h', |
| 169 | '../include/gpu/GrMatrix.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 170 | '../include/gpu/GrNoncopyable.h', |
| 171 | '../include/gpu/GrPaint.h', |
| 172 | '../include/gpu/GrPath.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 173 | '../include/gpu/GrPoint.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 174 | '../include/gpu/GrRect.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 175 | '../include/gpu/GrRefCnt.h', |
| 176 | '../include/gpu/GrRenderTarget.h', |
| 177 | '../include/gpu/GrResource.h', |
| 178 | '../include/gpu/GrSamplerState.h', |
| 179 | '../include/gpu/GrScalar.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 180 | '../include/gpu/GrTextContext.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 181 | '../include/gpu/GrTexture.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 182 | '../include/gpu/GrTypes.h', |
| 183 | '../include/gpu/GrUserConfig.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 184 | |
tomhudson@google.com | 4072556 | 2012-02-10 21:35:06 +0000 | [diff] [blame^] | 185 | '../include/gpu/GrGLConfig.h', |
| 186 | '../include/gpu/GrGLConfig_chrome.h', |
| 187 | '../include/gpu/GrGLDefines.h', |
| 188 | '../include/gpu/GrGLInterface.h', |
| 189 | |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 190 | '../src/gpu/GrAAHairLinePathRenderer.cpp', |
| 191 | '../src/gpu/GrAAHairLinePathRenderer.h', |
bsalomon@google.com | 69cc6ad | 2012-01-17 14:25:10 +0000 | [diff] [blame] | 192 | '../src/gpu/GrAAConvexPathRenderer.cpp', |
| 193 | '../src/gpu/GrAAConvexPathRenderer.h', |
| 194 | '../src/gpu/GrAddPathRenderers_default.cpp', |
bsalomon@google.com | ffa11bb | 2011-10-20 13:43:13 +0000 | [diff] [blame] | 195 | '../src/gpu/GrAllocator.h', |
| 196 | '../src/gpu/GrAllocPool.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 197 | '../src/gpu/GrAllocPool.cpp', |
| 198 | '../src/gpu/GrAtlas.cpp', |
bsalomon@google.com | ffa11bb | 2011-10-20 13:43:13 +0000 | [diff] [blame] | 199 | '../src/gpu/GrAtlas.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 200 | '../src/gpu/GrBinHashKey.h', |
| 201 | '../src/gpu/GrBufferAllocPool.cpp', |
| 202 | '../src/gpu/GrBufferAllocPool.h', |
| 203 | '../src/gpu/GrClip.cpp', |
| 204 | '../src/gpu/GrContext.cpp', |
| 205 | '../src/gpu/GrDefaultPathRenderer.cpp', |
| 206 | '../src/gpu/GrDefaultPathRenderer.h', |
tomhudson@google.com | 9381363 | 2011-10-27 20:21:16 +0000 | [diff] [blame] | 207 | '../src/gpu/GrDrawState.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 208 | '../src/gpu/GrDrawTarget.cpp', |
| 209 | '../src/gpu/GrDrawTarget.h', |
| 210 | '../src/gpu/GrGeometryBuffer.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 211 | '../src/gpu/GrGpu.cpp', |
| 212 | '../src/gpu/GrGpu.h', |
| 213 | '../src/gpu/GrGpuFactory.cpp', |
bsalomon@google.com | ffa11bb | 2011-10-20 13:43:13 +0000 | [diff] [blame] | 214 | '../src/gpu/GrGpuVertex.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 215 | '../src/gpu/GrIndexBuffer.h', |
| 216 | '../src/gpu/GrInOrderDrawBuffer.cpp', |
| 217 | '../src/gpu/GrInOrderDrawBuffer.h', |
| 218 | '../src/gpu/GrMatrix.cpp', |
| 219 | '../src/gpu/GrMemory.cpp', |
| 220 | '../src/gpu/GrPathRendererChain.cpp', |
| 221 | '../src/gpu/GrPathRendererChain.h', |
| 222 | '../src/gpu/GrPathRenderer.cpp', |
| 223 | '../src/gpu/GrPathRenderer.h', |
| 224 | '../src/gpu/GrPathUtils.cpp', |
| 225 | '../src/gpu/GrPathUtils.h', |
bsalomon@google.com | ffa11bb | 2011-10-20 13:43:13 +0000 | [diff] [blame] | 226 | '../src/gpu/GrPlotMgr.h', |
| 227 | '../src/gpu/GrRandom.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 228 | '../src/gpu/GrRectanizer.cpp', |
bsalomon@google.com | ffa11bb | 2011-10-20 13:43:13 +0000 | [diff] [blame] | 229 | '../src/gpu/GrRectanizer.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 230 | '../src/gpu/GrRedBlackTree.h', |
| 231 | '../src/gpu/GrRenderTarget.cpp', |
| 232 | '../src/gpu/GrResource.cpp', |
| 233 | '../src/gpu/GrResourceCache.cpp', |
| 234 | '../src/gpu/GrResourceCache.h', |
| 235 | '../src/gpu/GrStencil.cpp', |
bsalomon@google.com | ffa11bb | 2011-10-20 13:43:13 +0000 | [diff] [blame] | 236 | '../src/gpu/GrStencil.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 237 | '../src/gpu/GrStencilBuffer.cpp', |
| 238 | '../src/gpu/GrStencilBuffer.h', |
bsalomon@google.com | ffa11bb | 2011-10-20 13:43:13 +0000 | [diff] [blame] | 239 | '../src/gpu/GrStringBuilder.h', |
| 240 | '../src/gpu/GrTBSearch.h', |
| 241 | '../src/gpu/GrTDArray.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 242 | '../src/gpu/GrTesselatedPathRenderer.cpp', |
| 243 | '../src/gpu/GrTesselatedPathRenderer.h', |
| 244 | '../src/gpu/GrTextContext.cpp', |
| 245 | '../src/gpu/GrTextStrike.cpp', |
bsalomon@google.com | ffa11bb | 2011-10-20 13:43:13 +0000 | [diff] [blame] | 246 | '../src/gpu/GrTextStrike.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 247 | '../src/gpu/GrTextStrike_impl.h', |
| 248 | '../src/gpu/GrTexture.cpp', |
bsalomon@google.com | ffa11bb | 2011-10-20 13:43:13 +0000 | [diff] [blame] | 249 | '../src/gpu/GrTHashCache.h', |
| 250 | '../src/gpu/GrTLList.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 251 | '../src/gpu/GrVertexBuffer.h', |
| 252 | '../src/gpu/gr_unittests.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 253 | |
tomhudson@google.com | 4072556 | 2012-02-10 21:35:06 +0000 | [diff] [blame^] | 254 | '../src/gpu/gl/GrGLContextInfo.cpp', |
| 255 | '../src/gpu/gl/GrGLContextInfo.h', |
| 256 | '../src/gpu/gl/GrGLCreateNativeInterface_none.cpp', |
| 257 | '../src/gpu/gl/GrGLCreateNullInterface.cpp', |
| 258 | '../src/gpu/gl/GrGLDefaultInterface_none.cpp', |
| 259 | '../src/gpu/gl/GrGLDefaultInterface_native.cpp', |
| 260 | '../src/gpu/gl/GrGLIndexBuffer.cpp', |
| 261 | '../src/gpu/gl/GrGLIndexBuffer.h', |
| 262 | '../src/gpu/gl/GrGLInterface.cpp', |
| 263 | '../src/gpu/gl/GrGLIRect.h', |
| 264 | '../src/gpu/gl/GrGLProgram.cpp', |
| 265 | '../src/gpu/gl/GrGLProgram.h', |
| 266 | '../src/gpu/gl/GrGLRenderTarget.cpp', |
| 267 | '../src/gpu/gl/GrGLRenderTarget.h', |
| 268 | '../src/gpu/gl/GrGLShaderVar.h', |
| 269 | '../src/gpu/gl/GrGLSL.cpp', |
| 270 | '../src/gpu/gl/GrGLSL.h', |
| 271 | '../src/gpu/gl/GrGLStencilBuffer.cpp', |
| 272 | '../src/gpu/gl/GrGLStencilBuffer.h', |
| 273 | '../src/gpu/gl/GrGLTexture.cpp', |
| 274 | '../src/gpu/gl/GrGLTexture.h', |
| 275 | '../src/gpu/gl/GrGLUtil.cpp', |
| 276 | '../src/gpu/gl/GrGLVertexBuffer.cpp', |
| 277 | '../src/gpu/gl/GrGLVertexBuffer.h', |
| 278 | '../src/gpu/gl/GrGpuGL.cpp', |
| 279 | '../src/gpu/gl/GrGpuGL.h', |
| 280 | '../src/gpu/gl/GrGpuGLShaders.cpp', |
| 281 | '../src/gpu/gl/GrGpuGLShaders.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 282 | |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 283 | '../src/gpu/mac/GrGLCreateNativeInterface_mac.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 284 | |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 285 | '../src/gpu/win/GrGLCreateNativeInterface_win.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 286 | |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 287 | '../src/gpu/unix/GrGLCreateNativeInterface_unix.cpp', |
| 288 | |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 289 | '../src/gpu/android/GrGLCreateNativeInterface_android.cpp', |
| 290 | |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 291 | '../src/gpu/mesa/GrGLCreateMesaInterface.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 292 | ], |
| 293 | 'defines': [ |
| 294 | 'GR_IMPLEMENTATION=1', |
| 295 | ], |
| 296 | 'conditions': [ |
bsalomon@google.com | 9f169a4 | 2012-01-12 20:56:52 +0000 | [diff] [blame] | 297 | [ 'skia_gpu_disable_osaa', { |
| 298 | 'defines': [ |
| 299 | 'GR_USE_OFFSCREEN_AA=0', |
| 300 | ], |
| 301 | }], |
epoger@google.com | 8846cb2 | 2011-07-01 20:20:07 +0000 | [diff] [blame] | 302 | [ 'skia_os == "linux"', { |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 303 | 'sources!': [ |
tomhudson@google.com | 4072556 | 2012-02-10 21:35:06 +0000 | [diff] [blame^] | 304 | '../src/gpu/gl/GrGLDefaultInterface_none.cpp', |
| 305 | '../src/gpu/gl/GrGLCreateNativeInterface_none.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 306 | ], |
| 307 | 'link_settings': { |
| 308 | 'libraries': [ |
| 309 | '-lGL', |
| 310 | '-lX11', |
| 311 | ], |
| 312 | }, |
| 313 | }], |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 314 | [ 'skia_mesa and skia_os == "linux"', { |
| 315 | 'link_settings': { |
| 316 | 'libraries': [ |
| 317 | '-lOSMesa', |
| 318 | ], |
| 319 | }, |
| 320 | }], |
epoger@google.com | 8846cb2 | 2011-07-01 20:20:07 +0000 | [diff] [blame] | 321 | [ 'skia_os == "mac"', { |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 322 | 'link_settings': { |
| 323 | 'libraries': [ |
| 324 | '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', |
| 325 | ], |
| 326 | }, |
| 327 | 'sources!': [ |
tomhudson@google.com | 4072556 | 2012-02-10 21:35:06 +0000 | [diff] [blame^] | 328 | '../src/gpu/gl/GrGLDefaultInterface_none.cpp', |
| 329 | '../src/gpu/gl/GrGLCreateNativeInterface_none.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 330 | ], |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 331 | }], |
| 332 | [ 'skia_mesa and skia_os == "mac"', { |
| 333 | 'link_settings': { |
| 334 | 'libraries': [ |
| 335 | '$(SDKROOT)/usr/X11/lib/libOSMesa.dylib', |
| 336 | ], |
| 337 | }, |
| 338 | 'include_dirs': [ |
| 339 | '$(SDKROOT)/usr/X11/include/', |
| 340 | ], |
| 341 | }], |
| 342 | [ 'not skia_mesa', { |
| 343 | 'sources!': [ |
| 344 | '../src/gpu/mesa/GrGLCreateMesaInterface.cpp', |
| 345 | ], |
| 346 | }], |
epoger@google.com | 8846cb2 | 2011-07-01 20:20:07 +0000 | [diff] [blame] | 347 | [ 'skia_os == "win"', { |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 348 | 'sources!': [ |
tomhudson@google.com | 4072556 | 2012-02-10 21:35:06 +0000 | [diff] [blame^] | 349 | '../src/gpu/gl/GrGLDefaultInterface_none.cpp', |
| 350 | '../src/gpu/gl/GrGLCreateNativeInterface_none.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 351 | ], |
| 352 | }], |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 353 | [ 'skia_os == "android"', { |
| 354 | 'sources!': [ |
tomhudson@google.com | 4072556 | 2012-02-10 21:35:06 +0000 | [diff] [blame^] | 355 | '../src/gpu/gl/GrGLDefaultInterface_none.cpp', |
| 356 | '../src/gpu/gl/GrGLCreateNativeInterface_none.cpp', |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 357 | ], |
| 358 | 'link_settings': { |
| 359 | 'libraries': [ |
| 360 | '-lGLESv2', |
| 361 | '-lEGL', |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 362 | ], |
| 363 | }, |
| 364 | }], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 365 | ], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 366 | }, |
| 367 | ], |
| 368 | } |
| 369 | |
| 370 | # Local Variables: |
| 371 | # tab-width:2 |
| 372 | # indent-tabs-mode:nil |
| 373 | # End: |
| 374 | # vim: set expandtab tabstop=2 shiftwidth=2: |