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