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