blob: 259bd01bc94f40b4f49fc3cf04c3023c3796c6ac [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',
bsalomon@google.com396e61f2012-10-25 19:00:29 +000012 '<(skia_include_path)/gpu/GrBackendEffectFactory.h',
bsalomon@google.com20806352012-08-23 12:55:01 +000013 '<(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',
bsalomon@google.coma469c282012-10-24 18:28:34 +000018 '<(skia_include_path)/gpu/GrEffect.h',
bsalomon@google.com08283af2012-10-26 13:01:20 +000019 '<(skia_include_path)/gpu/GrEffectStage.h',
bsalomon@google.com6f261be2012-10-24 19:07:10 +000020 '<(skia_include_path)/gpu/GrEffectUnitTest.h',
bsalomon@google.com20806352012-08-23 12:55:01 +000021 '<(skia_include_path)/gpu/GrFontScaler.h',
22 '<(skia_include_path)/gpu/GrGlyph.h',
bsalomon@google.com20806352012-08-23 12:55:01 +000023 '<(skia_include_path)/gpu/GrKey.h',
bsalomon@google.com20806352012-08-23 12:55:01 +000024 '<(skia_include_path)/gpu/GrNoncopyable.h',
commit-bot@chromium.org81312832013-03-22 18:34:09 +000025 '<(skia_include_path)/gpu/GrOvalRenderer.h',
bsalomon@google.com20806352012-08-23 12:55:01 +000026 '<(skia_include_path)/gpu/GrPaint.h',
bsalomon@google.com45a15f52012-12-10 19:10:17 +000027 '<(skia_include_path)/gpu/GrPathRendererChain.h',
bsalomon@google.com20806352012-08-23 12:55:01 +000028 '<(skia_include_path)/gpu/GrPoint.h',
bsalomon@google.com20806352012-08-23 12:55:01 +000029 '<(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',
bsalomon@google.com20806352012-08-23 12:55:01 +000033 '<(skia_include_path)/gpu/GrSurface.h',
bsalomon@google.com2eaaefd2012-10-29 19:51:22 +000034 '<(skia_include_path)/gpu/GrTBackendEffectFactory.h',
bsalomon@google.com20806352012-08-23 12:55:01 +000035 '<(skia_include_path)/gpu/GrTextContext.h',
36 '<(skia_include_path)/gpu/GrTexture.h',
bsalomon@google.com047696c2012-09-11 13:29:29 +000037 '<(skia_include_path)/gpu/GrTextureAccess.h',
bsalomon@google.com20806352012-08-23 12:55:01 +000038 '<(skia_include_path)/gpu/GrTypes.h',
39 '<(skia_include_path)/gpu/GrUserConfig.h',
40
41 '<(skia_include_path)/gpu/gl/GrGLConfig.h',
bsalomon@google.com1744f972013-02-26 21:46:32 +000042 '<(skia_include_path)/gpu/gl/GrGLExtensions.h',
bsalomon@google.com20806352012-08-23 12:55:01 +000043 '<(skia_include_path)/gpu/gl/GrGLFunctions.h',
44 '<(skia_include_path)/gpu/gl/GrGLInterface.h',
45
46 '<(skia_src_path)/gpu/GrAAHairLinePathRenderer.cpp',
47 '<(skia_src_path)/gpu/GrAAHairLinePathRenderer.h',
48 '<(skia_src_path)/gpu/GrAAConvexPathRenderer.cpp',
49 '<(skia_src_path)/gpu/GrAAConvexPathRenderer.h',
50 '<(skia_src_path)/gpu/GrAARectRenderer.cpp',
51 '<(skia_src_path)/gpu/GrAddPathRenderers_default.cpp',
52 '<(skia_src_path)/gpu/GrAllocator.h',
53 '<(skia_src_path)/gpu/GrAllocPool.h',
54 '<(skia_src_path)/gpu/GrAllocPool.cpp',
55 '<(skia_src_path)/gpu/GrAtlas.cpp',
56 '<(skia_src_path)/gpu/GrAtlas.h',
57 '<(skia_src_path)/gpu/GrBinHashKey.h',
58 '<(skia_src_path)/gpu/GrBufferAllocPool.cpp',
59 '<(skia_src_path)/gpu/GrBufferAllocPool.h',
60 '<(skia_src_path)/gpu/GrCacheID.cpp',
61 '<(skia_src_path)/gpu/GrClipData.cpp',
62 '<(skia_src_path)/gpu/GrContext.cpp',
bsalomon@google.com20806352012-08-23 12:55:01 +000063 '<(skia_src_path)/gpu/GrDefaultPathRenderer.cpp',
64 '<(skia_src_path)/gpu/GrDefaultPathRenderer.h',
bsalomon@google.comaf84e742012-10-05 13:23:24 +000065 '<(skia_src_path)/gpu/GrDrawState.cpp',
bsalomon@google.com20806352012-08-23 12:55:01 +000066 '<(skia_src_path)/gpu/GrDrawState.h',
67 '<(skia_src_path)/gpu/GrDrawTarget.cpp',
68 '<(skia_src_path)/gpu/GrDrawTarget.h',
bsalomon@google.comc26d94f2013-03-25 18:19:00 +000069 '<(skia_src_path)/gpu/GrDrawTargetCaps.h',
bsalomon@google.coma469c282012-10-24 18:28:34 +000070 '<(skia_src_path)/gpu/GrEffect.cpp',
robertphillips@google.com7fa18762012-09-11 13:02:31 +000071 '<(skia_src_path)/gpu/GrGeometryBuffer.cpp',
bsalomon@google.com20806352012-08-23 12:55:01 +000072 '<(skia_src_path)/gpu/GrGeometryBuffer.h',
robertphillips@google.com1fcc1b82012-08-29 12:52:05 +000073 '<(skia_src_path)/gpu/GrClipMaskCache.h',
74 '<(skia_src_path)/gpu/GrClipMaskCache.cpp',
bsalomon@google.com20806352012-08-23 12:55:01 +000075 '<(skia_src_path)/gpu/GrClipMaskManager.h',
76 '<(skia_src_path)/gpu/GrClipMaskManager.cpp',
77 '<(skia_src_path)/gpu/GrGpu.cpp',
78 '<(skia_src_path)/gpu/GrGpu.h',
79 '<(skia_src_path)/gpu/GrGpuFactory.cpp',
bsalomon@google.com20806352012-08-23 12:55:01 +000080 '<(skia_src_path)/gpu/GrIndexBuffer.h',
81 '<(skia_src_path)/gpu/GrInOrderDrawBuffer.cpp',
82 '<(skia_src_path)/gpu/GrInOrderDrawBuffer.h',
bsalomon@google.com20806352012-08-23 12:55:01 +000083 '<(skia_src_path)/gpu/GrMemory.cpp',
84 '<(skia_src_path)/gpu/GrMemoryPool.cpp',
85 '<(skia_src_path)/gpu/GrMemoryPool.h',
commit-bot@chromium.org81312832013-03-22 18:34:09 +000086 '<(skia_src_path)/gpu/GrOvalRenderer.cpp',
robertphillips@google.com7fa18762012-09-11 13:02:31 +000087 '<(skia_src_path)/gpu/GrPath.cpp',
bsalomon@google.com20806352012-08-23 12:55:01 +000088 '<(skia_src_path)/gpu/GrPath.h',
89 '<(skia_src_path)/gpu/GrPathRendererChain.cpp',
bsalomon@google.com20806352012-08-23 12:55:01 +000090 '<(skia_src_path)/gpu/GrPathRenderer.cpp',
91 '<(skia_src_path)/gpu/GrPathRenderer.h',
92 '<(skia_src_path)/gpu/GrPathUtils.cpp',
93 '<(skia_src_path)/gpu/GrPathUtils.h',
94 '<(skia_src_path)/gpu/GrPlotMgr.h',
bsalomon@google.com20806352012-08-23 12:55:01 +000095 '<(skia_src_path)/gpu/GrRectanizer.cpp',
96 '<(skia_src_path)/gpu/GrRectanizer.h',
97 '<(skia_src_path)/gpu/GrRedBlackTree.h',
98 '<(skia_src_path)/gpu/GrRenderTarget.cpp',
bsalomon@google.com170bd792012-12-05 22:26:11 +000099 '<(skia_src_path)/gpu/GrReducedClip.cpp',
100 '<(skia_src_path)/gpu/GrReducedClip.h',
bsalomon@google.com20806352012-08-23 12:55:01 +0000101 '<(skia_src_path)/gpu/GrResource.cpp',
102 '<(skia_src_path)/gpu/GrResourceCache.cpp',
103 '<(skia_src_path)/gpu/GrResourceCache.h',
104 '<(skia_src_path)/gpu/GrStencil.cpp',
105 '<(skia_src_path)/gpu/GrStencil.h',
106 '<(skia_src_path)/gpu/GrStencilAndCoverPathRenderer.cpp',
107 '<(skia_src_path)/gpu/GrStencilAndCoverPathRenderer.h',
108 '<(skia_src_path)/gpu/GrStencilBuffer.cpp',
109 '<(skia_src_path)/gpu/GrStencilBuffer.h',
110 '<(skia_src_path)/gpu/GrTBSearch.h',
bsalomon@google.com20806352012-08-23 12:55:01 +0000111 '<(skia_src_path)/gpu/GrSWMaskHelper.cpp',
112 '<(skia_src_path)/gpu/GrSWMaskHelper.h',
113 '<(skia_src_path)/gpu/GrSoftwarePathRenderer.cpp',
114 '<(skia_src_path)/gpu/GrSoftwarePathRenderer.h',
115 '<(skia_src_path)/gpu/GrSurface.cpp',
116 '<(skia_src_path)/gpu/GrTemplates.h',
117 '<(skia_src_path)/gpu/GrTextContext.cpp',
118 '<(skia_src_path)/gpu/GrTextStrike.cpp',
119 '<(skia_src_path)/gpu/GrTextStrike.h',
120 '<(skia_src_path)/gpu/GrTextStrike_impl.h',
121 '<(skia_src_path)/gpu/GrTexture.cpp',
bsalomon@google.com047696c2012-09-11 13:29:29 +0000122 '<(skia_src_path)/gpu/GrTextureAccess.cpp',
bsalomon@google.com20806352012-08-23 12:55:01 +0000123 '<(skia_src_path)/gpu/GrTHashCache.h',
bsalomon@google.com20806352012-08-23 12:55:01 +0000124 '<(skia_src_path)/gpu/GrVertexBuffer.h',
125 '<(skia_src_path)/gpu/gr_unittests.cpp',
126
127 '<(skia_src_path)/gpu/effects/Gr1DKernelEffect.h',
bsalomon@google.coma04e8e82012-08-27 12:53:13 +0000128 '<(skia_src_path)/gpu/effects/GrConfigConversionEffect.cpp',
129 '<(skia_src_path)/gpu/effects/GrConfigConversionEffect.h',
bsalomon@google.com20806352012-08-23 12:55:01 +0000130 '<(skia_src_path)/gpu/effects/GrConvolutionEffect.cpp',
131 '<(skia_src_path)/gpu/effects/GrConvolutionEffect.h',
bsalomon@google.com68b58c92013-01-17 16:50:08 +0000132 '<(skia_src_path)/gpu/effects/GrSimpleTextureEffect.cpp',
133 '<(skia_src_path)/gpu/effects/GrSimpleTextureEffect.h',
bsalomon@google.com20806352012-08-23 12:55:01 +0000134 '<(skia_src_path)/gpu/effects/GrSingleTextureEffect.cpp',
135 '<(skia_src_path)/gpu/effects/GrSingleTextureEffect.h',
136 '<(skia_src_path)/gpu/effects/GrTextureDomainEffect.cpp',
137 '<(skia_src_path)/gpu/effects/GrTextureDomainEffect.h',
commit-bot@chromium.orgff6ea262013-03-12 12:26:08 +0000138 '<(skia_src_path)/gpu/effects/GrTextureStripAtlas.cpp',
139 '<(skia_src_path)/gpu/effects/GrTextureStripAtlas.h',
skia.committer@gmail.com91274b92013-03-13 07:01:04 +0000140
bsalomon@google.come49ad452013-02-20 19:33:20 +0000141 '<(skia_src_path)/gpu/gl/GrGLBufferImpl.cpp',
142 '<(skia_src_path)/gpu/gl/GrGLBufferImpl.h',
bsalomon@google.com20806352012-08-23 12:55:01 +0000143 '<(skia_src_path)/gpu/gl/GrGLCaps.cpp',
144 '<(skia_src_path)/gpu/gl/GrGLCaps.h',
robertphillips@google.com6177e692013-02-28 20:16:25 +0000145 '<(skia_src_path)/gpu/gl/GrGLContext.cpp',
146 '<(skia_src_path)/gpu/gl/GrGLContext.h',
bsalomon@google.com20806352012-08-23 12:55:01 +0000147 '<(skia_src_path)/gpu/gl/GrGLCreateNativeInterface_none.cpp',
148 '<(skia_src_path)/gpu/gl/GrGLDefaultInterface_none.cpp',
149 '<(skia_src_path)/gpu/gl/GrGLDefines.h',
bsalomon@google.comd698f772012-10-25 13:22:00 +0000150 '<(skia_src_path)/gpu/gl/GrGLEffect.cpp',
151 '<(skia_src_path)/gpu/gl/GrGLEffect.h',
bsalomon@google.com1744f972013-02-26 21:46:32 +0000152 '<(skia_src_path)/gpu/gl/GrGLExtensions.cpp',
bsalomon@google.comd8b5fac2012-11-01 17:02:46 +0000153 '<(skia_src_path)/gpu/gl/GrGLEffectMatrix.cpp',
154 '<(skia_src_path)/gpu/gl/GrGLEffectMatrix.h',
bsalomon@google.com20806352012-08-23 12:55:01 +0000155 '<(skia_src_path)/gpu/gl/GrGLIndexBuffer.cpp',
156 '<(skia_src_path)/gpu/gl/GrGLIndexBuffer.h',
157 '<(skia_src_path)/gpu/gl/GrGLInterface.cpp',
158 '<(skia_src_path)/gpu/gl/GrGLIRect.h',
bsalomon@google.com8f943612013-02-26 14:34:43 +0000159 '<(skia_src_path)/gpu/gl/GrGLNoOpInterface.cpp',
160 '<(skia_src_path)/gpu/gl/GrGLNoOpInterface.h',
bsalomon@google.com20806352012-08-23 12:55:01 +0000161 '<(skia_src_path)/gpu/gl/GrGLPath.cpp',
162 '<(skia_src_path)/gpu/gl/GrGLPath.h',
163 '<(skia_src_path)/gpu/gl/GrGLProgram.cpp',
164 '<(skia_src_path)/gpu/gl/GrGLProgram.h',
bsalomon@google.com798c8c42013-03-27 19:50:27 +0000165 '<(skia_src_path)/gpu/gl/GrGLProgramDesc.cpp',
bsalomon@google.com31ec7982013-03-27 18:14:57 +0000166 '<(skia_src_path)/gpu/gl/GrGLProgramDesc.h',
bsalomon@google.com20806352012-08-23 12:55:01 +0000167 '<(skia_src_path)/gpu/gl/GrGLRenderTarget.cpp',
168 '<(skia_src_path)/gpu/gl/GrGLRenderTarget.h',
169 '<(skia_src_path)/gpu/gl/GrGLShaderBuilder.cpp',
170 '<(skia_src_path)/gpu/gl/GrGLShaderBuilder.h',
171 '<(skia_src_path)/gpu/gl/GrGLShaderVar.h',
172 '<(skia_src_path)/gpu/gl/GrGLSL.cpp',
173 '<(skia_src_path)/gpu/gl/GrGLSL.h',
174 '<(skia_src_path)/gpu/gl/GrGLStencilBuffer.cpp',
175 '<(skia_src_path)/gpu/gl/GrGLStencilBuffer.h',
176 '<(skia_src_path)/gpu/gl/GrGLTexture.cpp',
177 '<(skia_src_path)/gpu/gl/GrGLTexture.h',
178 '<(skia_src_path)/gpu/gl/GrGLUtil.cpp',
179 '<(skia_src_path)/gpu/gl/GrGLUtil.h',
180 '<(skia_src_path)/gpu/gl/GrGLUniformManager.cpp',
181 '<(skia_src_path)/gpu/gl/GrGLUniformManager.h',
182 '<(skia_src_path)/gpu/gl/GrGLUniformHandle.h',
bsalomon@google.com6918d482013-03-07 19:09:11 +0000183 '<(skia_src_path)/gpu/gl/GrGLVertexArray.cpp',
184 '<(skia_src_path)/gpu/gl/GrGLVertexArray.h',
bsalomon@google.com20806352012-08-23 12:55:01 +0000185 '<(skia_src_path)/gpu/gl/GrGLVertexBuffer.cpp',
186 '<(skia_src_path)/gpu/gl/GrGLVertexBuffer.h',
187 '<(skia_src_path)/gpu/gl/GrGpuGL.cpp',
188 '<(skia_src_path)/gpu/gl/GrGpuGL.h',
189 '<(skia_src_path)/gpu/gl/GrGpuGL_program.cpp',
190 ],
191 'gr_native_gl_sources': [
192 '<(skia_src_path)/gpu/gl/GrGLDefaultInterface_native.cpp',
193 '<(skia_src_path)/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp',
194 '<(skia_src_path)/gpu/gl/win/GrGLCreateNativeInterface_win.cpp',
195 '<(skia_src_path)/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp',
bsalomon@google.comcca3c8f2012-09-28 16:56:28 +0000196 '<(skia_src_path)/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp',
bsalomon@google.comc58b1262012-10-01 19:06:57 +0000197 '<(skia_src_path)/gpu/gl/android/GrGLCreateNativeInterface_android.cpp',
bsalomon@google.com20806352012-08-23 12:55:01 +0000198 ],
199 'gr_mesa_gl_sources': [
200 '<(skia_src_path)/gpu/gl/mesa/GrGLCreateMesaInterface.cpp',
201 ],
202 'gr_angle_gl_sources': [
203 '<(skia_src_path)/gpu/gl/angle/GrGLCreateANGLEInterface.cpp',
204 ],
205 'gr_debug_gl_sources': [
206 '<(skia_src_path)/gpu/gl/debug/GrGLCreateDebugInterface.cpp',
207 '<(skia_src_path)/gpu/gl/debug/GrFakeRefObj.h',
208 '<(skia_src_path)/gpu/gl/debug/GrBufferObj.h',
209 '<(skia_src_path)/gpu/gl/debug/GrBufferObj.cpp',
210 '<(skia_src_path)/gpu/gl/debug/GrFBBindableObj.h',
211 '<(skia_src_path)/gpu/gl/debug/GrRenderBufferObj.h',
212 '<(skia_src_path)/gpu/gl/debug/GrTextureObj.h',
213 '<(skia_src_path)/gpu/gl/debug/GrTextureObj.cpp',
214 '<(skia_src_path)/gpu/gl/debug/GrTextureUnitObj.h',
215 '<(skia_src_path)/gpu/gl/debug/GrTextureUnitObj.cpp',
216 '<(skia_src_path)/gpu/gl/debug/GrFrameBufferObj.h',
217 '<(skia_src_path)/gpu/gl/debug/GrFrameBufferObj.cpp',
218 '<(skia_src_path)/gpu/gl/debug/GrShaderObj.h',
219 '<(skia_src_path)/gpu/gl/debug/GrShaderObj.cpp',
220 '<(skia_src_path)/gpu/gl/debug/GrProgramObj.h',
221 '<(skia_src_path)/gpu/gl/debug/GrProgramObj.cpp',
222 '<(skia_src_path)/gpu/gl/debug/GrDebugGL.h',
223 '<(skia_src_path)/gpu/gl/debug/GrDebugGL.cpp',
bsalomon@google.comecd84842013-03-01 15:36:02 +0000224 '<(skia_src_path)/gpu/gl/debug/GrVertexArrayObj.h',
bsalomon@google.com20806352012-08-23 12:55:01 +0000225 ],
226 'gr_null_gl_sources': [
227 '<(skia_src_path)/gpu/gl/GrGLCreateNullInterface.cpp',
228 ],
229
230 'skgr_sources': [
bsalomon@google.com20806352012-08-23 12:55:01 +0000231 '<(skia_include_path)/gpu/SkGpuDevice.h',
232 '<(skia_include_path)/gpu/SkGr.h',
233 '<(skia_include_path)/gpu/SkGrPixelRef.h',
234 '<(skia_include_path)/gpu/SkGrTexturePixelRef.h',
235
robertphillips@google.com6177e692013-02-28 20:16:25 +0000236 '<(skia_include_path)/gpu/gl/SkGLContextHelper.h',
bsalomon@google.com20806352012-08-23 12:55:01 +0000237
bsalomon@google.com20806352012-08-23 12:55:01 +0000238 '<(skia_src_path)/gpu/SkGpuDevice.cpp',
239 '<(skia_src_path)/gpu/SkGr.cpp',
240 '<(skia_src_path)/gpu/SkGrFontScaler.cpp',
241 '<(skia_src_path)/gpu/SkGrPixelRef.cpp',
242 '<(skia_src_path)/gpu/SkGrTexturePixelRef.cpp',
243
robertphillips@google.com97b6b072012-10-31 14:48:39 +0000244 '<(skia_src_path)/image/SkImage_Gpu.cpp',
245 '<(skia_src_path)/image/SkSurface_Gpu.cpp',
246
robertphillips@google.com6177e692013-02-28 20:16:25 +0000247 '<(skia_src_path)/gpu/gl/SkGLContextHelper.cpp'
bsalomon@google.com20806352012-08-23 12:55:01 +0000248 ],
249 'skgr_native_gl_sources': [
250 '<(skia_include_path)/gpu/gl/SkNativeGLContext.h',
251 '<(skia_src_path)/gpu/gl/mac/SkNativeGLContext_mac.cpp',
borenet@google.com7158e6a2012-11-01 17:43:44 +0000252 '<(skia_src_path)/gpu/gl/nacl/SkNativeGLContext_nacl.cpp',
bsalomon@google.com20806352012-08-23 12:55:01 +0000253 '<(skia_src_path)/gpu/gl/win/SkNativeGLContext_win.cpp',
254 '<(skia_src_path)/gpu/gl/unix/SkNativeGLContext_unix.cpp',
bsalomon@google.comc58b1262012-10-01 19:06:57 +0000255 '<(skia_src_path)/gpu/gl/android/SkNativeGLContext_android.cpp',
bsalomon@google.com2b64f842012-10-02 15:25:12 +0000256 '<(skia_src_path)/gpu/gl/iOS/SkNativeGLContext_iOS.mm',
bsalomon@google.com20806352012-08-23 12:55:01 +0000257 ],
258 'skgr_angle_gl_sources': [
259 '<(skia_include_path)/gpu/gl/SkANGLEGLContext.h',
260 '<(skia_src_path)/gpu/gl/angle/SkANGLEGLContext.cpp',
261 ],
262 'skgr_mesa_gl_sources': [
263 '<(skia_include_path)/gpu/gl/SkMesaGLContext.h',
264 '<(skia_src_path)/gpu/gl/mesa/SkMesaGLContext.cpp',
265 ],
266 'skgr_debug_gl_sources': [
267 '<(skia_include_path)/gpu/gl/SkDebugGLContext.h',
268 '<(skia_src_path)/gpu/gl/debug/SkDebugGLContext.cpp',
269 ],
270 'skgr_null_gl_sources': [
271 '<(skia_include_path)/gpu/gl/SkNullGLContext.h',
272 '<(skia_src_path)/gpu/gl/SkNullGLContext.cpp',
273 ],
274 },
275}
276
277# Local Variables:
278# tab-width:2
279# indent-tabs-mode:nil
280# End:
281# vim: set expandtab tabstop=2 shiftwidth=2: