Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Side by Side Diff: gyp/gpu.gypi

Issue 17101010: Fuse skgr & gr targets in gyp files (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « gyp/gpu.gyp ('k') | gyp/skia_lib.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Include this gypi to include all 'gr' and 'skgr' files 1 # Include this gypi to include all 'gpu' files
2 # The parent gyp/gypi file must define 2 # The parent gyp/gypi file must define
3 # 'skia_src_path' e.g. skia/trunk/src 3 # 'skia_src_path' e.g. skia/trunk/src
4 # 'skia_include_path' e.g. skia/trunk/include 4 # 'skia_include_path' e.g. skia/trunk/include
5 # 5 #
6 # The skia build defines these in common_variables.gypi 6 # The skia build defines these in common_variables.gypi
7 # 7 #
8 { 8 {
9 'variables': { 9 'variables': {
10 'gr_sources': [ 10 'skgpu_sources': [
11 '<(skia_include_path)/gpu/GrAARectRenderer.h', 11 '<(skia_include_path)/gpu/GrAARectRenderer.h',
12 '<(skia_include_path)/gpu/GrBackendEffectFactory.h', 12 '<(skia_include_path)/gpu/GrBackendEffectFactory.h',
13 '<(skia_include_path)/gpu/GrClipData.h', 13 '<(skia_include_path)/gpu/GrClipData.h',
14 '<(skia_include_path)/gpu/GrColor.h', 14 '<(skia_include_path)/gpu/GrColor.h',
15 '<(skia_include_path)/gpu/GrConfig.h', 15 '<(skia_include_path)/gpu/GrConfig.h',
16 '<(skia_include_path)/gpu/GrContext.h', 16 '<(skia_include_path)/gpu/GrContext.h',
17 '<(skia_include_path)/gpu/GrContextFactory.h', 17 '<(skia_include_path)/gpu/GrContextFactory.h',
18 '<(skia_include_path)/gpu/GrEffect.h', 18 '<(skia_include_path)/gpu/GrEffect.h',
19 '<(skia_include_path)/gpu/GrEffectStage.h', 19 '<(skia_include_path)/gpu/GrEffectStage.h',
20 '<(skia_include_path)/gpu/GrEffectUnitTest.h', 20 '<(skia_include_path)/gpu/GrEffectUnitTest.h',
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 '<(skia_src_path)/gpu/gl/GrGLUniformManager.cpp', 181 '<(skia_src_path)/gpu/gl/GrGLUniformManager.cpp',
182 '<(skia_src_path)/gpu/gl/GrGLUniformManager.h', 182 '<(skia_src_path)/gpu/gl/GrGLUniformManager.h',
183 '<(skia_src_path)/gpu/gl/GrGLUniformHandle.h', 183 '<(skia_src_path)/gpu/gl/GrGLUniformHandle.h',
184 '<(skia_src_path)/gpu/gl/GrGLVertexArray.cpp', 184 '<(skia_src_path)/gpu/gl/GrGLVertexArray.cpp',
185 '<(skia_src_path)/gpu/gl/GrGLVertexArray.h', 185 '<(skia_src_path)/gpu/gl/GrGLVertexArray.h',
186 '<(skia_src_path)/gpu/gl/GrGLVertexBuffer.cpp', 186 '<(skia_src_path)/gpu/gl/GrGLVertexBuffer.cpp',
187 '<(skia_src_path)/gpu/gl/GrGLVertexBuffer.h', 187 '<(skia_src_path)/gpu/gl/GrGLVertexBuffer.h',
188 '<(skia_src_path)/gpu/gl/GrGpuGL.cpp', 188 '<(skia_src_path)/gpu/gl/GrGpuGL.cpp',
189 '<(skia_src_path)/gpu/gl/GrGpuGL.h', 189 '<(skia_src_path)/gpu/gl/GrGpuGL.h',
190 '<(skia_src_path)/gpu/gl/GrGpuGL_program.cpp', 190 '<(skia_src_path)/gpu/gl/GrGpuGL_program.cpp',
191
192 # Sk files
193 '<(skia_include_path)/gpu/SkGpuDevice.h',
194 '<(skia_include_path)/gpu/SkGr.h',
195 '<(skia_include_path)/gpu/SkGrPixelRef.h',
196 '<(skia_include_path)/gpu/SkGrTexturePixelRef.h',
197
198 '<(skia_include_path)/gpu/gl/SkGLContextHelper.h',
199
200 '<(skia_src_path)/gpu/SkGpuDevice.cpp',
201 '<(skia_src_path)/gpu/SkGr.cpp',
202 '<(skia_src_path)/gpu/SkGrFontScaler.cpp',
203 '<(skia_src_path)/gpu/SkGrPixelRef.cpp',
204 '<(skia_src_path)/gpu/SkGrTexturePixelRef.cpp',
205
206 '<(skia_src_path)/image/SkImage_Gpu.cpp',
207 '<(skia_src_path)/image/SkSurface_Gpu.cpp',
208
209 '<(skia_src_path)/gpu/gl/SkGLContextHelper.cpp'
191 ], 210 ],
192 'gr_native_gl_sources': [ 211 'skgpu_native_gl_sources': [
193 '<(skia_src_path)/gpu/gl/GrGLDefaultInterface_native.cpp', 212 '<(skia_src_path)/gpu/gl/GrGLDefaultInterface_native.cpp',
194 '<(skia_src_path)/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp', 213 '<(skia_src_path)/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp',
195 '<(skia_src_path)/gpu/gl/win/GrGLCreateNativeInterface_win.cpp', 214 '<(skia_src_path)/gpu/gl/win/GrGLCreateNativeInterface_win.cpp',
196 '<(skia_src_path)/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp', 215 '<(skia_src_path)/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp',
197 '<(skia_src_path)/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp', 216 '<(skia_src_path)/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp',
198 '<(skia_src_path)/gpu/gl/android/GrGLCreateNativeInterface_android.cpp', 217 '<(skia_src_path)/gpu/gl/android/GrGLCreateNativeInterface_android.cpp',
218
219 # Sk files
220 '<(skia_include_path)/gpu/gl/SkNativeGLContext.h',
221 '<(skia_src_path)/gpu/gl/mac/SkNativeGLContext_mac.cpp',
222 '<(skia_src_path)/gpu/gl/nacl/SkNativeGLContext_nacl.cpp',
223 '<(skia_src_path)/gpu/gl/win/SkNativeGLContext_win.cpp',
224 '<(skia_src_path)/gpu/gl/unix/SkNativeGLContext_unix.cpp',
225 '<(skia_src_path)/gpu/gl/android/SkNativeGLContext_android.cpp',
226 '<(skia_src_path)/gpu/gl/iOS/SkNativeGLContext_iOS.mm',
199 ], 227 ],
200 'gr_mesa_gl_sources': [ 228 'skgpu_mesa_gl_sources': [
201 '<(skia_src_path)/gpu/gl/mesa/GrGLCreateMesaInterface.cpp', 229 '<(skia_src_path)/gpu/gl/mesa/GrGLCreateMesaInterface.cpp',
230
231 # Sk files
232 '<(skia_include_path)/gpu/gl/SkMesaGLContext.h',
233 '<(skia_src_path)/gpu/gl/mesa/SkMesaGLContext.cpp',
202 ], 234 ],
203 'gr_angle_gl_sources': [ 235 'skgpu_angle_gl_sources': [
204 '<(skia_src_path)/gpu/gl/angle/GrGLCreateANGLEInterface.cpp', 236 '<(skia_src_path)/gpu/gl/angle/GrGLCreateANGLEInterface.cpp',
237
238 # Sk files
239 '<(skia_include_path)/gpu/gl/SkANGLEGLContext.h',
240 '<(skia_src_path)/gpu/gl/angle/SkANGLEGLContext.cpp',
205 ], 241 ],
206 'gr_debug_gl_sources': [ 242 'skgpu_debug_gl_sources': [
207 '<(skia_src_path)/gpu/gl/debug/GrGLCreateDebugInterface.cpp', 243 '<(skia_src_path)/gpu/gl/debug/GrGLCreateDebugInterface.cpp',
208 '<(skia_src_path)/gpu/gl/debug/GrFakeRefObj.h', 244 '<(skia_src_path)/gpu/gl/debug/GrFakeRefObj.h',
209 '<(skia_src_path)/gpu/gl/debug/GrBufferObj.h', 245 '<(skia_src_path)/gpu/gl/debug/GrBufferObj.h',
210 '<(skia_src_path)/gpu/gl/debug/GrBufferObj.cpp', 246 '<(skia_src_path)/gpu/gl/debug/GrBufferObj.cpp',
211 '<(skia_src_path)/gpu/gl/debug/GrFBBindableObj.h', 247 '<(skia_src_path)/gpu/gl/debug/GrFBBindableObj.h',
212 '<(skia_src_path)/gpu/gl/debug/GrRenderBufferObj.h', 248 '<(skia_src_path)/gpu/gl/debug/GrRenderBufferObj.h',
213 '<(skia_src_path)/gpu/gl/debug/GrTextureObj.h', 249 '<(skia_src_path)/gpu/gl/debug/GrTextureObj.h',
214 '<(skia_src_path)/gpu/gl/debug/GrTextureObj.cpp', 250 '<(skia_src_path)/gpu/gl/debug/GrTextureObj.cpp',
215 '<(skia_src_path)/gpu/gl/debug/GrTextureUnitObj.h', 251 '<(skia_src_path)/gpu/gl/debug/GrTextureUnitObj.h',
216 '<(skia_src_path)/gpu/gl/debug/GrTextureUnitObj.cpp', 252 '<(skia_src_path)/gpu/gl/debug/GrTextureUnitObj.cpp',
217 '<(skia_src_path)/gpu/gl/debug/GrFrameBufferObj.h', 253 '<(skia_src_path)/gpu/gl/debug/GrFrameBufferObj.h',
218 '<(skia_src_path)/gpu/gl/debug/GrFrameBufferObj.cpp', 254 '<(skia_src_path)/gpu/gl/debug/GrFrameBufferObj.cpp',
219 '<(skia_src_path)/gpu/gl/debug/GrShaderObj.h', 255 '<(skia_src_path)/gpu/gl/debug/GrShaderObj.h',
220 '<(skia_src_path)/gpu/gl/debug/GrShaderObj.cpp', 256 '<(skia_src_path)/gpu/gl/debug/GrShaderObj.cpp',
221 '<(skia_src_path)/gpu/gl/debug/GrProgramObj.h', 257 '<(skia_src_path)/gpu/gl/debug/GrProgramObj.h',
222 '<(skia_src_path)/gpu/gl/debug/GrProgramObj.cpp', 258 '<(skia_src_path)/gpu/gl/debug/GrProgramObj.cpp',
223 '<(skia_src_path)/gpu/gl/debug/GrDebugGL.h', 259 '<(skia_src_path)/gpu/gl/debug/GrDebugGL.h',
224 '<(skia_src_path)/gpu/gl/debug/GrDebugGL.cpp', 260 '<(skia_src_path)/gpu/gl/debug/GrDebugGL.cpp',
225 '<(skia_src_path)/gpu/gl/debug/GrVertexArrayObj.h', 261 '<(skia_src_path)/gpu/gl/debug/GrVertexArrayObj.h',
226 ],
227 'gr_null_gl_sources': [
228 '<(skia_src_path)/gpu/gl/GrGLCreateNullInterface.cpp',
229 ],
230 262
231 'skgr_sources': [ 263 # Sk files
232 '<(skia_include_path)/gpu/SkGpuDevice.h',
233 '<(skia_include_path)/gpu/SkGr.h',
234 '<(skia_include_path)/gpu/SkGrPixelRef.h',
235 '<(skia_include_path)/gpu/SkGrTexturePixelRef.h',
236
237 '<(skia_include_path)/gpu/gl/SkGLContextHelper.h',
238
239 '<(skia_src_path)/gpu/SkGpuDevice.cpp',
240 '<(skia_src_path)/gpu/SkGr.cpp',
241 '<(skia_src_path)/gpu/SkGrFontScaler.cpp',
242 '<(skia_src_path)/gpu/SkGrPixelRef.cpp',
243 '<(skia_src_path)/gpu/SkGrTexturePixelRef.cpp',
244
245 '<(skia_src_path)/image/SkImage_Gpu.cpp',
246 '<(skia_src_path)/image/SkSurface_Gpu.cpp',
247
248 '<(skia_src_path)/gpu/gl/SkGLContextHelper.cpp'
249 ],
250 'skgr_native_gl_sources': [
251 '<(skia_include_path)/gpu/gl/SkNativeGLContext.h',
252 '<(skia_src_path)/gpu/gl/mac/SkNativeGLContext_mac.cpp',
253 '<(skia_src_path)/gpu/gl/nacl/SkNativeGLContext_nacl.cpp',
254 '<(skia_src_path)/gpu/gl/win/SkNativeGLContext_win.cpp',
255 '<(skia_src_path)/gpu/gl/unix/SkNativeGLContext_unix.cpp',
256 '<(skia_src_path)/gpu/gl/android/SkNativeGLContext_android.cpp',
257 '<(skia_src_path)/gpu/gl/iOS/SkNativeGLContext_iOS.mm',
258 ],
259 'skgr_angle_gl_sources': [
260 '<(skia_include_path)/gpu/gl/SkANGLEGLContext.h',
261 '<(skia_src_path)/gpu/gl/angle/SkANGLEGLContext.cpp',
262 ],
263 'skgr_mesa_gl_sources': [
264 '<(skia_include_path)/gpu/gl/SkMesaGLContext.h',
265 '<(skia_src_path)/gpu/gl/mesa/SkMesaGLContext.cpp',
266 ],
267 'skgr_debug_gl_sources': [
268 '<(skia_include_path)/gpu/gl/SkDebugGLContext.h', 264 '<(skia_include_path)/gpu/gl/SkDebugGLContext.h',
269 '<(skia_src_path)/gpu/gl/debug/SkDebugGLContext.cpp', 265 '<(skia_src_path)/gpu/gl/debug/SkDebugGLContext.cpp',
270 ], 266 ],
271 'skgr_null_gl_sources': [ 267 'skgpu_null_gl_sources': [
268 '<(skia_src_path)/gpu/gl/GrGLCreateNullInterface.cpp',
269
270 # Sk files
272 '<(skia_include_path)/gpu/gl/SkNullGLContext.h', 271 '<(skia_include_path)/gpu/gl/SkNullGLContext.h',
273 '<(skia_src_path)/gpu/gl/SkNullGLContext.cpp', 272 '<(skia_src_path)/gpu/gl/SkNullGLContext.cpp',
274 ], 273 ],
275 }, 274 },
276 } 275 }
277 276
278 # Local Variables: 277 # Local Variables:
279 # tab-width:2 278 # tab-width:2
280 # indent-tabs-mode:nil 279 # indent-tabs-mode:nil
281 # End: 280 # End:
282 # vim: set expandtab tabstop=2 shiftwidth=2: 281 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « gyp/gpu.gyp ('k') | gyp/skia_lib.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698