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', |
bsalomon@google.com | e295313 | 2011-10-13 13:33:08 +0000 | [diff] [blame] | 47 | ], |
| 48 | }], |
bsalomon@google.com | cf8fb1f | 2012-08-02 14:03:32 +0000 | [diff] [blame^] | 49 | # nullify the targets in this gyp file if skia_gpu is 0 |
| 50 | [ 'skia_gpu == 0', { |
| 51 | 'sources/': [ |
| 52 | ['exclude', '.*'], |
| 53 | ], |
| 54 | 'defines/': [ |
| 55 | ['exclude', '.*'], |
| 56 | ], |
| 57 | 'include_dirs/': [ |
| 58 | ['exclude', '.*'], |
| 59 | ], |
| 60 | 'link_settings': { |
| 61 | 'libraries/': [ |
| 62 | ['exclude', '.*'], |
| 63 | ], |
| 64 | }, |
| 65 | 'direct_dependent_settings': { |
| 66 | 'defines/': [ |
| 67 | ['exclude', '.*'], |
| 68 | ], |
| 69 | 'include_dirs/': [ |
| 70 | ['exclude', '.*'], |
| 71 | ], |
| 72 | }, |
| 73 | }], |
bsalomon@google.com | e295313 | 2011-10-13 13:33:08 +0000 | [diff] [blame] | 74 | ], |
| 75 | 'direct_dependent_settings': { |
| 76 | 'conditions': [ |
| 77 | [ 'skia_os == "android"', { |
| 78 | 'defines': [ |
| 79 | 'GR_ANDROID_BUILD=1', |
| 80 | ], |
| 81 | }], |
| 82 | [ 'skia_os == "mac"', { |
| 83 | 'defines': [ |
| 84 | 'GR_MAC_BUILD=1', |
| 85 | ], |
| 86 | }], |
| 87 | [ 'skia_os == "linux"', { |
| 88 | 'defines': [ |
| 89 | 'GR_LINUX_BUILD=1', |
| 90 | ], |
| 91 | }], |
| 92 | [ 'skia_os == "ios"', { |
| 93 | 'defines': [ |
| 94 | 'GR_IOS_BUILD=1', |
| 95 | ], |
| 96 | }], |
| 97 | [ 'skia_os == "win"', { |
| 98 | 'defines': [ |
| 99 | 'GR_WIN32_BUILD=1', |
| 100 | 'GR_GL_FUNCTION_TYPE=__stdcall', |
| 101 | ], |
| 102 | }], |
| 103 | ], |
| 104 | 'include_dirs': [ |
| 105 | '../include/gpu', |
| 106 | ], |
| 107 | }, |
| 108 | }, |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 109 | 'targets': [ |
| 110 | { |
| 111 | 'target_name': 'skgr', |
| 112 | 'type': 'static_library', |
| 113 | 'include_dirs': [ |
bungeman@google.com | 5a64e58 | 2012-03-29 14:51:56 +0000 | [diff] [blame] | 114 | '../include/config', |
| 115 | '../include/core', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 116 | '../src/core', |
| 117 | '../include/gpu', |
bsalomon@google.com | 9c1f1ac | 2012-05-07 17:09:37 +0000 | [diff] [blame] | 118 | '../src/gpu', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 119 | ], |
robertphillips@google.com | 021bce9 | 2012-04-02 20:42:26 +0000 | [diff] [blame] | 120 | 'dependencies': [ |
robertphillips@google.com | 021bce9 | 2012-04-02 20:42:26 +0000 | [diff] [blame] | 121 | 'angle.gyp:*', |
| 122 | ], |
| 123 | 'export_dependent_settings': [ |
| 124 | 'angle.gyp:*', |
| 125 | ], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 126 | 'sources': [ |
| 127 | '../include/gpu/SkGpuCanvas.h', |
| 128 | '../include/gpu/SkGpuDevice.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 129 | '../include/gpu/SkGr.h', |
robertphillips@google.com | 41efe04 | 2012-06-29 20:55:14 +0000 | [diff] [blame] | 130 | '../include/gpu/SkGrPixelRef.h', |
robertphillips@google.com | e9c0469 | 2012-06-29 00:30:13 +0000 | [diff] [blame] | 131 | '../include/gpu/SkGrTexturePixelRef.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 132 | |
tomhudson@google.com | 6bf38b5 | 2012-02-14 15:11:59 +0000 | [diff] [blame] | 133 | '../include/gpu/gl/SkGLContext.h', |
| 134 | '../include/gpu/gl/SkMesaGLContext.h', |
robertphillips@google.com | 021bce9 | 2012-04-02 20:42:26 +0000 | [diff] [blame] | 135 | '../include/gpu/gl/SkANGLEGLContext.h', |
tomhudson@google.com | 6bf38b5 | 2012-02-14 15:11:59 +0000 | [diff] [blame] | 136 | '../include/gpu/gl/SkNativeGLContext.h', |
| 137 | '../include/gpu/gl/SkNullGLContext.h', |
robertphillips@google.com | 0da3719 | 2012-03-19 14:42:13 +0000 | [diff] [blame] | 138 | '../include/gpu/gl/SkDebugGLContext.h', |
tomhudson@google.com | 4072556 | 2012-02-10 21:35:06 +0000 | [diff] [blame] | 139 | |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 140 | '../src/gpu/SkGpuCanvas.cpp', |
| 141 | '../src/gpu/SkGpuDevice.cpp', |
| 142 | '../src/gpu/SkGr.cpp', |
| 143 | '../src/gpu/SkGrFontScaler.cpp', |
robertphillips@google.com | 41efe04 | 2012-06-29 20:55:14 +0000 | [diff] [blame] | 144 | '../src/gpu/SkGrPixelRef.cpp', |
robertphillips@google.com | e9c0469 | 2012-06-29 00:30:13 +0000 | [diff] [blame] | 145 | '../src/gpu/SkGrTexturePixelRef.cpp', |
tomhudson@google.com | 4072556 | 2012-02-10 21:35:06 +0000 | [diff] [blame] | 146 | |
| 147 | '../src/gpu/gl/SkGLContext.cpp', |
| 148 | '../src/gpu/gl/SkNullGLContext.cpp', |
robertphillips@google.com | d91f370 | 2012-03-28 18:22:01 +0000 | [diff] [blame] | 149 | |
| 150 | '../src/gpu/gl/debug/SkDebugGLContext.cpp', |
bsalomon@google.com | e295313 | 2011-10-13 13:33:08 +0000 | [diff] [blame] | 151 | |
robertphillips@google.com | 78ff6b4 | 2012-03-28 19:37:51 +0000 | [diff] [blame] | 152 | '../src/gpu/gl/mac/SkNativeGLContext_mac.cpp', |
| 153 | |
| 154 | '../src/gpu/gl/win/SkNativeGLContext_win.cpp', |
| 155 | |
| 156 | '../src/gpu/gl/unix/SkNativeGLContext_unix.cpp', |
| 157 | |
| 158 | '../src/gpu/gl/mesa/SkMesaGLContext.cpp', |
robertphillips@google.com | 021bce9 | 2012-04-02 20:42:26 +0000 | [diff] [blame] | 159 | '../src/gpu/gl/angle/SkANGLEGLContext.cpp', |
| 160 | '../src/gpu/gl/angle/GrGLCreateANGLEInterface.cpp', |
robertphillips@google.com | 78ff6b4 | 2012-03-28 19:37:51 +0000 | [diff] [blame] | 161 | |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 162 | '../src/gpu/android/SkNativeGLContext_android.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 163 | ], |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 164 | 'conditions': [ |
| 165 | [ 'not skia_mesa', { |
| 166 | 'sources!': [ |
robertphillips@google.com | 78ff6b4 | 2012-03-28 19:37:51 +0000 | [diff] [blame] | 167 | '../src/gpu/gl/mesa/SkMesaGLContext.cpp', |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 168 | ], |
| 169 | }], |
| 170 | [ 'skia_mesa and skia_os == "mac"', { |
| 171 | 'include_dirs': [ |
| 172 | '$(SDKROOT)/usr/X11/include/', |
| 173 | ], |
| 174 | }], |
robertphillips@google.com | 021bce9 | 2012-04-02 20:42:26 +0000 | [diff] [blame] | 175 | [ 'not skia_angle', { |
| 176 | 'sources!': [ |
| 177 | '../include/gpu/gl/SkANGLEGLContext.h', |
| 178 | '../src/gpu/gl/angle/SkANGLEGLContext.cpp', |
| 179 | '../src/gpu/gl/angle/GrGLCreateANGLEInterface.cpp', |
| 180 | ], |
| 181 | }], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 182 | ], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 183 | }, |
| 184 | { |
| 185 | 'target_name': 'gr', |
| 186 | 'type': 'static_library', |
| 187 | 'include_dirs': [ |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 188 | '../include/core', |
| 189 | '../include/config', |
senorblanco@chromium.org | 894790d | 2012-07-11 16:01:22 +0000 | [diff] [blame] | 190 | '../include/effects', # This is only to get Sk effects into |
| 191 | # GrGpuGL_unittest.cpp, not for general |
| 192 | # consumption in src/gpu. |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 193 | '../include/gpu', |
bsalomon@google.com | 150d284 | 2012-01-12 20:19:56 +0000 | [diff] [blame] | 194 | '../src/core', # SkRasterClip.h |
tomhudson@google.com | d8f856c | 2012-05-10 12:13:36 +0000 | [diff] [blame] | 195 | '../src/gpu' |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 196 | ], |
| 197 | 'dependencies': [ |
robertphillips@google.com | 021bce9 | 2012-04-02 20:42:26 +0000 | [diff] [blame] | 198 | 'angle.gyp:*', |
| 199 | ], |
| 200 | 'export_dependent_settings': [ |
| 201 | 'angle.gyp:*', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 202 | ], |
| 203 | 'sources': [ |
robertphillips@google.com | f6747b0 | 2012-06-12 00:32:28 +0000 | [diff] [blame] | 204 | '../include/gpu/GrAARectRenderer.h', |
robertphillips@google.com | a2d7148 | 2012-08-01 20:08:47 +0000 | [diff] [blame] | 205 | '../include/gpu/GrClipData.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 206 | '../include/gpu/GrColor.h', |
| 207 | '../include/gpu/GrConfig.h', |
| 208 | '../include/gpu/GrContext.h', |
bsalomon@google.com | 7361f54 | 2012-04-19 19:15:35 +0000 | [diff] [blame] | 209 | '../include/gpu/GrContextFactory.h', |
tomhudson@google.com | 07eecdc | 2012-04-20 18:35:38 +0000 | [diff] [blame] | 210 | '../include/gpu/GrCustomStage.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 211 | '../include/gpu/GrFontScaler.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 212 | '../include/gpu/GrGlyph.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 213 | '../include/gpu/GrInstanceCounter.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 214 | '../include/gpu/GrKey.h', |
| 215 | '../include/gpu/GrMatrix.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 216 | '../include/gpu/GrNoncopyable.h', |
| 217 | '../include/gpu/GrPaint.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 218 | '../include/gpu/GrPoint.h', |
bsalomon@google.com | ae4f96a | 2012-05-18 19:54:48 +0000 | [diff] [blame] | 219 | '../include/gpu/GrProgramStageFactory.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 220 | '../include/gpu/GrRect.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 221 | '../include/gpu/GrRefCnt.h', |
| 222 | '../include/gpu/GrRenderTarget.h', |
| 223 | '../include/gpu/GrResource.h', |
| 224 | '../include/gpu/GrSamplerState.h', |
| 225 | '../include/gpu/GrScalar.h', |
robertphillips@google.com | 7d501ab | 2012-06-21 21:09:06 +0000 | [diff] [blame] | 226 | '../include/gpu/GrSurface.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 227 | '../include/gpu/GrTextContext.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 228 | '../include/gpu/GrTexture.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 229 | '../include/gpu/GrTypes.h', |
| 230 | '../include/gpu/GrUserConfig.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 231 | |
tomhudson@google.com | 6bf38b5 | 2012-02-14 15:11:59 +0000 | [diff] [blame] | 232 | '../include/gpu/gl/GrGLConfig.h', |
| 233 | '../include/gpu/gl/GrGLConfig_chrome.h', |
bsalomon@google.com | 637d5e9 | 2012-05-07 21:33:56 +0000 | [diff] [blame] | 234 | '../include/gpu/gl/GrGLFunctions.h', |
tomhudson@google.com | 6bf38b5 | 2012-02-14 15:11:59 +0000 | [diff] [blame] | 235 | '../include/gpu/gl/GrGLInterface.h', |
tomhudson@google.com | 4072556 | 2012-02-10 21:35:06 +0000 | [diff] [blame] | 236 | |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 237 | '../src/gpu/GrAAHairLinePathRenderer.cpp', |
| 238 | '../src/gpu/GrAAHairLinePathRenderer.h', |
bsalomon@google.com | 69cc6ad | 2012-01-17 14:25:10 +0000 | [diff] [blame] | 239 | '../src/gpu/GrAAConvexPathRenderer.cpp', |
| 240 | '../src/gpu/GrAAConvexPathRenderer.h', |
robertphillips@google.com | f6747b0 | 2012-06-12 00:32:28 +0000 | [diff] [blame] | 241 | '../src/gpu/GrAARectRenderer.cpp', |
bsalomon@google.com | 69cc6ad | 2012-01-17 14:25:10 +0000 | [diff] [blame] | 242 | '../src/gpu/GrAddPathRenderers_default.cpp', |
bsalomon@google.com | ffa11bb | 2011-10-20 13:43:13 +0000 | [diff] [blame] | 243 | '../src/gpu/GrAllocator.h', |
| 244 | '../src/gpu/GrAllocPool.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 245 | '../src/gpu/GrAllocPool.cpp', |
| 246 | '../src/gpu/GrAtlas.cpp', |
bsalomon@google.com | ffa11bb | 2011-10-20 13:43:13 +0000 | [diff] [blame] | 247 | '../src/gpu/GrAtlas.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 248 | '../src/gpu/GrBinHashKey.h', |
| 249 | '../src/gpu/GrBufferAllocPool.cpp', |
| 250 | '../src/gpu/GrBufferAllocPool.h', |
robertphillips@google.com | a2d7148 | 2012-08-01 20:08:47 +0000 | [diff] [blame] | 251 | '../src/gpu/GrClipData.cpp', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 252 | '../src/gpu/GrContext.cpp', |
tomhudson@google.com | 168e634 | 2012-04-18 17:49:20 +0000 | [diff] [blame] | 253 | '../src/gpu/GrCustomStage.cpp', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 254 | '../src/gpu/GrDefaultPathRenderer.cpp', |
| 255 | '../src/gpu/GrDefaultPathRenderer.h', |
tomhudson@google.com | 9381363 | 2011-10-27 20:21:16 +0000 | [diff] [blame] | 256 | '../src/gpu/GrDrawState.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 257 | '../src/gpu/GrDrawTarget.cpp', |
| 258 | '../src/gpu/GrDrawTarget.h', |
| 259 | '../src/gpu/GrGeometryBuffer.h', |
robertphillips@google.com | 1e945b7 | 2012-04-16 18:03:03 +0000 | [diff] [blame] | 260 | '../src/gpu/GrClipMaskManager.h', |
| 261 | '../src/gpu/GrClipMaskManager.cpp', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 262 | '../src/gpu/GrGpu.cpp', |
| 263 | '../src/gpu/GrGpu.h', |
| 264 | '../src/gpu/GrGpuFactory.cpp', |
bsalomon@google.com | ffa11bb | 2011-10-20 13:43:13 +0000 | [diff] [blame] | 265 | '../src/gpu/GrGpuVertex.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 266 | '../src/gpu/GrIndexBuffer.h', |
| 267 | '../src/gpu/GrInOrderDrawBuffer.cpp', |
| 268 | '../src/gpu/GrInOrderDrawBuffer.h', |
| 269 | '../src/gpu/GrMatrix.cpp', |
| 270 | '../src/gpu/GrMemory.cpp', |
bsalomon@google.com | 4da34e3 | 2012-06-19 15:40:27 +0000 | [diff] [blame] | 271 | '../src/gpu/GrMemoryPool.cpp', |
| 272 | '../src/gpu/GrMemoryPool.h', |
bsalomon@google.com | 64aef2b | 2012-06-11 15:36:13 +0000 | [diff] [blame] | 273 | '../src/gpu/GrPath.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 274 | '../src/gpu/GrPathRendererChain.cpp', |
| 275 | '../src/gpu/GrPathRendererChain.h', |
| 276 | '../src/gpu/GrPathRenderer.cpp', |
| 277 | '../src/gpu/GrPathRenderer.h', |
| 278 | '../src/gpu/GrPathUtils.cpp', |
| 279 | '../src/gpu/GrPathUtils.h', |
bsalomon@google.com | ffa11bb | 2011-10-20 13:43:13 +0000 | [diff] [blame] | 280 | '../src/gpu/GrPlotMgr.h', |
| 281 | '../src/gpu/GrRandom.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 282 | '../src/gpu/GrRectanizer.cpp', |
bsalomon@google.com | ffa11bb | 2011-10-20 13:43:13 +0000 | [diff] [blame] | 283 | '../src/gpu/GrRectanizer.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 284 | '../src/gpu/GrRedBlackTree.h', |
| 285 | '../src/gpu/GrRenderTarget.cpp', |
| 286 | '../src/gpu/GrResource.cpp', |
| 287 | '../src/gpu/GrResourceCache.cpp', |
| 288 | '../src/gpu/GrResourceCache.h', |
| 289 | '../src/gpu/GrStencil.cpp', |
bsalomon@google.com | ffa11bb | 2011-10-20 13:43:13 +0000 | [diff] [blame] | 290 | '../src/gpu/GrStencil.h', |
bsalomon@google.com | ded4f4b | 2012-06-28 18:48:06 +0000 | [diff] [blame] | 291 | '../src/gpu/GrStencilAndCoverPathRenderer.cpp', |
| 292 | '../src/gpu/GrStencilAndCoverPathRenderer.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 293 | '../src/gpu/GrStencilBuffer.cpp', |
| 294 | '../src/gpu/GrStencilBuffer.h', |
bsalomon@google.com | ffa11bb | 2011-10-20 13:43:13 +0000 | [diff] [blame] | 295 | '../src/gpu/GrTBSearch.h', |
| 296 | '../src/gpu/GrTDArray.h', |
robertphillips@google.com | 58b2021 | 2012-06-27 20:44:52 +0000 | [diff] [blame] | 297 | '../src/gpu/GrSWMaskHelper.cpp', |
| 298 | '../src/gpu/GrSWMaskHelper.h', |
robertphillips@google.com | 7c2578d | 2012-05-01 12:19:34 +0000 | [diff] [blame] | 299 | '../src/gpu/GrSoftwarePathRenderer.cpp', |
| 300 | '../src/gpu/GrSoftwarePathRenderer.h', |
robertphillips@google.com | 7d501ab | 2012-06-21 21:09:06 +0000 | [diff] [blame] | 301 | '../src/gpu/GrSurface.cpp', |
bsalomon@google.com | 5e24129 | 2012-06-22 12:34:22 +0000 | [diff] [blame] | 302 | '../src/gpu/GrTemplates.h', |
tomhudson@google.com | 375ff85 | 2012-06-29 18:37:57 +0000 | [diff] [blame] | 303 | '../src/gpu/GrTextContext.cpp', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 304 | '../src/gpu/GrTextStrike.cpp', |
bsalomon@google.com | ffa11bb | 2011-10-20 13:43:13 +0000 | [diff] [blame] | 305 | '../src/gpu/GrTextStrike.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 306 | '../src/gpu/GrTextStrike_impl.h', |
| 307 | '../src/gpu/GrTexture.cpp', |
bsalomon@google.com | ffa11bb | 2011-10-20 13:43:13 +0000 | [diff] [blame] | 308 | '../src/gpu/GrTHashCache.h', |
| 309 | '../src/gpu/GrTLList.h', |
bsalomon@google.com | d38f137 | 2011-10-12 19:53:16 +0000 | [diff] [blame] | 310 | '../src/gpu/GrVertexBuffer.h', |
| 311 | '../src/gpu/gr_unittests.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 312 | |
bsalomon@google.com | b505a12 | 2012-05-31 18:40:36 +0000 | [diff] [blame] | 313 | '../src/gpu/effects/Gr1DKernelEffect.h', |
twiz@google.com | 5807116 | 2012-07-18 21:41:50 +0000 | [diff] [blame] | 314 | '../src/gpu/effects/GrColorTableEffect.cpp', |
| 315 | '../src/gpu/effects/GrColorTableEffect.h', |
tomhudson@google.com | d8f856c | 2012-05-10 12:13:36 +0000 | [diff] [blame] | 316 | '../src/gpu/effects/GrConvolutionEffect.cpp', |
| 317 | '../src/gpu/effects/GrConvolutionEffect.h', |
bsalomon@google.com | b505a12 | 2012-05-31 18:40:36 +0000 | [diff] [blame] | 318 | '../src/gpu/effects/GrMorphologyEffect.cpp', |
| 319 | '../src/gpu/effects/GrMorphologyEffect.h', |
tomhudson@google.com | d0c1a06 | 2012-07-12 17:23:52 +0000 | [diff] [blame] | 320 | '../src/gpu/effects/GrSingleTextureEffect.cpp', |
| 321 | '../src/gpu/effects/GrSingleTextureEffect.h', |
tomhudson@google.com | 2f68e76 | 2012-07-17 18:43:21 +0000 | [diff] [blame] | 322 | '../src/gpu/effects/GrTextureDomainEffect.cpp', |
| 323 | '../src/gpu/effects/GrTextureDomainEffect.h', |
tomhudson@google.com | d8f856c | 2012-05-10 12:13:36 +0000 | [diff] [blame] | 324 | |
bsalomon@google.com | f7fa806 | 2012-02-14 14:09:57 +0000 | [diff] [blame] | 325 | '../src/gpu/gl/GrGLCaps.cpp', |
| 326 | '../src/gpu/gl/GrGLCaps.h', |
tomhudson@google.com | 4072556 | 2012-02-10 21:35:06 +0000 | [diff] [blame] | 327 | '../src/gpu/gl/GrGLContextInfo.cpp', |
| 328 | '../src/gpu/gl/GrGLContextInfo.h', |
| 329 | '../src/gpu/gl/GrGLCreateNativeInterface_none.cpp', |
| 330 | '../src/gpu/gl/GrGLCreateNullInterface.cpp', |
| 331 | '../src/gpu/gl/GrGLDefaultInterface_none.cpp', |
| 332 | '../src/gpu/gl/GrGLDefaultInterface_native.cpp', |
bsalomon@google.com | 91bcc94 | 2012-05-07 17:28:41 +0000 | [diff] [blame] | 333 | '../src/gpu/gl/GrGLDefines.h', |
tomhudson@google.com | 4072556 | 2012-02-10 21:35:06 +0000 | [diff] [blame] | 334 | '../src/gpu/gl/GrGLIndexBuffer.cpp', |
| 335 | '../src/gpu/gl/GrGLIndexBuffer.h', |
| 336 | '../src/gpu/gl/GrGLInterface.cpp', |
| 337 | '../src/gpu/gl/GrGLIRect.h', |
bsalomon@google.com | 64aef2b | 2012-06-11 15:36:13 +0000 | [diff] [blame] | 338 | '../src/gpu/gl/GrGLPath.cpp', |
| 339 | '../src/gpu/gl/GrGLPath.h', |
tomhudson@google.com | 4072556 | 2012-02-10 21:35:06 +0000 | [diff] [blame] | 340 | '../src/gpu/gl/GrGLProgram.cpp', |
| 341 | '../src/gpu/gl/GrGLProgram.h', |
tomhudson@google.com | 168e634 | 2012-04-18 17:49:20 +0000 | [diff] [blame] | 342 | '../src/gpu/gl/GrGLProgramStage.cpp', |
| 343 | '../src/gpu/gl/GrGLProgramStage.h', |
tomhudson@google.com | 4072556 | 2012-02-10 21:35:06 +0000 | [diff] [blame] | 344 | '../src/gpu/gl/GrGLRenderTarget.cpp', |
| 345 | '../src/gpu/gl/GrGLRenderTarget.h', |
tomhudson@google.com | f9ad886 | 2012-05-11 20:38:48 +0000 | [diff] [blame] | 346 | '../src/gpu/gl/GrGLShaderBuilder.cpp', |
| 347 | '../src/gpu/gl/GrGLShaderBuilder.h', |
tomhudson@google.com | 4072556 | 2012-02-10 21:35:06 +0000 | [diff] [blame] | 348 | '../src/gpu/gl/GrGLShaderVar.h', |
| 349 | '../src/gpu/gl/GrGLSL.cpp', |
| 350 | '../src/gpu/gl/GrGLSL.h', |
| 351 | '../src/gpu/gl/GrGLStencilBuffer.cpp', |
| 352 | '../src/gpu/gl/GrGLStencilBuffer.h', |
| 353 | '../src/gpu/gl/GrGLTexture.cpp', |
| 354 | '../src/gpu/gl/GrGLTexture.h', |
| 355 | '../src/gpu/gl/GrGLUtil.cpp', |
bsalomon@google.com | 9c1f1ac | 2012-05-07 17:09:37 +0000 | [diff] [blame] | 356 | '../src/gpu/gl/GrGLUtil.h', |
bsalomon@google.com | dbbc4e2 | 2012-07-25 17:48:39 +0000 | [diff] [blame] | 357 | '../src/gpu/gl/GrGLUniformManager.cpp', |
| 358 | '../src/gpu/gl/GrGLUniformManager.h', |
| 359 | '../src/gpu/gl/GrGLUniformHandle.h', |
tomhudson@google.com | 4072556 | 2012-02-10 21:35:06 +0000 | [diff] [blame] | 360 | '../src/gpu/gl/GrGLVertexBuffer.cpp', |
| 361 | '../src/gpu/gl/GrGLVertexBuffer.h', |
| 362 | '../src/gpu/gl/GrGpuGL.cpp', |
| 363 | '../src/gpu/gl/GrGpuGL.h', |
bsalomon@google.com | 5739d2c | 2012-05-31 15:07:19 +0000 | [diff] [blame] | 364 | '../src/gpu/gl/GrGpuGL_program.cpp', |
bsalomon@google.com | 7e5c624 | 2012-06-01 19:28:26 +0000 | [diff] [blame] | 365 | '../src/gpu/gl/GrGpuGL_unittest.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 366 | |
robertphillips@google.com | d91f370 | 2012-03-28 18:22:01 +0000 | [diff] [blame] | 367 | '../src/gpu/gl/debug/GrGLCreateDebugInterface.cpp', |
robertphillips@google.com | dd743fe | 2012-04-05 14:40:53 +0000 | [diff] [blame] | 368 | '../src/gpu/gl/debug/GrFakeRefObj.h', |
robertphillips@google.com | dd743fe | 2012-04-05 14:40:53 +0000 | [diff] [blame] | 369 | '../src/gpu/gl/debug/GrBufferObj.h', |
| 370 | '../src/gpu/gl/debug/GrBufferObj.cpp', |
| 371 | '../src/gpu/gl/debug/GrFBBindableObj.h', |
robertphillips@google.com | dd743fe | 2012-04-05 14:40:53 +0000 | [diff] [blame] | 372 | '../src/gpu/gl/debug/GrRenderBufferObj.h', |
robertphillips@google.com | dd743fe | 2012-04-05 14:40:53 +0000 | [diff] [blame] | 373 | '../src/gpu/gl/debug/GrTextureObj.h', |
| 374 | '../src/gpu/gl/debug/GrTextureObj.cpp', |
| 375 | '../src/gpu/gl/debug/GrTextureUnitObj.h', |
| 376 | '../src/gpu/gl/debug/GrTextureUnitObj.cpp', |
| 377 | '../src/gpu/gl/debug/GrFrameBufferObj.h', |
| 378 | '../src/gpu/gl/debug/GrFrameBufferObj.cpp', |
| 379 | '../src/gpu/gl/debug/GrShaderObj.h', |
| 380 | '../src/gpu/gl/debug/GrShaderObj.cpp', |
| 381 | '../src/gpu/gl/debug/GrProgramObj.h', |
| 382 | '../src/gpu/gl/debug/GrProgramObj.cpp', |
| 383 | '../src/gpu/gl/debug/GrDebugGL.h', |
| 384 | '../src/gpu/gl/debug/GrDebugGL.cpp', |
robertphillips@google.com | d91f370 | 2012-03-28 18:22:01 +0000 | [diff] [blame] | 385 | |
robertphillips@google.com | 78ff6b4 | 2012-03-28 19:37:51 +0000 | [diff] [blame] | 386 | '../src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 387 | |
robertphillips@google.com | 78ff6b4 | 2012-03-28 19:37:51 +0000 | [diff] [blame] | 388 | '../src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 389 | |
robertphillips@google.com | 78ff6b4 | 2012-03-28 19:37:51 +0000 | [diff] [blame] | 390 | '../src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp', |
| 391 | |
| 392 | '../src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp', |
robertphillips@google.com | 021bce9 | 2012-04-02 20:42:26 +0000 | [diff] [blame] | 393 | '../src/gpu/gl/angle/GrGLCreateANGLEInterface.cpp', |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 394 | |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 395 | '../src/gpu/android/GrGLCreateNativeInterface_android.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 396 | ], |
| 397 | 'defines': [ |
| 398 | 'GR_IMPLEMENTATION=1', |
| 399 | ], |
| 400 | 'conditions': [ |
bsalomon@google.com | ded4f4b | 2012-06-28 18:48:06 +0000 | [diff] [blame] | 401 | [ 'skia_nv_path_rendering', { |
| 402 | 'defines': [ |
| 403 | 'GR_GL_USE_NV_PATH_RENDERING=1', |
| 404 | ], |
| 405 | }], |
epoger@google.com | 8846cb2 | 2011-07-01 20:20:07 +0000 | [diff] [blame] | 406 | [ 'skia_os == "linux"', { |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 407 | 'sources!': [ |
tomhudson@google.com | 4072556 | 2012-02-10 21:35:06 +0000 | [diff] [blame] | 408 | '../src/gpu/gl/GrGLDefaultInterface_none.cpp', |
| 409 | '../src/gpu/gl/GrGLCreateNativeInterface_none.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 410 | ], |
| 411 | 'link_settings': { |
| 412 | 'libraries': [ |
| 413 | '-lGL', |
| 414 | '-lX11', |
| 415 | ], |
| 416 | }, |
| 417 | }], |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 418 | [ 'skia_mesa and skia_os == "linux"', { |
| 419 | 'link_settings': { |
| 420 | 'libraries': [ |
| 421 | '-lOSMesa', |
| 422 | ], |
| 423 | }, |
| 424 | }], |
epoger@google.com | 8846cb2 | 2011-07-01 20:20:07 +0000 | [diff] [blame] | 425 | [ 'skia_os == "mac"', { |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 426 | 'link_settings': { |
| 427 | 'libraries': [ |
| 428 | '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', |
| 429 | ], |
| 430 | }, |
| 431 | 'sources!': [ |
tomhudson@google.com | 4072556 | 2012-02-10 21:35:06 +0000 | [diff] [blame] | 432 | '../src/gpu/gl/GrGLDefaultInterface_none.cpp', |
| 433 | '../src/gpu/gl/GrGLCreateNativeInterface_none.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 434 | ], |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 435 | }], |
| 436 | [ 'skia_mesa and skia_os == "mac"', { |
| 437 | 'link_settings': { |
| 438 | 'libraries': [ |
| 439 | '$(SDKROOT)/usr/X11/lib/libOSMesa.dylib', |
| 440 | ], |
| 441 | }, |
| 442 | 'include_dirs': [ |
| 443 | '$(SDKROOT)/usr/X11/include/', |
| 444 | ], |
| 445 | }], |
| 446 | [ 'not skia_mesa', { |
| 447 | 'sources!': [ |
robertphillips@google.com | 78ff6b4 | 2012-03-28 19:37:51 +0000 | [diff] [blame] | 448 | '../src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp', |
bsalomon@google.com | 373a663 | 2011-10-19 20:43:20 +0000 | [diff] [blame] | 449 | ], |
| 450 | }], |
epoger@google.com | 8846cb2 | 2011-07-01 20:20:07 +0000 | [diff] [blame] | 451 | [ 'skia_os == "win"', { |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 452 | 'sources!': [ |
tomhudson@google.com | 4072556 | 2012-02-10 21:35:06 +0000 | [diff] [blame] | 453 | '../src/gpu/gl/GrGLDefaultInterface_none.cpp', |
| 454 | '../src/gpu/gl/GrGLCreateNativeInterface_none.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 455 | ], |
| 456 | }], |
robertphillips@google.com | 021bce9 | 2012-04-02 20:42:26 +0000 | [diff] [blame] | 457 | [ 'not skia_angle', { |
| 458 | 'sources!': [ |
| 459 | '../include/gpu/gl/SkANGLEGLContext.h', |
| 460 | |
| 461 | '../src/gpu/gl/angle/GrGLCreateANGLEInterface.cpp', |
| 462 | '../src/gpu/gl/angle/SkANGLEGLContext.cpp', |
| 463 | ], |
| 464 | }], |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 465 | [ 'skia_os == "android"', { |
| 466 | 'sources!': [ |
tomhudson@google.com | 4072556 | 2012-02-10 21:35:06 +0000 | [diff] [blame] | 467 | '../src/gpu/gl/GrGLDefaultInterface_none.cpp', |
| 468 | '../src/gpu/gl/GrGLCreateNativeInterface_none.cpp', |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 469 | ], |
| 470 | 'link_settings': { |
| 471 | 'libraries': [ |
| 472 | '-lGLESv2', |
| 473 | '-lEGL', |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 474 | ], |
| 475 | }, |
| 476 | }], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 477 | ], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 478 | }, |
| 479 | ], |
| 480 | } |
| 481 | |
| 482 | # Local Variables: |
| 483 | # tab-width:2 |
| 484 | # indent-tabs-mode:nil |
| 485 | # End: |
| 486 | # vim: set expandtab tabstop=2 shiftwidth=2: |