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': [ |
bungeman@google.com | 5a64e58 | 2012-03-29 14:51:56 +0000 | [diff] [blame] | 90 | '../include/config', |
| 91 | '../include/core', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 92 | '../src/core', |
| 93 | '../include/gpu', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 94 | ], |
robertphillips@google.com | 021bce9 | 2012-04-02 20:42:26 +0000 | [diff] [blame] | 95 | 'dependencies': [ |
| 96 | 'libtess.gyp:libtess', |
| 97 | 'angle.gyp:*', |
| 98 | ], |
| 99 | 'export_dependent_settings': [ |
| 100 | 'angle.gyp:*', |
| 101 | ], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 102 | 'sources': [ |
| 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 | |
tomhudson@google.com | 6bf38b5 | 2012-02-14 15:11:59 +0000 | [diff] [blame] | 108 | '../include/gpu/gl/SkGLContext.h', |
| 109 | '../include/gpu/gl/SkMesaGLContext.h', |
robertphillips@google.com | 021bce9 | 2012-04-02 20:42:26 +0000 | [diff] [blame] | 110 | '../include/gpu/gl/SkANGLEGLContext.h', |
tomhudson@google.com | 6bf38b5 | 2012-02-14 15:11:59 +0000 | [diff] [blame] | 111 | '../include/gpu/gl/SkNativeGLContext.h', |
| 112 | '../include/gpu/gl/SkNullGLContext.h', |
robertphillips@google.com | 0da3719 | 2012-03-19 14:42:13 +0000 | [diff] [blame] | 113 | '../include/gpu/gl/SkDebugGLContext.h', |
tomhudson@google.com | 4072556 | 2012-02-10 21:35:06 +0000 | [diff] [blame] | 114 | |
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', |
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', |
robertphillips@google.com | d91f370 | 2012-03-28 18:22:01 +0000 | [diff] [blame] | 123 | |
| 124 | '../src/gpu/gl/debug/SkDebugGLContext.cpp', |
bsalomon@google.com | e295313 | 2011-10-13 13:33:08 +0000 | [diff] [blame] | 125 | |
robertphillips@google.com | 78ff6b4 | 2012-03-28 19:37:51 +0000 | [diff] [blame] | 126 | '../src/gpu/gl/mac/SkNativeGLContext_mac.cpp', |
| 127 | |
| 128 | '../src/gpu/gl/win/SkNativeGLContext_win.cpp', |
| 129 | |
| 130 | '../src/gpu/gl/unix/SkNativeGLContext_unix.cpp', |
| 131 | |
| 132 | '../src/gpu/gl/mesa/SkMesaGLContext.cpp', |
robertphillips@google.com | 021bce9 | 2012-04-02 20:42:26 +0000 | [diff] [blame] | 133 | '../src/gpu/gl/angle/SkANGLEGLContext.cpp', |
| 134 | '../src/gpu/gl/angle/GrGLCreateANGLEInterface.cpp', |
robertphillips@google.com | 78ff6b4 | 2012-03-28 19:37:51 +0000 | [diff] [blame] | 135 | |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 136 | '../src/gpu/android/SkNativeGLContext_android.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 137 | ], |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 138 | 'conditions': [ |
| 139 | [ 'not skia_mesa', { |
| 140 | 'sources!': [ |
robertphillips@google.com | 78ff6b4 | 2012-03-28 19:37:51 +0000 | [diff] [blame] | 141 | '../src/gpu/gl/mesa/SkMesaGLContext.cpp', |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 142 | ], |
| 143 | }], |
| 144 | [ 'skia_mesa and skia_os == "mac"', { |
| 145 | 'include_dirs': [ |
| 146 | '$(SDKROOT)/usr/X11/include/', |
| 147 | ], |
| 148 | }], |
robertphillips@google.com | 021bce9 | 2012-04-02 20:42:26 +0000 | [diff] [blame] | 149 | [ 'not skia_angle', { |
| 150 | 'sources!': [ |
| 151 | '../include/gpu/gl/SkANGLEGLContext.h', |
| 152 | '../src/gpu/gl/angle/SkANGLEGLContext.cpp', |
| 153 | '../src/gpu/gl/angle/GrGLCreateANGLEInterface.cpp', |
| 154 | ], |
| 155 | }], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 156 | ], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 157 | }, |
| 158 | { |
| 159 | 'target_name': 'gr', |
| 160 | 'type': 'static_library', |
| 161 | 'include_dirs': [ |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 162 | '../include/core', |
| 163 | '../include/config', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 164 | '../include/gpu', |
bsalomon@google.com | 150d284 | 2012-01-12 20:19:56 +0000 | [diff] [blame] | 165 | '../src/core', # SkRasterClip.h |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 166 | ], |
| 167 | 'dependencies': [ |
| 168 | 'libtess.gyp:libtess', |
robertphillips@google.com | 021bce9 | 2012-04-02 20:42:26 +0000 | [diff] [blame] | 169 | 'angle.gyp:*', |
| 170 | ], |
| 171 | 'export_dependent_settings': [ |
| 172 | 'angle.gyp:*', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 173 | ], |
| 174 | 'sources': [ |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 175 | '../include/gpu/GrClip.h', |
| 176 | '../include/gpu/GrClipIterator.h', |
| 177 | '../include/gpu/GrColor.h', |
| 178 | '../include/gpu/GrConfig.h', |
| 179 | '../include/gpu/GrContext.h', |
bsalomon@google.com | 7361f54 | 2012-04-19 19:15:35 +0000 | [diff] [blame^] | 180 | '../include/gpu/GrContextFactory.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 181 | '../include/gpu/GrFontScaler.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 182 | '../include/gpu/GrGlyph.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 183 | '../include/gpu/GrInstanceCounter.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 184 | '../include/gpu/GrKey.h', |
| 185 | '../include/gpu/GrMatrix.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 186 | '../include/gpu/GrNoncopyable.h', |
| 187 | '../include/gpu/GrPaint.h', |
| 188 | '../include/gpu/GrPath.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 189 | '../include/gpu/GrPoint.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 190 | '../include/gpu/GrRect.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 191 | '../include/gpu/GrRefCnt.h', |
| 192 | '../include/gpu/GrRenderTarget.h', |
| 193 | '../include/gpu/GrResource.h', |
| 194 | '../include/gpu/GrSamplerState.h', |
| 195 | '../include/gpu/GrScalar.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 196 | '../include/gpu/GrTextContext.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 197 | '../include/gpu/GrTexture.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 198 | '../include/gpu/GrTypes.h', |
| 199 | '../include/gpu/GrUserConfig.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 200 | |
tomhudson@google.com | 6bf38b5 | 2012-02-14 15:11:59 +0000 | [diff] [blame] | 201 | '../include/gpu/gl/GrGLConfig.h', |
| 202 | '../include/gpu/gl/GrGLConfig_chrome.h', |
| 203 | '../include/gpu/gl/GrGLDefines.h', |
| 204 | '../include/gpu/gl/GrGLInterface.h', |
tomhudson@google.com | 4072556 | 2012-02-10 21:35:06 +0000 | [diff] [blame] | 205 | |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 206 | '../src/gpu/GrAAHairLinePathRenderer.cpp', |
| 207 | '../src/gpu/GrAAHairLinePathRenderer.h', |
bsalomon@google.com | 69cc6ad | 2012-01-17 14:25:10 +0000 | [diff] [blame] | 208 | '../src/gpu/GrAAConvexPathRenderer.cpp', |
| 209 | '../src/gpu/GrAAConvexPathRenderer.h', |
| 210 | '../src/gpu/GrAddPathRenderers_default.cpp', |
bsalomon@google.com | ffa11bb | 2011-10-20 13:43:13 +0000 | [diff] [blame] | 211 | '../src/gpu/GrAllocator.h', |
| 212 | '../src/gpu/GrAllocPool.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 213 | '../src/gpu/GrAllocPool.cpp', |
| 214 | '../src/gpu/GrAtlas.cpp', |
bsalomon@google.com | ffa11bb | 2011-10-20 13:43:13 +0000 | [diff] [blame] | 215 | '../src/gpu/GrAtlas.h', |
bsalomon@google.com | f4a9c82 | 2012-03-16 14:02:46 +0000 | [diff] [blame] | 216 | '../src/gpu/GrBatchedTextContext.cpp', |
| 217 | '../src/gpu/GrBatchedTextContext.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 218 | '../src/gpu/GrBinHashKey.h', |
| 219 | '../src/gpu/GrBufferAllocPool.cpp', |
| 220 | '../src/gpu/GrBufferAllocPool.h', |
| 221 | '../src/gpu/GrClip.cpp', |
| 222 | '../src/gpu/GrContext.cpp', |
tomhudson@google.com | 168e634 | 2012-04-18 17:49:20 +0000 | [diff] [blame] | 223 | '../src/gpu/GrCustomStage.cpp', |
| 224 | '../src/gpu/GrCustomStage.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 225 | '../src/gpu/GrDefaultPathRenderer.cpp', |
| 226 | '../src/gpu/GrDefaultPathRenderer.h', |
bsalomon@google.com | f4a9c82 | 2012-03-16 14:02:46 +0000 | [diff] [blame] | 227 | '../src/gpu/GrDefaultTextContext.cpp', |
| 228 | '../src/gpu/GrDefaultTextContext.h', |
tomhudson@google.com | 9381363 | 2011-10-27 20:21:16 +0000 | [diff] [blame] | 229 | '../src/gpu/GrDrawState.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 230 | '../src/gpu/GrDrawTarget.cpp', |
| 231 | '../src/gpu/GrDrawTarget.h', |
| 232 | '../src/gpu/GrGeometryBuffer.h', |
robertphillips@google.com | 1e945b7 | 2012-04-16 18:03:03 +0000 | [diff] [blame] | 233 | '../src/gpu/GrClipMaskManager.h', |
| 234 | '../src/gpu/GrClipMaskManager.cpp', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 235 | '../src/gpu/GrGpu.cpp', |
| 236 | '../src/gpu/GrGpu.h', |
| 237 | '../src/gpu/GrGpuFactory.cpp', |
bsalomon@google.com | ffa11bb | 2011-10-20 13:43:13 +0000 | [diff] [blame] | 238 | '../src/gpu/GrGpuVertex.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 239 | '../src/gpu/GrIndexBuffer.h', |
| 240 | '../src/gpu/GrInOrderDrawBuffer.cpp', |
| 241 | '../src/gpu/GrInOrderDrawBuffer.h', |
| 242 | '../src/gpu/GrMatrix.cpp', |
| 243 | '../src/gpu/GrMemory.cpp', |
| 244 | '../src/gpu/GrPathRendererChain.cpp', |
| 245 | '../src/gpu/GrPathRendererChain.h', |
| 246 | '../src/gpu/GrPathRenderer.cpp', |
| 247 | '../src/gpu/GrPathRenderer.h', |
| 248 | '../src/gpu/GrPathUtils.cpp', |
| 249 | '../src/gpu/GrPathUtils.h', |
bsalomon@google.com | ffa11bb | 2011-10-20 13:43:13 +0000 | [diff] [blame] | 250 | '../src/gpu/GrPlotMgr.h', |
| 251 | '../src/gpu/GrRandom.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 252 | '../src/gpu/GrRectanizer.cpp', |
bsalomon@google.com | ffa11bb | 2011-10-20 13:43:13 +0000 | [diff] [blame] | 253 | '../src/gpu/GrRectanizer.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 254 | '../src/gpu/GrRedBlackTree.h', |
| 255 | '../src/gpu/GrRenderTarget.cpp', |
| 256 | '../src/gpu/GrResource.cpp', |
| 257 | '../src/gpu/GrResourceCache.cpp', |
| 258 | '../src/gpu/GrResourceCache.h', |
| 259 | '../src/gpu/GrStencil.cpp', |
bsalomon@google.com | ffa11bb | 2011-10-20 13:43:13 +0000 | [diff] [blame] | 260 | '../src/gpu/GrStencil.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 261 | '../src/gpu/GrStencilBuffer.cpp', |
| 262 | '../src/gpu/GrStencilBuffer.h', |
bsalomon@google.com | ffa11bb | 2011-10-20 13:43:13 +0000 | [diff] [blame] | 263 | '../src/gpu/GrStringBuilder.h', |
| 264 | '../src/gpu/GrTBSearch.h', |
| 265 | '../src/gpu/GrTDArray.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 266 | '../src/gpu/GrTesselatedPathRenderer.cpp', |
| 267 | '../src/gpu/GrTesselatedPathRenderer.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 268 | '../src/gpu/GrTextStrike.cpp', |
bsalomon@google.com | ffa11bb | 2011-10-20 13:43:13 +0000 | [diff] [blame] | 269 | '../src/gpu/GrTextStrike.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 270 | '../src/gpu/GrTextStrike_impl.h', |
| 271 | '../src/gpu/GrTexture.cpp', |
bsalomon@google.com | ffa11bb | 2011-10-20 13:43:13 +0000 | [diff] [blame] | 272 | '../src/gpu/GrTHashCache.h', |
| 273 | '../src/gpu/GrTLList.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 274 | '../src/gpu/GrVertexBuffer.h', |
| 275 | '../src/gpu/gr_unittests.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 276 | |
bsalomon@google.com | f7fa806 | 2012-02-14 14:09:57 +0000 | [diff] [blame] | 277 | '../src/gpu/gl/GrGLCaps.cpp', |
| 278 | '../src/gpu/gl/GrGLCaps.h', |
tomhudson@google.com | 4072556 | 2012-02-10 21:35:06 +0000 | [diff] [blame] | 279 | '../src/gpu/gl/GrGLContextInfo.cpp', |
| 280 | '../src/gpu/gl/GrGLContextInfo.h', |
| 281 | '../src/gpu/gl/GrGLCreateNativeInterface_none.cpp', |
| 282 | '../src/gpu/gl/GrGLCreateNullInterface.cpp', |
| 283 | '../src/gpu/gl/GrGLDefaultInterface_none.cpp', |
| 284 | '../src/gpu/gl/GrGLDefaultInterface_native.cpp', |
| 285 | '../src/gpu/gl/GrGLIndexBuffer.cpp', |
| 286 | '../src/gpu/gl/GrGLIndexBuffer.h', |
| 287 | '../src/gpu/gl/GrGLInterface.cpp', |
| 288 | '../src/gpu/gl/GrGLIRect.h', |
| 289 | '../src/gpu/gl/GrGLProgram.cpp', |
| 290 | '../src/gpu/gl/GrGLProgram.h', |
tomhudson@google.com | 168e634 | 2012-04-18 17:49:20 +0000 | [diff] [blame] | 291 | '../src/gpu/gl/GrGLProgramStage.cpp', |
| 292 | '../src/gpu/gl/GrGLProgramStage.h', |
tomhudson@google.com | 4072556 | 2012-02-10 21:35:06 +0000 | [diff] [blame] | 293 | '../src/gpu/gl/GrGLRenderTarget.cpp', |
| 294 | '../src/gpu/gl/GrGLRenderTarget.h', |
| 295 | '../src/gpu/gl/GrGLShaderVar.h', |
| 296 | '../src/gpu/gl/GrGLSL.cpp', |
| 297 | '../src/gpu/gl/GrGLSL.h', |
| 298 | '../src/gpu/gl/GrGLStencilBuffer.cpp', |
| 299 | '../src/gpu/gl/GrGLStencilBuffer.h', |
| 300 | '../src/gpu/gl/GrGLTexture.cpp', |
| 301 | '../src/gpu/gl/GrGLTexture.h', |
| 302 | '../src/gpu/gl/GrGLUtil.cpp', |
| 303 | '../src/gpu/gl/GrGLVertexBuffer.cpp', |
| 304 | '../src/gpu/gl/GrGLVertexBuffer.h', |
| 305 | '../src/gpu/gl/GrGpuGL.cpp', |
| 306 | '../src/gpu/gl/GrGpuGL.h', |
| 307 | '../src/gpu/gl/GrGpuGLShaders.cpp', |
| 308 | '../src/gpu/gl/GrGpuGLShaders.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 309 | |
robertphillips@google.com | d91f370 | 2012-03-28 18:22:01 +0000 | [diff] [blame] | 310 | '../src/gpu/gl/debug/GrGLCreateDebugInterface.cpp', |
robertphillips@google.com | dd743fe | 2012-04-05 14:40:53 +0000 | [diff] [blame] | 311 | '../src/gpu/gl/debug/GrFakeRefObj.h', |
robertphillips@google.com | dd743fe | 2012-04-05 14:40:53 +0000 | [diff] [blame] | 312 | '../src/gpu/gl/debug/GrBufferObj.h', |
| 313 | '../src/gpu/gl/debug/GrBufferObj.cpp', |
| 314 | '../src/gpu/gl/debug/GrFBBindableObj.h', |
| 315 | '../src/gpu/gl/debug/GrFBBindableObj.cpp', |
| 316 | '../src/gpu/gl/debug/GrRenderBufferObj.h', |
| 317 | '../src/gpu/gl/debug/GrRenderBufferObj.cpp', |
| 318 | '../src/gpu/gl/debug/GrTextureObj.h', |
| 319 | '../src/gpu/gl/debug/GrTextureObj.cpp', |
| 320 | '../src/gpu/gl/debug/GrTextureUnitObj.h', |
| 321 | '../src/gpu/gl/debug/GrTextureUnitObj.cpp', |
| 322 | '../src/gpu/gl/debug/GrFrameBufferObj.h', |
| 323 | '../src/gpu/gl/debug/GrFrameBufferObj.cpp', |
| 324 | '../src/gpu/gl/debug/GrShaderObj.h', |
| 325 | '../src/gpu/gl/debug/GrShaderObj.cpp', |
| 326 | '../src/gpu/gl/debug/GrProgramObj.h', |
| 327 | '../src/gpu/gl/debug/GrProgramObj.cpp', |
| 328 | '../src/gpu/gl/debug/GrDebugGL.h', |
| 329 | '../src/gpu/gl/debug/GrDebugGL.cpp', |
robertphillips@google.com | d91f370 | 2012-03-28 18:22:01 +0000 | [diff] [blame] | 330 | |
robertphillips@google.com | 78ff6b4 | 2012-03-28 19:37:51 +0000 | [diff] [blame] | 331 | '../src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 332 | |
robertphillips@google.com | 78ff6b4 | 2012-03-28 19:37:51 +0000 | [diff] [blame] | 333 | '../src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 334 | |
robertphillips@google.com | 78ff6b4 | 2012-03-28 19:37:51 +0000 | [diff] [blame] | 335 | '../src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp', |
| 336 | |
| 337 | '../src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp', |
robertphillips@google.com | 021bce9 | 2012-04-02 20:42:26 +0000 | [diff] [blame] | 338 | '../src/gpu/gl/angle/GrGLCreateANGLEInterface.cpp', |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 339 | |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 340 | '../src/gpu/android/GrGLCreateNativeInterface_android.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 341 | ], |
| 342 | 'defines': [ |
| 343 | 'GR_IMPLEMENTATION=1', |
| 344 | ], |
| 345 | 'conditions': [ |
epoger@google.com | 8846cb2 | 2011-07-01 20:20:07 +0000 | [diff] [blame] | 346 | [ 'skia_os == "linux"', { |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 347 | 'sources!': [ |
tomhudson@google.com | 4072556 | 2012-02-10 21:35:06 +0000 | [diff] [blame] | 348 | '../src/gpu/gl/GrGLDefaultInterface_none.cpp', |
| 349 | '../src/gpu/gl/GrGLCreateNativeInterface_none.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 350 | ], |
| 351 | 'link_settings': { |
| 352 | 'libraries': [ |
| 353 | '-lGL', |
| 354 | '-lX11', |
| 355 | ], |
| 356 | }, |
| 357 | }], |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 358 | [ 'skia_mesa and skia_os == "linux"', { |
| 359 | 'link_settings': { |
| 360 | 'libraries': [ |
| 361 | '-lOSMesa', |
| 362 | ], |
| 363 | }, |
| 364 | }], |
epoger@google.com | 8846cb2 | 2011-07-01 20:20:07 +0000 | [diff] [blame] | 365 | [ 'skia_os == "mac"', { |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 366 | 'link_settings': { |
| 367 | 'libraries': [ |
| 368 | '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', |
| 369 | ], |
| 370 | }, |
| 371 | 'sources!': [ |
tomhudson@google.com | 4072556 | 2012-02-10 21:35:06 +0000 | [diff] [blame] | 372 | '../src/gpu/gl/GrGLDefaultInterface_none.cpp', |
| 373 | '../src/gpu/gl/GrGLCreateNativeInterface_none.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 374 | ], |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 375 | }], |
| 376 | [ 'skia_mesa and skia_os == "mac"', { |
| 377 | 'link_settings': { |
| 378 | 'libraries': [ |
| 379 | '$(SDKROOT)/usr/X11/lib/libOSMesa.dylib', |
| 380 | ], |
| 381 | }, |
| 382 | 'include_dirs': [ |
| 383 | '$(SDKROOT)/usr/X11/include/', |
| 384 | ], |
| 385 | }], |
| 386 | [ 'not skia_mesa', { |
| 387 | 'sources!': [ |
robertphillips@google.com | 78ff6b4 | 2012-03-28 19:37:51 +0000 | [diff] [blame] | 388 | '../src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp', |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 389 | ], |
| 390 | }], |
epoger@google.com | 8846cb2 | 2011-07-01 20:20:07 +0000 | [diff] [blame] | 391 | [ 'skia_os == "win"', { |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 392 | 'sources!': [ |
tomhudson@google.com | 4072556 | 2012-02-10 21:35:06 +0000 | [diff] [blame] | 393 | '../src/gpu/gl/GrGLDefaultInterface_none.cpp', |
| 394 | '../src/gpu/gl/GrGLCreateNativeInterface_none.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 395 | ], |
| 396 | }], |
robertphillips@google.com | 021bce9 | 2012-04-02 20:42:26 +0000 | [diff] [blame] | 397 | [ 'not skia_angle', { |
| 398 | 'sources!': [ |
| 399 | '../include/gpu/gl/SkANGLEGLContext.h', |
| 400 | |
| 401 | '../src/gpu/gl/angle/GrGLCreateANGLEInterface.cpp', |
| 402 | '../src/gpu/gl/angle/SkANGLEGLContext.cpp', |
| 403 | ], |
| 404 | }], |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 405 | [ 'skia_os == "android"', { |
| 406 | 'sources!': [ |
tomhudson@google.com | 4072556 | 2012-02-10 21:35:06 +0000 | [diff] [blame] | 407 | '../src/gpu/gl/GrGLDefaultInterface_none.cpp', |
| 408 | '../src/gpu/gl/GrGLCreateNativeInterface_none.cpp', |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 409 | ], |
| 410 | 'link_settings': { |
| 411 | 'libraries': [ |
| 412 | '-lGLESv2', |
| 413 | '-lEGL', |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 414 | ], |
| 415 | }, |
| 416 | }], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 417 | ], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 418 | }, |
| 419 | ], |
| 420 | } |
| 421 | |
| 422 | # Local Variables: |
| 423 | # tab-width:2 |
| 424 | # indent-tabs-mode:nil |
| 425 | # End: |
| 426 | # vim: set expandtab tabstop=2 shiftwidth=2: |