# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'targets': [
    {
      'target_name': 'skia',
      'type': '<(component)',
      'variables': {
        'optimize': 'max',
      },
      'sources': [
        #'../third_party/skia/src/animator/SkAnimate.h',
        #'../third_party/skia/src/animator/SkAnimateActive.cpp',
        #'../third_party/skia/src/animator/SkAnimateActive.h',
        #'../third_party/skia/src/animator/SkAnimateBase.cpp',
        #'../third_party/skia/src/animator/SkAnimateBase.h',
        #'../third_party/skia/src/animator/SkAnimateField.cpp',
        #'../third_party/skia/src/animator/SkAnimateMaker.cpp',
        #'../third_party/skia/src/animator/SkAnimateMaker.h',
        #'../third_party/skia/src/animator/SkAnimateProperties.h',
        #'../third_party/skia/src/animator/SkAnimateSchema.xsd',
        #'../third_party/skia/src/animator/SkAnimateSchema.xsx',
        #'../third_party/skia/src/animator/SkAnimateSet.cpp',
        #'../third_party/skia/src/animator/SkAnimateSet.h',
        #'../third_party/skia/src/animator/SkAnimator.cpp',
        #'../third_party/skia/src/animator/SkAnimatorScript.cpp',
        #'../third_party/skia/src/animator/SkAnimatorScript.h',
        #'../third_party/skia/src/animator/SkAnimatorScript2.cpp',
        #'../third_party/skia/src/animator/SkAnimatorScript2.h',
        #'../third_party/skia/src/animator/SkBase64.cpp',
        #'../third_party/skia/src/animator/SkBase64.h',
        #'../third_party/skia/src/animator/SkBoundable.cpp',
        #'../third_party/skia/src/animator/SkBoundable.h',
        #'../third_party/skia/src/animator/SkBuildCondensedInfo.cpp',
        #'../third_party/skia/src/animator/SkCondensedDebug.cpp',
        #'../third_party/skia/src/animator/SkCondensedRelease.cpp',
        #'../third_party/skia/src/animator/SkDisplayAdd.cpp',
        #'../third_party/skia/src/animator/SkDisplayAdd.h',
        #'../third_party/skia/src/animator/SkDisplayApply.cpp',
        #'../third_party/skia/src/animator/SkDisplayApply.h',
        #'../third_party/skia/src/animator/SkDisplayBounds.cpp',
        #'../third_party/skia/src/animator/SkDisplayBounds.h',
        #'../third_party/skia/src/animator/SkDisplayEvent.cpp',
        #'../third_party/skia/src/animator/SkDisplayEvent.h',
        #'../third_party/skia/src/animator/SkDisplayEvents.cpp',
        #'../third_party/skia/src/animator/SkDisplayEvents.h',
        #'../third_party/skia/src/animator/SkDisplayInclude.cpp',
        #'../third_party/skia/src/animator/SkDisplayInclude.h',
        #'../third_party/skia/src/animator/SkDisplayInput.cpp',
        #'../third_party/skia/src/animator/SkDisplayInput.h',
        #'../third_party/skia/src/animator/SkDisplayList.cpp',
        #'../third_party/skia/src/animator/SkDisplayList.h',
        #'../third_party/skia/src/animator/SkDisplayMath.cpp',
        #'../third_party/skia/src/animator/SkDisplayMath.h',
        #'../third_party/skia/src/animator/SkDisplayMovie.cpp',
        #'../third_party/skia/src/animator/SkDisplayMovie.h',
        #'../third_party/skia/src/animator/SkDisplayNumber.cpp',
        #'../third_party/skia/src/animator/SkDisplayNumber.h',
        #'../third_party/skia/src/animator/SkDisplayPost.cpp',
        #'../third_party/skia/src/animator/SkDisplayPost.h',
        #'../third_party/skia/src/animator/SkDisplayRandom.cpp',
        #'../third_party/skia/src/animator/SkDisplayRandom.h',
        #'../third_party/skia/src/animator/SkDisplayScreenplay.cpp',
        #'../third_party/skia/src/animator/SkDisplayScreenplay.h',
        #'../third_party/skia/src/animator/SkDisplayType.cpp',
        #'../third_party/skia/src/animator/SkDisplayType.h',
        #'../third_party/skia/src/animator/SkDisplayTypes.cpp',
        #'../third_party/skia/src/animator/SkDisplayTypes.h',
        #'../third_party/skia/src/animator/SkDisplayXMLParser.cpp',
        #'../third_party/skia/src/animator/SkDisplayXMLParser.h',
        #'../third_party/skia/src/animator/SkDisplayable.cpp',
        #'../third_party/skia/src/animator/SkDisplayable.h',
        #'../third_party/skia/src/animator/SkDraw3D.cpp',
        #'../third_party/skia/src/animator/SkDraw3D.h',
        #'../third_party/skia/src/animator/SkDrawBitmap.cpp',
        #'../third_party/skia/src/animator/SkDrawBitmap.h',
        #'../third_party/skia/src/animator/SkDrawBlur.cpp',
        #'../third_party/skia/src/animator/SkDrawBlur.h',
        #'../third_party/skia/src/animator/SkDrawClip.cpp',
        #'../third_party/skia/src/animator/SkDrawClip.h',
        #'../third_party/skia/src/animator/SkDrawColor.cpp',
        #'../third_party/skia/src/animator/SkDrawColor.h',
        #'../third_party/skia/src/animator/SkDrawDash.cpp',
        #'../third_party/skia/src/animator/SkDrawDash.h',
        #'../third_party/skia/src/animator/SkDrawDiscrete.cpp',
        #'../third_party/skia/src/animator/SkDrawDiscrete.h',
        #'../third_party/skia/src/animator/SkDrawEmboss.cpp',
        #'../third_party/skia/src/animator/SkDrawEmboss.h',
        #'../third_party/skia/src/animator/SkDrawExtraPathEffect.cpp',
        #'../third_party/skia/src/animator/SkDrawFull.cpp',
        #'../third_party/skia/src/animator/SkDrawFull.h',
        #'../third_party/skia/src/animator/SkDrawGradient.cpp',
        #'../third_party/skia/src/animator/SkDrawGradient.h',
        #'../third_party/skia/src/animator/SkDrawGroup.cpp',
        #'../third_party/skia/src/animator/SkDrawGroup.h',
        #'../third_party/skia/src/animator/SkDrawLine.cpp',
        #'../third_party/skia/src/animator/SkDrawLine.h',
        #'../third_party/skia/src/animator/SkDrawMatrix.cpp',
        #'../third_party/skia/src/animator/SkDrawMatrix.h',
        #'../third_party/skia/src/animator/SkDrawOval.cpp',
        #'../third_party/skia/src/animator/SkDrawOval.h',
        #'../third_party/skia/src/animator/SkDrawPaint.cpp',
        #'../third_party/skia/src/animator/SkDrawPaint.h',
        #'../third_party/skia/src/animator/SkDrawPath.cpp',
        #'../third_party/skia/src/animator/SkDrawPath.h',
        #'../third_party/skia/src/animator/SkDrawPoint.cpp',
        #'../third_party/skia/src/animator/SkDrawPoint.h',
        #'../third_party/skia/src/animator/SkDrawRectangle.cpp',
        #'../third_party/skia/src/animator/SkDrawRectangle.h',
        #'../third_party/skia/src/animator/SkDrawSaveLayer.cpp',
        #'../third_party/skia/src/animator/SkDrawSaveLayer.h',
        #'../third_party/skia/src/animator/SkDrawShader.cpp',
        #'../third_party/skia/src/animator/SkDrawShader.h',
        #'../third_party/skia/src/animator/SkDrawText.cpp',
        #'../third_party/skia/src/animator/SkDrawText.h',
        #'../third_party/skia/src/animator/SkDrawTextBox.cpp',
        #'../third_party/skia/src/animator/SkDrawTextBox.h',
        #'../third_party/skia/src/animator/SkDrawTo.cpp',
        #'../third_party/skia/src/animator/SkDrawTo.h',
        #'../third_party/skia/src/animator/SkDrawTransparentShader.cpp',
        #'../third_party/skia/src/animator/SkDrawTransparentShader.h',
        #'../third_party/skia/src/animator/SkDrawable.cpp',
        #'../third_party/skia/src/animator/SkDrawable.h',
        #'../third_party/skia/src/animator/SkDump.cpp',
        #'../third_party/skia/src/animator/SkDump.h',
        #'../third_party/skia/src/animator/SkExtraPathEffects.xsd',
        #'../third_party/skia/src/animator/SkExtras.h',
        #'../third_party/skia/src/animator/SkGetCondensedInfo.cpp',
        #'../third_party/skia/src/animator/SkHitClear.cpp',
        #'../third_party/skia/src/animator/SkHitClear.h',
        #'../third_party/skia/src/animator/SkHitTest.cpp',
        #'../third_party/skia/src/animator/SkHitTest.h',
        #'../third_party/skia/src/animator/SkIntArray.h',
        #'../third_party/skia/src/animator/SkMatrixParts.cpp',
        #'../third_party/skia/src/animator/SkMatrixParts.h',
        #'../third_party/skia/src/animator/SkMemberInfo.cpp',
        #'../third_party/skia/src/animator/SkMemberInfo.h',
        #'../third_party/skia/src/animator/SkOpArray.cpp',
        #'../third_party/skia/src/animator/SkOpArray.h',
        #'../third_party/skia/src/animator/SkOperand.h',
        #'../third_party/skia/src/animator/SkOperand2.h',
        #'../third_party/skia/src/animator/SkOperandInterpolator.h',
        #'../third_party/skia/src/animator/SkOperandIterpolator.cpp',
        #'../third_party/skia/src/animator/SkPaintParts.cpp',
        #'../third_party/skia/src/animator/SkPaintParts.h',
        #'../third_party/skia/src/animator/SkParseSVGPath.cpp',
        #'../third_party/skia/src/animator/SkPathParts.cpp',
        #'../third_party/skia/src/animator/SkPathParts.h',
        #'../third_party/skia/src/animator/SkPostParts.cpp',
        #'../third_party/skia/src/animator/SkPostParts.h',
        #'../third_party/skia/src/animator/SkScript.cpp',
        #'../third_party/skia/src/animator/SkScript.h',
        #'../third_party/skia/src/animator/SkScript2.h',
        #'../third_party/skia/src/animator/SkScriptCallBack.h',
        #'../third_party/skia/src/animator/SkScriptDecompile.cpp',
        #'../third_party/skia/src/animator/SkScriptRuntime.cpp',
        #'../third_party/skia/src/animator/SkScriptRuntime.h',
        #'../third_party/skia/src/animator/SkScriptTokenizer.cpp',
        #'../third_party/skia/src/animator/SkSnapshot.cpp',
        #'../third_party/skia/src/animator/SkSnapshot.h',
        #'../third_party/skia/src/animator/SkTDArray_Experimental.h',
        #'../third_party/skia/src/animator/SkTextOnPath.cpp',
        #'../third_party/skia/src/animator/SkTextOnPath.h',
        #'../third_party/skia/src/animator/SkTextToPath.cpp',
        #'../third_party/skia/src/animator/SkTextToPath.h',
        #'../third_party/skia/src/animator/SkTypedArray.cpp',
        #'../third_party/skia/src/animator/SkTypedArray.h',
        #'../third_party/skia/src/animator/SkXMLAnimatorWriter.cpp',
        #'../third_party/skia/src/animator/SkXMLAnimatorWriter.h',

        '../third_party/skia/src/animator/SkTime.cpp',

        '../third_party/skia/src/core/ARGB32_Clamp_Bilinear_BitmapShader.h',
        '../third_party/skia/src/core/Sk64.cpp',
        '../third_party/skia/src/core/SkAAClip.cpp',
        '../third_party/skia/src/core/SkAdvancedTypefaceMetrics.cpp',
        '../third_party/skia/src/core/SkAnnotation.cpp',
        '../third_party/skia/src/core/SkAlphaRuns.cpp',
        '../third_party/skia/src/core/SkAntiRun.h',
        '../third_party/skia/src/core/SkBitmap.cpp',
        '../third_party/skia/src/core/SkBitmapProcShader.cpp',
        '../third_party/skia/src/core/SkBitmapProcShader.h',
        '../third_party/skia/src/core/SkBitmapProcState.cpp',
        '../third_party/skia/src/core/SkBitmapProcState.h',
        '../third_party/skia/src/core/SkBitmapProcState_matrix.h',
        '../third_party/skia/src/core/SkBitmapProcState_matrixProcs.cpp',
        '../third_party/skia/src/core/SkBitmapProcState_sample.h',
        '../third_party/skia/src/core/SkBitmapSampler.cpp',
        '../third_party/skia/src/core/SkBitmapSampler.h',
        '../third_party/skia/src/core/SkBitmapSamplerTemplate.h',
        '../third_party/skia/src/core/SkBitmapShader16BilerpTemplate.h',
        '../third_party/skia/src/core/SkBitmapShaderTemplate.h',
        '../third_party/skia/src/core/SkBitmap_scroll.cpp',
        '../third_party/skia/src/core/SkBlitBWMaskTemplate.h',
        '../third_party/skia/src/core/SkBlitMask_D32.cpp',
        '../third_party/skia/src/core/SkBlitRow_D16.cpp',
        '../third_party/skia/src/core/SkBlitRow_D32.cpp',
        '../third_party/skia/src/core/SkBlitRow_D4444.cpp',
        '../third_party/skia/src/core/SkBlitter.cpp',
        '../third_party/skia/src/core/SkBlitter_4444.cpp',
        '../third_party/skia/src/core/SkBlitter_A1.cpp',
        '../third_party/skia/src/core/SkBlitter_A8.cpp',
        '../third_party/skia/src/core/SkBlitter_ARGB32.cpp',
        '../third_party/skia/src/core/SkBlitter_RGB16.cpp',
        '../third_party/skia/src/core/SkBlitter_Sprite.cpp',
        '../third_party/skia/src/core/SkBuffer.cpp',
        '../third_party/skia/src/core/SkCanvas.cpp',
        '../third_party/skia/src/core/SkChunkAlloc.cpp',
        '../third_party/skia/src/core/SkClipStack.cpp',
        '../third_party/skia/src/core/SkColor.cpp',
        '../third_party/skia/src/core/SkColorFilter.cpp',
        '../third_party/skia/src/core/SkColorTable.cpp',
        '../third_party/skia/src/core/SkComposeShader.cpp',
        '../third_party/skia/src/core/SkConcaveToTriangles.cpp',
        '../third_party/skia/src/core/SkConcaveToTriangles.h',
        '../third_party/skia/src/core/SkConfig8888.cpp',
        '../third_party/skia/src/core/SkConfig8888.h',
        '../third_party/skia/src/core/SkCordic.cpp',
        '../third_party/skia/src/core/SkCordic.h',
        '../third_party/skia/src/core/SkCoreBlitters.h',
        '../third_party/skia/src/core/SkCubicClipper.cpp',
        '../third_party/skia/src/core/SkCubicClipper.h',
        '../third_party/skia/src/core/SkData.cpp',
        '../third_party/skia/src/core/SkDebug.cpp',
        #'../third_party/skia/src/core/SkDebug_stdio.cpp',
        '../third_party/skia/src/core/SkDeque.cpp',
        '../third_party/skia/src/core/SkDevice.cpp',
        '../third_party/skia/src/core/SkDither.cpp',
        '../third_party/skia/src/core/SkDraw.cpp',
        '../third_party/skia/src/core/SkDrawProcs.h',
        #'../third_party/skia/src/core/SkDrawing.cpp',
        '../third_party/skia/src/core/SkEdgeBuilder.cpp',
        '../third_party/skia/src/core/SkEdgeClipper.cpp',
        '../third_party/skia/src/core/SkEdge.cpp',
        '../third_party/skia/src/core/SkEdge.h',
        '../third_party/skia/src/core/SkFP.h',
        '../third_party/skia/src/core/SkFilterProc.cpp',
        '../third_party/skia/src/core/SkFilterProc.h',
        '../third_party/skia/src/core/SkFlate.cpp',
        '../third_party/skia/src/core/SkFlattenable.cpp',
        '../third_party/skia/src/core/SkFloat.cpp',
        '../third_party/skia/src/core/SkFloat.h',
        '../third_party/skia/src/core/SkFloatBits.cpp',
        '../third_party/skia/src/core/SkFontHost.cpp',
        '../third_party/skia/src/core/SkGeometry.cpp',
        '../third_party/skia/src/core/SkGlyphCache.cpp',
        '../third_party/skia/src/core/SkGlyphCache.h',
        '../third_party/skia/src/core/SkGraphics.cpp',
        '../third_party/skia/src/core/SkInstCnt.cpp',
        '../third_party/skia/src/core/SkLineClipper.cpp',
        '../third_party/skia/src/core/SkMMapStream.cpp',
        '../third_party/skia/src/core/SkMallocPixelRef.cpp',
        '../third_party/skia/src/core/SkMask.cpp',
        '../third_party/skia/src/core/SkMaskFilter.cpp',
        '../third_party/skia/src/core/SkMaskGamma.cpp',
        '../third_party/skia/src/core/SkMaskGamma.h',
        '../third_party/skia/src/core/SkMath.cpp',
        '../third_party/skia/src/core/SkMatrix.cpp',
        '../third_party/skia/src/core/SkMetaData.cpp',
        '../third_party/skia/src/core/SkOrderedReadBuffer.cpp',
        '../third_party/skia/src/core/SkOrderedWriteBuffer.cpp',
        '../third_party/skia/src/core/SkPackBits.cpp',
        '../third_party/skia/src/core/SkPaint.cpp',
        '../third_party/skia/src/core/SkPath.cpp',
        '../third_party/skia/src/core/SkPathEffect.cpp',
        '../third_party/skia/src/core/SkPathHeap.cpp',
        '../third_party/skia/src/core/SkPathHeap.h',
        '../third_party/skia/src/core/SkPathMeasure.cpp',
        '../third_party/skia/src/core/SkPicture.cpp',
        '../third_party/skia/src/core/SkPictureFlat.cpp',
        '../third_party/skia/src/core/SkPictureFlat.h',
        '../third_party/skia/src/core/SkPicturePlayback.cpp',
        '../third_party/skia/src/core/SkPicturePlayback.h',
        '../third_party/skia/src/core/SkPictureRecord.cpp',
        '../third_party/skia/src/core/SkPictureRecord.h',
        '../third_party/skia/src/core/SkPixelRef.cpp',
        '../third_party/skia/src/core/SkPoint.cpp',
        '../third_party/skia/src/core/SkProcSpriteBlitter.cpp',
        '../third_party/skia/src/core/SkPtrRecorder.cpp',
        '../third_party/skia/src/core/SkQuadClipper.cpp',
        '../third_party/skia/src/core/SkQuadClipper.h',
        '../third_party/skia/src/core/SkRasterClip.cpp',
        '../third_party/skia/src/core/SkRasterizer.cpp',
        '../third_party/skia/src/core/SkRect.cpp',
        '../third_party/skia/src/core/SkRefCnt.cpp',
        '../third_party/skia/src/core/SkRefDict.cpp',
        '../third_party/skia/src/core/SkRegion.cpp',
        '../third_party/skia/src/core/SkRegionPriv.h',
        '../third_party/skia/src/core/SkRegion_path.cpp',
        '../third_party/skia/src/core/SkScalar.cpp',
        '../third_party/skia/src/core/SkScalerContext.cpp',
        '../third_party/skia/src/core/SkScan.cpp',
        '../third_party/skia/src/core/SkScanPriv.h',
        '../third_party/skia/src/core/SkScan_AntiPath.cpp',
        '../third_party/skia/src/core/SkScan_Antihair.cpp',
        '../third_party/skia/src/core/SkScan_Hairline.cpp',
        '../third_party/skia/src/core/SkScan_Path.cpp',
        '../third_party/skia/src/core/SkShader.cpp',
        '../third_party/skia/src/core/SkShape.cpp',
        '../third_party/skia/src/core/SkSpriteBlitter_ARGB32.cpp',
        '../third_party/skia/src/core/SkSpriteBlitter_RGB16.cpp',
        '../third_party/skia/src/core/SkSinTable.h',
        '../third_party/skia/src/core/SkSpriteBlitter.h',
        '../third_party/skia/src/core/SkSpriteBlitterTemplate.h',
        '../third_party/skia/src/core/SkStream.cpp',
        '../third_party/skia/src/core/SkString.cpp',
        '../third_party/skia/src/core/SkStroke.cpp',
        '../third_party/skia/src/core/SkStrokerPriv.cpp',
        '../third_party/skia/src/core/SkStrokerPriv.h',
        '../third_party/skia/src/core/SkTextFormatParams.h',
        '../third_party/skia/src/core/SkTLS.cpp',
        '../third_party/skia/src/core/SkTSearch.cpp',
        '../third_party/skia/src/core/SkTSort.h',
        '../third_party/skia/src/core/SkTemplatesPriv.h',
        '../third_party/skia/src/core/SkTypeface.cpp',
        '../third_party/skia/src/core/SkTypefaceCache.cpp',
        '../third_party/skia/src/core/SkUnPreMultiply.cpp',
        '../third_party/skia/src/core/SkUtils.cpp',
        '../third_party/skia/src/core/SkWriter32.cpp',
        '../third_party/skia/src/core/SkXfermode.cpp',

        '../third_party/skia/src/pipe/SkGPipeRead.cpp',
        '../third_party/skia/src/pipe/SkGPipeWrite.cpp',

        '../third_party/skia/src/effects/Sk1DPathEffect.cpp',
        '../third_party/skia/src/effects/Sk2DPathEffect.cpp',
        '../third_party/skia/src/effects/SkAvoidXfermode.cpp',
        '../third_party/skia/src/effects/SkBlurDrawLooper.cpp',
        '../third_party/skia/src/effects/SkBlurImageFilter.cpp',
        '../third_party/skia/src/effects/SkBlurMask.cpp',
        '../third_party/skia/src/effects/SkBlurMask.h',
        '../third_party/skia/src/effects/SkBlurMaskFilter.cpp',
        '../third_party/skia/src/effects/SkColorFilters.cpp',
        '../third_party/skia/src/effects/SkColorMatrixFilter.cpp',
        '../third_party/skia/src/effects/SkCornerPathEffect.cpp',
        '../third_party/skia/src/effects/SkDashPathEffect.cpp',
        '../third_party/skia/src/effects/SkDiscretePathEffect.cpp',
        '../third_party/skia/src/effects/SkEmbossMask.cpp',
        '../third_party/skia/src/effects/SkEmbossMask.h',
        '../third_party/skia/src/effects/SkEmbossMask_Table.h',
        '../third_party/skia/src/effects/SkEmbossMaskFilter.cpp',
        '../third_party/skia/src/effects/SkKernel33MaskFilter.cpp',
        '../third_party/skia/src/effects/SkLayerDrawLooper.cpp',
        '../third_party/skia/src/effects/SkLayerRasterizer.cpp',
        '../third_party/skia/src/effects/SkLightingImageFilter.cpp',
        '../third_party/skia/src/effects/SkMorphologyImageFilter.cpp',
        '../third_party/skia/src/effects/SkPaintFlagsDrawFilter.cpp',
        '../third_party/skia/src/effects/SkPorterDuff.cpp',
        '../third_party/skia/src/effects/SkPixelXorXfermode.cpp',
        '../third_party/skia/src/effects/SkTableColorFilter.cpp',
        '../third_party/skia/src/effects/SkTransparentShader.cpp',

        '../third_party/skia/src/effects/gradients/SkBitmapCache.cpp',
        '../third_party/skia/src/effects/gradients/SkBitmapCache.h',
        '../third_party/skia/src/effects/gradients/SkClampRange.cpp',
        '../third_party/skia/src/effects/gradients/SkGradientShader.cpp',
        '../third_party/skia/src/effects/gradients/SkLinearGradient.cpp',
        '../third_party/skia/src/effects/gradients/SkLinearGradient.h',
        '../third_party/skia/src/effects/gradients/SkRadialGradient.cpp',
        '../third_party/skia/src/effects/gradients/SkRadialGradient.h',
        '../third_party/skia/src/effects/gradients/SkTwoPointRadialGradient.cpp',
        '../third_party/skia/src/effects/gradients/SkTwoPointRadialGradient.h',
        '../third_party/skia/src/effects/gradients/SkTwoPointConicalGradient.cpp',
        '../third_party/skia/src/effects/gradients/SkTwoPointConicalGradient.h',
        '../third_party/skia/src/effects/gradients/SkSweepGradient.cpp',
        '../third_party/skia/src/effects/gradients/SkSweepGradient.h',
        '../third_party/skia/src/effects/gradients/SkGradientShaderPriv.h',

        '../third_party/skia/src/gpu/GrAAConvexPathRenderer.cpp',
        '../third_party/skia/src/gpu/GrAAConvexPathRenderer.h',
        '../third_party/skia/src/gpu/GrAAHairLinePathRenderer.cpp',
        '../third_party/skia/src/gpu/GrAAHairLinePathRenderer.h',
        '../third_party/skia/src/gpu/GrAARectRenderer.cpp',
        '../third_party/skia/src/gpu/GrAddPathRenderers_default.cpp',
        '../third_party/skia/src/gpu/GrAllocPool.cpp',
        '../third_party/skia/src/gpu/GrAllocPool.h',
        '../third_party/skia/src/gpu/GrAllocator.h',
        '../third_party/skia/src/gpu/GrAtlas.cpp',
        '../third_party/skia/src/gpu/GrAtlas.h',
        '../third_party/skia/src/gpu/GrBinHashKey.h',
        '../third_party/skia/src/gpu/GrBufferAllocPool.cpp',
        '../third_party/skia/src/gpu/GrBufferAllocPool.h',
        '../third_party/skia/src/gpu/GrClipData.cpp',
        '../third_party/skia/src/gpu/GrClipMaskManager.cpp',
        '../third_party/skia/src/gpu/GrClipMaskManager.h',
        '../third_party/skia/src/gpu/GrContext.cpp',
        '../third_party/skia/src/gpu/GrCustomStage.cpp',
        '../third_party/skia/src/gpu/GrDefaultPathRenderer.cpp',
        '../third_party/skia/src/gpu/GrDefaultPathRenderer.h',
        '../third_party/skia/src/gpu/GrDrawTarget.cpp',
        '../third_party/skia/src/gpu/GrDrawTarget.h',
        '../third_party/skia/src/gpu/GrGeometryBuffer.h',
        '../third_party/skia/src/gpu/GrGpu.cpp',
        '../third_party/skia/src/gpu/GrGpu.h',
        '../third_party/skia/src/gpu/GrGpuFactory.cpp',
        '../third_party/skia/src/gpu/GrInOrderDrawBuffer.cpp',
        '../third_party/skia/src/gpu/GrInOrderDrawBuffer.h',
        '../third_party/skia/src/gpu/GrIndexBuffer.h',
        '../third_party/skia/src/gpu/GrMatrix.cpp',
        '../third_party/skia/src/gpu/GrMemory.cpp',
        '../third_party/skia/src/gpu/GrMemoryPool.cpp',
        '../third_party/skia/src/gpu/GrMemoryPool.h',
        '../third_party/skia/src/gpu/GrPathRenderer.cpp',
        '../third_party/skia/src/gpu/GrPathRenderer.h',
        '../third_party/skia/src/gpu/GrPathRendererChain.cpp',
        '../third_party/skia/src/gpu/GrPathRendererChain.h',
        '../third_party/skia/src/gpu/GrSoftwarePathRenderer.cpp',
        '../third_party/skia/src/gpu/GrSoftwarePathRenderer.h',
        '../third_party/skia/src/gpu/GrSWMaskHelper.cpp',
        '../third_party/skia/src/gpu/GrSWMaskHelper.h',
        '../third_party/skia/src/gpu/GrPath.h',
        '../third_party/skia/src/gpu/GrPathUtils.cpp',
        '../third_party/skia/src/gpu/GrPlotMgr.h',
        '../third_party/skia/src/gpu/GrRandom.h',
        '../third_party/skia/src/gpu/GrRectanizer.h',
        '../third_party/skia/src/gpu/GrRectanizer_fifo.cpp',
        '../third_party/skia/src/gpu/GrRenderTarget.cpp',
        '../third_party/skia/src/gpu/GrResource.cpp',
        '../third_party/skia/src/gpu/GrResourceCache.cpp',
        '../third_party/skia/src/gpu/GrResourceCache.h',
        '../third_party/skia/src/gpu/GrStencil.cpp',
        '../third_party/skia/src/gpu/GrStencil.h',
        '../third_party/skia/src/gpu/GrStencilAndCoverPathRenderer.cpp',
        '../third_party/skia/src/gpu/GrStencilAndCoverPathRenderer.h',
        '../third_party/skia/src/gpu/GrStencilBuffer.cpp',
        '../third_party/skia/src/gpu/GrStencilBuffer.h',
        '../third_party/skia/src/gpu/GrSurface.cpp',
        '../third_party/skia/src/gpu/GrTBSearch.h',
        '../third_party/skia/src/gpu/GrTDArray.h',
        '../third_party/skia/src/gpu/GrTHashCache.h',
        '../third_party/skia/src/gpu/GrTLList.h',
        '../third_party/skia/src/gpu/GrTemplates.h',
        '../third_party/skia/src/gpu/GrTextContext.cpp',
        '../third_party/skia/src/gpu/GrTextStrike.cpp',
        '../third_party/skia/src/gpu/GrTextStrike.h',
        '../third_party/skia/src/gpu/GrTextStrike_impl.h',
        '../third_party/skia/src/gpu/GrTexture.cpp',
        '../third_party/skia/src/gpu/GrVertexBuffer.h',
        '../third_party/skia/src/gpu/SkGpuCanvas.cpp',
        '../third_party/skia/src/gpu/SkGpuDevice.cpp',
        '../third_party/skia/src/gpu/SkGr.cpp',
        '../third_party/skia/src/gpu/SkGrFontScaler.cpp',
        '../third_party/skia/src/gpu/SkGrPixelRef.cpp',
        '../third_party/skia/src/gpu/SkGrTexturePixelRef.cpp',
        '../third_party/skia/src/gpu/effects/Gr1DKernelEffect.h',
        '../third_party/skia/src/gpu/effects/GrColorTableEffect.cpp',
        '../third_party/skia/src/gpu/effects/GrColorTableEffect.h',
        '../third_party/skia/src/gpu/effects/GrConvolutionEffect.cpp',
        '../third_party/skia/src/gpu/effects/GrConvolutionEffect.h',
        '../third_party/skia/src/gpu/effects/GrMorphologyEffect.cpp',
        '../third_party/skia/src/gpu/effects/GrMorphologyEffect.h',
        '../third_party/skia/src/gpu/effects/GrSingleTextureEffect.cpp',
        '../third_party/skia/src/gpu/effects/GrSingleTextureEffect.h',
        '../third_party/skia/src/gpu/effects/GrTextureDomainEffect.cpp',
        '../third_party/skia/src/gpu/effects/GrTextureDomainEffect.h',
        '../third_party/skia/src/gpu/gl/GrGLCaps.cpp',
        '../third_party/skia/src/gpu/gl/GrGLCaps.h',
        '../third_party/skia/src/gpu/gl/GrGLContextInfo.cpp',
        '../third_party/skia/src/gpu/gl/GrGLContextInfo.h',
        '../third_party/skia/src/gpu/gl/GrGLCreateNativeInterface_none.cpp',
        '../third_party/skia/src/gpu/gl/GrGLDefaultInterface_none.cpp',
        '../third_party/skia/src/gpu/gl/GrGLDefines.h',
        '../third_party/skia/src/gpu/gl/GrGLIRect.h',
        '../third_party/skia/src/gpu/gl/GrGLIndexBuffer.cpp',
        '../third_party/skia/src/gpu/gl/GrGLIndexBuffer.h',
        '../third_party/skia/src/gpu/gl/GrGLInterface.cpp',
        '../third_party/skia/src/gpu/gl/GrGLPath.cpp',
        '../third_party/skia/src/gpu/gl/GrGLPath.h',
        '../third_party/skia/src/gpu/gl/GrGLProgram.cpp',
        '../third_party/skia/src/gpu/gl/GrGLProgram.h',
        '../third_party/skia/src/gpu/gl/GrGLProgramStage.cpp',
        '../third_party/skia/src/gpu/gl/GrGLProgramStage.h',
        '../third_party/skia/src/gpu/gl/GrGLRenderTarget.cpp',
        '../third_party/skia/src/gpu/gl/GrGLRenderTarget.h',
        '../third_party/skia/src/gpu/gl/GrGLSL.cpp',
        '../third_party/skia/src/gpu/gl/GrGLSL.h',
        '../third_party/skia/src/gpu/gl/GrGLShaderBuilder.cpp',
        '../third_party/skia/src/gpu/gl/GrGLShaderBuilder.h',
        '../third_party/skia/src/gpu/gl/GrGLStencilBuffer.cpp',
        '../third_party/skia/src/gpu/gl/GrGLTexture.cpp',
        '../third_party/skia/src/gpu/gl/GrGLTexture.h',
        '../third_party/skia/src/gpu/gl/GrGLUniformManager.cpp',
        '../third_party/skia/src/gpu/gl/GrGLUniformManager.h',
        '../third_party/skia/src/gpu/gl/GrGLUniformHandle.h',
        '../third_party/skia/src/gpu/gl/GrGLUtil.cpp',
        '../third_party/skia/src/gpu/gl/GrGLUtil.h',
        '../third_party/skia/src/gpu/gl/GrGLVertexBuffer.cpp',
        '../third_party/skia/src/gpu/gl/GrGLVertexBuffer.h',
        '../third_party/skia/src/gpu/gl/GrGpuGL.cpp',
        '../third_party/skia/src/gpu/gl/GrGpuGL.h',
        '../third_party/skia/src/gpu/gl/GrGpuGL_program.cpp',

        '../third_party/skia/src/images/bmpdecoderhelper.cpp',
        '../third_party/skia/src/images/bmpdecoderhelper.h',
        #'../third_party/skia/src/images/SkFDStream.cpp',
        #'../third_party/skia/src/images/SkFlipPixelRef.cpp',
        '../third_party/skia/src/images/SkImageDecoder.cpp',
        '../third_party/skia/src/images/SkImageDecoder_Factory.cpp',
        #'../third_party/skia/src/images/SkImageDecoder_fpdfemb.cpp',
        #'../third_party/skia/src/images/SkImageDecoder_libbmp.cpp',
        #'../third_party/skia/src/images/SkImageDecoder_libgif.cpp',
        #'../third_party/skia/src/images/SkImageDecoder_libico.cpp',
        #'../third_party/skia/src/images/SkImageDecoder_libjpeg.cpp',
        #'../third_party/skia/src/images/SkImageDecoder_libpng.cpp',
        #'../third_party/skia/src/images/SkImageDecoder_libpvjpeg.cpp',
        #'../third_party/skia/src/images/SkImageDecoder_wbmp.cpp',
        #'../third_party/skia/src/images/SkImageEncoder.cpp',
        #'../third_party/skia/src/images/SkImageEncoder_Factory.cpp',
        #'../third_party/skia/src/images/SkImageRef.cpp',
        #'../third_party/skia/src/images/SkImageRefPool.cpp',
        #'../third_party/skia/src/images/SkImageRefPool.h',
        #'../third_party/skia/src/images/SkImageRef_GlobalPool.cpp',
        #'../third_party/skia/src/images/SkMovie.cpp',
        #'../third_party/skia/src/images/SkMovie_gif.cpp',
        '../third_party/skia/src/images/SkScaledBitmapSampler.cpp',
        '../third_party/skia/src/images/SkScaledBitmapSampler.h',

        '../third_party/skia/src/opts/opts_check_SSE2.cpp',

        '../third_party/skia/src/pdf/SkPDFCatalog.cpp',
        '../third_party/skia/src/pdf/SkPDFCatalog.h',
        '../third_party/skia/src/pdf/SkPDFDevice.cpp',
        '../third_party/skia/src/pdf/SkPDFDocument.cpp',
        '../third_party/skia/src/pdf/SkPDFFont.cpp',
        '../third_party/skia/src/pdf/SkPDFFont.h',
        '../third_party/skia/src/pdf/SkPDFFormXObject.cpp',
        '../third_party/skia/src/pdf/SkPDFFormXObject.h',
        '../third_party/skia/src/pdf/SkPDFGraphicState.cpp',
        '../third_party/skia/src/pdf/SkPDFGraphicState.h',
        '../third_party/skia/src/pdf/SkPDFImage.cpp',
        '../third_party/skia/src/pdf/SkPDFImage.h',
        '../third_party/skia/src/pdf/SkPDFPage.cpp',
        '../third_party/skia/src/pdf/SkPDFPage.h',
        '../third_party/skia/src/pdf/SkPDFShader.cpp',
        '../third_party/skia/src/pdf/SkPDFShader.h',
        '../third_party/skia/src/pdf/SkPDFStream.cpp',
        '../third_party/skia/src/pdf/SkPDFStream.h',
        '../third_party/skia/src/pdf/SkPDFTypes.cpp',
        '../third_party/skia/src/pdf/SkPDFTypes.h',
        '../third_party/skia/src/pdf/SkPDFUtils.cpp',
        '../third_party/skia/src/pdf/SkPDFUtils.h',

        '../third_party/skia/src/ports/FontHostConfiguration_android.cpp',
        '../third_party/skia/src/ports/SkFontDescriptor.cpp',
        '../third_party/skia/src/ports/SkFontDescriptor.h',
        #'../third_party/skia/src/ports/SkFontHost_FONTPATH.cpp',
        '../third_party/skia/src/ports/SkFontHost_FreeType.cpp',
        '../third_party/skia/src/ports/SkFontHost_android.cpp',
        #'../third_party/skia/src/ports/SkFontHost_ascender.cpp',
        '../third_party/skia/src/ports/SkFontHost_tables.cpp',
        #'../third_party/skia/src/ports/SkFontHost_linux.cpp',
        '../third_party/skia/src/ports/SkFontHost_mac.cpp',
        #'../third_party/skia/src/ports/SkFontHost_none.cpp',
        '../third_party/skia/src/ports/SkFontHost_sandbox_none.cpp',
        '../third_party/skia/src/ports/SkFontHost_win.cpp',
        '../third_party/skia/src/ports/SkGlobalInitialization_chromium.cpp',
        #'../third_party/skia/src/ports/SkImageDecoder_CG.cpp',
        #'../third_party/skia/src/ports/SkImageDecoder_empty.cpp',
        #'../third_party/skia/src/ports/SkImageRef_ashmem.cpp',
        #'../third_party/skia/src/ports/SkImageRef_ashmem.h',
        #'../third_party/skia/src/ports/SkOSEvent_android.cpp',
        #'../third_party/skia/src/ports/SkOSEvent_dummy.cpp',
        '../third_party/skia/src/ports/SkOSFile_stdio.cpp',
        #'../third_party/skia/src/ports/SkThread_none.cpp',
        '../third_party/skia/src/ports/SkThread_pthread.cpp',
        '../third_party/skia/src/ports/SkThread_win.cpp',
        '../third_party/skia/src/ports/SkTime_Unix.cpp',
        #'../third_party/skia/src/ports/SkXMLParser_empty.cpp',
        #'../third_party/skia/src/ports/SkXMLParser_expat.cpp',
        #'../third_party/skia/src/ports/SkXMLParser_tinyxml.cpp',
        #'../third_party/skia/src/ports/SkXMLPullParser_expat.cpp',

        '../third_party/skia/src/sfnt/SkOTUtils.cpp',
        '../third_party/skia/src/sfnt/SkOTUtils.h',

        '../third_party/skia/include/utils/mac/SkCGUtils.h',
        '../third_party/skia/include/utils/SkDeferredCanvas.h',
        '../third_party/skia/include/utils/SkMatrix44.h',
        '../third_party/skia/src/utils/mac/SkCreateCGImageRef.cpp',
        '../third_party/skia/src/utils/SkBase64.cpp',
        '../third_party/skia/src/utils/SkBase64.h',
        '../third_party/skia/src/utils/SkBitSet.cpp',
        '../third_party/skia/src/utils/SkBitSet.h',
        '../third_party/skia/src/utils/SkDeferredCanvas.cpp',
        '../third_party/skia/src/utils/SkMatrix44.cpp',
        '../third_party/skia/src/utils/SkNullCanvas.cpp',
        '../third_party/skia/include/utils/SkNWayCanvas.h',
        '../third_party/skia/src/utils/SkNWayCanvas.cpp',

        '../third_party/skia/include/core/Sk64.h',
        '../third_party/skia/include/core/SkAdvancedTypefaceMetrics.h',
        '../third_party/skia/include/core/SkAnnotation.h',
        '../third_party/skia/include/core/SkAutoKern.h',
        '../third_party/skia/include/core/SkBitmap.h',
        '../third_party/skia/include/core/SkBlitRow.h',
        '../third_party/skia/include/core/SkBlitter.h',
        '../third_party/skia/include/core/SkBounder.h',
        '../third_party/skia/include/core/SkBuffer.h',
        '../third_party/skia/include/core/SkCanvas.h',
        '../third_party/skia/include/core/SkChunkAlloc.h',
        '../third_party/skia/include/core/SkClipStack.h',
        '../third_party/skia/include/core/SkColor.h',
        '../third_party/skia/include/core/SkColorFilter.h',
        '../third_party/skia/include/core/SkColorPriv.h',
        '../third_party/skia/include/core/SkColorShader.h',
        '../third_party/skia/include/core/SkComposeShader.h',
        '../third_party/skia/include/core/SkData.h',
        '../third_party/skia/include/core/SkDeque.h',
        '../third_party/skia/include/core/SkDescriptor.h',
        '../third_party/skia/include/core/SkDevice.h',
        '../third_party/skia/include/core/SkDither.h',
        '../third_party/skia/include/core/SkDraw.h',
        '../third_party/skia/include/core/SkDrawFilter.h',
        '../third_party/skia/include/core/SkDrawLooper.h',
        #'../third_party/skia/include/core/SkDrawing.h',
        '../third_party/skia/include/core/SkEndian.h',
        '../third_party/skia/include/core/SkFDot6.h',
        '../third_party/skia/include/core/SkFixed.h',
        '../third_party/skia/include/core/SkFlate.h',
        '../third_party/skia/include/core/SkFlattenable.h',
        '../third_party/skia/include/core/SkFloatBits.h',
        '../third_party/skia/include/core/SkFloatingPoint.h',
        '../third_party/skia/include/core/SkFontHost.h',
        '../third_party/skia/include/core/SkGeometry.h',
        '../third_party/skia/include/core/SkGraphics.h',
        '../third_party/skia/include/core/SkInstCnt.h',
        '../third_party/skia/include/core/SkMMapStream.h',
        '../third_party/skia/include/core/SkMallocPixelRef.h',
        '../third_party/skia/include/core/SkMask.h',
        '../third_party/skia/include/core/SkMaskFilter.h',
        '../third_party/skia/include/core/SkMath.h',
        '../third_party/skia/include/core/SkMatrix.h',
        '../third_party/skia/include/core/SkOSFile.h',
        '../third_party/skia/include/core/SkPackBits.h',
        '../third_party/skia/include/core/SkPaint.h',
        '../third_party/skia/include/core/SkPath.h',
        '../third_party/skia/include/core/SkPathEffect.h',
        '../third_party/skia/include/core/SkPathMeasure.h',
        '../third_party/skia/include/core/SkPerspIter.h',
        '../third_party/skia/include/core/SkPicture.h',
        '../third_party/skia/include/core/SkPixelRef.h',
        '../third_party/skia/include/core/SkPoint.h',
        '../third_party/skia/include/core/SkPtrRecorder.h',
        '../third_party/skia/include/core/SkRandom.h',
        '../third_party/skia/include/core/SkRasterizer.h',
        '../third_party/skia/include/core/SkReader32.h',
        '../third_party/skia/include/core/SkRect.h',
        '../third_party/skia/include/core/SkRefCnt.h',
        '../third_party/skia/include/core/SkRefDict.h',
        '../third_party/skia/include/core/SkRegion.h',
        '../third_party/skia/include/core/SkScalar.h',
        '../third_party/skia/include/core/SkScalarCompare.h',
        '../third_party/skia/include/core/SkScalerContext.h',
        '../third_party/skia/include/core/SkScan.h',
        '../third_party/skia/include/core/SkShader.h',
        '../third_party/skia/include/core/SkStream.h',
        '../third_party/skia/include/core/SkString.h',
        '../third_party/skia/include/core/SkTArray.h',
        '../third_party/skia/include/core/SkTDArray.h',
        '../third_party/skia/include/core/SkTDStack.h',
        '../third_party/skia/include/core/SkTDict.h',
        '../third_party/skia/include/core/SkTRegistry.h',
        '../third_party/skia/include/core/SkTScopedPtr.h',
        '../third_party/skia/include/core/SkTSearch.h',
        '../third_party/skia/include/core/SkTemplates.h',
        '../third_party/skia/include/core/SkThread.h',
        '../third_party/skia/include/core/SkThread_platform.h',
        '../third_party/skia/include/core/SkTime.h',
        '../third_party/skia/include/core/SkTypeface.h',
        '../third_party/skia/include/core/SkTypes.h',
        '../third_party/skia/include/core/SkUnPreMultiply.h',
        '../third_party/skia/include/core/SkUnitMapper.h',
        '../third_party/skia/include/core/SkUtils.h',
        '../third_party/skia/include/core/SkWriter32.h',
        '../third_party/skia/include/core/SkXfermode.h',

        '../third_party/skia/include/effects/Sk1DPathEffect.h',
        '../third_party/skia/include/effects/Sk2DPathEffect.h',
        '../third_party/skia/include/effects/SkAvoidXfermode.h',
        '../third_party/skia/include/effects/SkBlurDrawLooper.h',
        '../third_party/skia/include/effects/SkBlurImageFilter.h',
        '../third_party/skia/include/effects/SkBlurMaskFilter.h',
        '../third_party/skia/include/effects/SkColorMatrix.h',
        '../third_party/skia/include/effects/SkColorMatrixFilter.h',
        '../third_party/skia/include/effects/SkCornerPathEffect.h',
        '../third_party/skia/include/effects/SkDashPathEffect.h',
        '../third_party/skia/include/effects/SkDiscretePathEffect.h',
        '../third_party/skia/include/effects/SkDrawExtraPathEffect.h',
        '../third_party/skia/include/effects/SkEmbossMaskFilter.h',
        '../third_party/skia/include/effects/SkGradientShader.h',
        '../third_party/skia/include/effects/SkKernel33MaskFilter.h',
        '../third_party/skia/include/effects/SkLayerDrawLooper.h',
        '../third_party/skia/include/effects/SkLayerRasterizer.h',
        '../third_party/skia/include/effects/SkLightingImageFilter.h',
        '../third_party/skia/include/effects/SkMorphologyImageFilter.h',
        '../third_party/skia/include/effects/SkPaintFlagsDrawFilter.h',
        '../third_party/skia/include/effects/SkPixelXorXfermode.h',
        '../third_party/skia/include/effects/SkPorterDuff.h',
        '../third_party/skia/include/effects/SkTransparentShader.h',

        '../third_party/skia/include/gpu/GrAARectRenderer.h',
        '../third_party/skia/include/gpu/GrClipData.h',
        '../third_party/skia/include/gpu/GrColor.h',
        '../third_party/skia/include/gpu/GrConfig.h',
        '../third_party/skia/include/gpu/GrContext.h',
        '../third_party/skia/include/gpu/GrCustomStage.h',
        '../third_party/skia/include/gpu/GrFontScaler.h',
        '../third_party/skia/include/gpu/gl/GrGLConfig.h',
        '../third_party/skia/include/gpu/gl/GrGLConfig_chrome.h',
        '../third_party/skia/include/gpu/gl/GrGLFunctions.h',
        '../third_party/skia/include/gpu/gl/GrGLInterface.h',
        '../third_party/skia/include/gpu/GrGlyph.h',
        '../third_party/skia/include/gpu/GrInstanceCounter.h',
        '../third_party/skia/include/gpu/GrKey.h',
        '../third_party/skia/include/gpu/GrMatrix.h',
        '../third_party/skia/include/gpu/GrNoncopyable.h',
        '../third_party/skia/include/gpu/GrPaint.h',
        '../third_party/skia/include/gpu/GrPoint.h',
        '../third_party/skia/include/gpu/GrProgramStageFactory.h',
        '../third_party/skia/include/gpu/GrRect.h',
        '../third_party/skia/include/gpu/GrRefCnt.h',
        '../third_party/skia/include/gpu/GrRenderTarget.h',
        '../third_party/skia/include/gpu/GrSamplerState.h',
        '../third_party/skia/include/gpu/GrScalar.h',
        '../third_party/skia/include/gpu/GrSurface.h',
        '../third_party/skia/include/gpu/GrTextContext.h',
        '../third_party/skia/include/gpu/GrTexture.h',
        '../third_party/skia/include/gpu/GrTypes.h',
        '../third_party/skia/include/gpu/GrUserConfig.h',
        '../third_party/skia/include/gpu/SkGpuCanvas.h',
        '../third_party/skia/include/gpu/SkGpuDevice.h',
        '../third_party/skia/include/gpu/SkGr.h',
        '../third_party/skia/include/gpu/SkGrPixelRef.h',
        '../third_party/skia/include/gpu/SkGrTexturePixelRef.h',

        '../third_party/skia/include/pdf/SkPDFDevice.h',
        '../third_party/skia/include/pdf/SkPDFDocument.h',

        '../third_party/skia/include/pipe/SkGPipe.h',

        '../third_party/skia/include/ports/SkStream_Win.h',
        '../third_party/skia/include/ports/SkTypeface_win.h',

        '../third_party/skia/include/images/SkFlipPixelRef.h',
        '../third_party/skia/include/images/SkImageDecoder.h',
        '../third_party/skia/include/images/SkImageEncoder.h',
        '../third_party/skia/include/images/SkImageRef.h',
        '../third_party/skia/include/images/SkImageRef_GlobalPool.h',
        '../third_party/skia/include/images/SkMovie.h',
        '../third_party/skia/include/images/SkPageFlipper.h',

        '../third_party/skia/include/utils/SkNullCanvas.h',

        'ext/bitmap_platform_device.h',
        'ext/bitmap_platform_device_android.cc',
        'ext/bitmap_platform_device_android.h',
        'ext/bitmap_platform_device_data.h',
        'ext/bitmap_platform_device_linux.cc',
        'ext/bitmap_platform_device_linux.h',
        'ext/bitmap_platform_device_mac.cc',
        'ext/bitmap_platform_device_mac.h',
        'ext/bitmap_platform_device_win.cc',
        'ext/bitmap_platform_device_win.h',
        'ext/canvas_paint.h',
        'ext/canvas_paint_common.h',
        'ext/canvas_paint_gtk.h',
        'ext/canvas_paint_mac.h',
        'ext/canvas_paint_win.h',
        'ext/convolver.cc',
        'ext/convolver.h',
        'ext/google_logging.cc',
        'ext/image_operations.cc',
        'ext/image_operations.h',
        'ext/SkThread_chrome.cc',
        'ext/platform_canvas.cc',
        'ext/platform_canvas.h',
        'ext/platform_canvas_linux.cc',
        'ext/platform_canvas_mac.cc',
        'ext/platform_canvas_skia.cc',
        'ext/platform_canvas_win.cc',
        'ext/platform_device.cc',
        'ext/platform_device.h',
        'ext/platform_device_linux.cc',
        'ext/platform_device_mac.cc',
        'ext/platform_device_win.cc',
        'ext/SkMemory_new_handler.cpp',
        'ext/skia_sandbox_support_win.h',
        'ext/skia_sandbox_support_win.cc',
        'ext/skia_trace_shim.h',
        'ext/skia_utils_mac.mm',
        'ext/skia_utils_mac.h',
        'ext/skia_utils_win.cc',
        'ext/skia_utils_win.h',
        'ext/vector_canvas.cc',
        'ext/vector_canvas.h',
        'ext/vector_platform_device_emf_win.cc',
        'ext/vector_platform_device_emf_win.h',
        'ext/vector_platform_device_skia.cc',
        'ext/vector_platform_device_skia.h',
      ],
      'include_dirs': [
        '..',
        'config',
        '../third_party/skia/include/config',
        '../third_party/skia/include/core',
        '../third_party/skia/include/effects',
        '../third_party/skia/include/gpu',
        '../third_party/skia/include/gpu/gl',
        '../third_party/skia/include/images',
        '../third_party/skia/include/pdf',
        '../third_party/skia/include/pipe',
        '../third_party/skia/include/ports',
        '../third_party/skia/include/utils',
        '../third_party/skia/src/core',
        '../third_party/skia/src/gpu',
        '../third_party/skia/src/sfnt',
        '../third_party/skia/src/utils',
      ],
      'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4800],
      'defines': [
        'SK_GAMMA_SRGB',
        #'SK_GAMMA_APPLY_TO_A8',
        'SK_BUILD_NO_IMAGE_ENCODE',
        'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"',
        'GR_STATIC_RECT_VB=1',
        'GR_AGGRESSIVE_SHADER_OPTS=1',
        'SK_DISABLE_FAST_AA_STROKE_RECT',
        'SK_DEFERRED_CANVAS_USES_GPIPE=1',

        # temporary for landing Skia rev 3077 with minimal layout test breakage
        'SK_SIMPLE_TWOCOLOR_VERTICAL_GRADIENTS',

        # skia uses static initializers to initialize the serialization logic
        # of its "pictures" library. This is currently not used in chrome; if
        # it ever gets used the processes that use it need to call
        # SkGraphics::Init().
        'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=0',

        # Temporarily disable the Skia fix in
        # http://code.google.com/p/skia/source/detail?r=3037 ; enabling that
        # fix will require substantial rebaselining.
        'SK_DRAW_POS_TEXT_IGNORE_SUBPIXEL_LEFT_ALIGN_FIX',

        # Temporarily ignore fix to antialias coverage, until we can rebaseline
        'SK_USE_LEGACY_AA_COVERAGE',
      ],
      'sources!': [
        '../third_party/skia/include/core/SkTypes.h',
      ],
      'conditions': [
        ['order_profiling != 0', {
          'target_conditions' : [
            ['_toolset=="target"', {
              'cflags!': [ '-finstrument-functions' ],
            }],
          ],
        }],
        # For POSIX platforms, prefer the Mutex implementation provided by Skia
        # since it does not generate static initializers.
        [ 'OS == "android" or OS == "linux" or OS == "mac"', {
          'defines+': [
            'SK_USE_POSIX_THREADS',
          ],
          'sources!': [
            'ext/SkThread_chrome.cc',
          ],
        }],
        [ 'OS != "android"', {
          'sources/': [
            ['exclude', '_android\\.(cc|cpp)$'],
          ],
          'defines': [
            'SK_DEFAULT_FONT_CACHE_LIMIT=(20*1024*1024)',
          ],
        }],
        [ 'OS != "mac"', {
          'sources/': [
            ['exclude', '_mac\\.(cc|cpp|mm?)$'],
            ['exclude', '/mac/']
          ],
        }],
        [ 'OS != "win"', {
          'sources/': [ ['exclude', '_win\\.(cc|cpp)$'] ],
        }],
        [ 'armv7 == 1', {
          'defines': [
            '__ARM_ARCH__=7',
          ],
        }],
        [ 'armv7 == 1 and arm_neon == 1', {
          'defines': [
            '__ARM_HAVE_NEON',
          ],
        }],
        [ 'target_arch == "arm"', {
          'sources!': [
            '../third_party/skia/src/opts/opts_check_SSE2.cpp'
          ],
        }],
        [ 'use_glib == 1', {
          'dependencies': [
            '../build/linux/system.gyp:fontconfig',
            '../build/linux/system.gyp:freetype2',
            '../build/linux/system.gyp:pangocairo',
            '../third_party/harfbuzz/harfbuzz.gyp:harfbuzz',
            '../third_party/icu/icu.gyp:icuuc',
          ],
          'cflags': [
            '-Wno-unused',
            '-Wno-unused-function',
          ],
          'sources': [
            'ext/SkFontHost_fontconfig.cpp',
            'ext/SkFontHost_fontconfig_direct.cpp',
          ],
          'defines': [
#            'SK_USE_COLOR_LUMINANCE',
          ],
        }],
        [ 'use_glib == 0 and OS != "android"', {
          'sources/': [ ['exclude', '_linux\\.(cc|cpp)$'] ],
          'sources!': [
            '../third_party/skia/src/ports/SkFontHost_FreeType.cpp',
          ],
        }],
        [ 'use_aura == 1 and use_canvas_skia == 1', {
          'sources/': [
            ['exclude', 'ext/platform_canvas_mac\\.cc$'],
            ['exclude', 'ext/platform_canvas_linux\\.cc$'],
            ['exclude', 'ext/platform_canvas_win\\.cc$'],
          ],
        }, { # use_aura == 0 and use_canvas_skia == 1
          'sources/': [ ['exclude', 'ext/platform_canvas_skia\\.cc$'] ],
        }],
        [ 'toolkit_uses_gtk == 1', {
          'dependencies': [
            '../build/linux/system.gyp:gdk',
          ],
        }, {  # toolkit_uses_gtk == 0
          'sources/': [ ['exclude', '_gtk\\.(cc|cpp)$'] ],
        }],
        [ 'OS == "android"', {
          'sources/': [
            ['exclude', '_linux\\.(cc|cpp)$'],
          ],
          'conditions': [
            [ '_toolset == "target"', {
              'defines': [
                'HAVE_PTHREADS',
                'OS_ANDROID',
                'SK_BUILD_FOR_ANDROID_NDK',
                # Android devices are typically more memory constrained, so
                # use a smaller glyph cache.
                'SK_DEFAULT_FONT_CACHE_LIMIT=(8*1024*1024)',
                'USE_CHROMIUM_SKIA',
              ],
              'dependencies': [
                '../third_party/expat/expat.gyp:expat',
                '../third_party/freetype/freetype.gyp:ft2',
                '../third_party/harfbuzz/harfbuzz.gyp:harfbuzz',
                'skia_opts'
              ],
              'dependencies!': [
                # Android doesn't use Skia's PDF generation, which is what uses
                # sfntly.
                '../third_party/sfntly/sfntly.gyp:sfntly',
              ],
              # This exports a hard dependency because it needs to run its
              # symlink action in order to expose the skia header files.
              'hard_dependency': 1,
              'include_dirs': [
                '../third_party/expat/files/lib',
              ],
              'sources/': [
                ['include', 'ext/platform_device_linux\\.cc$'],
                ['include', 'ext/platform_canvas_linux\\.cc$'],
              ],
              'sources!': [
                'ext/vector_platform_device_skia.cc',
                '../third_party/skia/src/pdf/SkPDFFont.cpp',
              ],
              'export_dependent_settings': [
                '../third_party/harfbuzz/harfbuzz.gyp:harfbuzz',
              ],
            }],
            [ '_toolset == "target" and android_build_type == 0', {
              'defines': [
                'HAVE_ENDIAN_H',
              ],
            }],
            [ '_toolset=="host" and host_os=="linux"', {
              'sources': [
                'ext/platform_device_linux.cc',
                'ext/platform_canvas_linux.cc',
              ],
            }],
          ],
        }],
        [ 'OS == "ios"', {
          'sources/': [
            # iOS does not require most of skia and only needs a single file.
            # Rather than creating a separate top-level target, simply exclude
            # all files except for the one that is needed.
            ['exclude', '.*'],
            ['include', '^ext/google_logging\\.cc$'],
          ],
        }],
        [ 'OS == "mac"', {
          'defines': [
            'SK_BUILD_FOR_MAC',
          ],
          'include_dirs': [
            '../third_party/skia/include/utils/mac',
          ],
          'link_settings': {
            'libraries': [
              '$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
            ],
          },
          'sources': [
            '../third_party/skia/src/utils/mac/SkStream_mac.cpp',
          ],
          'sources!': [
            # The mac's fonthost implements the table methods natively,
            # so no need for these generic versions.
            '../third_party/skia/src/ports/SkFontHost_tables.cpp',
          ],
          'conditions': [
             [ 'use_skia == 0', {
               'sources/': [
                 ['exclude', '/pdf/'],
                 ['exclude', 'ext/vector_platform_device_skia\\.(cc|h)'],
               ],
            },
            { # use_skia
              'defines': [
                'SK_USE_MAC_CORE_TEXT',
#                'SK_USE_COLOR_LUMINANCE',
              ],
            }],
          ],
        }],
        [ 'OS == "win"', {
          'sources!': [
            '../third_party/skia/src/core/SkMMapStream.cpp',
            '../third_party/skia/src/ports/SkFontHost_sandbox_none.cpp',
            '../third_party/skia/src/ports/SkThread_pthread.cpp',
            '../third_party/skia/src/ports/SkTime_Unix.cpp',
            'ext/SkThread_chrome.cc',
          ],
          'include_dirs': [
            'config/win',
          ],
          'direct_dependent_settings': {
            'include_dirs': [
              'config/win',
            ],
          },
        }],
        ['component=="shared_library"', {
          'defines': [
            'GR_DLL=1',
            'GR_IMPLEMENTATION=1',
            'SKIA_DLL',
            'SKIA_IMPLEMENTATION=1',
          ],
          'dependencies': [
            '../base/base.gyp:base',
          ],
          'direct_dependent_settings': {
            'defines': [
              'GR_DLL',
              'SKIA_DLL',
            ],
          },
        }],
        ['OS != "ios"', {

          'dependencies': [
            'skia_opts',
            '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
            '../third_party/sfntly/sfntly.gyp:sfntly',
            '../third_party/zlib/zlib.gyp:zlib',
          ],
        }],
      ],
      'direct_dependent_settings': {
        'include_dirs': [
          'config',

          #temporary until we can hide SkFontHost
          '../third_party/skia/src/core',

          '../third_party/skia/include/config',
          '../third_party/skia/include/core',
          '../third_party/skia/include/effects',
          '../third_party/skia/include/pdf',
          '../third_party/skia/include/gpu',
          '../third_party/skia/include/gpu/gl',
          '../third_party/skia/include/pipe',
          '../third_party/skia/include/ports',
          '../third_party/skia/include/utils',
          'ext',
        ],
        'defines': [
          'SK_BUILD_NO_IMAGE_ENCODE',
          'SK_DEFERRED_CANVAS_USES_GPIPE=1',
          'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"',
          'GR_AGGRESSIVE_SHADER_OPTS=1',
        ],
        'conditions': [
          ['OS=="android"', {
            'dependencies!': [
              'skia_opts',
              '../third_party/zlib/zlib.gyp:zlib',
            ],
            'defines': [
              # Don't use non-NDK available stuff.
              'SK_BUILD_FOR_ANDROID_NDK',
            ],
            'conditions': [
              [ '_toolset == "target" and android_build_type == 0', {
                'defines': [
                  'HAVE_ENDIAN_H',
                ],
              }],
            ],
          }],
          ['OS=="mac"', {
            'include_dirs': [
              '../third_party/skia/include/utils/mac',
            ],
          }],
        ],
      },
    },

    # Due to an unfortunate intersection of lameness between gcc and gyp,
    # we have to build the *_SSE2.cpp files in a separate target.  The
    # gcc lameness is that, in order to compile SSE2 intrinsics code, it
    # must be passed the -msse2 flag.  However, with this flag, it may
    # emit SSE2 instructions even for scalar code, such as the CPUID
    # test used to test for the presence of SSE2.  So that, and all other
    # code must be compiled *without* -msse2.  The gyp lameness is that it
    # does not allow file-specific CFLAGS, so we must create this extra
    # target for those files to be compiled with -msse2.
    #
    # This is actually only a problem on 32-bit Linux (all Intel Macs have
    # SSE2, Linux x86_64 has SSE2 by definition, and MSC will happily emit
    # SSE2 from instrinsics, which generating plain ol' 386 for everything
    # else).  However, to keep the .gyp file simple and avoid platform-specific
    # build breakage, we do this on all platforms.

    # For about the same reason, we need to compile the ARM opts files
    # separately as well.
    {
      'target_name': 'skia_opts',
      'type': 'static_library',
      'variables': {
        'optimize': 'max',
      },
      'include_dirs': [
        '..',
        'config',
        '../third_party/skia/include/config',
        '../third_party/skia/include/core',
        '../third_party/skia/include/effects',
        '../third_party/skia/include/images',
        '../third_party/skia/include/utils',
        '../third_party/skia/src/core',
      ],
      'conditions': [
        ['order_profiling != 0', {
          'target_conditions' : [
            ['_toolset=="target"', {
              'cflags!': [ '-finstrument-functions' ],
            }],
          ],
        }],
        [ 'os_posix == 1 and OS != "mac" and OS != "android" and target_arch != "arm"', {
          'cflags': [
            '-msse2',
          ],
        }],
        [ 'OS == "android"', {
          'defines': [
            'SK_BUILD_FOR_ANDROID_NDK',
          ],
        }],
        [ 'target_arch != "arm"', {
          'sources': [
            '../third_party/skia/src/opts/SkBitmapProcState_opts_SSE2.cpp',
            '../third_party/skia/src/opts/SkBlitRect_opts_SSE2.cpp',
            '../third_party/skia/src/opts/SkBlitRow_opts_SSE2.cpp',
            '../third_party/skia/src/opts/SkUtils_opts_SSE2.cpp',
          ],
          'conditions': [
            # x86 Android doesn't support SSSE3 instructions.
            [ 'OS != "android"', {
              'dependencies': [
                'skia_opts_ssse3',
              ],
            }],
          ],
        },
        {  # arm
          'conditions': [
            ['order_profiling != 0', {
              'target_conditions' : [
                ['_toolset=="target"', {
                  'cflags!': [ '-finstrument-functions' ],
                }],
              ],
            }],
            [ 'armv7 == 1', {
              'defines': [
                '__ARM_ARCH__=7',
              ],
            }],
            [ 'armv7 == 1 and arm_neon == 1', {
              'defines': [
                '__ARM_HAVE_NEON',
              ],
              'cflags': [
                # The neon assembly contains conditional instructions which
                # aren't enclosed in an IT block. The assembler complains
                # without this option.
                # See #86592.
                '-Wa,-mimplicit-it=always',
              ],
           }],
          ],
          # The assembly uses the frame pointer register (r7 in Thumb/r11 in
          # ARM), the compiler doesn't like that. Explicitly remove the
          # -fno-omit-frame-pointer flag for Android, as that gets added to all
          # targets via common.gypi.
          'cflags!': [
            '-fno-omit-frame-pointer',
          ],
          'cflags': [
            '-fomit-frame-pointer',
          ],
          'sources': [
            '../third_party/skia/src/opts/SkBitmapProcState_opts_arm.cpp',
            '../third_party/skia/src/opts/SkBlitRow_opts_arm.cpp',
            '../third_party/skia/src/opts/opts_check_arm.cpp',
          ],
        }],
        [ 'armv7 == 1 and arm_neon == 0', {
          'sources': [
            '../third_party/skia/src/opts/memset.arm.S',
        ],
        }],
        [ 'armv7 == 1 and arm_neon == 1', {
          'sources': [
            '../third_party/skia/src/opts/memset16_neon.S',
            '../third_party/skia/src/opts/memset32_neon.S',
            '../third_party/skia/src/opts/SkBitmapProcState_matrixProcs_neon.cpp',
            '../third_party/skia/src/opts/SkBitmapProcState_matrix_clamp_neon.h',
            '../third_party/skia/src/opts/SkBitmapProcState_matrix_repeat_neon.h',
        ],
        }],
        [ 'target_arch == "arm" and armv7 != 1', {
          'sources': [
            '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp',
          ],
          'sources!': [
            '../third_party/skia/src/opts/SkBlitRow_opts_arm.cpp',
          ],
        }],
      ],
    },
    # For the same lame reasons as what is done for skia_opts, we have to
    # create another target specifically for SSSE3 code as we would not want
    # to compile the SSE2 code with -mssse3 which would potentially allow
    # gcc to generate SSSE3 code.
    {
      'target_name': 'skia_opts_ssse3',
      'type': 'static_library',
      'variables': {
        'optimize': 'max',
      },
      'include_dirs': [
        '..',
        'config',
        '../third_party/skia/include/config',
        '../third_party/skia/include/core',
        '../third_party/skia/src/core',
      ],
      'conditions': [
        [ 'OS in ["linux", "freebsd", "openbsd", "solaris"]', {
          'cflags': [
            '-mssse3',
          ],
        }],
        ['order_profiling != 0', {
          'target_conditions' : [
            ['_toolset=="target"', {
              'cflags!': [ '-finstrument-functions' ],
            }],
          ],
        }],
        [ 'OS == "mac"', {
          'xcode_settings': {
            'GCC_ENABLE_SUPPLEMENTAL_SSE3_INSTRUCTIONS': 'YES',
          },
        }],
        [ 'OS == "win"', {
          'include_dirs': [
            'config/win',
          ],
          'direct_dependent_settings': {
            'include_dirs': [
              'config/win',
            ],
          },
        }],
        [ 'target_arch != "arm"', {
          'sources': [
            '../third_party/skia/src/opts/SkBitmapProcState_opts_SSSE3.cpp',
          ],
        }],
      ],
    },
    {
      'target_name': 'image_operations_bench',
      'type': 'executable',
      'dependencies': [
        '../base/base.gyp:base',
        'skia',
      ],
      'include_dirs': [
        '..',
      ],
      'sources': [
        'ext/image_operations_bench.cc',
      ],
    },
  ],
}