• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// This file is autogenerated by gn_to_bp.py.
2
3cc_library_static {
4    name: "libskia",
5    cflags: [
6        "-U_FORTIFY_SOURCE",
7        "-DATRACE_TAG=ATRACE_TAG_VIEW",
8        "-DSKIA_DLL",
9        "-DSKIA_IMPLEMENTATION=1",
10        "-DSK_PRINT_CODEC_MESSAGES",
11        "-D_FORTIFY_SOURCE=1",
12        "-Wall",
13        "-Werror",
14        "-Weverything",
15        "-Wextra",
16        "-Winit-self",
17        "-Wno-cast-align",
18        "-Wno-cast-qual",
19        "-Wno-conversion",
20        "-Wno-covered-switch-default",
21        "-Wno-deprecated",
22        "-Wno-deprecated-declarations",
23        "-Wno-disabled-macro-expansion",
24        "-Wno-documentation",
25        "-Wno-documentation-unknown-command",
26        "-Wno-double-promotion",
27        "-Wno-exit-time-destructors",
28        "-Wno-float-equal",
29        "-Wno-format-nonliteral",
30        "-Wno-global-constructors",
31        "-Wno-implicit-fallthrough",
32        "-Wno-maybe-uninitialized",
33        "-Wno-missing-noreturn",
34        "-Wno-missing-prototypes",
35        "-Wno-missing-variable-declarations",
36        "-Wno-newline-eof",
37        "-Wno-nonportable-include-path",
38        "-Wno-nonportable-system-include-path",
39        "-Wno-old-style-cast",
40        "-Wno-padded",
41        "-Wno-pedantic",
42        "-Wno-reserved-id-macro",
43        "-Wno-shadow",
44        "-Wno-shift-sign-overflow",
45        "-Wno-signed-enum-bitfield",
46        "-Wno-switch-enum",
47        "-Wno-undef",
48        "-Wno-unknown-warning-option",
49        "-Wno-unreachable-code",
50        "-Wno-unreachable-code-break",
51        "-Wno-unreachable-code-return",
52        "-Wno-unused-macros",
53        "-Wno-unused-member-function",
54        "-Wno-unused-parameter",
55        "-Wno-unused-template",
56        "-Wno-zero-as-null-pointer-constant",
57        "-Wpointer-arith",
58        "-Wsign-compare",
59        "-Wvla",
60        "-fvisibility=hidden",
61    ],
62
63    cppflags:[
64        "-Wno-abstract-vbase-init",
65        "-Wno-c++98-compat",
66        "-Wno-c++98-compat-pedantic",
67        "-Wno-undefined-func-template",
68        "-Wno-weak-vtables",
69        "-Wnon-virtual-dtor",
70        "-fexceptions",
71    ],
72
73    export_include_dirs: [
74        "include/android/",
75        "include/atlastext/",
76        "include/c/",
77        "include/codec/",
78        "include/config/",
79        "include/core/",
80        "include/effects/",
81        "include/encode/",
82        "include/gpu/",
83        "include/gpu/gl/",
84        "include/gpu/vk/",
85        "include/pathops/",
86        "include/ports/",
87        "include/svg/",
88        "include/utils/",
89        "include/utils/mac/",
90        "platform_tools/android/vulkan",
91    ],
92
93    local_include_dirs: [
94        "include/android/",
95        "include/atlastext/",
96        "include/c/",
97        "include/codec/",
98        "include/config/",
99        "include/core/",
100        "include/effects/",
101        "include/encode/",
102        "include/gpu/",
103        "include/gpu/gl/",
104        "include/gpu/vk/",
105        "include/pathops/",
106        "include/ports/",
107        "include/private/",
108        "include/svg/",
109        "include/utils/",
110        "include/utils/mac/",
111        "platform_tools/android/vulkan",
112        "src/c/",
113        "src/codec/",
114        "src/core/",
115        "src/effects/",
116        "src/fonts/",
117        "src/gpu/",
118        "src/image/",
119        "src/images/",
120        "src/lazy/",
121        "src/opts/",
122        "src/pathops/",
123        "src/pdf/",
124        "src/ports/",
125        "src/sfnt/",
126        "src/shaders/",
127        "src/shaders/gradients/",
128        "src/sksl/",
129        "src/utils/",
130        "src/utils/win/",
131        "src/xml/",
132        "third_party/gif/",
133    ],
134
135    srcs: [
136        "src/android/SkAndroidFrameworkUtils.cpp",
137        "src/android/SkAnimatedImage.cpp",
138        "src/android/SkBitmapRegionCodec.cpp",
139        "src/android/SkBitmapRegionDecoder.cpp",
140        "src/c/sk_effects.cpp",
141        "src/c/sk_paint.cpp",
142        "src/c/sk_surface.cpp",
143        "src/codec/SkAndroidCodec.cpp",
144        "src/codec/SkBmpBaseCodec.cpp",
145        "src/codec/SkBmpCodec.cpp",
146        "src/codec/SkBmpMaskCodec.cpp",
147        "src/codec/SkBmpRLECodec.cpp",
148        "src/codec/SkBmpStandardCodec.cpp",
149        "src/codec/SkCodec.cpp",
150        "src/codec/SkCodecImageGenerator.cpp",
151        "src/codec/SkGifCodec.cpp",
152        "src/codec/SkHeifCodec.cpp",
153        "src/codec/SkIcoCodec.cpp",
154        "src/codec/SkJpegCodec.cpp",
155        "src/codec/SkJpegDecoderMgr.cpp",
156        "src/codec/SkJpegUtility.cpp",
157        "src/codec/SkMaskSwizzler.cpp",
158        "src/codec/SkMasks.cpp",
159        "src/codec/SkPngCodec.cpp",
160        "src/codec/SkRawAdapterCodec.cpp",
161        "src/codec/SkRawCodec.cpp",
162        "src/codec/SkSampledCodec.cpp",
163        "src/codec/SkSampler.cpp",
164        "src/codec/SkStreamBuffer.cpp",
165        "src/codec/SkSwizzler.cpp",
166        "src/codec/SkWbmpCodec.cpp",
167        "src/codec/SkWebpAdapterCodec.cpp",
168        "src/codec/SkWebpCodec.cpp",
169        "src/core/SkAAClip.cpp",
170        "src/core/SkATrace.cpp",
171        "src/core/SkAlphaRuns.cpp",
172        "src/core/SkAnalyticEdge.cpp",
173        "src/core/SkAnnotation.cpp",
174        "src/core/SkArenaAlloc.cpp",
175        "src/core/SkAutoPixmapStorage.cpp",
176        "src/core/SkBBHFactory.cpp",
177        "src/core/SkBigPicture.cpp",
178        "src/core/SkBitmap.cpp",
179        "src/core/SkBitmapCache.cpp",
180        "src/core/SkBitmapController.cpp",
181        "src/core/SkBitmapDevice.cpp",
182        "src/core/SkBitmapProcState.cpp",
183        "src/core/SkBitmapProcState_matrixProcs.cpp",
184        "src/core/SkBitmapProvider.cpp",
185        "src/core/SkBlendMode.cpp",
186        "src/core/SkBlitMask_D32.cpp",
187        "src/core/SkBlitRow_D32.cpp",
188        "src/core/SkBlitter.cpp",
189        "src/core/SkBlitter_A8.cpp",
190        "src/core/SkBlitter_ARGB32.cpp",
191        "src/core/SkBlitter_RGB565.cpp",
192        "src/core/SkBlitter_Sprite.cpp",
193        "src/core/SkBlurImageFilter.cpp",
194        "src/core/SkBuffer.cpp",
195        "src/core/SkCachedData.cpp",
196        "src/core/SkCanvas.cpp",
197        "src/core/SkCanvasPriv.cpp",
198        "src/core/SkClipStack.cpp",
199        "src/core/SkClipStackDevice.cpp",
200        "src/core/SkColor.cpp",
201        "src/core/SkColorFilter.cpp",
202        "src/core/SkColorLookUpTable.cpp",
203        "src/core/SkColorMatrixFilterRowMajor255.cpp",
204        "src/core/SkColorSpace.cpp",
205        "src/core/SkColorSpaceXform.cpp",
206        "src/core/SkColorSpaceXformCanvas.cpp",
207        "src/core/SkColorSpaceXform_A2B.cpp",
208        "src/core/SkColorSpaceXformer.cpp",
209        "src/core/SkColorSpace_A2B.cpp",
210        "src/core/SkColorSpace_ICC.cpp",
211        "src/core/SkColorSpace_New.cpp",
212        "src/core/SkColorSpace_XYZ.cpp",
213        "src/core/SkColorTable.cpp",
214        "src/core/SkConvertPixels.cpp",
215        "src/core/SkCoverageDelta.cpp",
216        "src/core/SkCpu.cpp",
217        "src/core/SkCubicClipper.cpp",
218        "src/core/SkCubicMap.cpp",
219        "src/core/SkData.cpp",
220        "src/core/SkDataTable.cpp",
221        "src/core/SkDebug.cpp",
222        "src/core/SkDeferredDisplayList.cpp",
223        "src/core/SkDeferredDisplayListRecorder.cpp",
224        "src/core/SkDeque.cpp",
225        "src/core/SkDevice.cpp",
226        "src/core/SkDeviceLooper.cpp",
227        "src/core/SkDeviceProfile.cpp",
228        "src/core/SkDistanceFieldGen.cpp",
229        "src/core/SkDither.cpp",
230        "src/core/SkDocument.cpp",
231        "src/core/SkDraw.cpp",
232        "src/core/SkDrawLooper.cpp",
233        "src/core/SkDrawShadowInfo.cpp",
234        "src/core/SkDraw_vertices.cpp",
235        "src/core/SkDrawable.cpp",
236        "src/core/SkEdge.cpp",
237        "src/core/SkEdgeBuilder.cpp",
238        "src/core/SkEdgeClipper.cpp",
239        "src/core/SkExecutor.cpp",
240        "src/core/SkFDot6Constants.cpp",
241        "src/core/SkFlattenable.cpp",
242        "src/core/SkFont.cpp",
243        "src/core/SkFontDescriptor.cpp",
244        "src/core/SkFontLCDConfig.cpp",
245        "src/core/SkFontMgr.cpp",
246        "src/core/SkFontStream.cpp",
247        "src/core/SkGaussFilter.cpp",
248        "src/core/SkGeometry.cpp",
249        "src/core/SkGlobalInitialization_core.cpp",
250        "src/core/SkGlyphCache.cpp",
251        "src/core/SkGpuBlurUtils.cpp",
252        "src/core/SkGraphics.cpp",
253        "src/core/SkHalf.cpp",
254        "src/core/SkICC.cpp",
255        "src/core/SkImageFilter.cpp",
256        "src/core/SkImageFilterCache.cpp",
257        "src/core/SkImageGenerator.cpp",
258        "src/core/SkImageInfo.cpp",
259        "src/core/SkLatticeIter.cpp",
260        "src/core/SkLineClipper.cpp",
261        "src/core/SkLiteDL.cpp",
262        "src/core/SkLiteRecorder.cpp",
263        "src/core/SkLocalMatrixImageFilter.cpp",
264        "src/core/SkMD5.cpp",
265        "src/core/SkMallocPixelRef.cpp",
266        "src/core/SkMask.cpp",
267        "src/core/SkMaskBlurFilter.cpp",
268        "src/core/SkMaskCache.cpp",
269        "src/core/SkMaskFilter.cpp",
270        "src/core/SkMaskGamma.cpp",
271        "src/core/SkMath.cpp",
272        "src/core/SkMatrix.cpp",
273        "src/core/SkMatrix44.cpp",
274        "src/core/SkMatrixImageFilter.cpp",
275        "src/core/SkMetaData.cpp",
276        "src/core/SkMiniRecorder.cpp",
277        "src/core/SkMipMap.cpp",
278        "src/core/SkModeColorFilter.cpp",
279        "src/core/SkMultiPictureDraw.cpp",
280        "src/core/SkOpts.cpp",
281        "src/core/SkOverdrawCanvas.cpp",
282        "src/core/SkPaint.cpp",
283        "src/core/SkPaintPriv.cpp",
284        "src/core/SkPath.cpp",
285        "src/core/SkPathEffect.cpp",
286        "src/core/SkPathMeasure.cpp",
287        "src/core/SkPathRef.cpp",
288        "src/core/SkPath_serial.cpp",
289        "src/core/SkPicture.cpp",
290        "src/core/SkPictureData.cpp",
291        "src/core/SkPictureFlat.cpp",
292        "src/core/SkPictureImageGenerator.cpp",
293        "src/core/SkPicturePlayback.cpp",
294        "src/core/SkPictureRecord.cpp",
295        "src/core/SkPictureRecorder.cpp",
296        "src/core/SkPixelRef.cpp",
297        "src/core/SkPixmap.cpp",
298        "src/core/SkPoint.cpp",
299        "src/core/SkPoint3.cpp",
300        "src/core/SkPtrRecorder.cpp",
301        "src/core/SkQuadClipper.cpp",
302        "src/core/SkRRect.cpp",
303        "src/core/SkRTree.cpp",
304        "src/core/SkRWBuffer.cpp",
305        "src/core/SkRasterClip.cpp",
306        "src/core/SkRasterPipeline.cpp",
307        "src/core/SkRasterPipelineBlitter.cpp",
308        "src/core/SkReadBuffer.cpp",
309        "src/core/SkRecord.cpp",
310        "src/core/SkRecordDraw.cpp",
311        "src/core/SkRecordOpts.cpp",
312        "src/core/SkRecordedDrawable.cpp",
313        "src/core/SkRecorder.cpp",
314        "src/core/SkRecords.cpp",
315        "src/core/SkRect.cpp",
316        "src/core/SkRefDict.cpp",
317        "src/core/SkRegion.cpp",
318        "src/core/SkRegion_path.cpp",
319        "src/core/SkRemoteGlyphCache.cpp",
320        "src/core/SkResourceCache.cpp",
321        "src/core/SkSRGB.cpp",
322        "src/core/SkScalar.cpp",
323        "src/core/SkScalerContext.cpp",
324        "src/core/SkScan.cpp",
325        "src/core/SkScan_AAAPath.cpp",
326        "src/core/SkScan_AntiPath.cpp",
327        "src/core/SkScan_Antihair.cpp",
328        "src/core/SkScan_DAAPath.cpp",
329        "src/core/SkScan_Hairline.cpp",
330        "src/core/SkScan_Path.cpp",
331        "src/core/SkSemaphore.cpp",
332        "src/core/SkSharedMutex.cpp",
333        "src/core/SkSpecialImage.cpp",
334        "src/core/SkSpecialSurface.cpp",
335        "src/core/SkSpinlock.cpp",
336        "src/core/SkSpriteBlitter_ARGB32.cpp",
337        "src/core/SkSpriteBlitter_RGB565.cpp",
338        "src/core/SkStream.cpp",
339        "src/core/SkString.cpp",
340        "src/core/SkStringUtils.cpp",
341        "src/core/SkStroke.cpp",
342        "src/core/SkStrokeRec.cpp",
343        "src/core/SkStrokerPriv.cpp",
344        "src/core/SkSwizzle.cpp",
345        "src/core/SkTLS.cpp",
346        "src/core/SkTSearch.cpp",
347        "src/core/SkTaskGroup.cpp",
348        "src/core/SkTaskGroup2D.cpp",
349        "src/core/SkTextBlob.cpp",
350        "src/core/SkThreadID.cpp",
351        "src/core/SkThreadedBMPDevice.cpp",
352        "src/core/SkTime.cpp",
353        "src/core/SkTypeface.cpp",
354        "src/core/SkTypefaceCache.cpp",
355        "src/core/SkTypeface_remote.cpp",
356        "src/core/SkUnPreMultiply.cpp",
357        "src/core/SkUtils.cpp",
358        "src/core/SkVertState.cpp",
359        "src/core/SkVertices.cpp",
360        "src/core/SkWriteBuffer.cpp",
361        "src/core/SkWriter32.cpp",
362        "src/core/SkXfermode.cpp",
363        "src/core/SkXfermodeInterpretation.cpp",
364        "src/core/SkYUVPlanesCache.cpp",
365        "src/effects/GrAlphaThresholdFragmentProcessor.cpp",
366        "src/effects/GrCircleBlurFragmentProcessor.cpp",
367        "src/effects/Sk1DPathEffect.cpp",
368        "src/effects/Sk2DPathEffect.cpp",
369        "src/effects/SkAlphaThresholdFilter.cpp",
370        "src/effects/SkArithmeticImageFilter.cpp",
371        "src/effects/SkBlurMask.cpp",
372        "src/effects/SkBlurMaskFilter.cpp",
373        "src/effects/SkColorFilterImageFilter.cpp",
374        "src/effects/SkColorMatrix.cpp",
375        "src/effects/SkColorMatrixFilter.cpp",
376        "src/effects/SkComposeImageFilter.cpp",
377        "src/effects/SkCornerPathEffect.cpp",
378        "src/effects/SkDashPathEffect.cpp",
379        "src/effects/SkDiscretePathEffect.cpp",
380        "src/effects/SkDisplacementMapEffect.cpp",
381        "src/effects/SkDropShadowImageFilter.cpp",
382        "src/effects/SkEmbossMask.cpp",
383        "src/effects/SkEmbossMaskFilter.cpp",
384        "src/effects/SkHighContrastFilter.cpp",
385        "src/effects/SkImageSource.cpp",
386        "src/effects/SkLayerDrawLooper.cpp",
387        "src/effects/SkLightingImageFilter.cpp",
388        "src/effects/SkLumaColorFilter.cpp",
389        "src/effects/SkMagnifierImageFilter.cpp",
390        "src/effects/SkMatrixConvolutionImageFilter.cpp",
391        "src/effects/SkMergeImageFilter.cpp",
392        "src/effects/SkMorphologyImageFilter.cpp",
393        "src/effects/SkOffsetImageFilter.cpp",
394        "src/effects/SkOverdrawColorFilter.cpp",
395        "src/effects/SkPackBits.cpp",
396        "src/effects/SkPaintFlagsDrawFilter.cpp",
397        "src/effects/SkPaintImageFilter.cpp",
398        "src/effects/SkPictureImageFilter.cpp",
399        "src/effects/SkRRectsGaussianEdgeMaskFilter.cpp",
400        "src/effects/SkShaderMaskFilter.cpp",
401        "src/effects/SkTableColorFilter.cpp",
402        "src/effects/SkTableMaskFilter.cpp",
403        "src/effects/SkTileImageFilter.cpp",
404        "src/effects/SkToSRGBColorFilter.cpp",
405        "src/effects/SkXfermodeImageFilter.cpp",
406        "src/gpu/GrAHardwareBufferImageGenerator.cpp",
407        "src/gpu/GrAuditTrail.cpp",
408        "src/gpu/GrBackendSurface.cpp",
409        "src/gpu/GrBackendTextureImageGenerator.cpp",
410        "src/gpu/GrBitmapTextureMaker.cpp",
411        "src/gpu/GrBlend.cpp",
412        "src/gpu/GrBlurUtils.cpp",
413        "src/gpu/GrBuffer.cpp",
414        "src/gpu/GrBufferAllocPool.cpp",
415        "src/gpu/GrCaps.cpp",
416        "src/gpu/GrClipStackClip.cpp",
417        "src/gpu/GrColorSpaceInfo.cpp",
418        "src/gpu/GrColorSpaceXform.cpp",
419        "src/gpu/GrContext.cpp",
420        "src/gpu/GrDefaultGeoProcFactory.cpp",
421        "src/gpu/GrDistanceFieldGenFromVector.cpp",
422        "src/gpu/GrDrawOpAtlas.cpp",
423        "src/gpu/GrDrawOpTest.cpp",
424        "src/gpu/GrDrawingManager.cpp",
425        "src/gpu/GrFixedClip.cpp",
426        "src/gpu/GrFragmentProcessor.cpp",
427        "src/gpu/GrGpu.cpp",
428        "src/gpu/GrGpuCommandBuffer.cpp",
429        "src/gpu/GrGpuFactory.cpp",
430        "src/gpu/GrGpuResource.cpp",
431        "src/gpu/GrGpuResourceRef.cpp",
432        "src/gpu/GrImageTextureMaker.cpp",
433        "src/gpu/GrMemoryPool.cpp",
434        "src/gpu/GrOnFlushResourceProvider.cpp",
435        "src/gpu/GrOpFlushState.cpp",
436        "src/gpu/GrOpList.cpp",
437        "src/gpu/GrPaint.cpp",
438        "src/gpu/GrPath.cpp",
439        "src/gpu/GrPathProcessor.cpp",
440        "src/gpu/GrPathRange.cpp",
441        "src/gpu/GrPathRenderer.cpp",
442        "src/gpu/GrPathRendererChain.cpp",
443        "src/gpu/GrPathRendering.cpp",
444        "src/gpu/GrPathUtils.cpp",
445        "src/gpu/GrPipeline.cpp",
446        "src/gpu/GrPrimitiveProcessor.cpp",
447        "src/gpu/GrProcessor.cpp",
448        "src/gpu/GrProcessorAnalysis.cpp",
449        "src/gpu/GrProcessorSet.cpp",
450        "src/gpu/GrProcessorUnitTest.cpp",
451        "src/gpu/GrProgramDesc.cpp",
452        "src/gpu/GrProxyProvider.cpp",
453        "src/gpu/GrRectanizer_pow2.cpp",
454        "src/gpu/GrRectanizer_skyline.cpp",
455        "src/gpu/GrReducedClip.cpp",
456        "src/gpu/GrRenderTarget.cpp",
457        "src/gpu/GrRenderTargetContext.cpp",
458        "src/gpu/GrRenderTargetOpList.cpp",
459        "src/gpu/GrRenderTargetProxy.cpp",
460        "src/gpu/GrResourceAllocator.cpp",
461        "src/gpu/GrResourceCache.cpp",
462        "src/gpu/GrResourceProvider.cpp",
463        "src/gpu/GrSKSLPrettyPrint.cpp",
464        "src/gpu/GrSWMaskHelper.cpp",
465        "src/gpu/GrShaderCaps.cpp",
466        "src/gpu/GrShaderVar.cpp",
467        "src/gpu/GrShape.cpp",
468        "src/gpu/GrSoftwarePathRenderer.cpp",
469        "src/gpu/GrStencilAttachment.cpp",
470        "src/gpu/GrStencilSettings.cpp",
471        "src/gpu/GrStyle.cpp",
472        "src/gpu/GrSurface.cpp",
473        "src/gpu/GrSurfaceContext.cpp",
474        "src/gpu/GrSurfaceProxy.cpp",
475        "src/gpu/GrSurfaceProxyRef.cpp",
476        "src/gpu/GrTessellator.cpp",
477        "src/gpu/GrTestUtils.cpp",
478        "src/gpu/GrTexture.cpp",
479        "src/gpu/GrTextureAdjuster.cpp",
480        "src/gpu/GrTextureContext.cpp",
481        "src/gpu/GrTextureMaker.cpp",
482        "src/gpu/GrTextureOpList.cpp",
483        "src/gpu/GrTextureProducer.cpp",
484        "src/gpu/GrTextureProxy.cpp",
485        "src/gpu/GrTextureRenderTargetProxy.cpp",
486        "src/gpu/GrXferProcessor.cpp",
487        "src/gpu/GrYUVProvider.cpp",
488        "src/gpu/SkGpuDevice.cpp",
489        "src/gpu/SkGpuDevice_drawTexture.cpp",
490        "src/gpu/SkGr.cpp",
491        "src/gpu/ccpr/GrCCAtlas.cpp",
492        "src/gpu/ccpr/GrCCClipProcessor.cpp",
493        "src/gpu/ccpr/GrCCCoverageProcessor.cpp",
494        "src/gpu/ccpr/GrCCCoverageProcessor_GSImpl.cpp",
495        "src/gpu/ccpr/GrCCCoverageProcessor_VSImpl.cpp",
496        "src/gpu/ccpr/GrCCCubicShader.cpp",
497        "src/gpu/ccpr/GrCCGeometry.cpp",
498        "src/gpu/ccpr/GrCCPathParser.cpp",
499        "src/gpu/ccpr/GrCCPathProcessor.cpp",
500        "src/gpu/ccpr/GrCCQuadraticShader.cpp",
501        "src/gpu/ccpr/GrCCTriangleShader.cpp",
502        "src/gpu/ccpr/GrCoverageCountingPathRenderer.cpp",
503        "src/gpu/effects/GrAARectEffect.cpp",
504        "src/gpu/effects/GrArithmeticFP.cpp",
505        "src/gpu/effects/GrBezierEffect.cpp",
506        "src/gpu/effects/GrBicubicEffect.cpp",
507        "src/gpu/effects/GrBitmapTextGeoProc.cpp",
508        "src/gpu/effects/GrBlurredEdgeFragmentProcessor.cpp",
509        "src/gpu/effects/GrCircleEffect.cpp",
510        "src/gpu/effects/GrConfigConversionEffect.cpp",
511        "src/gpu/effects/GrConstColorProcessor.cpp",
512        "src/gpu/effects/GrConvexPolyEffect.cpp",
513        "src/gpu/effects/GrCoverageSetOpXP.cpp",
514        "src/gpu/effects/GrCustomXfermode.cpp",
515        "src/gpu/effects/GrDisableColorXP.cpp",
516        "src/gpu/effects/GrDistanceFieldGeoProc.cpp",
517        "src/gpu/effects/GrDitherEffect.cpp",
518        "src/gpu/effects/GrEllipseEffect.cpp",
519        "src/gpu/effects/GrGaussianConvolutionFragmentProcessor.cpp",
520        "src/gpu/effects/GrLumaColorFilterEffect.cpp",
521        "src/gpu/effects/GrMagnifierEffect.cpp",
522        "src/gpu/effects/GrMatrixConvolutionEffect.cpp",
523        "src/gpu/effects/GrNonlinearColorSpaceXformEffect.cpp",
524        "src/gpu/effects/GrOvalEffect.cpp",
525        "src/gpu/effects/GrOverdrawFragmentProcessor.cpp",
526        "src/gpu/effects/GrPorterDuffXferProcessor.cpp",
527        "src/gpu/effects/GrPremulInputFragmentProcessor.cpp",
528        "src/gpu/effects/GrRRectBlurEffect.cpp",
529        "src/gpu/effects/GrRRectEffect.cpp",
530        "src/gpu/effects/GrRectBlurEffect.cpp",
531        "src/gpu/effects/GrSRGBEffect.cpp",
532        "src/gpu/effects/GrShadowGeoProc.cpp",
533        "src/gpu/effects/GrSimpleTextureEffect.cpp",
534        "src/gpu/effects/GrTextureDomain.cpp",
535        "src/gpu/effects/GrTextureStripAtlas.cpp",
536        "src/gpu/effects/GrUnpremulInputFragmentProcessor.cpp",
537        "src/gpu/effects/GrXfermodeFragmentProcessor.cpp",
538        "src/gpu/effects/GrYUVtoRGBEffect.cpp",
539        "src/gpu/gl/GrGLAssembleInterface.cpp",
540        "src/gpu/gl/GrGLBuffer.cpp",
541        "src/gpu/gl/GrGLCaps.cpp",
542        "src/gpu/gl/GrGLContext.cpp",
543        "src/gpu/gl/GrGLCreateNullInterface.cpp",
544        "src/gpu/gl/GrGLExtensions.cpp",
545        "src/gpu/gl/GrGLGLSL.cpp",
546        "src/gpu/gl/GrGLGpu.cpp",
547        "src/gpu/gl/GrGLGpuCommandBuffer.cpp",
548        "src/gpu/gl/GrGLGpuProgramCache.cpp",
549        "src/gpu/gl/GrGLInterface.cpp",
550        "src/gpu/gl/GrGLPath.cpp",
551        "src/gpu/gl/GrGLPathRange.cpp",
552        "src/gpu/gl/GrGLPathRendering.cpp",
553        "src/gpu/gl/GrGLProgram.cpp",
554        "src/gpu/gl/GrGLProgramDataManager.cpp",
555        "src/gpu/gl/GrGLRenderTarget.cpp",
556        "src/gpu/gl/GrGLSemaphore.cpp",
557        "src/gpu/gl/GrGLStencilAttachment.cpp",
558        "src/gpu/gl/GrGLTestInterface.cpp",
559        "src/gpu/gl/GrGLTexture.cpp",
560        "src/gpu/gl/GrGLTextureRenderTarget.cpp",
561        "src/gpu/gl/GrGLUniformHandler.cpp",
562        "src/gpu/gl/GrGLUtil.cpp",
563        "src/gpu/gl/GrGLVaryingHandler.cpp",
564        "src/gpu/gl/GrGLVertexArray.cpp",
565        "src/gpu/gl/android/GrGLMakeNativeInterface_android.cpp",
566        "src/gpu/gl/builders/GrGLProgramBuilder.cpp",
567        "src/gpu/gl/builders/GrGLShaderStringBuilder.cpp",
568        "src/gpu/glsl/GrGLSL.cpp",
569        "src/gpu/glsl/GrGLSLBlend.cpp",
570        "src/gpu/glsl/GrGLSLFragmentProcessor.cpp",
571        "src/gpu/glsl/GrGLSLFragmentShaderBuilder.cpp",
572        "src/gpu/glsl/GrGLSLGeometryProcessor.cpp",
573        "src/gpu/glsl/GrGLSLPrimitiveProcessor.cpp",
574        "src/gpu/glsl/GrGLSLProgramBuilder.cpp",
575        "src/gpu/glsl/GrGLSLProgramDataManager.cpp",
576        "src/gpu/glsl/GrGLSLShaderBuilder.cpp",
577        "src/gpu/glsl/GrGLSLUtil.cpp",
578        "src/gpu/glsl/GrGLSLVarying.cpp",
579        "src/gpu/glsl/GrGLSLVertexGeoBuilder.cpp",
580        "src/gpu/glsl/GrGLSLXferProcessor.cpp",
581        "src/gpu/mock/GrMockGpu.cpp",
582        "src/gpu/ops/GrAAConvexPathRenderer.cpp",
583        "src/gpu/ops/GrAAConvexTessellator.cpp",
584        "src/gpu/ops/GrAAFillRectOp.cpp",
585        "src/gpu/ops/GrAAHairLinePathRenderer.cpp",
586        "src/gpu/ops/GrAALinearizingConvexPathRenderer.cpp",
587        "src/gpu/ops/GrAAStrokeRectOp.cpp",
588        "src/gpu/ops/GrAtlasTextOp.cpp",
589        "src/gpu/ops/GrClearOp.cpp",
590        "src/gpu/ops/GrCopySurfaceOp.cpp",
591        "src/gpu/ops/GrDashLinePathRenderer.cpp",
592        "src/gpu/ops/GrDashOp.cpp",
593        "src/gpu/ops/GrDefaultPathRenderer.cpp",
594        "src/gpu/ops/GrDrawAtlasOp.cpp",
595        "src/gpu/ops/GrDrawPathOp.cpp",
596        "src/gpu/ops/GrDrawVerticesOp.cpp",
597        "src/gpu/ops/GrLatticeOp.cpp",
598        "src/gpu/ops/GrMSAAPathRenderer.cpp",
599        "src/gpu/ops/GrMeshDrawOp.cpp",
600        "src/gpu/ops/GrNonAAFillRectOp.cpp",
601        "src/gpu/ops/GrNonAAStrokeRectOp.cpp",
602        "src/gpu/ops/GrOp.cpp",
603        "src/gpu/ops/GrOvalOpFactory.cpp",
604        "src/gpu/ops/GrRegionOp.cpp",
605        "src/gpu/ops/GrSemaphoreOp.cpp",
606        "src/gpu/ops/GrShadowRRectOp.cpp",
607        "src/gpu/ops/GrSimpleMeshDrawOpHelper.cpp",
608        "src/gpu/ops/GrSmallPathRenderer.cpp",
609        "src/gpu/ops/GrStencilAndCoverPathRenderer.cpp",
610        "src/gpu/ops/GrStencilPathOp.cpp",
611        "src/gpu/ops/GrTessellatingPathRenderer.cpp",
612        "src/gpu/ops/GrTextureOp.cpp",
613        "src/gpu/text/GrAtlasManager.cpp",
614        "src/gpu/text/GrAtlasTextBlob.cpp",
615        "src/gpu/text/GrAtlasTextBlobVertexRegenerator.cpp",
616        "src/gpu/text/GrAtlasTextContext.cpp",
617        "src/gpu/text/GrDistanceFieldAdjustTable.cpp",
618        "src/gpu/text/GrGlyphCache.cpp",
619        "src/gpu/text/GrTextBlobCache.cpp",
620        "src/gpu/text/GrTextUtils.cpp",
621        "src/gpu/vk/GrVkBackendContext.cpp",
622        "src/gpu/vk/GrVkBuffer.cpp",
623        "src/gpu/vk/GrVkBufferView.cpp",
624        "src/gpu/vk/GrVkCaps.cpp",
625        "src/gpu/vk/GrVkCommandBuffer.cpp",
626        "src/gpu/vk/GrVkCopyManager.cpp",
627        "src/gpu/vk/GrVkCopyPipeline.cpp",
628        "src/gpu/vk/GrVkDescriptorPool.cpp",
629        "src/gpu/vk/GrVkDescriptorSet.cpp",
630        "src/gpu/vk/GrVkDescriptorSetManager.cpp",
631        "src/gpu/vk/GrVkExtensions.cpp",
632        "src/gpu/vk/GrVkFramebuffer.cpp",
633        "src/gpu/vk/GrVkGpu.cpp",
634        "src/gpu/vk/GrVkGpuCommandBuffer.cpp",
635        "src/gpu/vk/GrVkImage.cpp",
636        "src/gpu/vk/GrVkImageView.cpp",
637        "src/gpu/vk/GrVkIndexBuffer.cpp",
638        "src/gpu/vk/GrVkInterface.cpp",
639        "src/gpu/vk/GrVkMemory.cpp",
640        "src/gpu/vk/GrVkPipeline.cpp",
641        "src/gpu/vk/GrVkPipelineState.cpp",
642        "src/gpu/vk/GrVkPipelineStateBuilder.cpp",
643        "src/gpu/vk/GrVkPipelineStateCache.cpp",
644        "src/gpu/vk/GrVkPipelineStateDataManager.cpp",
645        "src/gpu/vk/GrVkRenderPass.cpp",
646        "src/gpu/vk/GrVkRenderTarget.cpp",
647        "src/gpu/vk/GrVkResourceProvider.cpp",
648        "src/gpu/vk/GrVkSampler.cpp",
649        "src/gpu/vk/GrVkSemaphore.cpp",
650        "src/gpu/vk/GrVkStencilAttachment.cpp",
651        "src/gpu/vk/GrVkTexelBuffer.cpp",
652        "src/gpu/vk/GrVkTexture.cpp",
653        "src/gpu/vk/GrVkTextureRenderTarget.cpp",
654        "src/gpu/vk/GrVkTransferBuffer.cpp",
655        "src/gpu/vk/GrVkUniformBuffer.cpp",
656        "src/gpu/vk/GrVkUniformHandler.cpp",
657        "src/gpu/vk/GrVkUtil.cpp",
658        "src/gpu/vk/GrVkVaryingHandler.cpp",
659        "src/gpu/vk/GrVkVertexBuffer.cpp",
660        "src/image/SkImage.cpp",
661        "src/image/SkImage_Gpu.cpp",
662        "src/image/SkImage_Lazy.cpp",
663        "src/image/SkImage_Raster.cpp",
664        "src/image/SkSurface.cpp",
665        "src/image/SkSurface_Gpu.cpp",
666        "src/image/SkSurface_Raster.cpp",
667        "src/images/SkImageEncoder.cpp",
668        "src/images/SkJPEGWriteUtility.cpp",
669        "src/images/SkJpegEncoder.cpp",
670        "src/images/SkPngEncoder.cpp",
671        "src/images/SkWebpEncoder.cpp",
672        "src/jumper/SkJumper.cpp",
673        "src/jumper/SkJumper_generated.S",
674        "src/jumper/SkJumper_stages.cpp",
675        "src/jumper/SkJumper_stages_lowp.cpp",
676        "src/lazy/SkDiscardableMemoryPool.cpp",
677        "src/pathops/SkAddIntersections.cpp",
678        "src/pathops/SkDConicLineIntersection.cpp",
679        "src/pathops/SkDCubicLineIntersection.cpp",
680        "src/pathops/SkDCubicToQuads.cpp",
681        "src/pathops/SkDLineIntersection.cpp",
682        "src/pathops/SkDQuadLineIntersection.cpp",
683        "src/pathops/SkIntersections.cpp",
684        "src/pathops/SkOpAngle.cpp",
685        "src/pathops/SkOpBuilder.cpp",
686        "src/pathops/SkOpCoincidence.cpp",
687        "src/pathops/SkOpContour.cpp",
688        "src/pathops/SkOpCubicHull.cpp",
689        "src/pathops/SkOpEdgeBuilder.cpp",
690        "src/pathops/SkOpSegment.cpp",
691        "src/pathops/SkOpSpan.cpp",
692        "src/pathops/SkPathOpsCommon.cpp",
693        "src/pathops/SkPathOpsConic.cpp",
694        "src/pathops/SkPathOpsCubic.cpp",
695        "src/pathops/SkPathOpsCurve.cpp",
696        "src/pathops/SkPathOpsDebug.cpp",
697        "src/pathops/SkPathOpsLine.cpp",
698        "src/pathops/SkPathOpsOp.cpp",
699        "src/pathops/SkPathOpsPoint.cpp",
700        "src/pathops/SkPathOpsQuad.cpp",
701        "src/pathops/SkPathOpsRect.cpp",
702        "src/pathops/SkPathOpsSimplify.cpp",
703        "src/pathops/SkPathOpsTSect.cpp",
704        "src/pathops/SkPathOpsTightBounds.cpp",
705        "src/pathops/SkPathOpsTypes.cpp",
706        "src/pathops/SkPathOpsWinding.cpp",
707        "src/pathops/SkPathWriter.cpp",
708        "src/pathops/SkReduceOrder.cpp",
709        "src/pdf/SkDeflate.cpp",
710        "src/pdf/SkJpegInfo.cpp",
711        "src/pdf/SkKeyedImage.cpp",
712        "src/pdf/SkPDFBitmap.cpp",
713        "src/pdf/SkPDFCanon.cpp",
714        "src/pdf/SkPDFConvertType1FontStream.cpp",
715        "src/pdf/SkPDFDevice.cpp",
716        "src/pdf/SkPDFDocument.cpp",
717        "src/pdf/SkPDFFont.cpp",
718        "src/pdf/SkPDFFormXObject.cpp",
719        "src/pdf/SkPDFGradientShader.cpp",
720        "src/pdf/SkPDFGraphicState.cpp",
721        "src/pdf/SkPDFMakeCIDGlyphWidthsArray.cpp",
722        "src/pdf/SkPDFMakeToUnicodeCmap.cpp",
723        "src/pdf/SkPDFMetadata.cpp",
724        "src/pdf/SkPDFResourceDict.cpp",
725        "src/pdf/SkPDFShader.cpp",
726        "src/pdf/SkPDFTypes.cpp",
727        "src/pdf/SkPDFUtils.cpp",
728        "src/pipe/SkPipeCanvas.cpp",
729        "src/pipe/SkPipeReader.cpp",
730        "src/ports/SkDebug_android.cpp",
731        "src/ports/SkDiscardableMemory_none.cpp",
732        "src/ports/SkFontHost_FreeType.cpp",
733        "src/ports/SkFontHost_FreeType_common.cpp",
734        "src/ports/SkFontMgr_android.cpp",
735        "src/ports/SkFontMgr_android_factory.cpp",
736        "src/ports/SkFontMgr_android_parser.cpp",
737        "src/ports/SkGlobalInitialization_default.cpp",
738        "src/ports/SkImageGenerator_skia.cpp",
739        "src/ports/SkMemory_malloc.cpp",
740        "src/ports/SkOSFile_posix.cpp",
741        "src/ports/SkOSFile_stdio.cpp",
742        "src/ports/SkOSLibrary_posix.cpp",
743        "src/ports/SkTLS_pthread.cpp",
744        "src/sfnt/SkOTTable_name.cpp",
745        "src/sfnt/SkOTUtils.cpp",
746        "src/shaders/SkBitmapProcShader.cpp",
747        "src/shaders/SkColorFilterShader.cpp",
748        "src/shaders/SkColorShader.cpp",
749        "src/shaders/SkComposeShader.cpp",
750        "src/shaders/SkImageShader.cpp",
751        "src/shaders/SkLocalMatrixShader.cpp",
752        "src/shaders/SkPerlinNoiseShader.cpp",
753        "src/shaders/SkPictureShader.cpp",
754        "src/shaders/SkShader.cpp",
755        "src/shaders/gradients/Sk4fGradientBase.cpp",
756        "src/shaders/gradients/Sk4fLinearGradient.cpp",
757        "src/shaders/gradients/SkGradientBitmapCache.cpp",
758        "src/shaders/gradients/SkGradientShader.cpp",
759        "src/shaders/gradients/SkLinearGradient.cpp",
760        "src/shaders/gradients/SkRadialGradient.cpp",
761        "src/shaders/gradients/SkSweepGradient.cpp",
762        "src/shaders/gradients/SkTwoPointConicalGradient.cpp",
763        "src/shaders/gradients/SkTwoPointConicalGradient_gpu.cpp",
764        "src/sksl/SkSLCFGGenerator.cpp",
765        "src/sksl/SkSLCPPCodeGenerator.cpp",
766        "src/sksl/SkSLCompiler.cpp",
767        "src/sksl/SkSLGLSLCodeGenerator.cpp",
768        "src/sksl/SkSLHCodeGenerator.cpp",
769        "src/sksl/SkSLIRGenerator.cpp",
770        "src/sksl/SkSLLayoutLexer.cpp",
771        "src/sksl/SkSLLexer.cpp",
772        "src/sksl/SkSLMetalCodeGenerator.cpp",
773        "src/sksl/SkSLParser.cpp",
774        "src/sksl/SkSLSPIRVCodeGenerator.cpp",
775        "src/sksl/SkSLString.cpp",
776        "src/sksl/SkSLUtil.cpp",
777        "src/sksl/ir/SkSLSetting.cpp",
778        "src/sksl/ir/SkSLSymbolTable.cpp",
779        "src/sksl/ir/SkSLType.cpp",
780        "src/svg/SkSVGCanvas.cpp",
781        "src/svg/SkSVGDevice.cpp",
782        "src/utils/SkBase64.cpp",
783        "src/utils/SkCamera.cpp",
784        "src/utils/SkCanvasStack.cpp",
785        "src/utils/SkCanvasStateUtils.cpp",
786        "src/utils/SkDashPath.cpp",
787        "src/utils/SkDumpCanvas.cpp",
788        "src/utils/SkEventTracer.cpp",
789        "src/utils/SkFloatToDecimal.cpp",
790        "src/utils/SkFrontBufferedStream.cpp",
791        "src/utils/SkInsetConvexPolygon.cpp",
792        "src/utils/SkInterpolator.cpp",
793        "src/utils/SkJSONWriter.cpp",
794        "src/utils/SkMatrix22.cpp",
795        "src/utils/SkMultiPictureDocument.cpp",
796        "src/utils/SkNWayCanvas.cpp",
797        "src/utils/SkNullCanvas.cpp",
798        "src/utils/SkOSPath.cpp",
799        "src/utils/SkPaintFilterCanvas.cpp",
800        "src/utils/SkParse.cpp",
801        "src/utils/SkParseColor.cpp",
802        "src/utils/SkParsePath.cpp",
803        "src/utils/SkPatchUtils.cpp",
804        "src/utils/SkShadowTessellator.cpp",
805        "src/utils/SkShadowUtils.cpp",
806        "src/utils/SkTextBox.cpp",
807        "src/utils/SkThreadUtils_pthread.cpp",
808        "src/utils/SkThreadUtils_win.cpp",
809        "src/utils/SkWhitelistTypefaces.cpp",
810        "src/utils/mac/SkCreateCGImageRef.cpp",
811        "src/utils/mac/SkStream_mac.cpp",
812        "src/utils/win/SkAutoCoInitialize.cpp",
813        "src/utils/win/SkDWrite.cpp",
814        "src/utils/win/SkDWriteFontFileStream.cpp",
815        "src/utils/win/SkDWriteGeometrySink.cpp",
816        "src/utils/win/SkHRESULT.cpp",
817        "src/utils/win/SkIStream.cpp",
818        "src/utils/win/SkWGL_win.cpp",
819        "src/xml/SkDOM.cpp",
820        "src/xml/SkXMLParser.cpp",
821        "src/xml/SkXMLWriter.cpp",
822        "src/xps/SkXPSDevice.cpp",
823        "src/xps/SkXPSDocument.cpp",
824        "third_party/gif/SkGifImageReader.cpp",
825    ],
826
827    arch: {
828        arm: {
829            srcs: [
830                "src/opts/SkBitmapProcState_opts_none.cpp",
831                "src/opts/SkBlitMask_opts_arm.cpp",
832                "src/opts/SkBlitRow_opts_arm.cpp",
833            ],
834
835            neon: {
836                srcs: [
837                    "src/opts/SkBitmapProcState_arm_neon.cpp",
838                    "src/opts/SkBitmapProcState_matrixProcs_neon.cpp",
839                    "src/opts/SkBlitMask_opts_arm_neon.cpp",
840                    "src/opts/SkBlitRow_opts_arm_neon.cpp",
841                ],
842            },
843        },
844
845        arm64: {
846            srcs: [
847                "src/opts/SkBitmapProcState_arm_neon.cpp",
848                "src/opts/SkBitmapProcState_matrixProcs_neon.cpp",
849                "src/opts/SkBitmapProcState_opts_none.cpp",
850                "src/opts/SkBlitMask_opts_arm.cpp",
851                "src/opts/SkBlitMask_opts_arm_neon.cpp",
852                "src/opts/SkBlitRow_opts_arm.cpp",
853                "src/opts/SkBlitRow_opts_arm_neon.cpp",
854                "src/opts/SkOpts_crc32.cpp",
855            ],
856        },
857
858        mips: {
859            srcs: [
860                "src/opts/SkBitmapProcState_opts_none.cpp",
861                "src/opts/SkBlitMask_opts_none.cpp",
862                "src/opts/SkBlitRow_opts_none.cpp",
863            ],
864        },
865
866        mips64: {
867            srcs: [
868                "src/opts/SkBitmapProcState_opts_none.cpp",
869                "src/opts/SkBlitMask_opts_none.cpp",
870                "src/opts/SkBlitRow_opts_none.cpp",
871            ],
872        },
873
874        x86: {
875            srcs: [
876                "src/opts/SkBitmapProcState_opts_SSE2.cpp",
877                "src/opts/SkBitmapProcState_opts_SSSE3.cpp",
878                "src/opts/SkBlitRow_opts_SSE2.cpp",
879                "src/opts/SkOpts_avx.cpp",
880                "src/opts/SkOpts_sse41.cpp",
881                "src/opts/SkOpts_sse42.cpp",
882                "src/opts/SkOpts_ssse3.cpp",
883                "src/opts/opts_check_x86.cpp",
884            ],
885            cflags: [
886                // Clang seems to think new/malloc will only be 4-byte aligned
887                // on x86 Android. We're pretty sure it's actually 8-byte
888                // alignment. tests/OverAlignedTest.cpp has more information,
889                // and should fail if we're wrong.
890                "-Wno-over-aligned"
891            ],
892        },
893
894        x86_64: {
895            srcs: [
896                "src/opts/SkBitmapProcState_opts_SSE2.cpp",
897                "src/opts/SkBitmapProcState_opts_SSSE3.cpp",
898                "src/opts/SkBlitRow_opts_SSE2.cpp",
899                "src/opts/SkOpts_avx.cpp",
900                "src/opts/SkOpts_sse41.cpp",
901                "src/opts/SkOpts_sse42.cpp",
902                "src/opts/SkOpts_ssse3.cpp",
903                "src/opts/opts_check_x86.cpp",
904            ],
905        },
906    },
907
908    defaults: ["skia_deps",
909               "skia_pgo",
910    ],
911}
912
913// Build libskia with PGO by default.
914// Location of PGO profile data is defined in build/soong/cc/pgo.go
915// and is separate from skia.
916// To turn it off, set ANDROID_PGO_NO_PROFILE_USE environment variable
917// or set enable_profile_use property to false.
918cc_defaults {
919    name: "skia_pgo",
920    pgo: {
921        instrumentation: true,
922        profile_file: "hwui/hwui.profdata",
923        benchmarks: ["hwui", "skia"],
924        enable_profile_use: true,
925    },
926}
927
928// "defaults" property to disable profile use for Skia tools and benchmarks.
929cc_defaults {
930    name: "skia_pgo_no_profile_use",
931    defaults: [
932        "skia_pgo",
933    ],
934    pgo: {
935        enable_profile_use: false,
936    },
937}
938
939cc_defaults {
940    name: "skia_deps",
941    shared_libs: [
942        "libEGL",
943        "libGLESv2",
944        "libdng_sdk",
945        "libexpat",
946        "libft2",
947        "libheif",
948        "libicui18n",
949        "libicuuc",
950        "libjpeg",
951        "liblog",
952        "libpiex",
953        "libpng",
954        "libvulkan",
955        "libz",
956        "libcutils",
957        "libnativewindow",
958    ],
959    static_libs: [
960        "libarect",
961        "libsfntly",
962        "libwebp-decode",
963        "libwebp-encode",
964    ],
965    group_static_libs: true,
966}
967
968cc_defaults {
969    name: "skia_tool_deps",
970    defaults: [
971        "skia_deps",
972        "skia_pgo_no_profile_use"
973    ],
974    static_libs: [
975        "libjsoncpp",
976        "libskia",
977    ],
978    cflags: [
979        "-Wno-unused-parameter",
980        "-Wno-unused-variable",
981    ],
982}
983
984cc_test {
985    name: "skia_dm",
986
987    defaults: [
988        "skia_tool_deps"
989    ],
990
991    local_include_dirs: [
992        "experimental/skottie/",
993        "experimental/sksg/",
994        "experimental/sksg/effects/",
995        "experimental/sksg/geometry/",
996        "experimental/sksg/paint/",
997        "experimental/svg/model/",
998        "gm/",
999        "include/android/",
1000        "include/atlastext/",
1001        "include/c/",
1002        "include/codec/",
1003        "include/config/",
1004        "include/core/",
1005        "include/effects/",
1006        "include/encode/",
1007        "include/gpu/",
1008        "include/gpu/gl/",
1009        "include/gpu/vk/",
1010        "include/pathops/",
1011        "include/ports/",
1012        "include/private/",
1013        "include/svg/",
1014        "include/utils/",
1015        "include/utils/mac/",
1016        "src/c/",
1017        "src/codec/",
1018        "src/core/",
1019        "src/effects/",
1020        "src/fonts/",
1021        "src/gpu/",
1022        "src/image/",
1023        "src/images/",
1024        "src/lazy/",
1025        "src/opts/",
1026        "src/pathops/",
1027        "src/pdf/",
1028        "src/ports/",
1029        "src/sfnt/",
1030        "src/shaders/",
1031        "src/shaders/gradients/",
1032        "src/sksl/",
1033        "src/utils/",
1034        "src/utils/win/",
1035        "src/xml/",
1036        "tests/",
1037        "third_party/gif/",
1038        "tools/",
1039        "tools/debugger/",
1040        "tools/flags/",
1041        "tools/fonts/",
1042        "tools/gpu/",
1043        "tools/timer/",
1044        "tools/trace/",
1045    ],
1046
1047    srcs: [
1048        "dm/DM.cpp",
1049        "dm/DMGpuTestProcs.cpp",
1050        "dm/DMJsonWriter.cpp",
1051        "dm/DMSrcSink.cpp",
1052        "experimental/skottie/Skottie.cpp",
1053        "experimental/skottie/SkottieAnimator.cpp",
1054        "experimental/skottie/SkottieParser.cpp",
1055        "experimental/skottie/SkottieProperties.cpp",
1056        "experimental/sksg/SkSGDraw.cpp",
1057        "experimental/sksg/SkSGEffectNode.cpp",
1058        "experimental/sksg/SkSGGeometryNode.cpp",
1059        "experimental/sksg/SkSGGroup.cpp",
1060        "experimental/sksg/SkSGImage.cpp",
1061        "experimental/sksg/SkSGInvalidationController.cpp",
1062        "experimental/sksg/SkSGNode.cpp",
1063        "experimental/sksg/SkSGPaintNode.cpp",
1064        "experimental/sksg/SkSGRenderNode.cpp",
1065        "experimental/sksg/SkSGScene.cpp",
1066        "experimental/sksg/effects/SkSGClipEffect.cpp",
1067        "experimental/sksg/effects/SkSGMaskEffect.cpp",
1068        "experimental/sksg/effects/SkSGOpacityEffect.cpp",
1069        "experimental/sksg/effects/SkSGTransform.cpp",
1070        "experimental/sksg/geometry/SkSGGeometryTransform.cpp",
1071        "experimental/sksg/geometry/SkSGMerge.cpp",
1072        "experimental/sksg/geometry/SkSGPath.cpp",
1073        "experimental/sksg/geometry/SkSGPlane.cpp",
1074        "experimental/sksg/geometry/SkSGRect.cpp",
1075        "experimental/sksg/geometry/SkSGText.cpp",
1076        "experimental/sksg/geometry/SkSGTrimEffect.cpp",
1077        "experimental/sksg/paint/SkSGColor.cpp",
1078        "experimental/sksg/paint/SkSGGradient.cpp",
1079        "experimental/svg/model/SkSVGAttribute.cpp",
1080        "experimental/svg/model/SkSVGAttributeParser.cpp",
1081        "experimental/svg/model/SkSVGCircle.cpp",
1082        "experimental/svg/model/SkSVGClipPath.cpp",
1083        "experimental/svg/model/SkSVGContainer.cpp",
1084        "experimental/svg/model/SkSVGDOM.cpp",
1085        "experimental/svg/model/SkSVGEllipse.cpp",
1086        "experimental/svg/model/SkSVGGradient.cpp",
1087        "experimental/svg/model/SkSVGLine.cpp",
1088        "experimental/svg/model/SkSVGLinearGradient.cpp",
1089        "experimental/svg/model/SkSVGNode.cpp",
1090        "experimental/svg/model/SkSVGPath.cpp",
1091        "experimental/svg/model/SkSVGPattern.cpp",
1092        "experimental/svg/model/SkSVGPoly.cpp",
1093        "experimental/svg/model/SkSVGRadialGradient.cpp",
1094        "experimental/svg/model/SkSVGRect.cpp",
1095        "experimental/svg/model/SkSVGRenderContext.cpp",
1096        "experimental/svg/model/SkSVGSVG.cpp",
1097        "experimental/svg/model/SkSVGShape.cpp",
1098        "experimental/svg/model/SkSVGStop.cpp",
1099        "experimental/svg/model/SkSVGTransformableNode.cpp",
1100        "experimental/svg/model/SkSVGUse.cpp",
1101        "experimental/svg/model/SkSVGValue.cpp",
1102        "gm/OverStroke.cpp",
1103        "gm/aaa.cpp",
1104        "gm/aaclip.cpp",
1105        "gm/aarectmodes.cpp",
1106        "gm/aaxfermodes.cpp",
1107        "gm/addarc.cpp",
1108        "gm/all_bitmap_configs.cpp",
1109        "gm/alpha_image.cpp",
1110        "gm/alphagradients.cpp",
1111        "gm/animatedGif.cpp",
1112        "gm/animatedimageblurs.cpp",
1113        "gm/anisotropic.cpp",
1114        "gm/annotated_text.cpp",
1115        "gm/arcofzorro.cpp",
1116        "gm/arcto.cpp",
1117        "gm/arithmode.cpp",
1118        "gm/atlastext.cpp",
1119        "gm/badpaint.cpp",
1120        "gm/beziereffects.cpp",
1121        "gm/beziers.cpp",
1122        "gm/bigblurs.cpp",
1123        "gm/bigmatrix.cpp",
1124        "gm/bigrect.cpp",
1125        "gm/bigrrectaaeffect.cpp",
1126        "gm/bigtext.cpp",
1127        "gm/bigtileimagefilter.cpp",
1128        "gm/bitmapcopy.cpp",
1129        "gm/bitmapfilters.cpp",
1130        "gm/bitmapimage.cpp",
1131        "gm/bitmappremul.cpp",
1132        "gm/bitmaprect.cpp",
1133        "gm/bitmaprecttest.cpp",
1134        "gm/bitmapshader.cpp",
1135        "gm/bitmaptiled.cpp",
1136        "gm/bleed.cpp",
1137        "gm/blend.cpp",
1138        "gm/blurcircles.cpp",
1139        "gm/blurcircles2.cpp",
1140        "gm/blurignorexform.cpp",
1141        "gm/blurimagevmask.cpp",
1142        "gm/blurquickreject.cpp",
1143        "gm/blurrect.cpp",
1144        "gm/blurredclippedcircle.cpp",
1145        "gm/blurroundrect.cpp",
1146        "gm/blurs.cpp",
1147        "gm/blurtextsmallradii.cpp",
1148        "gm/bmpfilterqualityrepeat.cpp",
1149        "gm/bug5252.cpp",
1150        "gm/bug530095.cpp",
1151        "gm/bug615686.cpp",
1152        "gm/bug6643.cpp",
1153        "gm/bug6783.cpp",
1154        "gm/cgm.c",
1155        "gm/cgms.cpp",
1156        "gm/circle_sizes.cpp",
1157        "gm/circles.cpp",
1158        "gm/circulararcs.cpp",
1159        "gm/circularclips.cpp",
1160        "gm/clip_error.cpp",
1161        "gm/clip_strokerect.cpp",
1162        "gm/clipdrawdraw.cpp",
1163        "gm/clippedbitmapshaders.cpp",
1164        "gm/color4f.cpp",
1165        "gm/coloremoji.cpp",
1166        "gm/coloremoji_blendmodes.cpp",
1167        "gm/colorfilteralpha8.cpp",
1168        "gm/colorfilterimagefilter.cpp",
1169        "gm/colorfilters.cpp",
1170        "gm/colormatrix.cpp",
1171        "gm/colorspacexform.cpp",
1172        "gm/colorwheel.cpp",
1173        "gm/complexclip.cpp",
1174        "gm/complexclip2.cpp",
1175        "gm/complexclip3.cpp",
1176        "gm/complexclip4.cpp",
1177        "gm/complexclip_blur_tiled.cpp",
1178        "gm/composeshader.cpp",
1179        "gm/concavepaths.cpp",
1180        "gm/conicpaths.cpp",
1181        "gm/constcolorprocessor.cpp",
1182        "gm/convex_all_line_paths.cpp",
1183        "gm/convexpaths.cpp",
1184        "gm/convexpolyclip.cpp",
1185        "gm/convexpolyeffect.cpp",
1186        "gm/copyTo4444.cpp",
1187        "gm/crbug_691386.cpp",
1188        "gm/crbug_788500.cpp",
1189        "gm/croppedrects.cpp",
1190        "gm/crosscontextimage.cpp",
1191        "gm/cubicpaths.cpp",
1192        "gm/dashcircle.cpp",
1193        "gm/dashcubics.cpp",
1194        "gm/dashing.cpp",
1195        "gm/degeneratesegments.cpp",
1196        "gm/dftext.cpp",
1197        "gm/dftext_blob_persp.cpp",
1198        "gm/discard.cpp",
1199        "gm/displacement.cpp",
1200        "gm/distantclip.cpp",
1201        "gm/downsamplebitmap.cpp",
1202        "gm/draw_bitmap_rect_skbug4374.cpp",
1203        "gm/drawable.cpp",
1204        "gm/drawatlas.cpp",
1205        "gm/drawatlascolor.cpp",
1206        "gm/drawbitmaprect.cpp",
1207        "gm/drawfilter.cpp",
1208        "gm/drawlooper.cpp",
1209        "gm/drawminibitmaprect.cpp",
1210        "gm/drawregion.cpp",
1211        "gm/drawregionmodes.cpp",
1212        "gm/dropshadowimagefilter.cpp",
1213        "gm/drrect.cpp",
1214        "gm/drrect_small_inner.cpp",
1215        "gm/dstreadshuffle.cpp",
1216        "gm/emboss.cpp",
1217        "gm/emptypath.cpp",
1218        "gm/encode-alpha-jpeg.cpp",
1219        "gm/encode-platform.cpp",
1220        "gm/encode-srgb.cpp",
1221        "gm/encode.cpp",
1222        "gm/extractbitmap.cpp",
1223        "gm/fadefilter.cpp",
1224        "gm/fatpathfill.cpp",
1225        "gm/filltypes.cpp",
1226        "gm/filltypespersp.cpp",
1227        "gm/filterbitmap.cpp",
1228        "gm/filterbug.cpp",
1229        "gm/filterfastbounds.cpp",
1230        "gm/filterindiabox.cpp",
1231        "gm/flippity.cpp",
1232        "gm/fontcache.cpp",
1233        "gm/fontmgr.cpp",
1234        "gm/fontscaler.cpp",
1235        "gm/fontscalerdistortable.cpp",
1236        "gm/gamma.cpp",
1237        "gm/gammaencodedpremul.cpp",
1238        "gm/gammatext.cpp",
1239        "gm/gamut.cpp",
1240        "gm/getpostextpath.cpp",
1241        "gm/giantbitmap.cpp",
1242        "gm/glyph_pos.cpp",
1243        "gm/glyph_pos_align.cpp",
1244        "gm/gm.cpp",
1245        "gm/gradientDirtyLaundry.cpp",
1246        "gm/gradient_matrix.cpp",
1247        "gm/gradients.cpp",
1248        "gm/gradients_2pt_conical.cpp",
1249        "gm/gradients_no_texture.cpp",
1250        "gm/gradtext.cpp",
1251        "gm/grayscalejpg.cpp",
1252        "gm/hairlines.cpp",
1253        "gm/hairmodes.cpp",
1254        "gm/hardstop_gradients.cpp",
1255        "gm/highcontrastfilter.cpp",
1256        "gm/hittestpath.cpp",
1257        "gm/hsl.cpp",
1258        "gm/hugepath.cpp",
1259        "gm/image.cpp",
1260        "gm/image_pict.cpp",
1261        "gm/image_shader.cpp",
1262        "gm/imagealphathreshold.cpp",
1263        "gm/imageblur.cpp",
1264        "gm/imageblur2.cpp",
1265        "gm/imageblurclampmode.cpp",
1266        "gm/imageblurrepeatmode.cpp",
1267        "gm/imageblurtiled.cpp",
1268        "gm/imagefilters.cpp",
1269        "gm/imagefiltersbase.cpp",
1270        "gm/imagefiltersclipped.cpp",
1271        "gm/imagefilterscropexpand.cpp",
1272        "gm/imagefilterscropped.cpp",
1273        "gm/imagefiltersgraph.cpp",
1274        "gm/imagefiltersscaled.cpp",
1275        "gm/imagefiltersstroked.cpp",
1276        "gm/imagefilterstransformed.cpp",
1277        "gm/imagefromyuvtextures.cpp",
1278        "gm/imagemagnifier.cpp",
1279        "gm/imagemakewithfilter.cpp",
1280        "gm/imagemasksubset.cpp",
1281        "gm/imageresizetiled.cpp",
1282        "gm/imagescalealigned.cpp",
1283        "gm/imagesource.cpp",
1284        "gm/imagesource2.cpp",
1285        "gm/internal_links.cpp",
1286        "gm/inversepaths.cpp",
1287        "gm/jpg_color_cube.cpp",
1288        "gm/largeglyphblur.cpp",
1289        "gm/lattice.cpp",
1290        "gm/lcdblendmodes.cpp",
1291        "gm/lcdoverlap.cpp",
1292        "gm/lcdtext.cpp",
1293        "gm/lighting.cpp",
1294        "gm/linepaths.cpp",
1295        "gm/localmatriximagefilter.cpp",
1296        "gm/localmatriximageshader.cpp",
1297        "gm/lumafilter.cpp",
1298        "gm/makeRasterImage.cpp",
1299        "gm/makecolorspace.cpp",
1300        "gm/manypaths.cpp",
1301        "gm/matrixconvolution.cpp",
1302        "gm/matriximagefilter.cpp",
1303        "gm/megalooper.cpp",
1304        "gm/mipmap.cpp",
1305        "gm/mixedtextblobs.cpp",
1306        "gm/modecolorfilters.cpp",
1307        "gm/morphology.cpp",
1308        "gm/multipicturedraw.cpp",
1309        "gm/nested.cpp",
1310        "gm/ninepatchstretch.cpp",
1311        "gm/nonclosedpaths.cpp",
1312        "gm/occludedrrectblur.cpp",
1313        "gm/offsetimagefilter.cpp",
1314        "gm/orientation.cpp",
1315        "gm/ovals.cpp",
1316        "gm/overdrawcolorfilter.cpp",
1317        "gm/patch.cpp",
1318        "gm/path_stroke_with_zero_length.cpp",
1319        "gm/pathcontourstart.cpp",
1320        "gm/patheffects.cpp",
1321        "gm/pathfill.cpp",
1322        "gm/pathinterior.cpp",
1323        "gm/pathmaskcache.cpp",
1324        "gm/pathopsinverse.cpp",
1325        "gm/pathopsskpclip.cpp",
1326        "gm/pathreverse.cpp",
1327        "gm/pdf_never_embed.cpp",
1328        "gm/perlinnoise.cpp",
1329        "gm/perspshaders.cpp",
1330        "gm/picture.cpp",
1331        "gm/pictureimagefilter.cpp",
1332        "gm/pictureimagegenerator.cpp",
1333        "gm/pictureshader.cpp",
1334        "gm/pictureshadercache.cpp",
1335        "gm/pictureshadertile.cpp",
1336        "gm/pixelsnap.cpp",
1337        "gm/plus.cpp",
1338        "gm/points.cpp",
1339        "gm/poly2poly.cpp",
1340        "gm/polygons.cpp",
1341        "gm/quadpaths.cpp",
1342        "gm/radial_gradient_precision.cpp",
1343        "gm/readpixels.cpp",
1344        "gm/recordopts.cpp",
1345        "gm/rectangletexture.cpp",
1346        "gm/rects.cpp",
1347        "gm/repeated_bitmap.cpp",
1348        "gm/resizeimagefilter.cpp",
1349        "gm/reveal.cpp",
1350        "gm/roundrects.cpp",
1351        "gm/rrect.cpp",
1352        "gm/rrectclipdrawpaint.cpp",
1353        "gm/rrects.cpp",
1354        "gm/samplerstress.cpp",
1355        "gm/savelayer.cpp",
1356        "gm/scaledemoji.cpp",
1357        "gm/scaledstrokes.cpp",
1358        "gm/shadermaskfilter.cpp",
1359        "gm/shadertext.cpp",
1360        "gm/shadertext2.cpp",
1361        "gm/shadertext3.cpp",
1362        "gm/shadows.cpp",
1363        "gm/shadowutils.cpp",
1364        "gm/shallowgradient.cpp",
1365        "gm/shapes.cpp",
1366        "gm/shapes_as_paths.cpp",
1367        "gm/showmiplevels.cpp",
1368        "gm/simple_magnification.cpp",
1369        "gm/simpleaaclip.cpp",
1370        "gm/simplerect.cpp",
1371        "gm/skbug1719.cpp",
1372        "gm/skbug_257.cpp",
1373        "gm/skbug_4868.cpp",
1374        "gm/skbug_5321.cpp",
1375        "gm/smallarc.cpp",
1376        "gm/smallpaths.cpp",
1377        "gm/spritebitmap.cpp",
1378        "gm/srcmode.cpp",
1379        "gm/srgb.cpp",
1380        "gm/stlouisarch.cpp",
1381        "gm/stringart.cpp",
1382        "gm/stroke_rect_shader.cpp",
1383        "gm/strokedlines.cpp",
1384        "gm/strokefill.cpp",
1385        "gm/strokerect.cpp",
1386        "gm/strokerects.cpp",
1387        "gm/strokes.cpp",
1388        "gm/stroketext.cpp",
1389        "gm/subsetshader.cpp",
1390        "gm/surface.cpp",
1391        "gm/tablecolorfilter.cpp",
1392        "gm/tallstretchedbitmaps.cpp",
1393        "gm/testgradient.cpp",
1394        "gm/texdata.cpp",
1395        "gm/text_scale_skew.cpp",
1396        "gm/textblob.cpp",
1397        "gm/textblobblockreordering.cpp",
1398        "gm/textblobcolortrans.cpp",
1399        "gm/textblobgeometrychange.cpp",
1400        "gm/textbloblooper.cpp",
1401        "gm/textblobmixedsizes.cpp",
1402        "gm/textblobrandomfont.cpp",
1403        "gm/textblobshader.cpp",
1404        "gm/textblobtransforms.cpp",
1405        "gm/textblobuseaftergpufree.cpp",
1406        "gm/texteffects.cpp",
1407        "gm/texturedomaineffect.cpp",
1408        "gm/thinconcavepaths.cpp",
1409        "gm/thinrects.cpp",
1410        "gm/thinstrokedrects.cpp",
1411        "gm/tiledscaledbitmap.cpp",
1412        "gm/tileimagefilter.cpp",
1413        "gm/tilemodes.cpp",
1414        "gm/tilemodes_scaled.cpp",
1415        "gm/tinybitmap.cpp",
1416        "gm/tonalshadows.cpp",
1417        "gm/tosrgb_colorfilter.cpp",
1418        "gm/transparency.cpp",
1419        "gm/typeface.cpp",
1420        "gm/variedtext.cpp",
1421        "gm/vertices.cpp",
1422        "gm/verttext.cpp",
1423        "gm/verttext2.cpp",
1424        "gm/verylargebitmap.cpp",
1425        "gm/windowrectangles.cpp",
1426        "gm/xfermodeimagefilter.cpp",
1427        "gm/xfermodes.cpp",
1428        "gm/xfermodes2.cpp",
1429        "gm/xfermodes3.cpp",
1430        "gm/yuvtorgbeffect.cpp",
1431        "tests/AAClipTest.cpp",
1432        "tests/AndroidCodecTest.cpp",
1433        "tests/AnimatedImageTest.cpp",
1434        "tests/AnnotationTest.cpp",
1435        "tests/ApplyGammaTest.cpp",
1436        "tests/ArenaAllocTest.cpp",
1437        "tests/AsADashTest.cpp",
1438        "tests/BadIcoTest.cpp",
1439        "tests/BitSetTest.cpp",
1440        "tests/BitmapCopyTest.cpp",
1441        "tests/BitmapGetColorTest.cpp",
1442        "tests/BitmapTest.cpp",
1443        "tests/BlendTest.cpp",
1444        "tests/BlitMaskClip.cpp",
1445        "tests/BlurTest.cpp",
1446        "tests/CPlusPlusEleven.cpp",
1447        "tests/CTest.cpp",
1448        "tests/CachedDataTest.cpp",
1449        "tests/CachedDecodingPixelRefTest.cpp",
1450        "tests/CanvasStateHelpers.cpp",
1451        "tests/CanvasStateTest.cpp",
1452        "tests/CanvasTest.cpp",
1453        "tests/ChecksumTest.cpp",
1454        "tests/ClearTest.cpp",
1455        "tests/ClipBoundsTest.cpp",
1456        "tests/ClipCubicTest.cpp",
1457        "tests/ClipStackTest.cpp",
1458        "tests/ClipperTest.cpp",
1459        "tests/CodecAnimTest.cpp",
1460        "tests/CodecExactReadTest.cpp",
1461        "tests/CodecPartialTest.cpp",
1462        "tests/CodecRecommendedTypeTest.cpp",
1463        "tests/CodecTest.cpp",
1464        "tests/ColorFilterTest.cpp",
1465        "tests/ColorMatrixTest.cpp",
1466        "tests/ColorPrivTest.cpp",
1467        "tests/ColorSpaceTest.cpp",
1468        "tests/ColorSpaceXformTest.cpp",
1469        "tests/ColorTest.cpp",
1470        "tests/CopySurfaceTest.cpp",
1471        "tests/DFPathRendererTest.cpp",
1472        "tests/DashPathEffectTest.cpp",
1473        "tests/DataRefTest.cpp",
1474        "tests/DefaultPathRendererTest.cpp",
1475        "tests/DeferredDisplayListTest.cpp",
1476        "tests/DequeTest.cpp",
1477        "tests/DetermineDomainModeTest.cpp",
1478        "tests/DeviceLooperTest.cpp",
1479        "tests/DeviceTest.cpp",
1480        "tests/DiscardableMemoryPoolTest.cpp",
1481        "tests/DiscardableMemoryTest.cpp",
1482        "tests/DrawBitmapRectTest.cpp",
1483        "tests/DrawFilterTest.cpp",
1484        "tests/DrawOpAtlasTest.cpp",
1485        "tests/DrawPathTest.cpp",
1486        "tests/DrawTextTest.cpp",
1487        "tests/DynamicHashTest.cpp",
1488        "tests/EGLImageTest.cpp",
1489        "tests/EmptyPathTest.cpp",
1490        "tests/EncodeTest.cpp",
1491        "tests/ExifTest.cpp",
1492        "tests/F16StagesTest.cpp",
1493        "tests/FillPathTest.cpp",
1494        "tests/FitsInTest.cpp",
1495        "tests/FlattenDrawableTest.cpp",
1496        "tests/FlattenableCustomFactory.cpp",
1497        "tests/FlattenableFactoryToName.cpp",
1498        "tests/FlattenableNameToFactory.cpp",
1499        "tests/Float16Test.cpp",
1500        "tests/FloatingPointTextureTest.cpp",
1501        "tests/FontHostStreamTest.cpp",
1502        "tests/FontHostTest.cpp",
1503        "tests/FontMgrAndroidParserTest.cpp",
1504        "tests/FontMgrTest.cpp",
1505        "tests/FontNamesTest.cpp",
1506        "tests/FontObjTest.cpp",
1507        "tests/FrontBufferedStreamTest.cpp",
1508        "tests/GLProgramsTest.cpp",
1509        "tests/GeometryTest.cpp",
1510        "tests/GifTest.cpp",
1511        "tests/GpuDrawPathTest.cpp",
1512        "tests/GpuLayerCacheTest.cpp",
1513        "tests/GpuRectanizerTest.cpp",
1514        "tests/GrAllocatorTest.cpp",
1515        "tests/GrCCPRTest.cpp",
1516        "tests/GrContextAbandonTest.cpp",
1517        "tests/GrContextFactoryTest.cpp",
1518        "tests/GrGLExtensionsTest.cpp",
1519        "tests/GrMemoryPoolTest.cpp",
1520        "tests/GrMeshTest.cpp",
1521        "tests/GrMipMappedTest.cpp",
1522        "tests/GrPipelineDynamicStateTest.cpp",
1523        "tests/GrPorterDuffTest.cpp",
1524        "tests/GrSKSLPrettyPrintTest.cpp",
1525        "tests/GrShapeTest.cpp",
1526        "tests/GrSurfaceTest.cpp",
1527        "tests/GrTRecorderTest.cpp",
1528        "tests/GrTextureMipMapInvalidationTest.cpp",
1529        "tests/GradientTest.cpp",
1530        "tests/HSVRoundTripTest.cpp",
1531        "tests/HashTest.cpp",
1532        "tests/HighContrastFilterTest.cpp",
1533        "tests/ICCTest.cpp",
1534        "tests/ImageCacheTest.cpp",
1535        "tests/ImageFilterCacheTest.cpp",
1536        "tests/ImageFilterTest.cpp",
1537        "tests/ImageFrom565Bitmap.cpp",
1538        "tests/ImageGeneratorTest.cpp",
1539        "tests/ImageIsOpaqueTest.cpp",
1540        "tests/ImageNewShaderTest.cpp",
1541        "tests/ImageTest.cpp",
1542        "tests/IndexedPngOverflowTest.cpp",
1543        "tests/InfRectTest.cpp",
1544        "tests/InsetConvexPolyTest.cpp",
1545        "tests/InterpolatorTest.cpp",
1546        "tests/InvalidIndexedPngTest.cpp",
1547        "tests/IsClosedSingleContourTest.cpp",
1548        "tests/LListTest.cpp",
1549        "tests/LRUCacheTest.cpp",
1550        "tests/LayerDrawLooperTest.cpp",
1551        "tests/LazyProxyTest.cpp",
1552        "tests/MD5Test.cpp",
1553        "tests/MallocPixelRefTest.cpp",
1554        "tests/MaskCacheTest.cpp",
1555        "tests/MathTest.cpp",
1556        "tests/Matrix44Test.cpp",
1557        "tests/MatrixClipCollapseTest.cpp",
1558        "tests/MatrixTest.cpp",
1559        "tests/MemoryTest.cpp",
1560        "tests/MemsetTest.cpp",
1561        "tests/MessageBusTest.cpp",
1562        "tests/MetaDataTest.cpp",
1563        "tests/MipMapTest.cpp",
1564        "tests/OSPathTest.cpp",
1565        "tests/OnFlushCallbackTest.cpp",
1566        "tests/OnceTest.cpp",
1567        "tests/OverAlignedTest.cpp",
1568        "tests/PDFDeflateWStreamTest.cpp",
1569        "tests/PDFDocumentTest.cpp",
1570        "tests/PDFGlyphsToUnicodeTest.cpp",
1571        "tests/PDFJpegEmbedTest.cpp",
1572        "tests/PDFMetadataAttributeTest.cpp",
1573        "tests/PDFOpaqueSrcModeToSrcOverTest.cpp",
1574        "tests/PDFPrimitivesTest.cpp",
1575        "tests/PackBitsTest.cpp",
1576        "tests/PackedConfigsTextureTest.cpp",
1577        "tests/PaintBreakTextTest.cpp",
1578        "tests/PaintImageFilterTest.cpp",
1579        "tests/PaintTest.cpp",
1580        "tests/ParametricStageTest.cpp",
1581        "tests/ParsePathTest.cpp",
1582        "tests/PathCoverageTest.cpp",
1583        "tests/PathMeasureTest.cpp",
1584        "tests/PathOpsAngleIdeas.cpp",
1585        "tests/PathOpsAngleTest.cpp",
1586        "tests/PathOpsBattles.cpp",
1587        "tests/PathOpsBoundsTest.cpp",
1588        "tests/PathOpsBuildUseTest.cpp",
1589        "tests/PathOpsBuilderConicTest.cpp",
1590        "tests/PathOpsBuilderTest.cpp",
1591        "tests/PathOpsChalkboardTest.cpp",
1592        "tests/PathOpsConicIntersectionTest.cpp",
1593        "tests/PathOpsConicLineIntersectionTest.cpp",
1594        "tests/PathOpsConicQuadIntersectionTest.cpp",
1595        "tests/PathOpsCubicConicIntersectionTest.cpp",
1596        "tests/PathOpsCubicIntersectionTest.cpp",
1597        "tests/PathOpsCubicIntersectionTestData.cpp",
1598        "tests/PathOpsCubicLineIntersectionIdeas.cpp",
1599        "tests/PathOpsCubicLineIntersectionTest.cpp",
1600        "tests/PathOpsCubicQuadIntersectionTest.cpp",
1601        "tests/PathOpsCubicReduceOrderTest.cpp",
1602        "tests/PathOpsDCubicTest.cpp",
1603        "tests/PathOpsDLineTest.cpp",
1604        "tests/PathOpsDPointTest.cpp",
1605        "tests/PathOpsDRectTest.cpp",
1606        "tests/PathOpsDVectorTest.cpp",
1607        "tests/PathOpsDebug.cpp",
1608        "tests/PathOpsExtendedTest.cpp",
1609        "tests/PathOpsFuzz763Test.cpp",
1610        "tests/PathOpsInverseTest.cpp",
1611        "tests/PathOpsIssue3651.cpp",
1612        "tests/PathOpsLineIntersectionTest.cpp",
1613        "tests/PathOpsLineParametetersTest.cpp",
1614        "tests/PathOpsOpCircleThreadedTest.cpp",
1615        "tests/PathOpsOpCubicThreadedTest.cpp",
1616        "tests/PathOpsOpLoopThreadedTest.cpp",
1617        "tests/PathOpsOpRectThreadedTest.cpp",
1618        "tests/PathOpsOpTest.cpp",
1619        "tests/PathOpsQuadIntersectionTest.cpp",
1620        "tests/PathOpsQuadIntersectionTestData.cpp",
1621        "tests/PathOpsQuadLineIntersectionTest.cpp",
1622        "tests/PathOpsQuadLineIntersectionThreadedTest.cpp",
1623        "tests/PathOpsQuadReduceOrderTest.cpp",
1624        "tests/PathOpsSimplifyDegenerateThreadedTest.cpp",
1625        "tests/PathOpsSimplifyFailTest.cpp",
1626        "tests/PathOpsSimplifyQuadThreadedTest.cpp",
1627        "tests/PathOpsSimplifyQuadralateralsThreadedTest.cpp",
1628        "tests/PathOpsSimplifyRectThreadedTest.cpp",
1629        "tests/PathOpsSimplifyTest.cpp",
1630        "tests/PathOpsSimplifyTrianglesThreadedTest.cpp",
1631        "tests/PathOpsSkpTest.cpp",
1632        "tests/PathOpsTestCommon.cpp",
1633        "tests/PathOpsThreadedCommon.cpp",
1634        "tests/PathOpsThreeWayTest.cpp",
1635        "tests/PathOpsTigerTest.cpp",
1636        "tests/PathOpsTightBoundsTest.cpp",
1637        "tests/PathOpsTypesTest.cpp",
1638        "tests/PathRendererCacheTests.cpp",
1639        "tests/PathTest.cpp",
1640        "tests/PictureBBHTest.cpp",
1641        "tests/PictureShaderTest.cpp",
1642        "tests/PictureTest.cpp",
1643        "tests/PinnedImageTest.cpp",
1644        "tests/PipeTest.cpp",
1645        "tests/PixelRefTest.cpp",
1646        "tests/Point3Test.cpp",
1647        "tests/PointTest.cpp",
1648        "tests/PremulAlphaRoundTripTest.cpp",
1649        "tests/PrimitiveProcessorTest.cpp",
1650        "tests/ProcessorTest.cpp",
1651        "tests/ProxyConversionTest.cpp",
1652        "tests/ProxyRefTest.cpp",
1653        "tests/ProxyTest.cpp",
1654        "tests/QuickRejectTest.cpp",
1655        "tests/RRectInPathTest.cpp",
1656        "tests/RTreeTest.cpp",
1657        "tests/RandomTest.cpp",
1658        "tests/ReadPixelsTest.cpp",
1659        "tests/ReadWriteAlphaTest.cpp",
1660        "tests/Reader32Test.cpp",
1661        "tests/RecordDrawTest.cpp",
1662        "tests/RecordOptsTest.cpp",
1663        "tests/RecordPatternTest.cpp",
1664        "tests/RecordTest.cpp",
1665        "tests/RecorderTest.cpp",
1666        "tests/RecordingXfermodeTest.cpp",
1667        "tests/RectTest.cpp",
1668        "tests/RectangleTextureTest.cpp",
1669        "tests/RefCntTest.cpp",
1670        "tests/RefDictTest.cpp",
1671        "tests/RegionTest.cpp",
1672        "tests/RenderTargetContextTest.cpp",
1673        "tests/ResourceAllocatorTest.cpp",
1674        "tests/ResourceCacheTest.cpp",
1675        "tests/RoundRectTest.cpp",
1676        "tests/SGTest.cpp",
1677        "tests/SRGBMipMapTest.cpp",
1678        "tests/SRGBReadWritePixelsTest.cpp",
1679        "tests/SRGBTest.cpp",
1680        "tests/SVGDeviceTest.cpp",
1681        "tests/SafeMathTest.cpp",
1682        "tests/ScalarTest.cpp",
1683        "tests/ScaleToSidesTest.cpp",
1684        "tests/SerialProcsTest.cpp",
1685        "tests/SerializationTest.cpp",
1686        "tests/ShaderOpacityTest.cpp",
1687        "tests/ShaderTest.cpp",
1688        "tests/ShadowTest.cpp",
1689        "tests/SizeTest.cpp",
1690        "tests/Sk4x4fTest.cpp",
1691        "tests/SkBase64Test.cpp",
1692        "tests/SkColor4fTest.cpp",
1693        "tests/SkColorSpace_NewTest.cpp",
1694        "tests/SkDOMTest.cpp",
1695        "tests/SkFixed15Test.cpp",
1696        "tests/SkGaussFilterTest.cpp",
1697        "tests/SkImageTest.cpp",
1698        "tests/SkLiteDLTest.cpp",
1699        "tests/SkNxTest.cpp",
1700        "tests/SkPEGTest.cpp",
1701        "tests/SkRasterPipelineTest.cpp",
1702        "tests/SkResourceCacheTest.cpp",
1703        "tests/SkSLErrorTest.cpp",
1704        "tests/SkSLFPTest.cpp",
1705        "tests/SkSLGLSLTest.cpp",
1706        "tests/SkSLMemoryLayoutTest.cpp",
1707        "tests/SkSLSPIRVTest.cpp",
1708        "tests/SkSharedMutexTest.cpp",
1709        "tests/SortTest.cpp",
1710        "tests/SpecialImageTest.cpp",
1711        "tests/SpecialSurfaceTest.cpp",
1712        "tests/SrcOverTest.cpp",
1713        "tests/StreamBufferTest.cpp",
1714        "tests/StreamTest.cpp",
1715        "tests/StringTest.cpp",
1716        "tests/StrokeTest.cpp",
1717        "tests/StrokerTest.cpp",
1718        "tests/SubsetPath.cpp",
1719        "tests/SurfaceSemaphoreTest.cpp",
1720        "tests/SurfaceTest.cpp",
1721        "tests/SwizzlerTest.cpp",
1722        "tests/TArrayTest.cpp",
1723        "tests/TDPQueueTest.cpp",
1724        "tests/TLSTest.cpp",
1725        "tests/TableColorFilterTest.cpp",
1726        "tests/TemplatesTest.cpp",
1727        "tests/TessellatingPathRendererTests.cpp",
1728        "tests/Test.cpp",
1729        "tests/TestConfigParsing.cpp",
1730        "tests/TestTest.cpp",
1731        "tests/TestUtils.cpp",
1732        "tests/TextBlobCacheTest.cpp",
1733        "tests/TextBlobTest.cpp",
1734        "tests/TextureProxyTest.cpp",
1735        "tests/Time.cpp",
1736        "tests/ToSRGBColorFilter.cpp",
1737        "tests/TopoSortTest.cpp",
1738        "tests/TraceMemoryDumpTest.cpp",
1739        "tests/TracingTest.cpp",
1740        "tests/TransferPixelsTest.cpp",
1741        "tests/TypefaceTest.cpp",
1742        "tests/UnicodeTest.cpp",
1743        "tests/UtilsTest.cpp",
1744        "tests/VerticesTest.cpp",
1745        "tests/VkClearTests.cpp",
1746        "tests/VkHeapTests.cpp",
1747        "tests/VkMakeCopyPipelineTest.cpp",
1748        "tests/VkUploadPixelsTests.cpp",
1749        "tests/VkWrapTests.cpp",
1750        "tests/VptrTest.cpp",
1751        "tests/WindowRectanglesTest.cpp",
1752        "tests/WritePixelsTest.cpp",
1753        "tests/Writer32Test.cpp",
1754        "tests/YUVCacheTest.cpp",
1755        "tests/YUVTest.cpp",
1756        "tests/image-bitmap.cpp",
1757        "tests/skbug5221.cpp",
1758        "tests/skbug6389.cpp",
1759        "tests/skbug6653.cpp",
1760        "tools/AndroidSkDebugToStdOut.cpp",
1761        "tools/CrashHandler.cpp",
1762        "tools/LsanSuppressions.cpp",
1763        "tools/ProcStats.cpp",
1764        "tools/Resources.cpp",
1765        "tools/UrlDataManager.cpp",
1766        "tools/debugger/SkDebugCanvas.cpp",
1767        "tools/debugger/SkDrawCommand.cpp",
1768        "tools/debugger/SkJsonWriteBuffer.cpp",
1769        "tools/debugger/SkObjectParser.cpp",
1770        "tools/flags/SkCommandLineFlags.cpp",
1771        "tools/flags/SkCommonFlags.cpp",
1772        "tools/flags/SkCommonFlagsConfig.cpp",
1773        "tools/fonts/SkRandomScalerContext.cpp",
1774        "tools/fonts/SkTestFontMgr.cpp",
1775        "tools/fonts/SkTestScalerContext.cpp",
1776        "tools/fonts/sk_tool_utils_font.cpp",
1777        "tools/gpu/GrContextFactory.cpp",
1778        "tools/gpu/GrTest.cpp",
1779        "tools/gpu/TestContext.cpp",
1780        "tools/gpu/atlastext/GLTestAtlasTextRenderer.cpp",
1781        "tools/gpu/gl/GLTestContext.cpp",
1782        "tools/gpu/gl/command_buffer/GLTestContext_command_buffer.cpp",
1783        "tools/gpu/gl/debug/DebugGLTestContext.cpp",
1784        "tools/gpu/gl/debug/GrBufferObj.cpp",
1785        "tools/gpu/gl/debug/GrFrameBufferObj.cpp",
1786        "tools/gpu/gl/debug/GrProgramObj.cpp",
1787        "tools/gpu/gl/debug/GrShaderObj.cpp",
1788        "tools/gpu/gl/debug/GrTextureObj.cpp",
1789        "tools/gpu/gl/debug/GrTextureUnitObj.cpp",
1790        "tools/gpu/gl/egl/CreatePlatformGLTestContext_egl.cpp",
1791        "tools/gpu/gl/null/NullGLTestContext.cpp",
1792        "tools/gpu/mock/MockTestContext.cpp",
1793        "tools/gpu/vk/VkTestContext.cpp",
1794        "tools/gpu/vk/VkTestUtils.cpp",
1795        "tools/picture_utils.cpp",
1796        "tools/random_parse_path.cpp",
1797        "tools/sk_tool_utils.cpp",
1798        "tools/timer/Timer.cpp",
1799        "tools/trace/SkChromeTracingTracer.cpp",
1800        "tools/trace/SkDebugfTracer.cpp",
1801        "tools/trace/SkEventTracingPriv.cpp",
1802    ],
1803
1804    shared_libs: [
1805        "libbinder",
1806        "libutils",
1807    ],
1808}
1809
1810cc_test {
1811    name: "skia_nanobench",
1812
1813    defaults: [
1814        "skia_tool_deps"
1815    ],
1816
1817    local_include_dirs: [
1818        "bench/",
1819        "experimental/sksg/",
1820        "experimental/sksg/effects/",
1821        "experimental/sksg/geometry/",
1822        "experimental/sksg/paint/",
1823        "experimental/svg/model/",
1824        "gm/",
1825        "include/android/",
1826        "include/atlastext/",
1827        "include/c/",
1828        "include/codec/",
1829        "include/config/",
1830        "include/core/",
1831        "include/effects/",
1832        "include/encode/",
1833        "include/gpu/",
1834        "include/gpu/gl/",
1835        "include/gpu/vk/",
1836        "include/pathops/",
1837        "include/ports/",
1838        "include/private/",
1839        "include/svg/",
1840        "include/utils/",
1841        "include/utils/mac/",
1842        "src/c/",
1843        "src/codec/",
1844        "src/core/",
1845        "src/effects/",
1846        "src/fonts/",
1847        "src/gpu/",
1848        "src/image/",
1849        "src/images/",
1850        "src/lazy/",
1851        "src/opts/",
1852        "src/pathops/",
1853        "src/pdf/",
1854        "src/ports/",
1855        "src/sfnt/",
1856        "src/shaders/",
1857        "src/shaders/gradients/",
1858        "src/sksl/",
1859        "src/utils/",
1860        "src/utils/win/",
1861        "src/xml/",
1862        "third_party/gif/",
1863        "tools/",
1864        "tools/debugger/",
1865        "tools/flags/",
1866        "tools/fonts/",
1867        "tools/gpu/",
1868        "tools/timer/",
1869        "tools/trace/",
1870    ],
1871
1872    srcs: [
1873        "bench/AAClipBench.cpp",
1874        "bench/AlternatingColorPatternBench.cpp",
1875        "bench/AndroidCodecBench.cpp",
1876        "bench/BenchLogger.cpp",
1877        "bench/Benchmark.cpp",
1878        "bench/BezierBench.cpp",
1879        "bench/BigPathBench.cpp",
1880        "bench/BitmapBench.cpp",
1881        "bench/BitmapRectBench.cpp",
1882        "bench/BitmapRegionDecoderBench.cpp",
1883        "bench/BlendmodeBench.cpp",
1884        "bench/BlurBench.cpp",
1885        "bench/BlurImageFilterBench.cpp",
1886        "bench/BlurOccludedRRectBench.cpp",
1887        "bench/BlurRectBench.cpp",
1888        "bench/BlurRectsBench.cpp",
1889        "bench/BlurRoundRectBench.cpp",
1890        "bench/ChartBench.cpp",
1891        "bench/ChecksumBench.cpp",
1892        "bench/ChromeBench.cpp",
1893        "bench/ClipMaskBench.cpp",
1894        "bench/ClipStrategyBench.cpp",
1895        "bench/CmapBench.cpp",
1896        "bench/CodecBench.cpp",
1897        "bench/ColorCanvasDrawBitmapBench.cpp",
1898        "bench/ColorCodecBench.cpp",
1899        "bench/ColorFilterBench.cpp",
1900        "bench/ColorPrivBench.cpp",
1901        "bench/ControlBench.cpp",
1902        "bench/CoverageBench.cpp",
1903        "bench/CubicKLMBench.cpp",
1904        "bench/DashBench.cpp",
1905        "bench/DisplacementBench.cpp",
1906        "bench/DrawBitmapAABench.cpp",
1907        "bench/DrawLatticeBench.cpp",
1908        "bench/EncoderBench.cpp",
1909        "bench/FSRectBench.cpp",
1910        "bench/FontCacheBench.cpp",
1911        "bench/FontScalerBench.cpp",
1912        "bench/GMBench.cpp",
1913        "bench/GameBench.cpp",
1914        "bench/GeometryBench.cpp",
1915        "bench/GrMemoryPoolBench.cpp",
1916        "bench/GrMipMapBench.cpp",
1917        "bench/GrResourceCacheBench.cpp",
1918        "bench/GradientBench.cpp",
1919        "bench/HairlinePathBench.cpp",
1920        "bench/HardStopGradientBench_ScaleNumColors.cpp",
1921        "bench/HardStopGradientBench_ScaleNumHardStops.cpp",
1922        "bench/HardStopGradientBench_SpecialHardStops.cpp",
1923        "bench/ImageBench.cpp",
1924        "bench/ImageCacheBench.cpp",
1925        "bench/ImageCacheBudgetBench.cpp",
1926        "bench/ImageFilterCollapse.cpp",
1927        "bench/ImageFilterDAGBench.cpp",
1928        "bench/InterpBench.cpp",
1929        "bench/LightingBench.cpp",
1930        "bench/LineBench.cpp",
1931        "bench/MagnifierBench.cpp",
1932        "bench/MathBench.cpp",
1933        "bench/Matrix44Bench.cpp",
1934        "bench/MatrixBench.cpp",
1935        "bench/MatrixConvolutionBench.cpp",
1936        "bench/MemsetBench.cpp",
1937        "bench/MergeBench.cpp",
1938        "bench/MipMapBench.cpp",
1939        "bench/MorphologyBench.cpp",
1940        "bench/MultitextureImageBench.cpp",
1941        "bench/MutexBench.cpp",
1942        "bench/PDFBench.cpp",
1943        "bench/PatchBench.cpp",
1944        "bench/PathBench.cpp",
1945        "bench/PathIterBench.cpp",
1946        "bench/PathTextBench.cpp",
1947        "bench/PerlinNoiseBench.cpp",
1948        "bench/PictureNestingBench.cpp",
1949        "bench/PictureOverheadBench.cpp",
1950        "bench/PicturePlaybackBench.cpp",
1951        "bench/PremulAndUnpremulAlphaOpsBench.cpp",
1952        "bench/QuickRejectBench.cpp",
1953        "bench/RTreeBench.cpp",
1954        "bench/ReadPixBench.cpp",
1955        "bench/RecordingBench.cpp",
1956        "bench/RectBench.cpp",
1957        "bench/RectanizerBench.cpp",
1958        "bench/RectoriBench.cpp",
1959        "bench/RefCntBench.cpp",
1960        "bench/RegionBench.cpp",
1961        "bench/RegionContainBench.cpp",
1962        "bench/RepeatTileBench.cpp",
1963        "bench/RotatedRectBench.cpp",
1964        "bench/SKPAnimationBench.cpp",
1965        "bench/SKPBench.cpp",
1966        "bench/ScalarBench.cpp",
1967        "bench/ShaderMaskBench.cpp",
1968        "bench/ShadowBench.cpp",
1969        "bench/ShapesBench.cpp",
1970        "bench/Sk4fBench.cpp",
1971        "bench/SkGlyphCacheBench.cpp",
1972        "bench/SkRasterPipelineBench.cpp",
1973        "bench/SortBench.cpp",
1974        "bench/StreamBench.cpp",
1975        "bench/StrokeBench.cpp",
1976        "bench/SwizzleBench.cpp",
1977        "bench/TableBench.cpp",
1978        "bench/TextBench.cpp",
1979        "bench/TextBlobBench.cpp",
1980        "bench/TileBench.cpp",
1981        "bench/TileImageFilterBench.cpp",
1982        "bench/TopoSortBench.cpp",
1983        "bench/VertBench.cpp",
1984        "bench/WritePixelsBench.cpp",
1985        "bench/WriterBench.cpp",
1986        "bench/nanobench.cpp",
1987        "bench/pack_int_uint16_t_Bench.cpp",
1988        "experimental/sksg/SkSGDraw.cpp",
1989        "experimental/sksg/SkSGEffectNode.cpp",
1990        "experimental/sksg/SkSGGeometryNode.cpp",
1991        "experimental/sksg/SkSGGroup.cpp",
1992        "experimental/sksg/SkSGImage.cpp",
1993        "experimental/sksg/SkSGInvalidationController.cpp",
1994        "experimental/sksg/SkSGNode.cpp",
1995        "experimental/sksg/SkSGPaintNode.cpp",
1996        "experimental/sksg/SkSGRenderNode.cpp",
1997        "experimental/sksg/SkSGScene.cpp",
1998        "experimental/sksg/effects/SkSGClipEffect.cpp",
1999        "experimental/sksg/effects/SkSGMaskEffect.cpp",
2000        "experimental/sksg/effects/SkSGOpacityEffect.cpp",
2001        "experimental/sksg/effects/SkSGTransform.cpp",
2002        "experimental/sksg/geometry/SkSGGeometryTransform.cpp",
2003        "experimental/sksg/geometry/SkSGMerge.cpp",
2004        "experimental/sksg/geometry/SkSGPath.cpp",
2005        "experimental/sksg/geometry/SkSGPlane.cpp",
2006        "experimental/sksg/geometry/SkSGRect.cpp",
2007        "experimental/sksg/geometry/SkSGText.cpp",
2008        "experimental/sksg/geometry/SkSGTrimEffect.cpp",
2009        "experimental/sksg/paint/SkSGColor.cpp",
2010        "experimental/sksg/paint/SkSGGradient.cpp",
2011        "experimental/svg/model/SkSVGAttribute.cpp",
2012        "experimental/svg/model/SkSVGAttributeParser.cpp",
2013        "experimental/svg/model/SkSVGCircle.cpp",
2014        "experimental/svg/model/SkSVGClipPath.cpp",
2015        "experimental/svg/model/SkSVGContainer.cpp",
2016        "experimental/svg/model/SkSVGDOM.cpp",
2017        "experimental/svg/model/SkSVGEllipse.cpp",
2018        "experimental/svg/model/SkSVGGradient.cpp",
2019        "experimental/svg/model/SkSVGLine.cpp",
2020        "experimental/svg/model/SkSVGLinearGradient.cpp",
2021        "experimental/svg/model/SkSVGNode.cpp",
2022        "experimental/svg/model/SkSVGPath.cpp",
2023        "experimental/svg/model/SkSVGPattern.cpp",
2024        "experimental/svg/model/SkSVGPoly.cpp",
2025        "experimental/svg/model/SkSVGRadialGradient.cpp",
2026        "experimental/svg/model/SkSVGRect.cpp",
2027        "experimental/svg/model/SkSVGRenderContext.cpp",
2028        "experimental/svg/model/SkSVGSVG.cpp",
2029        "experimental/svg/model/SkSVGShape.cpp",
2030        "experimental/svg/model/SkSVGStop.cpp",
2031        "experimental/svg/model/SkSVGTransformableNode.cpp",
2032        "experimental/svg/model/SkSVGUse.cpp",
2033        "experimental/svg/model/SkSVGValue.cpp",
2034        "gm/OverStroke.cpp",
2035        "gm/aaa.cpp",
2036        "gm/aaclip.cpp",
2037        "gm/aarectmodes.cpp",
2038        "gm/aaxfermodes.cpp",
2039        "gm/addarc.cpp",
2040        "gm/all_bitmap_configs.cpp",
2041        "gm/alpha_image.cpp",
2042        "gm/alphagradients.cpp",
2043        "gm/animatedGif.cpp",
2044        "gm/animatedimageblurs.cpp",
2045        "gm/anisotropic.cpp",
2046        "gm/annotated_text.cpp",
2047        "gm/arcofzorro.cpp",
2048        "gm/arcto.cpp",
2049        "gm/arithmode.cpp",
2050        "gm/atlastext.cpp",
2051        "gm/badpaint.cpp",
2052        "gm/beziereffects.cpp",
2053        "gm/beziers.cpp",
2054        "gm/bigblurs.cpp",
2055        "gm/bigmatrix.cpp",
2056        "gm/bigrect.cpp",
2057        "gm/bigrrectaaeffect.cpp",
2058        "gm/bigtext.cpp",
2059        "gm/bigtileimagefilter.cpp",
2060        "gm/bitmapcopy.cpp",
2061        "gm/bitmapfilters.cpp",
2062        "gm/bitmapimage.cpp",
2063        "gm/bitmappremul.cpp",
2064        "gm/bitmaprect.cpp",
2065        "gm/bitmaprecttest.cpp",
2066        "gm/bitmapshader.cpp",
2067        "gm/bitmaptiled.cpp",
2068        "gm/bleed.cpp",
2069        "gm/blend.cpp",
2070        "gm/blurcircles.cpp",
2071        "gm/blurcircles2.cpp",
2072        "gm/blurignorexform.cpp",
2073        "gm/blurimagevmask.cpp",
2074        "gm/blurquickreject.cpp",
2075        "gm/blurrect.cpp",
2076        "gm/blurredclippedcircle.cpp",
2077        "gm/blurroundrect.cpp",
2078        "gm/blurs.cpp",
2079        "gm/blurtextsmallradii.cpp",
2080        "gm/bmpfilterqualityrepeat.cpp",
2081        "gm/bug5252.cpp",
2082        "gm/bug530095.cpp",
2083        "gm/bug615686.cpp",
2084        "gm/bug6643.cpp",
2085        "gm/bug6783.cpp",
2086        "gm/cgm.c",
2087        "gm/cgms.cpp",
2088        "gm/circle_sizes.cpp",
2089        "gm/circles.cpp",
2090        "gm/circulararcs.cpp",
2091        "gm/circularclips.cpp",
2092        "gm/clip_error.cpp",
2093        "gm/clip_strokerect.cpp",
2094        "gm/clipdrawdraw.cpp",
2095        "gm/clippedbitmapshaders.cpp",
2096        "gm/color4f.cpp",
2097        "gm/coloremoji.cpp",
2098        "gm/coloremoji_blendmodes.cpp",
2099        "gm/colorfilteralpha8.cpp",
2100        "gm/colorfilterimagefilter.cpp",
2101        "gm/colorfilters.cpp",
2102        "gm/colormatrix.cpp",
2103        "gm/colorspacexform.cpp",
2104        "gm/colorwheel.cpp",
2105        "gm/complexclip.cpp",
2106        "gm/complexclip2.cpp",
2107        "gm/complexclip3.cpp",
2108        "gm/complexclip4.cpp",
2109        "gm/complexclip_blur_tiled.cpp",
2110        "gm/composeshader.cpp",
2111        "gm/concavepaths.cpp",
2112        "gm/conicpaths.cpp",
2113        "gm/constcolorprocessor.cpp",
2114        "gm/convex_all_line_paths.cpp",
2115        "gm/convexpaths.cpp",
2116        "gm/convexpolyclip.cpp",
2117        "gm/convexpolyeffect.cpp",
2118        "gm/copyTo4444.cpp",
2119        "gm/crbug_691386.cpp",
2120        "gm/crbug_788500.cpp",
2121        "gm/croppedrects.cpp",
2122        "gm/crosscontextimage.cpp",
2123        "gm/cubicpaths.cpp",
2124        "gm/dashcircle.cpp",
2125        "gm/dashcubics.cpp",
2126        "gm/dashing.cpp",
2127        "gm/degeneratesegments.cpp",
2128        "gm/dftext.cpp",
2129        "gm/dftext_blob_persp.cpp",
2130        "gm/discard.cpp",
2131        "gm/displacement.cpp",
2132        "gm/distantclip.cpp",
2133        "gm/downsamplebitmap.cpp",
2134        "gm/draw_bitmap_rect_skbug4374.cpp",
2135        "gm/drawable.cpp",
2136        "gm/drawatlas.cpp",
2137        "gm/drawatlascolor.cpp",
2138        "gm/drawbitmaprect.cpp",
2139        "gm/drawfilter.cpp",
2140        "gm/drawlooper.cpp",
2141        "gm/drawminibitmaprect.cpp",
2142        "gm/drawregion.cpp",
2143        "gm/drawregionmodes.cpp",
2144        "gm/dropshadowimagefilter.cpp",
2145        "gm/drrect.cpp",
2146        "gm/drrect_small_inner.cpp",
2147        "gm/dstreadshuffle.cpp",
2148        "gm/emboss.cpp",
2149        "gm/emptypath.cpp",
2150        "gm/encode-alpha-jpeg.cpp",
2151        "gm/encode-platform.cpp",
2152        "gm/encode-srgb.cpp",
2153        "gm/encode.cpp",
2154        "gm/extractbitmap.cpp",
2155        "gm/fadefilter.cpp",
2156        "gm/fatpathfill.cpp",
2157        "gm/filltypes.cpp",
2158        "gm/filltypespersp.cpp",
2159        "gm/filterbitmap.cpp",
2160        "gm/filterbug.cpp",
2161        "gm/filterfastbounds.cpp",
2162        "gm/filterindiabox.cpp",
2163        "gm/flippity.cpp",
2164        "gm/fontcache.cpp",
2165        "gm/fontmgr.cpp",
2166        "gm/fontscaler.cpp",
2167        "gm/fontscalerdistortable.cpp",
2168        "gm/gamma.cpp",
2169        "gm/gammaencodedpremul.cpp",
2170        "gm/gammatext.cpp",
2171        "gm/gamut.cpp",
2172        "gm/getpostextpath.cpp",
2173        "gm/giantbitmap.cpp",
2174        "gm/glyph_pos.cpp",
2175        "gm/glyph_pos_align.cpp",
2176        "gm/gm.cpp",
2177        "gm/gradientDirtyLaundry.cpp",
2178        "gm/gradient_matrix.cpp",
2179        "gm/gradients.cpp",
2180        "gm/gradients_2pt_conical.cpp",
2181        "gm/gradients_no_texture.cpp",
2182        "gm/gradtext.cpp",
2183        "gm/grayscalejpg.cpp",
2184        "gm/hairlines.cpp",
2185        "gm/hairmodes.cpp",
2186        "gm/hardstop_gradients.cpp",
2187        "gm/highcontrastfilter.cpp",
2188        "gm/hittestpath.cpp",
2189        "gm/hsl.cpp",
2190        "gm/hugepath.cpp",
2191        "gm/image.cpp",
2192        "gm/image_pict.cpp",
2193        "gm/image_shader.cpp",
2194        "gm/imagealphathreshold.cpp",
2195        "gm/imageblur.cpp",
2196        "gm/imageblur2.cpp",
2197        "gm/imageblurclampmode.cpp",
2198        "gm/imageblurrepeatmode.cpp",
2199        "gm/imageblurtiled.cpp",
2200        "gm/imagefilters.cpp",
2201        "gm/imagefiltersbase.cpp",
2202        "gm/imagefiltersclipped.cpp",
2203        "gm/imagefilterscropexpand.cpp",
2204        "gm/imagefilterscropped.cpp",
2205        "gm/imagefiltersgraph.cpp",
2206        "gm/imagefiltersscaled.cpp",
2207        "gm/imagefiltersstroked.cpp",
2208        "gm/imagefilterstransformed.cpp",
2209        "gm/imagefromyuvtextures.cpp",
2210        "gm/imagemagnifier.cpp",
2211        "gm/imagemakewithfilter.cpp",
2212        "gm/imagemasksubset.cpp",
2213        "gm/imageresizetiled.cpp",
2214        "gm/imagescalealigned.cpp",
2215        "gm/imagesource.cpp",
2216        "gm/imagesource2.cpp",
2217        "gm/internal_links.cpp",
2218        "gm/inversepaths.cpp",
2219        "gm/jpg_color_cube.cpp",
2220        "gm/largeglyphblur.cpp",
2221        "gm/lattice.cpp",
2222        "gm/lcdblendmodes.cpp",
2223        "gm/lcdoverlap.cpp",
2224        "gm/lcdtext.cpp",
2225        "gm/lighting.cpp",
2226        "gm/linepaths.cpp",
2227        "gm/localmatriximagefilter.cpp",
2228        "gm/localmatriximageshader.cpp",
2229        "gm/lumafilter.cpp",
2230        "gm/makeRasterImage.cpp",
2231        "gm/makecolorspace.cpp",
2232        "gm/manypaths.cpp",
2233        "gm/matrixconvolution.cpp",
2234        "gm/matriximagefilter.cpp",
2235        "gm/megalooper.cpp",
2236        "gm/mipmap.cpp",
2237        "gm/mixedtextblobs.cpp",
2238        "gm/modecolorfilters.cpp",
2239        "gm/morphology.cpp",
2240        "gm/multipicturedraw.cpp",
2241        "gm/nested.cpp",
2242        "gm/ninepatchstretch.cpp",
2243        "gm/nonclosedpaths.cpp",
2244        "gm/occludedrrectblur.cpp",
2245        "gm/offsetimagefilter.cpp",
2246        "gm/orientation.cpp",
2247        "gm/ovals.cpp",
2248        "gm/overdrawcolorfilter.cpp",
2249        "gm/patch.cpp",
2250        "gm/path_stroke_with_zero_length.cpp",
2251        "gm/pathcontourstart.cpp",
2252        "gm/patheffects.cpp",
2253        "gm/pathfill.cpp",
2254        "gm/pathinterior.cpp",
2255        "gm/pathmaskcache.cpp",
2256        "gm/pathopsinverse.cpp",
2257        "gm/pathopsskpclip.cpp",
2258        "gm/pathreverse.cpp",
2259        "gm/pdf_never_embed.cpp",
2260        "gm/perlinnoise.cpp",
2261        "gm/perspshaders.cpp",
2262        "gm/picture.cpp",
2263        "gm/pictureimagefilter.cpp",
2264        "gm/pictureimagegenerator.cpp",
2265        "gm/pictureshader.cpp",
2266        "gm/pictureshadercache.cpp",
2267        "gm/pictureshadertile.cpp",
2268        "gm/pixelsnap.cpp",
2269        "gm/plus.cpp",
2270        "gm/points.cpp",
2271        "gm/poly2poly.cpp",
2272        "gm/polygons.cpp",
2273        "gm/quadpaths.cpp",
2274        "gm/radial_gradient_precision.cpp",
2275        "gm/readpixels.cpp",
2276        "gm/recordopts.cpp",
2277        "gm/rectangletexture.cpp",
2278        "gm/rects.cpp",
2279        "gm/repeated_bitmap.cpp",
2280        "gm/resizeimagefilter.cpp",
2281        "gm/reveal.cpp",
2282        "gm/roundrects.cpp",
2283        "gm/rrect.cpp",
2284        "gm/rrectclipdrawpaint.cpp",
2285        "gm/rrects.cpp",
2286        "gm/samplerstress.cpp",
2287        "gm/savelayer.cpp",
2288        "gm/scaledemoji.cpp",
2289        "gm/scaledstrokes.cpp",
2290        "gm/shadermaskfilter.cpp",
2291        "gm/shadertext.cpp",
2292        "gm/shadertext2.cpp",
2293        "gm/shadertext3.cpp",
2294        "gm/shadows.cpp",
2295        "gm/shadowutils.cpp",
2296        "gm/shallowgradient.cpp",
2297        "gm/shapes.cpp",
2298        "gm/shapes_as_paths.cpp",
2299        "gm/showmiplevels.cpp",
2300        "gm/simple_magnification.cpp",
2301        "gm/simpleaaclip.cpp",
2302        "gm/simplerect.cpp",
2303        "gm/skbug1719.cpp",
2304        "gm/skbug_257.cpp",
2305        "gm/skbug_4868.cpp",
2306        "gm/skbug_5321.cpp",
2307        "gm/smallarc.cpp",
2308        "gm/smallpaths.cpp",
2309        "gm/spritebitmap.cpp",
2310        "gm/srcmode.cpp",
2311        "gm/srgb.cpp",
2312        "gm/stlouisarch.cpp",
2313        "gm/stringart.cpp",
2314        "gm/stroke_rect_shader.cpp",
2315        "gm/strokedlines.cpp",
2316        "gm/strokefill.cpp",
2317        "gm/strokerect.cpp",
2318        "gm/strokerects.cpp",
2319        "gm/strokes.cpp",
2320        "gm/stroketext.cpp",
2321        "gm/subsetshader.cpp",
2322        "gm/surface.cpp",
2323        "gm/tablecolorfilter.cpp",
2324        "gm/tallstretchedbitmaps.cpp",
2325        "gm/testgradient.cpp",
2326        "gm/texdata.cpp",
2327        "gm/text_scale_skew.cpp",
2328        "gm/textblob.cpp",
2329        "gm/textblobblockreordering.cpp",
2330        "gm/textblobcolortrans.cpp",
2331        "gm/textblobgeometrychange.cpp",
2332        "gm/textbloblooper.cpp",
2333        "gm/textblobmixedsizes.cpp",
2334        "gm/textblobrandomfont.cpp",
2335        "gm/textblobshader.cpp",
2336        "gm/textblobtransforms.cpp",
2337        "gm/textblobuseaftergpufree.cpp",
2338        "gm/texteffects.cpp",
2339        "gm/texturedomaineffect.cpp",
2340        "gm/thinconcavepaths.cpp",
2341        "gm/thinrects.cpp",
2342        "gm/thinstrokedrects.cpp",
2343        "gm/tiledscaledbitmap.cpp",
2344        "gm/tileimagefilter.cpp",
2345        "gm/tilemodes.cpp",
2346        "gm/tilemodes_scaled.cpp",
2347        "gm/tinybitmap.cpp",
2348        "gm/tonalshadows.cpp",
2349        "gm/tosrgb_colorfilter.cpp",
2350        "gm/transparency.cpp",
2351        "gm/typeface.cpp",
2352        "gm/variedtext.cpp",
2353        "gm/vertices.cpp",
2354        "gm/verttext.cpp",
2355        "gm/verttext2.cpp",
2356        "gm/verylargebitmap.cpp",
2357        "gm/windowrectangles.cpp",
2358        "gm/xfermodeimagefilter.cpp",
2359        "gm/xfermodes.cpp",
2360        "gm/xfermodes2.cpp",
2361        "gm/xfermodes3.cpp",
2362        "gm/yuvtorgbeffect.cpp",
2363        "tools/AndroidSkDebugToStdOut.cpp",
2364        "tools/CrashHandler.cpp",
2365        "tools/LsanSuppressions.cpp",
2366        "tools/ProcStats.cpp",
2367        "tools/Resources.cpp",
2368        "tools/UrlDataManager.cpp",
2369        "tools/debugger/SkDebugCanvas.cpp",
2370        "tools/debugger/SkDrawCommand.cpp",
2371        "tools/debugger/SkJsonWriteBuffer.cpp",
2372        "tools/debugger/SkObjectParser.cpp",
2373        "tools/flags/SkCommandLineFlags.cpp",
2374        "tools/flags/SkCommonFlags.cpp",
2375        "tools/flags/SkCommonFlagsConfig.cpp",
2376        "tools/fonts/SkRandomScalerContext.cpp",
2377        "tools/fonts/SkTestFontMgr.cpp",
2378        "tools/fonts/SkTestScalerContext.cpp",
2379        "tools/fonts/sk_tool_utils_font.cpp",
2380        "tools/gpu/GrContextFactory.cpp",
2381        "tools/gpu/GrTest.cpp",
2382        "tools/gpu/TestContext.cpp",
2383        "tools/gpu/atlastext/GLTestAtlasTextRenderer.cpp",
2384        "tools/gpu/gl/GLTestContext.cpp",
2385        "tools/gpu/gl/command_buffer/GLTestContext_command_buffer.cpp",
2386        "tools/gpu/gl/debug/DebugGLTestContext.cpp",
2387        "tools/gpu/gl/debug/GrBufferObj.cpp",
2388        "tools/gpu/gl/debug/GrFrameBufferObj.cpp",
2389        "tools/gpu/gl/debug/GrProgramObj.cpp",
2390        "tools/gpu/gl/debug/GrShaderObj.cpp",
2391        "tools/gpu/gl/debug/GrTextureObj.cpp",
2392        "tools/gpu/gl/debug/GrTextureUnitObj.cpp",
2393        "tools/gpu/gl/egl/CreatePlatformGLTestContext_egl.cpp",
2394        "tools/gpu/gl/null/NullGLTestContext.cpp",
2395        "tools/gpu/mock/MockTestContext.cpp",
2396        "tools/gpu/vk/VkTestContext.cpp",
2397        "tools/gpu/vk/VkTestUtils.cpp",
2398        "tools/picture_utils.cpp",
2399        "tools/random_parse_path.cpp",
2400        "tools/sk_tool_utils.cpp",
2401        "tools/timer/Timer.cpp",
2402        "tools/trace/SkChromeTracingTracer.cpp",
2403        "tools/trace/SkDebugfTracer.cpp",
2404        "tools/trace/SkEventTracingPriv.cpp",
2405    ],
2406
2407    data: [
2408        "resources/*",
2409    ],
2410}
2411