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