aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn/gpu.gni
blob: c364c29f03b87a225ab0bc487f96615825668044 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
# Copyright 2016 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# Things are easiest for everyone if these source paths are absolute.
_src = get_path_info("../src", "abspath")
_include = get_path_info("../include", "abspath")

skia_gpu_sources = [
  "$_include/gpu/GrBackendSemaphore.h",
  "$_include/gpu/GrBackendSurface.h",
  "$_include/gpu/GrBlend.h",
  "$_include/gpu/GrCaps.h",
  "$_include/gpu/GrColor.h",
  "$_include/gpu/GrConfig.h",
  "$_include/gpu/GrContextOptions.h",
  "$_include/gpu/GrContext.h",
  "$_include/gpu/GrGpuResource.h",
  "$_include/gpu/GrRenderTarget.h",
  "$_include/gpu/GrResourceKey.h",
  "$_include/gpu/GrShaderCaps.h",
  "$_include/gpu/GrSurface.h",
  "$_include/gpu/GrTexture.h",
  "$_include/gpu/GrSamplerState.h",
  "$_include/gpu/GrTypes.h",

  "$_include/gpu/gl/GrGLAssembleInterface.h",
  "$_include/gpu/gl/GrGLConfig.h",
  "$_include/gpu/gl/GrGLExtensions.h",
  "$_include/gpu/gl/GrGLFunctions.h",
  "$_include/gpu/gl/GrGLInterface.h",
  "$_include/gpu/gl/GrGLTypes.h",

  # Private includes
  "$_include/private/GrAuditTrail.h",
  "$_include/private/GrGLSL.h",
  "$_include/private/GrInstancedPipelineInfo.h",
  "$_include/private/GrSingleOwner.h",
  "$_include/private/GrRenderTargetProxy.h",
  "$_include/private/GrSurfaceProxy.h",
  "$_include/private/GrSwizzle.h",
  "$_include/private/GrTextureProxy.h",
  "$_include/private/GrTypesPriv.h",

  "$_src/gpu/GrAppliedClip.h",
  "$_src/gpu/GrAuditTrail.cpp",
  "$_src/gpu/GrAutoLocaleSetter.h",
  "$_src/gpu/GrAllocator.h",
  "$_src/gpu/GrBackendSurface.cpp",
  "$_src/gpu/GrBackendTextureImageGenerator.cpp",
  "$_src/gpu/GrBackendTextureImageGenerator.h",
  "$_src/gpu/GrAHardwareBufferImageGenerator.cpp",
  "$_src/gpu/GrAHardwareBufferImageGenerator.h",
  "$_src/gpu/GrBitmapTextureMaker.cpp",
  "$_src/gpu/GrBitmapTextureMaker.h",
  "$_src/gpu/GrBlend.cpp",
  "$_src/gpu/GrBlurUtils.cpp",
  "$_src/gpu/GrBlurUtils.h",
  "$_src/gpu/GrBuffer.cpp",
  "$_src/gpu/GrBuffer.h",
  "$_src/gpu/GrBufferAllocPool.cpp",
  "$_src/gpu/GrBufferAllocPool.h",
  "$_src/gpu/GrCaps.cpp",
  "$_src/gpu/GrClip.h",
  "$_src/gpu/GrClipStackClip.h",
  "$_src/gpu/GrClipStackClip.cpp",
  "$_src/gpu/GrColorSpaceInfo.cpp",
  "$_src/gpu/GrColorSpaceXform.cpp",
  "$_src/gpu/GrColorSpaceXform.h",
  "$_src/gpu/GrContext.cpp",
  "$_src/gpu/GrContextPriv.h",
  "$_src/gpu/GrCoordTransform.h",
  "$_src/gpu/GrDefaultGeoProcFactory.cpp",
  "$_src/gpu/GrDefaultGeoProcFactory.h",
  "$_src/gpu/GrDeferredProxyUploader.h",
  "$_src/gpu/GrDeferredUpload.h",
  "$_src/gpu/GrDistanceFieldGenFromVector.cpp",
  "$_src/gpu/GrDistanceFieldGenFromVector.h",
  "$_src/gpu/GrDrawingManager.cpp",
  "$_src/gpu/GrDrawingManager.h",
  "$_src/gpu/GrDrawOpAtlas.cpp",
  "$_src/gpu/GrDrawOpAtlas.h",
  "$_src/gpu/GrDrawOpTest.cpp",
  "$_src/gpu/GrDrawOpTest.h",
  "$_src/gpu/GrFixedClip.cpp",
  "$_src/gpu/GrFixedClip.h",
  "$_src/gpu/GrFragmentProcessor.cpp",
  "$_src/gpu/GrFragmentProcessor.h",
  "$_src/gpu/GrGeometryProcessor.h",
  "$_src/gpu/GrGlyph.h",
  "$_src/gpu/GrGpu.cpp",
  "$_src/gpu/GrGpu.h",
  "$_src/gpu/GrGpuResourceCacheAccess.h",
  "$_src/gpu/GrGpuCommandBuffer.cpp",
  "$_src/gpu/GrGpuCommandBuffer.h",
  "$_src/gpu/GrGpuResourcePriv.h",
  "$_src/gpu/GrGpuResource.cpp",
  "$_src/gpu/GrGpuResourceRef.h",
  "$_src/gpu/GrGpuFactory.cpp",
  "$_src/gpu/GrGpuFactory.h",
  "$_src/gpu/GrImageTextureMaker.cpp",
  "$_src/gpu/GrImageTextureMaker.h",
  "$_src/gpu/GrMemoryPool.cpp",
  "$_src/gpu/GrMemoryPool.h",
  "$_src/gpu/GrMesh.h",
  "$_src/gpu/GrNonAtomicRef.h",
  "$_src/gpu/GrOpFlushState.cpp",
  "$_src/gpu/GrOpFlushState.h",
  "$_src/gpu/GrOpList.cpp",
  "$_src/gpu/GrOpList.h",
  "$_src/gpu/GrPaint.cpp",
  "$_src/gpu/GrPaint.h",
  "$_src/gpu/GrPath.cpp",
  "$_src/gpu/GrPath.h",
  "$_src/gpu/GrPathProcessor.cpp",
  "$_src/gpu/GrPathProcessor.h",
  "$_src/gpu/GrPathRange.cpp",
  "$_src/gpu/GrPathRange.h",
  "$_src/gpu/GrPathRendererChain.cpp",
  "$_src/gpu/GrPathRendererChain.h",
  "$_src/gpu/GrPathRenderer.cpp",
  "$_src/gpu/GrPathRenderer.h",
  "$_src/gpu/GrPathRendering.cpp",
  "$_src/gpu/GrPathRendering.h",
  "$_src/gpu/GrPathUtils.cpp",
  "$_src/gpu/GrPathUtils.h",
  "$_src/gpu/GrPendingProgramElement.h",
  "$_src/gpu/GrOnFlushResourceProvider.cpp",
  "$_src/gpu/GrOnFlushResourceProvider.h",
  "$_src/gpu/GrPipeline.cpp",
  "$_src/gpu/GrPipeline.h",
  "$_src/gpu/GrPrimitiveProcessor.cpp",
  "$_src/gpu/GrPrimitiveProcessor.h",
  "$_src/gpu/GrProcessorSet.cpp",
  "$_src/gpu/GrProcessorSet.h",
  "$_src/gpu/GrProgramDesc.cpp",
  "$_src/gpu/GrProgramDesc.h",
  "$_src/gpu/GrProgramElement.h",
  "$_src/gpu/GrProcessor.cpp",
  "$_src/gpu/GrProcessor.h",
  "$_src/gpu/GrProcessorAnalysis.cpp",
  "$_src/gpu/GrProcessorAnalysis.h",
  "$_src/gpu/GrProcessorUnitTest.cpp",
  "$_src/gpu/GrProcessorUnitTest.h",
  "$_src/gpu/GrGpuResourceRef.cpp",
  "$_src/gpu/GrQuad.h",
  "$_src/gpu/GrRect.h",
  "$_src/gpu/GrRectanizer.h",
  "$_src/gpu/GrRectanizer_pow2.cpp",
  "$_src/gpu/GrRectanizer_pow2.h",
  "$_src/gpu/GrRectanizer_skyline.cpp",
  "$_src/gpu/GrRectanizer_skyline.h",
  "$_src/gpu/GrRenderTarget.cpp",
  "$_src/gpu/GrRenderTargetPriv.h",
  "$_src/gpu/GrRenderTargetProxy.cpp",
  "$_src/gpu/GrReducedClip.cpp",
  "$_src/gpu/GrReducedClip.h",
  "$_src/gpu/GrRenderTargetContext.cpp",
  "$_src/gpu/GrRenderTargetContext.h",
  "$_src/gpu/GrRenderTargetContextPriv.h",
  "$_src/gpu/GrPathRenderingRenderTargetContext.cpp",
  "$_src/gpu/GrPathRenderingRenderTargetContext.h",
  "$_src/gpu/GrRenderTargetOpList.cpp",
  "$_src/gpu/GrRenderTargetOpList.h",
  "$_src/gpu/GrResourceAllocator.cpp",
  "$_src/gpu/GrResourceAllocator.h",
  "$_src/gpu/GrResourceCache.cpp",
  "$_src/gpu/GrResourceCache.h",
  "$_src/gpu/GrResourceHandle.h",
  "$_src/gpu/GrResourceProvider.cpp",
  "$_src/gpu/GrResourceProvider.h",
  "$_src/gpu/GrScissorState.h",
  "$_src/gpu/GrSemaphore.h",
  "$_src/gpu/GrShaderCaps.cpp",
  "$_src/gpu/GrShape.cpp",
  "$_src/gpu/GrShape.h",
  "$_src/gpu/GrStencilAttachment.cpp",
  "$_src/gpu/GrStencilAttachment.h",
  "$_src/gpu/GrStencilClip.h",
  "$_src/gpu/GrStencilSettings.cpp",
  "$_src/gpu/GrStencilSettings.h",
  "$_src/gpu/GrStyle.cpp",
  "$_src/gpu/GrStyle.h",
  "$_src/gpu/GrSurfaceContextPriv.h",
  "$_src/gpu/GrSurfaceProxyPriv.h",
  "$_src/gpu/GrTessellator.cpp",
  "$_src/gpu/GrTessellator.h",
  "$_src/gpu/GrTextureOpList.cpp",
  "$_src/gpu/GrTextureOpList.h",
  "$_src/gpu/GrTextureProxyCacheAccess.h",
  "$_src/gpu/GrTextureProxyPriv.h",
  "$_src/gpu/GrTracing.h",
  "$_src/gpu/GrTestUtils.cpp",
  "$_src/gpu/GrTestUtils.h",
  "$_src/gpu/GrShaderVar.cpp",
  "$_src/gpu/GrShaderVar.h",
  "$_src/gpu/GrSKSLPrettyPrint.cpp",
  "$_src/gpu/GrSKSLPrettyPrint.h",
  "$_src/gpu/GrSoftwarePathRenderer.cpp",
  "$_src/gpu/GrSoftwarePathRenderer.h",
  "$_src/gpu/GrSurfacePriv.h",
  "$_src/gpu/GrSurface.cpp",
  "$_src/gpu/GrSurfaceContext.cpp",
  "$_src/gpu/GrSurfaceContext.h",
  "$_src/gpu/GrSurfaceProxy.cpp",
  "$_src/gpu/GrSWMaskHelper.cpp",
  "$_src/gpu/GrSWMaskHelper.h",
  "$_src/gpu/GrTexture.cpp",
  "$_src/gpu/GrTextureAdjuster.cpp",
  "$_src/gpu/GrTextureAdjuster.h",
  "$_src/gpu/GrTextureContext.cpp",
  "$_src/gpu/GrTextureContext.h",
  "$_src/gpu/GrTextureMaker.cpp",
  "$_src/gpu/GrTextureMaker.h",
  "$_src/gpu/GrTexturePriv.h",
  "$_src/gpu/GrTextureProducer.cpp",
  "$_src/gpu/GrTextureProducer.h",
  "$_src/gpu/GrTextureProxy.cpp",
  "$_src/gpu/GrTextureRenderTargetProxy.cpp",
  "$_src/gpu/GrTextureRenderTargetProxy.h",
  "$_src/gpu/GrTextureStripAtlas.h",
  "$_src/gpu/GrTRecorder.h",
  "$_src/gpu/GrUserStencilSettings.h",
  "$_src/gpu/GrWindowRectangles.h",
  "$_src/gpu/GrWindowRectsState.h",
  "$_src/gpu/GrXferProcessor.cpp",
  "$_src/gpu/GrXferProcessor.h",
  "$_src/gpu/GrYUVProvider.cpp",
  "$_src/gpu/GrYUVProvider.h",

  # Ops
  "$_src/gpu/ops/GrAAConvexTessellator.cpp",
  "$_src/gpu/ops/GrAAConvexTessellator.h",
  "$_src/gpu/ops/GrAAConvexPathRenderer.cpp",
  "$_src/gpu/ops/GrAAConvexPathRenderer.h",
  "$_src/gpu/ops/GrAAFillRectOp.cpp",
  "$_src/gpu/ops/GrAAHairLinePathRenderer.cpp",
  "$_src/gpu/ops/GrAAHairLinePathRenderer.h",
  "$_src/gpu/ops/GrAALinearizingConvexPathRenderer.cpp",
  "$_src/gpu/ops/GrAALinearizingConvexPathRenderer.h",
  "$_src/gpu/ops/GrAAStrokeRectOp.cpp",
  "$_src/gpu/ops/GrAtlasTextOp.cpp",
  "$_src/gpu/ops/GrAtlasTextOp.h",
  "$_src/gpu/ops/GrClearOp.cpp",
  "$_src/gpu/ops/GrClearOp.h",
  "$_src/gpu/ops/GrClearStencilClipOp.h",
  "$_src/gpu/ops/GrCopySurfaceOp.cpp",
  "$_src/gpu/ops/GrCopySurfaceOp.h",
  "$_src/gpu/ops/GrDashLinePathRenderer.cpp",
  "$_src/gpu/ops/GrDashLinePathRenderer.h",
  "$_src/gpu/ops/GrDashOp.cpp",
  "$_src/gpu/ops/GrDashOp.h",
  "$_src/gpu/ops/GrDefaultPathRenderer.cpp",
  "$_src/gpu/ops/GrDefaultPathRenderer.h",
  "$_src/gpu/ops/GrDebugMarkerOp.h",
  "$_src/gpu/ops/GrDrawAtlasOp.cpp",
  "$_src/gpu/ops/GrDrawAtlasOp.h",
  "$_src/gpu/ops/GrDrawOp.h",
  "$_src/gpu/ops/GrDrawPathOp.cpp",
  "$_src/gpu/ops/GrDrawPathOp.h",
  "$_src/gpu/ops/GrDrawVerticesOp.cpp",
  "$_src/gpu/ops/GrDrawVerticesOp.h",
  "$_src/gpu/ops/GrMeshDrawOp.cpp",
  "$_src/gpu/ops/GrMeshDrawOp.h",
  "$_src/gpu/ops/GrMSAAPathRenderer.cpp",
  "$_src/gpu/ops/GrMSAAPathRenderer.h",
  "$_src/gpu/ops/GrNonAAFillRectOp.cpp",
  "$_src/gpu/ops/GrNonAAStrokeRectOp.cpp",
  "$_src/gpu/ops/GrLatticeOp.cpp",
  "$_src/gpu/ops/GrLatticeOp.h",
  "$_src/gpu/ops/GrOp.cpp",
  "$_src/gpu/ops/GrOp.h",
  "$_src/gpu/ops/GrOvalOpFactory.cpp",
  "$_src/gpu/ops/GrOvalOpFactory.h",
  "$_src/gpu/ops/GrRectOpFactory.h",
  "$_src/gpu/ops/GrRegionOp.cpp",
  "$_src/gpu/ops/GrRegionOp.h",
  "$_src/gpu/ops/GrSemaphoreOp.cpp",
  "$_src/gpu/ops/GrSemaphoreOp.h",
  "$_src/gpu/ops/GrShadowRRectOp.cpp",
  "$_src/gpu/ops/GrShadowRRectOp.h",
  "$_src/gpu/ops/GrSimpleMeshDrawOpHelper.cpp",
  "$_src/gpu/ops/GrSimpleMeshDrawOpHelper.h",
  "$_src/gpu/ops/GrSmallPathRenderer.cpp",
  "$_src/gpu/ops/GrSmallPathRenderer.h",
  "$_src/gpu/ops/GrStencilAndCoverPathRenderer.cpp",
  "$_src/gpu/ops/GrStencilAndCoverPathRenderer.h",
  "$_src/gpu/ops/GrStencilPathOp.cpp",
  "$_src/gpu/ops/GrStencilPathOp.h",
  "$_src/gpu/ops/GrTessellatingPathRenderer.cpp",
  "$_src/gpu/ops/GrTessellatingPathRenderer.h",
  "$_src/gpu/ops/GrTextureOp.cpp",
  "$_src/gpu/ops/GrTextureOp.h",

  # coverage counting path renderer
  "$_src/gpu/ccpr/GrCCPRAtlas.cpp",
  "$_src/gpu/ccpr/GrCCPRAtlas.h",
  "$_src/gpu/ccpr/GrCCPRCoverageOp.cpp",
  "$_src/gpu/ccpr/GrCCPRCoverageOp.h",
  "$_src/gpu/ccpr/GrCCPRCoverageProcessor.cpp",
  "$_src/gpu/ccpr/GrCCPRCoverageProcessor_GSImpl.cpp",
  "$_src/gpu/ccpr/GrCCPRCoverageProcessor.h",
  "$_src/gpu/ccpr/GrCCPRCubicShader.cpp",
  "$_src/gpu/ccpr/GrCCPRCubicShader.h",
  "$_src/gpu/ccpr/GrCCPRGeometry.cpp",
  "$_src/gpu/ccpr/GrCCPRGeometry.h",
  "$_src/gpu/ccpr/GrCCPRPathProcessor.cpp",
  "$_src/gpu/ccpr/GrCCPRPathProcessor.h",
  "$_src/gpu/ccpr/GrCCPRQuadraticShader.cpp",
  "$_src/gpu/ccpr/GrCCPRQuadraticShader.h",
  "$_src/gpu/ccpr/GrCCPRTriangleShader.cpp",
  "$_src/gpu/ccpr/GrCCPRTriangleShader.h",
  "$_src/gpu/ccpr/GrCoverageCountingPathRenderer.cpp",
  "$_src/gpu/ccpr/GrCoverageCountingPathRenderer.h",

  "$_src/gpu/effects/GrArithmeticFP.cpp",
  "$_src/gpu/effects/GrArithmeticFP.h",
  "$_src/gpu/effects/GrBlurredEdgeFragmentProcessor.cpp",
  "$_src/gpu/effects/GrBlurredEdgeFragmentProcessor.h",
  "$_src/gpu/effects/GrCircleEffect.cpp",
  "$_src/gpu/effects/GrCircleEffect.h",
  "$_src/gpu/effects/GrConfigConversionEffect.cpp",
  "$_src/gpu/effects/GrConfigConversionEffect.h",
  "$_src/gpu/effects/GrConstColorProcessor.cpp",
  "$_src/gpu/effects/GrConstColorProcessor.h",
  "$_src/gpu/effects/GrCoverageSetOpXP.cpp",
  "$_src/gpu/effects/GrCoverageSetOpXP.h",
  "$_src/gpu/effects/GrCustomXfermode.cpp",
  "$_src/gpu/effects/GrCustomXfermode.h",
  "$_src/gpu/effects/GrBezierEffect.cpp",
  "$_src/gpu/effects/GrBezierEffect.h",
  "$_src/gpu/effects/GrConvexPolyEffect.cpp",
  "$_src/gpu/effects/GrConvexPolyEffect.h",
  "$_src/gpu/effects/GrBicubicEffect.cpp",
  "$_src/gpu/effects/GrBicubicEffect.h",
  "$_src/gpu/effects/GrBitmapTextGeoProc.cpp",
  "$_src/gpu/effects/GrBitmapTextGeoProc.h",
  "$_src/gpu/effects/GrDisableColorXP.cpp",
  "$_src/gpu/effects/GrDisableColorXP.h",
  "$_src/gpu/effects/GrDistanceFieldGeoProc.cpp",
  "$_src/gpu/effects/GrDistanceFieldGeoProc.h",
  "$_src/gpu/effects/GrDitherEffect.cpp",
  "$_src/gpu/effects/GrDitherEffect.h",
  "$_src/gpu/effects/GrEllipseEffect.cpp",
  "$_src/gpu/effects/GrEllipseEffect.h",
  "$_src/gpu/effects/GrGaussianConvolutionFragmentProcessor.cpp",
  "$_src/gpu/effects/GrGaussianConvolutionFragmentProcessor.h",
  "$_src/gpu/effects/GrMatrixConvolutionEffect.cpp",
  "$_src/gpu/effects/GrMatrixConvolutionEffect.h",
  "$_src/gpu/effects/GrLumaColorFilterEffect.cpp",
  "$_src/gpu/effects/GrLumaColorFilterEffect.h",
  "$_src/gpu/effects/GrNonlinearColorSpaceXformEffect.cpp",
  "$_src/gpu/effects/GrNonlinearColorSpaceXformEffect.h",
  "$_src/gpu/effects/GrOverdrawFragmentProcessor.cpp",
  "$_src/gpu/effects/GrOverdrawFragmentProcessor.h",
  "$_src/gpu/effects/GrOvalEffect.cpp",
  "$_src/gpu/effects/GrOvalEffect.h",
  "$_src/gpu/effects/GrPorterDuffXferProcessor.cpp",
  "$_src/gpu/effects/GrPorterDuffXferProcessor.h",
  "$_src/gpu/effects/GrRectBlurEffect.cpp",
  "$_src/gpu/effects/GrRectBlurEffect.h",
  "$_src/gpu/effects/GrRRectEffect.cpp",
  "$_src/gpu/effects/GrRRectEffect.h",
  "$_src/gpu/effects/GrShadowGeoProc.cpp",
  "$_src/gpu/effects/GrShadowGeoProc.h",
  "$_src/gpu/effects/GrSimpleTextureEffect.cpp",
  "$_src/gpu/effects/GrSimpleTextureEffect.h",
  "$_src/gpu/effects/GrSRGBEffect.cpp",
  "$_src/gpu/effects/GrSRGBEffect.h",
  "$_src/gpu/effects/GrTextureDomain.cpp",
  "$_src/gpu/effects/GrTextureDomain.h",
  "$_src/gpu/effects/GrTextureStripAtlas.cpp",
  "$_src/gpu/effects/GrXfermodeFragmentProcessor.cpp",
  "$_src/gpu/effects/GrXfermodeFragmentProcessor.h",
  "$_src/gpu/effects/GrYUVEffect.cpp",
  "$_src/gpu/effects/GrYUVEffect.h",

  "$_src/gpu/instanced/InstancedOp.cpp",
  "$_src/gpu/instanced/InstancedOp.h",
  "$_src/gpu/instanced/InstancedRendering.cpp",
  "$_src/gpu/instanced/InstancedRendering.h",
  "$_src/gpu/instanced/InstancedRenderingTypes.h",
  "$_src/gpu/instanced/InstanceProcessor.cpp",
  "$_src/gpu/instanced/InstanceProcessor.h",
  "$_src/gpu/instanced/GLInstancedRendering.cpp",
  "$_src/gpu/instanced/GLInstancedRendering.h",

  # text
  "$_src/gpu/text/GrAtlasGlyphCache.cpp",
  "$_src/gpu/text/GrAtlasGlyphCache.h",
  "$_src/gpu/text/GrAtlasTextBlob.cpp",
  "$_src/gpu/text/GrAtlasTextBlobVertexRegenerator.cpp",
  "$_src/gpu/text/GrAtlasTextBlob.h",
  "$_src/gpu/text/GrAtlasTextContext.cpp",
  "$_src/gpu/text/GrAtlasTextContext.h",
  "$_src/gpu/text/GrDistanceFieldAdjustTable.cpp",
  "$_src/gpu/text/GrDistanceFieldAdjustTable.h",
  "$_src/gpu/text/GrStencilAndCoverTextContext.cpp",
  "$_src/gpu/text/GrStencilAndCoverTextContext.h",
  "$_src/gpu/text/GrTextBlobCache.cpp",
  "$_src/gpu/text/GrTextBlobCache.h",
  "$_src/gpu/text/GrTextUtils.cpp",
  "$_src/gpu/text/GrTextUtils.h",

  "$_src/gpu/gl/GrGLAssembleInterface.cpp",
  "$_src/gpu/gl/GrGLBuffer.cpp",
  "$_src/gpu/gl/GrGLBuffer.h",
  "$_src/gpu/gl/GrGLCaps.cpp",
  "$_src/gpu/gl/GrGLCaps.h",
  "$_src/gpu/gl/GrGLContext.cpp",
  "$_src/gpu/gl/GrGLContext.h",
  "$_src/gpu/gl/GrGLCreateNativeInterface_none.cpp",
  "$_src/gpu/gl/GrGLCreateNullInterface.cpp",
  "$_src/gpu/gl/GrGLDefaultInterface_none.cpp",
  "$_src/gpu/gl/GrGLDefines.h",
  "$_src/gpu/gl/GrGLGLSL.cpp",
  "$_src/gpu/gl/GrGLGLSL.h",
  "$_src/gpu/gl/GrGLGpu.cpp",
  "$_src/gpu/gl/GrGLGpu.h",
  "$_src/gpu/gl/GrGLGpuCommandBuffer.cpp",
  "$_src/gpu/gl/GrGLGpuCommandBuffer.h",
  "$_src/gpu/gl/GrGLGpuProgramCache.cpp",
  "$_src/gpu/gl/GrGLExtensions.cpp",
  "$_src/gpu/gl/GrGLInterface.cpp",
  "$_src/gpu/gl/GrGLIRect.h",
  "$_src/gpu/gl/GrGLPath.cpp",
  "$_src/gpu/gl/GrGLPath.h",
  "$_src/gpu/gl/GrGLPathRange.cpp",
  "$_src/gpu/gl/GrGLPathRange.h",
  "$_src/gpu/gl/GrGLPathRendering.cpp",
  "$_src/gpu/gl/GrGLPathRendering.h",
  "$_src/gpu/gl/GrGLProgram.cpp",
  "$_src/gpu/gl/GrGLProgram.h",
  "$_src/gpu/gl/GrGLProgramDataManager.cpp",
  "$_src/gpu/gl/GrGLProgramDataManager.h",
  "$_src/gpu/gl/GrGLRenderTarget.cpp",
  "$_src/gpu/gl/GrGLRenderTarget.h",
  "$_src/gpu/gl/GrGLSemaphore.cpp",
  "$_src/gpu/gl/GrGLSemaphore.h",
  "$_src/gpu/gl/GrGLStencilAttachment.cpp",
  "$_src/gpu/gl/GrGLStencilAttachment.h",
  "$_src/gpu/gl/GrGLTestInterface.cpp",
  "$_src/gpu/gl/GrGLTestInterface.h",
  "$_src/gpu/gl/GrGLTexture.cpp",
  "$_src/gpu/gl/GrGLTexture.h",
  "$_src/gpu/gl/GrGLTextureRenderTarget.cpp",
  "$_src/gpu/gl/GrGLTextureRenderTarget.h",
  "$_src/gpu/gl/GrGLUtil.cpp",
  "$_src/gpu/gl/GrGLUtil.h",
  "$_src/gpu/gl/GrGLUniformHandler.cpp",
  "$_src/gpu/gl/GrGLUniformHandler.h",
  "$_src/gpu/gl/GrGLVaryingHandler.cpp",
  "$_src/gpu/gl/GrGLVaryingHandler.h",
  "$_src/gpu/gl/GrGLVertexArray.cpp",
  "$_src/gpu/gl/GrGLVertexArray.h",

  # Files for building GLSL shaders
  "$_src/gpu/gl/builders/GrGLProgramBuilder.cpp",
  "$_src/gpu/gl/builders/GrGLProgramBuilder.h",
  "$_src/gpu/gl/builders/GrGLShaderStringBuilder.cpp",
  "$_src/gpu/gl/builders/GrGLShaderStringBuilder.h",

  # GLSL
  "$_src/gpu/glsl/GrGLSL.cpp",
  "$_src/gpu/glsl/GrGLSLBlend.cpp",
  "$_src/gpu/glsl/GrGLSLBlend.h",
  "$_src/gpu/glsl/GrGLSLColorSpaceXformHelper.h",
  "$_src/gpu/glsl/GrGLSLFragmentProcessor.cpp",
  "$_src/gpu/glsl/GrGLSLFragmentProcessor.h",
  "$_src/gpu/glsl/GrGLSLFragmentShaderBuilder.cpp",
  "$_src/gpu/glsl/GrGLSLFragmentShaderBuilder.h",
  "$_src/gpu/glsl/GrGLSLGeometryProcessor.cpp",
  "$_src/gpu/glsl/GrGLSLGeometryProcessor.h",
  "$_src/gpu/glsl/GrGLSLPrimitiveProcessor.cpp",
  "$_src/gpu/glsl/GrGLSLPrimitiveProcessor.h",
  "$_src/gpu/glsl/GrGLSLProgramBuilder.cpp",
  "$_src/gpu/glsl/GrGLSLProgramBuilder.h",
  "$_src/gpu/glsl/GrGLSLProgramDataManager.cpp",
  "$_src/gpu/glsl/GrGLSLProgramDataManager.h",
  "$_src/gpu/glsl/GrGLSLShaderBuilder.cpp",
  "$_src/gpu/glsl/GrGLSLShaderBuilder.h",
  "$_src/gpu/glsl/GrGLSLUniformHandler.h",
  "$_src/gpu/glsl/GrGLSLUtil.cpp",
  "$_src/gpu/glsl/GrGLSLUtil.h",
  "$_src/gpu/glsl/GrGLSLVarying.cpp",
  "$_src/gpu/glsl/GrGLSLVarying.h",
  "$_src/gpu/glsl/GrGLSLVertexGeoBuilder.cpp",
  "$_src/gpu/glsl/GrGLSLVertexGeoBuilder.h",
  "$_src/gpu/glsl/GrGLSLXferProcessor.cpp",
  "$_src/gpu/glsl/GrGLSLXferProcessor.h",

  # Mock
  "$_src/gpu/mock/GrMockBuffer.h",
  "$_src/gpu/mock/GrMockCaps.h",
  "$_src/gpu/mock/GrMockGpu.cpp",
  "$_src/gpu/mock/GrMockGpu.h",
  "$_src/gpu/mock/GrMockGpuCommandBuffer.h",
  "$_src/gpu/mock/GrMockStencilAttachment.h",
  "$_src/gpu/mock/GrMockTexture.h",

  # Sk files
  "$_src/gpu/SkGpuDevice.cpp",
  "$_src/gpu/SkGpuDevice.h",
  "$_src/gpu/SkGpuDevice_drawTexture.cpp",
  "$_src/gpu/SkGr.h",
  "$_src/gpu/SkGr.cpp",

  "$_src/image/SkImage_Gpu.h",
  "$_src/image/SkImage_Gpu.cpp",
  "$_src/image/SkSurface_Gpu.h",
  "$_src/image/SkSurface_Gpu.cpp",
]

skia_null_gpu_sources = []

skia_vk_sources = [
  "$_include/gpu/vk/GrVkBackendContext.h",
  "$_include/gpu/vk/GrVkDefines.h",
  "$_include/gpu/vk/GrVkInterface.h",
  "$_include/gpu/vk/GrVkTypes.h",
  "$_src/gpu/vk/GrVkBackendContext.cpp",
  "$_src/gpu/vk/GrVkBuffer.cpp",
  "$_src/gpu/vk/GrVkBuffer.h",
  "$_src/gpu/vk/GrVkBufferView.cpp",
  "$_src/gpu/vk/GrVkBufferView.h",
  "$_src/gpu/vk/GrVkCaps.cpp",
  "$_src/gpu/vk/GrVkCaps.h",
  "$_src/gpu/vk/GrVkCommandBuffer.cpp",
  "$_src/gpu/vk/GrVkCommandBuffer.h",
  "$_src/gpu/vk/GrVkCopyManager.cpp",
  "$_src/gpu/vk/GrVkCopyManager.h",
  "$_src/gpu/vk/GrVkCopyPipeline.cpp",
  "$_src/gpu/vk/GrVkCopyPipeline.h",
  "$_src/gpu/vk/GrVkDescriptorPool.cpp",
  "$_src/gpu/vk/GrVkDescriptorPool.h",
  "$_src/gpu/vk/GrVkDescriptorSet.cpp",
  "$_src/gpu/vk/GrVkDescriptorSet.h",
  "$_src/gpu/vk/GrVkDescriptorSetManager.cpp",
  "$_src/gpu/vk/GrVkDescriptorSetManager.h",
  "$_src/gpu/vk/GrVkExtensions.cpp",
  "$_src/gpu/vk/GrVkExtensions.h",
  "$_src/gpu/vk/GrVkFramebuffer.cpp",
  "$_src/gpu/vk/GrVkFramebuffer.h",
  "$_src/gpu/vk/GrVkGpu.cpp",
  "$_src/gpu/vk/GrVkGpu.h",
  "$_src/gpu/vk/GrVkGpuCommandBuffer.cpp",
  "$_src/gpu/vk/GrVkGpuCommandBuffer.h",
  "$_src/gpu/vk/GrVkImage.cpp",
  "$_src/gpu/vk/GrVkImage.h",
  "$_src/gpu/vk/GrVkImageView.cpp",
  "$_src/gpu/vk/GrVkImageView.h",
  "$_src/gpu/vk/GrVkIndexBuffer.cpp",
  "$_src/gpu/vk/GrVkIndexBuffer.h",
  "$_src/gpu/vk/GrVkInterface.cpp",
  "$_src/gpu/vk/GrVkMemory.cpp",
  "$_src/gpu/vk/GrVkMemory.h",
  "$_src/gpu/vk/GrVkPipeline.cpp",
  "$_src/gpu/vk/GrVkPipeline.h",
  "$_src/gpu/vk/GrVkPipelineState.cpp",
  "$_src/gpu/vk/GrVkPipelineState.h",
  "$_src/gpu/vk/GrVkPipelineStateBuilder.cpp",
  "$_src/gpu/vk/GrVkPipelineStateBuilder.h",
  "$_src/gpu/vk/GrVkPipelineStateCache.cpp",
  "$_src/gpu/vk/GrVkPipelineStateDataManager.cpp",
  "$_src/gpu/vk/GrVkPipelineStateDataManager.h",
  "$_src/gpu/vk/GrVkRenderPass.cpp",
  "$_src/gpu/vk/GrVkRenderPass.h",
  "$_src/gpu/vk/GrVkRenderTarget.cpp",
  "$_src/gpu/vk/GrVkRenderTarget.h",
  "$_src/gpu/vk/GrVkResource.h",
  "$_src/gpu/vk/GrVkResourceProvider.cpp",
  "$_src/gpu/vk/GrVkResourceProvider.h",
  "$_src/gpu/vk/GrVkSampler.cpp",
  "$_src/gpu/vk/GrVkSampler.h",
  "$_src/gpu/vk/GrVkSemaphore.cpp",
  "$_src/gpu/vk/GrVkSemaphore.h",
  "$_src/gpu/vk/GrVkStencilAttachment.cpp",
  "$_src/gpu/vk/GrVkStencilAttachment.h",
  "$_src/gpu/vk/GrVkTexelBuffer.cpp",
  "$_src/gpu/vk/GrVkTexelBuffer.h",
  "$_src/gpu/vk/GrVkTexture.cpp",
  "$_src/gpu/vk/GrVkTexture.h",
  "$_src/gpu/vk/GrVkTextureRenderTarget.cpp",
  "$_src/gpu/vk/GrVkTextureRenderTarget.h",
  "$_src/gpu/vk/GrVkTransferBuffer.cpp",
  "$_src/gpu/vk/GrVkTransferBuffer.h",
  "$_src/gpu/vk/GrVkUniformBuffer.cpp",
  "$_src/gpu/vk/GrVkUniformBuffer.h",
  "$_src/gpu/vk/GrVkUniformHandler.cpp",
  "$_src/gpu/vk/GrVkUniformHandler.h",
  "$_src/gpu/vk/GrVkUtil.cpp",
  "$_src/gpu/vk/GrVkUtil.h",
  "$_src/gpu/vk/GrVkVaryingHandler.cpp",
  "$_src/gpu/vk/GrVkVaryingHandler.h",
  "$_src/gpu/vk/GrVkVertexBuffer.cpp",
  "$_src/gpu/vk/GrVkVertexBuffer.h",
]

skia_metal_sources = [
  "$_include/gpu/mtl/GrMtlTypes.h",
  "$_src/gpu/mtl/GrMtlCaps.h",
  "$_src/gpu/mtl/GrMtlCaps.mm",
  "$_src/gpu/mtl/GrMtlGpu.h",
  "$_src/gpu/mtl/GrMtlGpu.mm",
  "$_src/gpu/mtl/GrMtlRenderTarget.mm",
  "$_src/gpu/mtl/GrMtlRenderTarget.h",
  "$_src/gpu/mtl/GrMtlTexture.mm",
  "$_src/gpu/mtl/GrMtlTexture.h",
  "$_src/gpu/mtl/GrMtlTrampoline.h",
  "$_src/gpu/mtl/GrMtlTrampoline.mm",
  "$_src/gpu/mtl/GrMtlUtil.h",
  "$_src/gpu/mtl/GrMtlUtil.mm",
]

skia_native_gpu_sources = [
  "$_src/gpu/gl/GrGLDefaultInterface_native.cpp",
  "$_src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp",
  "$_src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp",
  "$_src/gpu/gl/glx/GrGLCreateNativeInterface_glx.cpp",
  "$_src/gpu/gl/egl/GrGLCreateNativeInterface_egl.cpp",
  "$_src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp",
  "$_src/gpu/gl/android/GrGLCreateNativeInterface_android.cpp",
]