blob: dd70cf097ad0cd0623f53c5d36ea05974ba08d20 [file] [log] [blame]
bsalomon@google.com20806352012-08-23 12:55:01 +00001# Include this gypi to include all 'gr' and 'skgr' files
2# The parent gyp/gypi file must define
3# 'skia_src_path' e.g. skia/trunk/src
4# 'skia_include_path' e.g. skia/trunk/include
5#
6# The skia build defines these in common_variables.gypi
7#
8{
9 'variables': {
10 'gr_sources': [
11 '<(skia_include_path)/gpu/GrAARectRenderer.h',
12 '<(skia_include_path)/gpu/GrCacheID.h',
13 '<(skia_include_path)/gpu/GrClipData.h',
14 '<(skia_include_path)/gpu/GrColor.h',
15 '<(skia_include_path)/gpu/GrConfig.h',
16 '<(skia_include_path)/gpu/GrContext.h',
17 '<(skia_include_path)/gpu/GrContextFactory.h',
18 '<(skia_include_path)/gpu/GrCustomStage.h',
19 '<(skia_include_path)/gpu/GrCustomStageUnitTest.h',
20 '<(skia_include_path)/gpu/GrFontScaler.h',
21 '<(skia_include_path)/gpu/GrGlyph.h',
22 '<(skia_include_path)/gpu/GrInstanceCounter.h',
23 '<(skia_include_path)/gpu/GrKey.h',
24 '<(skia_include_path)/gpu/GrMatrix.h',
25 '<(skia_include_path)/gpu/GrNoncopyable.h',
26 '<(skia_include_path)/gpu/GrPaint.h',
27 '<(skia_include_path)/gpu/GrPoint.h',
28 '<(skia_include_path)/gpu/GrProgramStageFactory.h',
29 '<(skia_include_path)/gpu/GrRect.h',
30 '<(skia_include_path)/gpu/GrRefCnt.h',
31 '<(skia_include_path)/gpu/GrRenderTarget.h',
32 '<(skia_include_path)/gpu/GrResource.h',
33 '<(skia_include_path)/gpu/GrSamplerState.h',
34 '<(skia_include_path)/gpu/GrScalar.h',
35 '<(skia_include_path)/gpu/GrSurface.h',
36 '<(skia_include_path)/gpu/GrTextContext.h',
37 '<(skia_include_path)/gpu/GrTexture.h',
38 '<(skia_include_path)/gpu/GrTypes.h',
39 '<(skia_include_path)/gpu/GrUserConfig.h',
40
41 '<(skia_include_path)/gpu/gl/GrGLConfig.h',
42 '<(skia_include_path)/gpu/gl/GrGLFunctions.h',
43 '<(skia_include_path)/gpu/gl/GrGLInterface.h',
44
45 '<(skia_src_path)/gpu/GrAAHairLinePathRenderer.cpp',
46 '<(skia_src_path)/gpu/GrAAHairLinePathRenderer.h',
47 '<(skia_src_path)/gpu/GrAAConvexPathRenderer.cpp',
48 '<(skia_src_path)/gpu/GrAAConvexPathRenderer.h',
49 '<(skia_src_path)/gpu/GrAARectRenderer.cpp',
50 '<(skia_src_path)/gpu/GrAddPathRenderers_default.cpp',
51 '<(skia_src_path)/gpu/GrAllocator.h',
52 '<(skia_src_path)/gpu/GrAllocPool.h',
53 '<(skia_src_path)/gpu/GrAllocPool.cpp',
54 '<(skia_src_path)/gpu/GrAtlas.cpp',
55 '<(skia_src_path)/gpu/GrAtlas.h',
56 '<(skia_src_path)/gpu/GrBinHashKey.h',
57 '<(skia_src_path)/gpu/GrBufferAllocPool.cpp',
58 '<(skia_src_path)/gpu/GrBufferAllocPool.h',
59 '<(skia_src_path)/gpu/GrCacheID.cpp',
60 '<(skia_src_path)/gpu/GrClipData.cpp',
61 '<(skia_src_path)/gpu/GrContext.cpp',
62 '<(skia_src_path)/gpu/GrCustomStage.cpp',
63 '<(skia_src_path)/gpu/GrDefaultPathRenderer.cpp',
64 '<(skia_src_path)/gpu/GrDefaultPathRenderer.h',
65 '<(skia_src_path)/gpu/GrDrawState.h',
66 '<(skia_src_path)/gpu/GrDrawTarget.cpp',
67 '<(skia_src_path)/gpu/GrDrawTarget.h',
68 '<(skia_src_path)/gpu/GrGeometryBuffer.h',
69 '<(skia_src_path)/gpu/GrClipMaskManager.h',
70 '<(skia_src_path)/gpu/GrClipMaskManager.cpp',
71 '<(skia_src_path)/gpu/GrGpu.cpp',
72 '<(skia_src_path)/gpu/GrGpu.h',
73 '<(skia_src_path)/gpu/GrGpuFactory.cpp',
74 '<(skia_src_path)/gpu/GrGpuVertex.h',
75 '<(skia_src_path)/gpu/GrIndexBuffer.h',
76 '<(skia_src_path)/gpu/GrInOrderDrawBuffer.cpp',
77 '<(skia_src_path)/gpu/GrInOrderDrawBuffer.h',
78 '<(skia_src_path)/gpu/GrMatrix.cpp',
79 '<(skia_src_path)/gpu/GrMemory.cpp',
80 '<(skia_src_path)/gpu/GrMemoryPool.cpp',
81 '<(skia_src_path)/gpu/GrMemoryPool.h',
82 '<(skia_src_path)/gpu/GrPath.h',
83 '<(skia_src_path)/gpu/GrPathRendererChain.cpp',
84 '<(skia_src_path)/gpu/GrPathRendererChain.h',
85 '<(skia_src_path)/gpu/GrPathRenderer.cpp',
86 '<(skia_src_path)/gpu/GrPathRenderer.h',
87 '<(skia_src_path)/gpu/GrPathUtils.cpp',
88 '<(skia_src_path)/gpu/GrPathUtils.h',
89 '<(skia_src_path)/gpu/GrPlotMgr.h',
90 '<(skia_src_path)/gpu/GrRandom.h',
91 '<(skia_src_path)/gpu/GrRectanizer.cpp',
92 '<(skia_src_path)/gpu/GrRectanizer.h',
93 '<(skia_src_path)/gpu/GrRedBlackTree.h',
94 '<(skia_src_path)/gpu/GrRenderTarget.cpp',
95 '<(skia_src_path)/gpu/GrResource.cpp',
96 '<(skia_src_path)/gpu/GrResourceCache.cpp',
97 '<(skia_src_path)/gpu/GrResourceCache.h',
98 '<(skia_src_path)/gpu/GrStencil.cpp',
99 '<(skia_src_path)/gpu/GrStencil.h',
100 '<(skia_src_path)/gpu/GrStencilAndCoverPathRenderer.cpp',
101 '<(skia_src_path)/gpu/GrStencilAndCoverPathRenderer.h',
102 '<(skia_src_path)/gpu/GrStencilBuffer.cpp',
103 '<(skia_src_path)/gpu/GrStencilBuffer.h',
104 '<(skia_src_path)/gpu/GrTBSearch.h',
105 '<(skia_src_path)/gpu/GrTDArray.h',
106 '<(skia_src_path)/gpu/GrSWMaskHelper.cpp',
107 '<(skia_src_path)/gpu/GrSWMaskHelper.h',
108 '<(skia_src_path)/gpu/GrSoftwarePathRenderer.cpp',
109 '<(skia_src_path)/gpu/GrSoftwarePathRenderer.h',
110 '<(skia_src_path)/gpu/GrSurface.cpp',
111 '<(skia_src_path)/gpu/GrTemplates.h',
112 '<(skia_src_path)/gpu/GrTextContext.cpp',
113 '<(skia_src_path)/gpu/GrTextStrike.cpp',
114 '<(skia_src_path)/gpu/GrTextStrike.h',
115 '<(skia_src_path)/gpu/GrTextStrike_impl.h',
116 '<(skia_src_path)/gpu/GrTexture.cpp',
117 '<(skia_src_path)/gpu/GrTHashCache.h',
118 '<(skia_src_path)/gpu/GrTLList.h',
119 '<(skia_src_path)/gpu/GrVertexBuffer.h',
120 '<(skia_src_path)/gpu/gr_unittests.cpp',
121
122 '<(skia_src_path)/gpu/effects/Gr1DKernelEffect.h',
123 '<(skia_src_path)/gpu/effects/GrTextureStripAtlas.h',
124 '<(skia_src_path)/gpu/effects/GrTextureStripAtlas.cpp',
125 '<(skia_src_path)/gpu/effects/GrColorTableEffect.cpp',
126 '<(skia_src_path)/gpu/effects/GrColorTableEffect.h',
127 '<(skia_src_path)/gpu/effects/GrConvolutionEffect.cpp',
128 '<(skia_src_path)/gpu/effects/GrConvolutionEffect.h',
129 '<(skia_src_path)/gpu/effects/GrSingleTextureEffect.cpp',
130 '<(skia_src_path)/gpu/effects/GrSingleTextureEffect.h',
131 '<(skia_src_path)/gpu/effects/GrTextureDomainEffect.cpp',
132 '<(skia_src_path)/gpu/effects/GrTextureDomainEffect.h',
133
134 '<(skia_src_path)/gpu/gl/GrGLCaps.cpp',
135 '<(skia_src_path)/gpu/gl/GrGLCaps.h',
136 '<(skia_src_path)/gpu/gl/GrGLContextInfo.cpp',
137 '<(skia_src_path)/gpu/gl/GrGLContextInfo.h',
138 '<(skia_src_path)/gpu/gl/GrGLCreateNativeInterface_none.cpp',
139 '<(skia_src_path)/gpu/gl/GrGLDefaultInterface_none.cpp',
140 '<(skia_src_path)/gpu/gl/GrGLDefines.h',
141 '<(skia_src_path)/gpu/gl/GrGLIndexBuffer.cpp',
142 '<(skia_src_path)/gpu/gl/GrGLIndexBuffer.h',
143 '<(skia_src_path)/gpu/gl/GrGLInterface.cpp',
144 '<(skia_src_path)/gpu/gl/GrGLIRect.h',
145 '<(skia_src_path)/gpu/gl/GrGLPath.cpp',
146 '<(skia_src_path)/gpu/gl/GrGLPath.h',
147 '<(skia_src_path)/gpu/gl/GrGLProgram.cpp',
148 '<(skia_src_path)/gpu/gl/GrGLProgram.h',
149 '<(skia_src_path)/gpu/gl/GrGLProgramStage.cpp',
150 '<(skia_src_path)/gpu/gl/GrGLProgramStage.h',
151 '<(skia_src_path)/gpu/gl/GrGLRenderTarget.cpp',
152 '<(skia_src_path)/gpu/gl/GrGLRenderTarget.h',
153 '<(skia_src_path)/gpu/gl/GrGLShaderBuilder.cpp',
154 '<(skia_src_path)/gpu/gl/GrGLShaderBuilder.h',
155 '<(skia_src_path)/gpu/gl/GrGLShaderVar.h',
156 '<(skia_src_path)/gpu/gl/GrGLSL.cpp',
157 '<(skia_src_path)/gpu/gl/GrGLSL.h',
158 '<(skia_src_path)/gpu/gl/GrGLStencilBuffer.cpp',
159 '<(skia_src_path)/gpu/gl/GrGLStencilBuffer.h',
160 '<(skia_src_path)/gpu/gl/GrGLTexture.cpp',
161 '<(skia_src_path)/gpu/gl/GrGLTexture.h',
162 '<(skia_src_path)/gpu/gl/GrGLUtil.cpp',
163 '<(skia_src_path)/gpu/gl/GrGLUtil.h',
164 '<(skia_src_path)/gpu/gl/GrGLUniformManager.cpp',
165 '<(skia_src_path)/gpu/gl/GrGLUniformManager.h',
166 '<(skia_src_path)/gpu/gl/GrGLUniformHandle.h',
167 '<(skia_src_path)/gpu/gl/GrGLVertexBuffer.cpp',
168 '<(skia_src_path)/gpu/gl/GrGLVertexBuffer.h',
169 '<(skia_src_path)/gpu/gl/GrGpuGL.cpp',
170 '<(skia_src_path)/gpu/gl/GrGpuGL.h',
171 '<(skia_src_path)/gpu/gl/GrGpuGL_program.cpp',
172 ],
173 'gr_native_gl_sources': [
174 '<(skia_src_path)/gpu/gl/GrGLDefaultInterface_native.cpp',
175 '<(skia_src_path)/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp',
176 '<(skia_src_path)/gpu/gl/win/GrGLCreateNativeInterface_win.cpp',
177 '<(skia_src_path)/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp',
178 '<(skia_src_path)/gpu/android/GrGLCreateNativeInterface_android.cpp',
179 ],
180 'gr_mesa_gl_sources': [
181 '<(skia_src_path)/gpu/gl/mesa/GrGLCreateMesaInterface.cpp',
182 ],
183 'gr_angle_gl_sources': [
184 '<(skia_src_path)/gpu/gl/angle/GrGLCreateANGLEInterface.cpp',
185 ],
186 'gr_debug_gl_sources': [
187 '<(skia_src_path)/gpu/gl/debug/GrGLCreateDebugInterface.cpp',
188 '<(skia_src_path)/gpu/gl/debug/GrFakeRefObj.h',
189 '<(skia_src_path)/gpu/gl/debug/GrBufferObj.h',
190 '<(skia_src_path)/gpu/gl/debug/GrBufferObj.cpp',
191 '<(skia_src_path)/gpu/gl/debug/GrFBBindableObj.h',
192 '<(skia_src_path)/gpu/gl/debug/GrRenderBufferObj.h',
193 '<(skia_src_path)/gpu/gl/debug/GrTextureObj.h',
194 '<(skia_src_path)/gpu/gl/debug/GrTextureObj.cpp',
195 '<(skia_src_path)/gpu/gl/debug/GrTextureUnitObj.h',
196 '<(skia_src_path)/gpu/gl/debug/GrTextureUnitObj.cpp',
197 '<(skia_src_path)/gpu/gl/debug/GrFrameBufferObj.h',
198 '<(skia_src_path)/gpu/gl/debug/GrFrameBufferObj.cpp',
199 '<(skia_src_path)/gpu/gl/debug/GrShaderObj.h',
200 '<(skia_src_path)/gpu/gl/debug/GrShaderObj.cpp',
201 '<(skia_src_path)/gpu/gl/debug/GrProgramObj.h',
202 '<(skia_src_path)/gpu/gl/debug/GrProgramObj.cpp',
203 '<(skia_src_path)/gpu/gl/debug/GrDebugGL.h',
204 '<(skia_src_path)/gpu/gl/debug/GrDebugGL.cpp',
205 ],
206 'gr_null_gl_sources': [
207 '<(skia_src_path)/gpu/gl/GrGLCreateNullInterface.cpp',
208 ],
209
210 'skgr_sources': [
211 '<(skia_include_path)/gpu/SkGpuCanvas.h',
212 '<(skia_include_path)/gpu/SkGpuDevice.h',
213 '<(skia_include_path)/gpu/SkGr.h',
214 '<(skia_include_path)/gpu/SkGrPixelRef.h',
215 '<(skia_include_path)/gpu/SkGrTexturePixelRef.h',
216
217 '<(skia_include_path)/gpu/gl/SkGLContext.h',
218
219 '<(skia_src_path)/gpu/SkGpuCanvas.cpp',
220 '<(skia_src_path)/gpu/SkGpuDevice.cpp',
221 '<(skia_src_path)/gpu/SkGr.cpp',
222 '<(skia_src_path)/gpu/SkGrFontScaler.cpp',
223 '<(skia_src_path)/gpu/SkGrPixelRef.cpp',
224 '<(skia_src_path)/gpu/SkGrTexturePixelRef.cpp',
225
226 '<(skia_src_path)/gpu/gl/SkGLContext.cpp'
227 ],
228 'skgr_native_gl_sources': [
229 '<(skia_include_path)/gpu/gl/SkNativeGLContext.h',
230 '<(skia_src_path)/gpu/gl/mac/SkNativeGLContext_mac.cpp',
231 '<(skia_src_path)/gpu/gl/win/SkNativeGLContext_win.cpp',
232 '<(skia_src_path)/gpu/gl/unix/SkNativeGLContext_unix.cpp',
233 '<(skia_src_path)/gpu/android/SkNativeGLContext_android.cpp',
234 ],
235 'skgr_angle_gl_sources': [
236 '<(skia_include_path)/gpu/gl/SkANGLEGLContext.h',
237 '<(skia_src_path)/gpu/gl/angle/SkANGLEGLContext.cpp',
238 ],
239 'skgr_mesa_gl_sources': [
240 '<(skia_include_path)/gpu/gl/SkMesaGLContext.h',
241 '<(skia_src_path)/gpu/gl/mesa/SkMesaGLContext.cpp',
242 ],
243 'skgr_debug_gl_sources': [
244 '<(skia_include_path)/gpu/gl/SkDebugGLContext.h',
245 '<(skia_src_path)/gpu/gl/debug/SkDebugGLContext.cpp',
246 ],
247 'skgr_null_gl_sources': [
248 '<(skia_include_path)/gpu/gl/SkNullGLContext.h',
249 '<(skia_src_path)/gpu/gl/SkNullGLContext.cpp',
250 ],
251 },
252}
253
254# Local Variables:
255# tab-width:2
256# indent-tabs-mode:nil
257# End:
258# vim: set expandtab tabstop=2 shiftwidth=2: