Ben Murdoch | effb81e | 2014-03-31 11:51:25 +0100 | [diff] [blame] | 1 | # This file is generated by gyp; do not edit. |
| 2 | |
| 3 | include $(CLEAR_VARS) |
| 4 | |
| 5 | LOCAL_MODULE_CLASS := STATIC_LIBRARIES |
| 6 | LOCAL_MODULE := skia_skia_library_gyp |
| 7 | LOCAL_MODULE_SUFFIX := .a |
| 8 | LOCAL_MODULE_TAGS := optional |
Ben Murdoch | c5cede9 | 2014-04-10 11:22:14 +0100 | [diff] [blame] | 9 | LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) |
| 10 | gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) |
| 11 | gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) |
Ben Murdoch | effb81e | 2014-03-31 11:51:25 +0100 | [diff] [blame] | 12 | |
| 13 | # Make sure our deps are built first. |
| 14 | GYP_TARGET_DEPENDENCIES := \ |
Ben Murdoch | c5cede9 | 2014-04-10 11:22:14 +0100 | [diff] [blame] | 15 | $(call intermediates-dir-for,GYP,third_party_WebKit_public_blink_skia_config_gyp,,,$(GYP_VAR_PREFIX))/blink_skia_config.stamp \ |
| 16 | $(call intermediates-dir-for,GYP,third_party_expat_expat_gyp,,,$(GYP_VAR_PREFIX))/expat.stamp |
Ben Murdoch | effb81e | 2014-03-31 11:51:25 +0100 | [diff] [blame] | 17 | |
| 18 | GYP_GENERATED_OUTPUTS := |
| 19 | |
| 20 | # Make sure our deps and generated files are built first. |
| 21 | LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) |
| 22 | |
| 23 | LOCAL_GENERATED_SOURCES := |
| 24 | |
| 25 | GYP_COPIED_SOURCE_ORIGIN_DIRS := |
| 26 | |
| 27 | LOCAL_SRC_FILES := \ |
| 28 | third_party/skia/src/core/SkFlate.cpp \ |
| 29 | third_party/skia/src/core/SkPaintOptionsAndroid.cpp \ |
| 30 | third_party/skia/src/ports/SkImageDecoder_empty.cpp \ |
| 31 | third_party/skia/src/images/SkScaledBitmapSampler.cpp \ |
| 32 | third_party/skia/src/opts/opts_check_SSE2.cpp \ |
Ben Murdoch | effb81e | 2014-03-31 11:51:25 +0100 | [diff] [blame] | 33 | third_party/skia/src/ports/SkFontConfigInterface_android.cpp \ |
| 34 | third_party/skia/src/ports/SkFontHost_fontconfig.cpp \ |
| 35 | third_party/skia/src/fonts/SkFontMgr_indirect.cpp \ |
| 36 | third_party/skia/src/fonts/SkRemotableFontMgr.cpp \ |
| 37 | third_party/skia/src/ports/SkFontHost_FreeType.cpp \ |
| 38 | third_party/skia/src/ports/SkFontHost_FreeType_common.cpp \ |
| 39 | third_party/skia/src/ports/SkFontConfigParser_android.cpp \ |
| 40 | third_party/skia/src/ports/SkGlobalInitialization_chromium.cpp \ |
| 41 | third_party/skia/src/ports/SkOSFile_posix.cpp \ |
| 42 | third_party/skia/src/ports/SkOSFile_stdio.cpp \ |
| 43 | third_party/skia/src/ports/SkTime_Unix.cpp \ |
| 44 | third_party/skia/src/ports/SkTLS_pthread.cpp \ |
| 45 | third_party/skia/src/sfnt/SkOTTable_name.cpp \ |
| 46 | third_party/skia/src/sfnt/SkOTUtils.cpp \ |
| 47 | third_party/skia/src/utils/debugger/SkDebugCanvas.cpp \ |
| 48 | third_party/skia/src/utils/debugger/SkDrawCommand.cpp \ |
| 49 | third_party/skia/src/utils/debugger/SkObjectParser.cpp \ |
| 50 | third_party/skia/src/utils/SkBase64.cpp \ |
| 51 | third_party/skia/src/utils/SkBitSet.cpp \ |
| 52 | third_party/skia/src/utils/SkCanvasStack.cpp \ |
| 53 | third_party/skia/src/utils/SkCanvasStateUtils.cpp \ |
| 54 | third_party/skia/src/utils/SkEventTracer.cpp \ |
| 55 | third_party/skia/src/utils/SkDeferredCanvas.cpp \ |
| 56 | third_party/skia/src/utils/SkMatrix44.cpp \ |
| 57 | third_party/skia/src/utils/SkNullCanvas.cpp \ |
| 58 | third_party/skia/src/utils/SkNWayCanvas.cpp \ |
| 59 | third_party/skia/src/utils/SkPictureUtils.cpp \ |
| 60 | third_party/skia/src/utils/SkProxyCanvas.cpp \ |
| 61 | third_party/skia/src/utils/SkRTConf.cpp \ |
| 62 | third_party/skia/src/core/SkAAClip.cpp \ |
| 63 | third_party/skia/src/core/SkAnnotation.cpp \ |
| 64 | third_party/skia/src/core/SkAdvancedTypefaceMetrics.cpp \ |
| 65 | third_party/skia/src/core/SkAlphaRuns.cpp \ |
| 66 | third_party/skia/src/core/SkBBoxRecord.cpp \ |
| 67 | third_party/skia/src/core/SkBBoxHierarchyRecord.cpp \ |
| 68 | third_party/skia/src/core/SkBitmap.cpp \ |
| 69 | third_party/skia/src/core/SkBitmapDevice.cpp \ |
| 70 | third_party/skia/src/core/SkBitmapFilter.cpp \ |
| 71 | third_party/skia/src/core/SkBitmapHeap.cpp \ |
| 72 | third_party/skia/src/core/SkBitmapProcShader.cpp \ |
| 73 | third_party/skia/src/core/SkBitmapProcState.cpp \ |
| 74 | third_party/skia/src/core/SkBitmapProcState_matrixProcs.cpp \ |
| 75 | third_party/skia/src/core/SkBitmapScaler.cpp \ |
| 76 | third_party/skia/src/core/SkBitmap_scroll.cpp \ |
| 77 | third_party/skia/src/core/SkBlitMask_D32.cpp \ |
| 78 | third_party/skia/src/core/SkBlitRow_D16.cpp \ |
| 79 | third_party/skia/src/core/SkBlitRow_D32.cpp \ |
| 80 | third_party/skia/src/core/SkBlitter.cpp \ |
| 81 | third_party/skia/src/core/SkBlitter_A8.cpp \ |
| 82 | third_party/skia/src/core/SkBlitter_ARGB32.cpp \ |
| 83 | third_party/skia/src/core/SkBlitter_RGB16.cpp \ |
| 84 | third_party/skia/src/core/SkBlitter_Sprite.cpp \ |
| 85 | third_party/skia/src/core/SkBuffer.cpp \ |
| 86 | third_party/skia/src/core/SkCanvas.cpp \ |
| 87 | third_party/skia/src/core/SkChunkAlloc.cpp \ |
| 88 | third_party/skia/src/core/SkClipStack.cpp \ |
| 89 | third_party/skia/src/core/SkColor.cpp \ |
| 90 | third_party/skia/src/core/SkColorFilter.cpp \ |
| 91 | third_party/skia/src/core/SkColorTable.cpp \ |
| 92 | third_party/skia/src/core/SkComposeShader.cpp \ |
| 93 | third_party/skia/src/core/SkConfig8888.cpp \ |
| 94 | third_party/skia/src/core/SkConvolver.cpp \ |
| 95 | third_party/skia/src/core/SkCubicClipper.cpp \ |
| 96 | third_party/skia/src/core/SkData.cpp \ |
| 97 | third_party/skia/src/core/SkDataTable.cpp \ |
| 98 | third_party/skia/src/core/SkDebug.cpp \ |
| 99 | third_party/skia/src/core/SkDeque.cpp \ |
| 100 | third_party/skia/src/core/SkDevice.cpp \ |
| 101 | third_party/skia/src/core/SkDeviceLooper.cpp \ |
| 102 | third_party/skia/src/core/SkDeviceProfile.cpp \ |
| 103 | third_party/skia/src/lazy/SkDiscardableMemoryPool.cpp \ |
| 104 | third_party/skia/src/lazy/SkDiscardablePixelRef.cpp \ |
| 105 | third_party/skia/src/core/SkDistanceFieldGen.cpp \ |
| 106 | third_party/skia/src/core/SkDither.cpp \ |
| 107 | third_party/skia/src/core/SkDraw.cpp \ |
| 108 | third_party/skia/src/core/SkDrawLooper.cpp \ |
| 109 | third_party/skia/src/core/SkEdgeBuilder.cpp \ |
| 110 | third_party/skia/src/core/SkEdgeClipper.cpp \ |
| 111 | third_party/skia/src/core/SkEdge.cpp \ |
| 112 | third_party/skia/src/core/SkError.cpp \ |
| 113 | third_party/skia/src/core/SkFilterProc.cpp \ |
| 114 | third_party/skia/src/core/SkFilterShader.cpp \ |
| 115 | third_party/skia/src/core/SkFlattenable.cpp \ |
| 116 | third_party/skia/src/core/SkFlattenableSerialization.cpp \ |
| 117 | third_party/skia/src/core/SkFloat.cpp \ |
| 118 | third_party/skia/src/core/SkFloatBits.cpp \ |
Ben Murdoch | c5cede9 | 2014-04-10 11:22:14 +0100 | [diff] [blame] | 119 | third_party/skia/src/core/SkFont.cpp \ |
Ben Murdoch | effb81e | 2014-03-31 11:51:25 +0100 | [diff] [blame] | 120 | third_party/skia/src/core/SkFontHost.cpp \ |
| 121 | third_party/skia/src/core/SkFontDescriptor.cpp \ |
| 122 | third_party/skia/src/core/SkFontStream.cpp \ |
| 123 | third_party/skia/src/core/SkGeometry.cpp \ |
| 124 | third_party/skia/src/core/SkGlyphCache.cpp \ |
| 125 | third_party/skia/src/core/SkGraphics.cpp \ |
| 126 | third_party/skia/src/core/SkInstCnt.cpp \ |
| 127 | third_party/skia/src/core/SkImageFilter.cpp \ |
| 128 | third_party/skia/src/core/SkImageInfo.cpp \ |
| 129 | third_party/skia/src/core/SkLineClipper.cpp \ |
| 130 | third_party/skia/src/core/SkMallocPixelRef.cpp \ |
| 131 | third_party/skia/src/core/SkMask.cpp \ |
| 132 | third_party/skia/src/core/SkMaskFilter.cpp \ |
| 133 | third_party/skia/src/core/SkMaskGamma.cpp \ |
| 134 | third_party/skia/src/core/SkMath.cpp \ |
| 135 | third_party/skia/src/core/SkMatrix.cpp \ |
| 136 | third_party/skia/src/core/SkMatrixClipStateMgr.cpp \ |
| 137 | third_party/skia/src/core/SkMetaData.cpp \ |
| 138 | third_party/skia/src/core/SkMipMap.cpp \ |
| 139 | third_party/skia/src/core/SkPackBits.cpp \ |
| 140 | third_party/skia/src/core/SkPaint.cpp \ |
| 141 | third_party/skia/src/core/SkPaintPriv.cpp \ |
| 142 | third_party/skia/src/core/SkPath.cpp \ |
| 143 | third_party/skia/src/core/SkPathEffect.cpp \ |
| 144 | third_party/skia/src/core/SkPathHeap.cpp \ |
| 145 | third_party/skia/src/core/SkPathMeasure.cpp \ |
| 146 | third_party/skia/src/core/SkPathRef.cpp \ |
| 147 | third_party/skia/src/core/SkPicture.cpp \ |
| 148 | third_party/skia/src/core/SkPictureFlat.cpp \ |
| 149 | third_party/skia/src/core/SkPicturePlayback.cpp \ |
| 150 | third_party/skia/src/core/SkPictureRecord.cpp \ |
Ben Murdoch | c5cede9 | 2014-04-10 11:22:14 +0100 | [diff] [blame] | 151 | third_party/skia/src/core/SkPictureShader.cpp \ |
Ben Murdoch | effb81e | 2014-03-31 11:51:25 +0100 | [diff] [blame] | 152 | third_party/skia/src/core/SkPictureStateTree.cpp \ |
| 153 | third_party/skia/src/core/SkPixelRef.cpp \ |
| 154 | third_party/skia/src/core/SkPoint.cpp \ |
| 155 | third_party/skia/src/core/SkProcSpriteBlitter.cpp \ |
| 156 | third_party/skia/src/core/SkPtrRecorder.cpp \ |
| 157 | third_party/skia/src/core/SkQuadClipper.cpp \ |
| 158 | third_party/skia/src/core/SkQuadTree.cpp \ |
| 159 | third_party/skia/src/core/SkQuadTreePicture.cpp \ |
| 160 | third_party/skia/src/core/SkRasterClip.cpp \ |
| 161 | third_party/skia/src/core/SkRasterizer.cpp \ |
| 162 | third_party/skia/src/core/SkReadBuffer.cpp \ |
| 163 | third_party/skia/src/core/SkRect.cpp \ |
| 164 | third_party/skia/src/core/SkRefDict.cpp \ |
| 165 | third_party/skia/src/core/SkRegion.cpp \ |
| 166 | third_party/skia/src/core/SkRegion_path.cpp \ |
| 167 | third_party/skia/src/core/SkRRect.cpp \ |
| 168 | third_party/skia/src/core/SkRTree.cpp \ |
| 169 | third_party/skia/src/core/SkScaledImageCache.cpp \ |
| 170 | third_party/skia/src/core/SkScalar.cpp \ |
| 171 | third_party/skia/src/core/SkScalerContext.cpp \ |
| 172 | third_party/skia/src/core/SkScan.cpp \ |
| 173 | third_party/skia/src/core/SkScan_AntiPath.cpp \ |
| 174 | third_party/skia/src/core/SkScan_Antihair.cpp \ |
| 175 | third_party/skia/src/core/SkScan_Hairline.cpp \ |
| 176 | third_party/skia/src/core/SkScan_Path.cpp \ |
| 177 | third_party/skia/src/core/SkShader.cpp \ |
| 178 | third_party/skia/src/core/SkSpriteBlitter_ARGB32.cpp \ |
| 179 | third_party/skia/src/core/SkSpriteBlitter_RGB16.cpp \ |
| 180 | third_party/skia/src/core/SkStream.cpp \ |
| 181 | third_party/skia/src/core/SkString.cpp \ |
| 182 | third_party/skia/src/core/SkStringUtils.cpp \ |
| 183 | third_party/skia/src/core/SkStroke.cpp \ |
| 184 | third_party/skia/src/core/SkStrokeRec.cpp \ |
| 185 | third_party/skia/src/core/SkStrokerPriv.cpp \ |
| 186 | third_party/skia/src/core/SkTileGrid.cpp \ |
| 187 | third_party/skia/src/core/SkTileGridPicture.cpp \ |
| 188 | third_party/skia/src/core/SkTLS.cpp \ |
| 189 | third_party/skia/src/core/SkTSearch.cpp \ |
| 190 | third_party/skia/src/core/SkTypeface.cpp \ |
| 191 | third_party/skia/src/core/SkTypefaceCache.cpp \ |
| 192 | third_party/skia/src/core/SkUnPreMultiply.cpp \ |
| 193 | third_party/skia/src/core/SkUtils.cpp \ |
| 194 | third_party/skia/src/core/SkValidatingReadBuffer.cpp \ |
| 195 | third_party/skia/src/core/SkWriteBuffer.cpp \ |
| 196 | third_party/skia/src/core/SkWriter32.cpp \ |
| 197 | third_party/skia/src/core/SkXfermode.cpp \ |
| 198 | third_party/skia/src/doc/SkDocument.cpp \ |
| 199 | third_party/skia/src/image/SkImage.cpp \ |
| 200 | third_party/skia/src/image/SkImagePriv.cpp \ |
| 201 | third_party/skia/src/image/SkImage_Codec.cpp \ |
Ben Murdoch | effb81e | 2014-03-31 11:51:25 +0100 | [diff] [blame] | 202 | third_party/skia/src/image/SkImage_Raster.cpp \ |
| 203 | third_party/skia/src/image/SkSurface.cpp \ |
Ben Murdoch | effb81e | 2014-03-31 11:51:25 +0100 | [diff] [blame] | 204 | third_party/skia/src/image/SkSurface_Raster.cpp \ |
| 205 | third_party/skia/src/pipe/SkGPipeRead.cpp \ |
| 206 | third_party/skia/src/pipe/SkGPipeWrite.cpp \ |
| 207 | third_party/skia/src/lazy/SkCachingPixelRef.cpp \ |
| 208 | third_party/skia/src/pathops/SkAddIntersections.cpp \ |
| 209 | third_party/skia/src/pathops/SkDCubicIntersection.cpp \ |
| 210 | third_party/skia/src/pathops/SkDCubicLineIntersection.cpp \ |
| 211 | third_party/skia/src/pathops/SkDCubicToQuads.cpp \ |
| 212 | third_party/skia/src/pathops/SkDLineIntersection.cpp \ |
| 213 | third_party/skia/src/pathops/SkDQuadImplicit.cpp \ |
| 214 | third_party/skia/src/pathops/SkDQuadIntersection.cpp \ |
| 215 | third_party/skia/src/pathops/SkDQuadLineIntersection.cpp \ |
| 216 | third_party/skia/src/pathops/SkIntersections.cpp \ |
| 217 | third_party/skia/src/pathops/SkOpAngle.cpp \ |
| 218 | third_party/skia/src/pathops/SkOpContour.cpp \ |
| 219 | third_party/skia/src/pathops/SkOpEdgeBuilder.cpp \ |
| 220 | third_party/skia/src/pathops/SkOpSegment.cpp \ |
| 221 | third_party/skia/src/pathops/SkPathOpsBounds.cpp \ |
| 222 | third_party/skia/src/pathops/SkPathOpsCommon.cpp \ |
| 223 | third_party/skia/src/pathops/SkPathOpsCubic.cpp \ |
| 224 | third_party/skia/src/pathops/SkPathOpsDebug.cpp \ |
| 225 | third_party/skia/src/pathops/SkPathOpsLine.cpp \ |
| 226 | third_party/skia/src/pathops/SkPathOpsOp.cpp \ |
| 227 | third_party/skia/src/pathops/SkPathOpsPoint.cpp \ |
| 228 | third_party/skia/src/pathops/SkPathOpsQuad.cpp \ |
| 229 | third_party/skia/src/pathops/SkPathOpsRect.cpp \ |
| 230 | third_party/skia/src/pathops/SkPathOpsSimplify.cpp \ |
| 231 | third_party/skia/src/pathops/SkPathOpsTriangle.cpp \ |
| 232 | third_party/skia/src/pathops/SkPathOpsTypes.cpp \ |
| 233 | third_party/skia/src/pathops/SkPathWriter.cpp \ |
| 234 | third_party/skia/src/pathops/SkQuarticRoot.cpp \ |
| 235 | third_party/skia/src/pathops/SkReduceOrder.cpp \ |
| 236 | third_party/skia/src/effects/Sk1DPathEffect.cpp \ |
| 237 | third_party/skia/src/effects/Sk2DPathEffect.cpp \ |
| 238 | third_party/skia/src/effects/SkAlphaThresholdFilter.cpp \ |
| 239 | third_party/skia/src/effects/SkArithmeticMode.cpp \ |
| 240 | third_party/skia/src/effects/SkAvoidXfermode.cpp \ |
| 241 | third_party/skia/src/effects/SkBicubicImageFilter.cpp \ |
| 242 | third_party/skia/src/effects/SkBitmapSource.cpp \ |
| 243 | third_party/skia/src/effects/SkBlurDrawLooper.cpp \ |
| 244 | third_party/skia/src/effects/SkBlurMask.cpp \ |
| 245 | third_party/skia/src/effects/SkBlurImageFilter.cpp \ |
| 246 | third_party/skia/src/effects/SkBlurMaskFilter.cpp \ |
| 247 | third_party/skia/src/effects/SkColorFilters.cpp \ |
| 248 | third_party/skia/src/effects/SkColorFilterImageFilter.cpp \ |
| 249 | third_party/skia/src/effects/SkColorMatrix.cpp \ |
| 250 | third_party/skia/src/effects/SkColorMatrixFilter.cpp \ |
| 251 | third_party/skia/src/effects/SkComposeImageFilter.cpp \ |
| 252 | third_party/skia/src/effects/SkCornerPathEffect.cpp \ |
| 253 | third_party/skia/src/effects/SkDashPathEffect.cpp \ |
| 254 | third_party/skia/src/effects/SkDiscretePathEffect.cpp \ |
| 255 | third_party/skia/src/effects/SkDisplacementMapEffect.cpp \ |
| 256 | third_party/skia/src/effects/SkDropShadowImageFilter.cpp \ |
| 257 | third_party/skia/src/effects/SkEmbossMask.cpp \ |
| 258 | third_party/skia/src/effects/SkEmbossMaskFilter.cpp \ |
| 259 | third_party/skia/src/effects/SkGpuBlurUtils.cpp \ |
| 260 | third_party/skia/src/effects/SkKernel33MaskFilter.cpp \ |
| 261 | third_party/skia/src/effects/SkLayerDrawLooper.cpp \ |
| 262 | third_party/skia/src/effects/SkLayerRasterizer.cpp \ |
| 263 | third_party/skia/src/effects/SkLerpXfermode.cpp \ |
| 264 | third_party/skia/src/effects/SkLightingImageFilter.cpp \ |
| 265 | third_party/skia/src/effects/SkLumaColorFilter.cpp \ |
| 266 | third_party/skia/src/effects/SkMagnifierImageFilter.cpp \ |
| 267 | third_party/skia/src/effects/SkMatrixConvolutionImageFilter.cpp \ |
| 268 | third_party/skia/src/effects/SkMergeImageFilter.cpp \ |
| 269 | third_party/skia/src/effects/SkMorphologyImageFilter.cpp \ |
| 270 | third_party/skia/src/effects/SkOffsetImageFilter.cpp \ |
| 271 | third_party/skia/src/effects/SkPaintFlagsDrawFilter.cpp \ |
| 272 | third_party/skia/src/effects/SkPerlinNoiseShader.cpp \ |
| 273 | third_party/skia/src/effects/SkPictureImageFilter.cpp \ |
| 274 | third_party/skia/src/effects/SkPixelXorXfermode.cpp \ |
| 275 | third_party/skia/src/effects/SkPorterDuff.cpp \ |
| 276 | third_party/skia/src/effects/SkRectShaderImageFilter.cpp \ |
Ben Murdoch | effb81e | 2014-03-31 11:51:25 +0100 | [diff] [blame] | 277 | third_party/skia/src/effects/SkStippleMaskFilter.cpp \ |
| 278 | third_party/skia/src/effects/SkTableColorFilter.cpp \ |
| 279 | third_party/skia/src/effects/SkTableMaskFilter.cpp \ |
| 280 | third_party/skia/src/effects/SkTestImageFilters.cpp \ |
| 281 | third_party/skia/src/effects/SkTileImageFilter.cpp \ |
| 282 | third_party/skia/src/effects/SkMatrixImageFilter.cpp \ |
| 283 | third_party/skia/src/effects/SkTransparentShader.cpp \ |
| 284 | third_party/skia/src/effects/SkXfermodeImageFilter.cpp \ |
| 285 | third_party/skia/src/effects/gradients/SkBitmapCache.cpp \ |
| 286 | third_party/skia/src/effects/gradients/SkClampRange.cpp \ |
| 287 | third_party/skia/src/effects/gradients/SkGradientShader.cpp \ |
| 288 | third_party/skia/src/effects/gradients/SkLinearGradient.cpp \ |
| 289 | third_party/skia/src/effects/gradients/SkRadialGradient.cpp \ |
| 290 | third_party/skia/src/effects/gradients/SkTwoPointRadialGradient.cpp \ |
| 291 | third_party/skia/src/effects/gradients/SkTwoPointConicalGradient.cpp \ |
Ben Murdoch | c5cede9 | 2014-04-10 11:22:14 +0100 | [diff] [blame] | 292 | third_party/skia/src/effects/gradients/SkTwoPointConicalGradient_gpu.cpp \ |
Ben Murdoch | effb81e | 2014-03-31 11:51:25 +0100 | [diff] [blame] | 293 | third_party/skia/src/effects/gradients/SkSweepGradient.cpp \ |
| 294 | third_party/skia/src/pdf/SkPDFCatalog.cpp \ |
| 295 | third_party/skia/src/pdf/SkPDFDevice.cpp \ |
| 296 | third_party/skia/src/pdf/SkPDFDeviceFlattener.cpp \ |
| 297 | third_party/skia/src/pdf/SkPDFDocument.cpp \ |
| 298 | third_party/skia/src/pdf/SkPDFFont.cpp \ |
| 299 | third_party/skia/src/pdf/SkPDFFormXObject.cpp \ |
| 300 | third_party/skia/src/pdf/SkPDFGraphicState.cpp \ |
| 301 | third_party/skia/src/pdf/SkPDFImage.cpp \ |
| 302 | third_party/skia/src/pdf/SkPDFPage.cpp \ |
| 303 | third_party/skia/src/pdf/SkPDFResourceDict.cpp \ |
| 304 | third_party/skia/src/pdf/SkPDFShader.cpp \ |
| 305 | third_party/skia/src/pdf/SkPDFStream.cpp \ |
| 306 | third_party/skia/src/pdf/SkPDFTypes.cpp \ |
| 307 | third_party/skia/src/pdf/SkPDFUtils.cpp \ |
| 308 | third_party/skia/src/gpu/gl/GrGLCreateNullInterface.cpp \ |
| 309 | third_party/skia/src/gpu/gl/SkNullGLContext.cpp \ |
| 310 | third_party/skia/src/gpu/GrAAHairLinePathRenderer.cpp \ |
| 311 | third_party/skia/src/gpu/GrAAConvexPathRenderer.cpp \ |
| 312 | third_party/skia/src/gpu/GrAARectRenderer.cpp \ |
| 313 | third_party/skia/src/gpu/GrAddPathRenderers_default.cpp \ |
| 314 | third_party/skia/src/gpu/GrAllocPool.cpp \ |
| 315 | third_party/skia/src/gpu/GrAtlas.cpp \ |
| 316 | third_party/skia/src/gpu/GrBitmapTextContext.cpp \ |
| 317 | third_party/skia/src/gpu/GrBlend.cpp \ |
| 318 | third_party/skia/src/gpu/GrBufferAllocPool.cpp \ |
| 319 | third_party/skia/src/gpu/GrCacheID.cpp \ |
| 320 | third_party/skia/src/gpu/GrClipData.cpp \ |
| 321 | third_party/skia/src/gpu/GrContext.cpp \ |
| 322 | third_party/skia/src/gpu/GrDefaultPathRenderer.cpp \ |
| 323 | third_party/skia/src/gpu/GrDistanceFieldTextContext.cpp \ |
| 324 | third_party/skia/src/gpu/GrDrawState.cpp \ |
| 325 | third_party/skia/src/gpu/GrDrawTarget.cpp \ |
| 326 | third_party/skia/src/gpu/GrEffect.cpp \ |
| 327 | third_party/skia/src/gpu/GrClipMaskCache.cpp \ |
| 328 | third_party/skia/src/gpu/GrClipMaskManager.cpp \ |
| 329 | third_party/skia/src/gpu/GrGpu.cpp \ |
| 330 | third_party/skia/src/gpu/GrGpuFactory.cpp \ |
| 331 | third_party/skia/src/gpu/GrInOrderDrawBuffer.cpp \ |
Ben Murdoch | c5cede9 | 2014-04-10 11:22:14 +0100 | [diff] [blame] | 332 | third_party/skia/src/gpu/GrLayerCache.cpp \ |
Ben Murdoch | effb81e | 2014-03-31 11:51:25 +0100 | [diff] [blame] | 333 | third_party/skia/src/gpu/GrMemoryPool.cpp \ |
| 334 | third_party/skia/src/gpu/GrOvalRenderer.cpp \ |
| 335 | third_party/skia/src/gpu/GrPaint.cpp \ |
| 336 | third_party/skia/src/gpu/GrPath.cpp \ |
| 337 | third_party/skia/src/gpu/GrPathRendererChain.cpp \ |
| 338 | third_party/skia/src/gpu/GrPathRenderer.cpp \ |
| 339 | third_party/skia/src/gpu/GrPathUtils.cpp \ |
Ben Murdoch | e5d81f5 | 2014-04-03 12:29:45 +0100 | [diff] [blame] | 340 | third_party/skia/src/gpu/GrPictureUtils.cpp \ |
Ben Murdoch | effb81e | 2014-03-31 11:51:25 +0100 | [diff] [blame] | 341 | third_party/skia/src/gpu/GrRectanizer.cpp \ |
| 342 | third_party/skia/src/gpu/GrRectanizer_skyline.cpp \ |
| 343 | third_party/skia/src/gpu/GrRenderTarget.cpp \ |
| 344 | third_party/skia/src/gpu/GrReducedClip.cpp \ |
| 345 | third_party/skia/src/gpu/GrResource.cpp \ |
| 346 | third_party/skia/src/gpu/GrResourceCache.cpp \ |
| 347 | third_party/skia/src/gpu/GrStencil.cpp \ |
| 348 | third_party/skia/src/gpu/GrStencilAndCoverPathRenderer.cpp \ |
| 349 | third_party/skia/src/gpu/GrStencilBuffer.cpp \ |
| 350 | third_party/skia/src/gpu/GrTraceMarker.cpp \ |
| 351 | third_party/skia/src/gpu/GrSWMaskHelper.cpp \ |
| 352 | third_party/skia/src/gpu/GrSoftwarePathRenderer.cpp \ |
| 353 | third_party/skia/src/gpu/GrSurface.cpp \ |
| 354 | third_party/skia/src/gpu/GrTextContext.cpp \ |
| 355 | third_party/skia/src/gpu/GrTextStrike.cpp \ |
| 356 | third_party/skia/src/gpu/GrTexture.cpp \ |
| 357 | third_party/skia/src/gpu/GrTextureAccess.cpp \ |
| 358 | third_party/skia/src/gpu/effects/GrConfigConversionEffect.cpp \ |
| 359 | third_party/skia/src/gpu/effects/GrBezierEffect.cpp \ |
| 360 | third_party/skia/src/gpu/effects/GrConvolutionEffect.cpp \ |
| 361 | third_party/skia/src/gpu/effects/GrConvexPolyEffect.cpp \ |
| 362 | third_party/skia/src/gpu/effects/GrBicubicEffect.cpp \ |
| 363 | third_party/skia/src/gpu/effects/GrCustomCoordsTextureEffect.cpp \ |
| 364 | third_party/skia/src/gpu/effects/GrDistanceFieldTextureEffect.cpp \ |
Ben Murdoch | 4ad1aa4 | 2014-04-01 10:55:12 +0100 | [diff] [blame] | 365 | third_party/skia/src/gpu/effects/GrOvalEffect.cpp \ |
Ben Murdoch | effb81e | 2014-03-31 11:51:25 +0100 | [diff] [blame] | 366 | third_party/skia/src/gpu/effects/GrRRectEffect.cpp \ |
| 367 | third_party/skia/src/gpu/effects/GrSimpleTextureEffect.cpp \ |
| 368 | third_party/skia/src/gpu/effects/GrSingleTextureEffect.cpp \ |
| 369 | third_party/skia/src/gpu/effects/GrTextureDomain.cpp \ |
| 370 | third_party/skia/src/gpu/effects/GrTextureStripAtlas.cpp \ |
| 371 | third_party/skia/src/gpu/gl/GrGLBufferImpl.cpp \ |
| 372 | third_party/skia/src/gpu/gl/GrGLCaps.cpp \ |
| 373 | third_party/skia/src/gpu/gl/GrGLContext.cpp \ |
| 374 | third_party/skia/src/gpu/gl/GrGLCreateNativeInterface_none.cpp \ |
| 375 | third_party/skia/src/gpu/gl/GrGLDefaultInterface_none.cpp \ |
| 376 | third_party/skia/src/gpu/gl/GrGLExtensions.cpp \ |
| 377 | third_party/skia/src/gpu/gl/GrGLIndexBuffer.cpp \ |
| 378 | third_party/skia/src/gpu/gl/GrGLInterface.cpp \ |
| 379 | third_party/skia/src/gpu/gl/GrGLNoOpInterface.cpp \ |
| 380 | third_party/skia/src/gpu/gl/GrGLPath.cpp \ |
| 381 | third_party/skia/src/gpu/gl/GrGLProgram.cpp \ |
| 382 | third_party/skia/src/gpu/gl/GrGLProgramDesc.cpp \ |
| 383 | third_party/skia/src/gpu/gl/GrGLProgramEffects.cpp \ |
| 384 | third_party/skia/src/gpu/gl/GrGLRenderTarget.cpp \ |
| 385 | third_party/skia/src/gpu/gl/GrGLShaderBuilder.cpp \ |
| 386 | third_party/skia/src/gpu/gl/GrGLSL.cpp \ |
| 387 | third_party/skia/src/gpu/gl/GrGLStencilBuffer.cpp \ |
| 388 | third_party/skia/src/gpu/gl/GrGLTexture.cpp \ |
| 389 | third_party/skia/src/gpu/gl/GrGLUtil.cpp \ |
| 390 | third_party/skia/src/gpu/gl/GrGLUniformManager.cpp \ |
| 391 | third_party/skia/src/gpu/gl/GrGLVertexArray.cpp \ |
| 392 | third_party/skia/src/gpu/gl/GrGLVertexBuffer.cpp \ |
| 393 | third_party/skia/src/gpu/gl/GrGpuGL.cpp \ |
| 394 | third_party/skia/src/gpu/gl/GrGpuGL_program.cpp \ |
| 395 | third_party/skia/src/gpu/SkGpuDevice.cpp \ |
| 396 | third_party/skia/src/gpu/SkGr.cpp \ |
| 397 | third_party/skia/src/gpu/SkGrFontScaler.cpp \ |
| 398 | third_party/skia/src/gpu/SkGrPixelRef.cpp \ |
| 399 | third_party/skia/src/gpu/SkGrTexturePixelRef.cpp \ |
| 400 | third_party/skia/src/image/SkImage_Gpu.cpp \ |
| 401 | third_party/skia/src/image/SkSurface_Gpu.cpp \ |
| 402 | third_party/skia/src/gpu/gl/SkGLContextHelper.cpp |
| 403 | |
| 404 | |
| 405 | # Flags passed to both C and C++ files. |
| 406 | MY_CFLAGS_Debug := \ |
| 407 | -fstack-protector \ |
| 408 | --param=ssp-buffer-size=4 \ |
| 409 | -fno-exceptions \ |
| 410 | -fno-strict-aliasing \ |
| 411 | -Wno-unused-parameter \ |
| 412 | -Wno-missing-field-initializers \ |
| 413 | -fvisibility=hidden \ |
| 414 | -pipe \ |
| 415 | -fPIC \ |
| 416 | -Wno-unused-local-typedefs \ |
| 417 | -Wno-format \ |
| 418 | -m64 \ |
| 419 | -march=x86-64 \ |
| 420 | -fuse-ld=gold \ |
| 421 | -ffunction-sections \ |
| 422 | -funwind-tables \ |
| 423 | -g \ |
| 424 | -fstack-protector \ |
| 425 | -fno-short-enums \ |
| 426 | -finline-limit=64 \ |
| 427 | -Wa,--noexecstack \ |
| 428 | -U_FORTIFY_SOURCE \ |
| 429 | -Wno-extra \ |
| 430 | -Wno-ignored-qualifiers \ |
| 431 | -Wno-type-limits \ |
| 432 | -Wno-unused-but-set-variable \ |
| 433 | -Wno-address \ |
| 434 | -Wno-format-security \ |
| 435 | -Wno-return-type \ |
| 436 | -Wno-sequence-point \ |
| 437 | -Os \ |
| 438 | -g \ |
| 439 | -fomit-frame-pointer \ |
| 440 | -fdata-sections \ |
| 441 | -ffunction-sections \ |
| 442 | -funwind-tables |
| 443 | |
| 444 | MY_DEFS_Debug := \ |
| 445 | '-DV8_DEPRECATION_WARNINGS' \ |
| 446 | '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ |
| 447 | '-D_FILE_OFFSET_BITS=64' \ |
| 448 | '-DNO_TCMALLOC' \ |
| 449 | '-DDISABLE_NACL' \ |
| 450 | '-DCHROMIUM_BUILD' \ |
| 451 | '-DUSE_LIBJPEG_TURBO=1' \ |
Ben Murdoch | e5d81f5 | 2014-04-03 12:29:45 +0100 | [diff] [blame] | 452 | '-DENABLE_WEBRTC=1' \ |
Ben Murdoch | effb81e | 2014-03-31 11:51:25 +0100 | [diff] [blame] | 453 | '-DUSE_PROPRIETARY_CODECS' \ |
| 454 | '-DENABLE_CONFIGURATION_POLICY' \ |
| 455 | '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ |
| 456 | '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ |
| 457 | '-DENABLE_EGLIMAGE=1' \ |
| 458 | '-DCLD_VERSION=1' \ |
| 459 | '-DENABLE_PRINTING=1' \ |
| 460 | '-DENABLE_MANAGED_USERS=1' \ |
| 461 | '-DSK_ENABLE_INST_COUNT=0' \ |
| 462 | '-DSK_SUPPORT_GPU=1' \ |
| 463 | '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ |
| 464 | '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ |
| 465 | '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ |
| 466 | '-DGR_GL_IGNORE_ES3_MSAA=0' \ |
Ben Murdoch | effb81e | 2014-03-31 11:51:25 +0100 | [diff] [blame] | 467 | '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ |
| 468 | '-DSK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS=1' \ |
Ben Murdoch | effb81e | 2014-03-31 11:51:25 +0100 | [diff] [blame] | 469 | '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ |
Ben Murdoch | a02191e | 2014-04-16 11:17:03 +0100 | [diff] [blame] | 470 | '-DSK_SUPPORT_LEGACY_PICTURE_CAN_RECORD' \ |
| 471 | '-DSK_SUPPORT_LEGACY_N32_NAME' \ |
| 472 | '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ |
Ben Murdoch | effb81e | 2014-03-31 11:51:25 +0100 | [diff] [blame] | 473 | '-DSK_BUILD_FOR_ANDROID' \ |
| 474 | '-DSK_ALLOW_STATIC_GLOBAL_INITIALIZERS=0' \ |
| 475 | '-DSK_DISABLE_OFFSETIMAGEFILTER_OPTIMIZATION' \ |
| 476 | '-DSK_DISABLE_PIXELREF_LOCKCOUNT_BALANCE_CHECK' \ |
| 477 | '-DIGNORE_ROT_AA_RECT_OPT' \ |
| 478 | '-DSK_IGNORE_BLURRED_RRECT_OPT' \ |
| 479 | '-DSK_IGNORE_QUAD_RR_CORNERS_OPT' \ |
| 480 | '-DSK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS' \ |
| 481 | '-DSK_DEFAULT_FONT_CACHE_LIMIT=(1*1024*1024)' \ |
| 482 | '-DSK_USE_DISCARDABLE_SCALEDIMAGECACHE' \ |
| 483 | '-DSK_FONTHOST_DOES_NOT_USE_FONTMGR' \ |
| 484 | '-DSK_GAMMA_APPLY_TO_A8' \ |
| 485 | '-DSK_GAMMA_EXPONENT=1.4' \ |
| 486 | '-DSK_GAMMA_CONTRAST=0.0' \ |
| 487 | '-DSK_USE_POSIX_THREADS' \ |
| 488 | '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ |
Ben Murdoch | c5cede9 | 2014-04-10 11:22:14 +0100 | [diff] [blame] | 489 | '-DSK_IGNORE_FREETYPE_ROTATION_FIX' \ |
Ben Murdoch | effb81e | 2014-03-31 11:51:25 +0100 | [diff] [blame] | 490 | '-DUSE_OPENSSL=1' \ |
| 491 | '-DUSE_OPENSSL_CERTS=1' \ |
| 492 | '-DANDROID' \ |
| 493 | '-D__GNU_SOURCE=1' \ |
| 494 | '-DUSE_STLPORT=1' \ |
| 495 | '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ |
| 496 | '-DCHROME_BUILD_ID=""' \ |
| 497 | '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ |
| 498 | '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ |
| 499 | '-D_DEBUG' |
| 500 | |
| 501 | |
| 502 | # Include paths placed before CFLAGS/CPPFLAGS |
| 503 | LOCAL_C_INCLUDES_Debug := \ |
| 504 | $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ |
| 505 | $(LOCAL_PATH)/third_party/skia/include/core \ |
| 506 | $(LOCAL_PATH)/third_party/skia/include/effects \ |
| 507 | $(LOCAL_PATH)/third_party/skia/include/images \ |
| 508 | $(LOCAL_PATH)/third_party/skia/include/lazy \ |
| 509 | $(LOCAL_PATH)/third_party/skia/include/pathops \ |
| 510 | $(LOCAL_PATH)/third_party/skia/include/pdf \ |
| 511 | $(LOCAL_PATH)/third_party/skia/include/pipe \ |
| 512 | $(LOCAL_PATH)/third_party/skia/include/ports \ |
| 513 | $(LOCAL_PATH)/third_party/skia/include/utils \ |
| 514 | $(LOCAL_PATH)/third_party/skia/src/core \ |
| 515 | $(LOCAL_PATH)/third_party/skia/src/opts \ |
| 516 | $(LOCAL_PATH)/third_party/skia/src/image \ |
| 517 | $(LOCAL_PATH)/third_party/skia/src/ports \ |
| 518 | $(LOCAL_PATH)/third_party/skia/src/sfnt \ |
| 519 | $(LOCAL_PATH)/third_party/skia/src/utils \ |
| 520 | $(LOCAL_PATH)/third_party/skia/src/lazy \ |
| 521 | $(LOCAL_PATH) \ |
| 522 | $(LOCAL_PATH)/skia/config \ |
| 523 | $(LOCAL_PATH)/third_party/skia/include/gpu \ |
| 524 | $(LOCAL_PATH)/third_party/skia/src/gpu \ |
| 525 | $(LOCAL_PATH)/third_party/expat/files/lib \ |
| 526 | $(LOCAL_PATH)/third_party/zlib \ |
| 527 | $(PWD)/external/expat/lib \ |
| 528 | $(LOCAL_PATH)/third_party/freetype/include \ |
| 529 | $(PWD)/frameworks/wilhelm/include \ |
| 530 | $(PWD)/bionic \ |
| 531 | $(PWD)/external/stlport/stlport |
| 532 | |
| 533 | |
| 534 | # Flags passed to only C++ (and not C) files. |
| 535 | LOCAL_CPPFLAGS_Debug := \ |
| 536 | -fno-rtti \ |
| 537 | -fno-threadsafe-statics \ |
| 538 | -fvisibility-inlines-hidden \ |
| 539 | -Wno-deprecated \ |
| 540 | -Wno-non-virtual-dtor \ |
| 541 | -Wno-sign-promo \ |
| 542 | -Wno-non-virtual-dtor |
| 543 | |
| 544 | |
| 545 | # Flags passed to both C and C++ files. |
| 546 | MY_CFLAGS_Release := \ |
| 547 | -fstack-protector \ |
| 548 | --param=ssp-buffer-size=4 \ |
| 549 | -fno-exceptions \ |
| 550 | -fno-strict-aliasing \ |
| 551 | -Wno-unused-parameter \ |
| 552 | -Wno-missing-field-initializers \ |
| 553 | -fvisibility=hidden \ |
| 554 | -pipe \ |
| 555 | -fPIC \ |
| 556 | -Wno-unused-local-typedefs \ |
| 557 | -Wno-format \ |
| 558 | -m64 \ |
| 559 | -march=x86-64 \ |
| 560 | -fuse-ld=gold \ |
| 561 | -ffunction-sections \ |
| 562 | -funwind-tables \ |
| 563 | -g \ |
| 564 | -fstack-protector \ |
| 565 | -fno-short-enums \ |
| 566 | -finline-limit=64 \ |
| 567 | -Wa,--noexecstack \ |
| 568 | -U_FORTIFY_SOURCE \ |
| 569 | -Wno-extra \ |
| 570 | -Wno-ignored-qualifiers \ |
| 571 | -Wno-type-limits \ |
| 572 | -Wno-unused-but-set-variable \ |
| 573 | -Wno-address \ |
| 574 | -Wno-format-security \ |
| 575 | -Wno-return-type \ |
| 576 | -Wno-sequence-point \ |
| 577 | -Os \ |
| 578 | -fno-ident \ |
| 579 | -fdata-sections \ |
| 580 | -ffunction-sections \ |
| 581 | -fomit-frame-pointer \ |
| 582 | -funwind-tables |
| 583 | |
| 584 | MY_DEFS_Release := \ |
| 585 | '-DV8_DEPRECATION_WARNINGS' \ |
| 586 | '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ |
| 587 | '-D_FILE_OFFSET_BITS=64' \ |
| 588 | '-DNO_TCMALLOC' \ |
| 589 | '-DDISABLE_NACL' \ |
| 590 | '-DCHROMIUM_BUILD' \ |
| 591 | '-DUSE_LIBJPEG_TURBO=1' \ |
Ben Murdoch | e5d81f5 | 2014-04-03 12:29:45 +0100 | [diff] [blame] | 592 | '-DENABLE_WEBRTC=1' \ |
Ben Murdoch | effb81e | 2014-03-31 11:51:25 +0100 | [diff] [blame] | 593 | '-DUSE_PROPRIETARY_CODECS' \ |
| 594 | '-DENABLE_CONFIGURATION_POLICY' \ |
| 595 | '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ |
| 596 | '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ |
| 597 | '-DENABLE_EGLIMAGE=1' \ |
| 598 | '-DCLD_VERSION=1' \ |
| 599 | '-DENABLE_PRINTING=1' \ |
| 600 | '-DENABLE_MANAGED_USERS=1' \ |
| 601 | '-DSK_ENABLE_INST_COUNT=0' \ |
| 602 | '-DSK_SUPPORT_GPU=1' \ |
| 603 | '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ |
| 604 | '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ |
| 605 | '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ |
| 606 | '-DGR_GL_IGNORE_ES3_MSAA=0' \ |
Ben Murdoch | effb81e | 2014-03-31 11:51:25 +0100 | [diff] [blame] | 607 | '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ |
| 608 | '-DSK_SUPPORT_LEGACY_PUBLICEFFECTCONSTRUCTORS=1' \ |
Ben Murdoch | effb81e | 2014-03-31 11:51:25 +0100 | [diff] [blame] | 609 | '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ |
Ben Murdoch | a02191e | 2014-04-16 11:17:03 +0100 | [diff] [blame] | 610 | '-DSK_SUPPORT_LEGACY_PICTURE_CAN_RECORD' \ |
| 611 | '-DSK_SUPPORT_LEGACY_N32_NAME' \ |
| 612 | '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ |
Ben Murdoch | effb81e | 2014-03-31 11:51:25 +0100 | [diff] [blame] | 613 | '-DSK_BUILD_FOR_ANDROID' \ |
| 614 | '-DSK_ALLOW_STATIC_GLOBAL_INITIALIZERS=0' \ |
| 615 | '-DSK_DISABLE_OFFSETIMAGEFILTER_OPTIMIZATION' \ |
| 616 | '-DSK_DISABLE_PIXELREF_LOCKCOUNT_BALANCE_CHECK' \ |
| 617 | '-DIGNORE_ROT_AA_RECT_OPT' \ |
| 618 | '-DSK_IGNORE_BLURRED_RRECT_OPT' \ |
| 619 | '-DSK_IGNORE_QUAD_RR_CORNERS_OPT' \ |
| 620 | '-DSK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS' \ |
| 621 | '-DSK_DEFAULT_FONT_CACHE_LIMIT=(1*1024*1024)' \ |
| 622 | '-DSK_USE_DISCARDABLE_SCALEDIMAGECACHE' \ |
| 623 | '-DSK_FONTHOST_DOES_NOT_USE_FONTMGR' \ |
| 624 | '-DSK_GAMMA_APPLY_TO_A8' \ |
| 625 | '-DSK_GAMMA_EXPONENT=1.4' \ |
| 626 | '-DSK_GAMMA_CONTRAST=0.0' \ |
| 627 | '-DSK_USE_POSIX_THREADS' \ |
| 628 | '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ |
Ben Murdoch | c5cede9 | 2014-04-10 11:22:14 +0100 | [diff] [blame] | 629 | '-DSK_IGNORE_FREETYPE_ROTATION_FIX' \ |
Ben Murdoch | effb81e | 2014-03-31 11:51:25 +0100 | [diff] [blame] | 630 | '-DUSE_OPENSSL=1' \ |
| 631 | '-DUSE_OPENSSL_CERTS=1' \ |
| 632 | '-DANDROID' \ |
| 633 | '-D__GNU_SOURCE=1' \ |
| 634 | '-DUSE_STLPORT=1' \ |
| 635 | '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ |
| 636 | '-DCHROME_BUILD_ID=""' \ |
| 637 | '-DNDEBUG' \ |
| 638 | '-DNVALGRIND' \ |
| 639 | '-DDYNAMIC_ANNOTATIONS_ENABLED=0' |
| 640 | |
| 641 | |
| 642 | # Include paths placed before CFLAGS/CPPFLAGS |
| 643 | LOCAL_C_INCLUDES_Release := \ |
| 644 | $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ |
| 645 | $(LOCAL_PATH)/third_party/skia/include/core \ |
| 646 | $(LOCAL_PATH)/third_party/skia/include/effects \ |
| 647 | $(LOCAL_PATH)/third_party/skia/include/images \ |
| 648 | $(LOCAL_PATH)/third_party/skia/include/lazy \ |
| 649 | $(LOCAL_PATH)/third_party/skia/include/pathops \ |
| 650 | $(LOCAL_PATH)/third_party/skia/include/pdf \ |
| 651 | $(LOCAL_PATH)/third_party/skia/include/pipe \ |
| 652 | $(LOCAL_PATH)/third_party/skia/include/ports \ |
| 653 | $(LOCAL_PATH)/third_party/skia/include/utils \ |
| 654 | $(LOCAL_PATH)/third_party/skia/src/core \ |
| 655 | $(LOCAL_PATH)/third_party/skia/src/opts \ |
| 656 | $(LOCAL_PATH)/third_party/skia/src/image \ |
| 657 | $(LOCAL_PATH)/third_party/skia/src/ports \ |
| 658 | $(LOCAL_PATH)/third_party/skia/src/sfnt \ |
| 659 | $(LOCAL_PATH)/third_party/skia/src/utils \ |
| 660 | $(LOCAL_PATH)/third_party/skia/src/lazy \ |
| 661 | $(LOCAL_PATH) \ |
| 662 | $(LOCAL_PATH)/skia/config \ |
| 663 | $(LOCAL_PATH)/third_party/skia/include/gpu \ |
| 664 | $(LOCAL_PATH)/third_party/skia/src/gpu \ |
| 665 | $(LOCAL_PATH)/third_party/expat/files/lib \ |
| 666 | $(LOCAL_PATH)/third_party/zlib \ |
| 667 | $(PWD)/external/expat/lib \ |
| 668 | $(LOCAL_PATH)/third_party/freetype/include \ |
| 669 | $(PWD)/frameworks/wilhelm/include \ |
| 670 | $(PWD)/bionic \ |
| 671 | $(PWD)/external/stlport/stlport |
| 672 | |
| 673 | |
| 674 | # Flags passed to only C++ (and not C) files. |
| 675 | LOCAL_CPPFLAGS_Release := \ |
| 676 | -fno-rtti \ |
| 677 | -fno-threadsafe-statics \ |
| 678 | -fvisibility-inlines-hidden \ |
| 679 | -Wno-deprecated \ |
| 680 | -Wno-non-virtual-dtor \ |
| 681 | -Wno-sign-promo \ |
| 682 | -Wno-non-virtual-dtor |
| 683 | |
| 684 | |
| 685 | LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) |
| 686 | LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) |
| 687 | LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) |
| 688 | LOCAL_ASFLAGS := $(LOCAL_CFLAGS) |
| 689 | ### Rules for final target. |
| 690 | |
| 691 | LOCAL_LDFLAGS_Debug := \ |
Ben Murdoch | effb81e | 2014-03-31 11:51:25 +0100 | [diff] [blame] | 692 | -Wl,-z,now \ |
| 693 | -Wl,-z,relro \ |
Ben Murdoch | c5cede9 | 2014-04-10 11:22:14 +0100 | [diff] [blame] | 694 | -Wl,--fatal-warnings \ |
Ben Murdoch | effb81e | 2014-03-31 11:51:25 +0100 | [diff] [blame] | 695 | -Wl,-z,noexecstack \ |
| 696 | -fPIC \ |
| 697 | -m64 \ |
| 698 | -fuse-ld=gold \ |
| 699 | -nostdlib \ |
| 700 | -Wl,--no-undefined \ |
| 701 | -Wl,--exclude-libs=ALL \ |
| 702 | -Wl,--gc-sections \ |
| 703 | -Wl,--warn-shared-textrel \ |
| 704 | -Wl,-O1 \ |
| 705 | -Wl,--as-needed |
| 706 | |
| 707 | |
| 708 | LOCAL_LDFLAGS_Release := \ |
Ben Murdoch | effb81e | 2014-03-31 11:51:25 +0100 | [diff] [blame] | 709 | -Wl,-z,now \ |
| 710 | -Wl,-z,relro \ |
Ben Murdoch | c5cede9 | 2014-04-10 11:22:14 +0100 | [diff] [blame] | 711 | -Wl,--fatal-warnings \ |
Ben Murdoch | effb81e | 2014-03-31 11:51:25 +0100 | [diff] [blame] | 712 | -Wl,-z,noexecstack \ |
| 713 | -fPIC \ |
| 714 | -m64 \ |
| 715 | -fuse-ld=gold \ |
| 716 | -nostdlib \ |
| 717 | -Wl,--no-undefined \ |
| 718 | -Wl,--exclude-libs=ALL \ |
| 719 | -Wl,-O1 \ |
| 720 | -Wl,--as-needed \ |
| 721 | -Wl,--gc-sections \ |
| 722 | -Wl,--warn-shared-textrel |
| 723 | |
| 724 | |
| 725 | LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) |
| 726 | |
| 727 | LOCAL_STATIC_LIBRARIES := |
| 728 | |
| 729 | # Enable grouping to fix circular references |
| 730 | LOCAL_GROUP_STATIC_LIBRARIES := true |
| 731 | |
| 732 | LOCAL_SHARED_LIBRARIES := \ |
| 733 | libstlport \ |
| 734 | libdl |
| 735 | |
| 736 | # Add target alias to "gyp_all_modules" target. |
| 737 | .PHONY: gyp_all_modules |
| 738 | gyp_all_modules: skia_skia_library_gyp |
| 739 | |
| 740 | # Alias gyp target name. |
| 741 | .PHONY: skia_library |
| 742 | skia_library: skia_skia_library_gyp |
| 743 | |
| 744 | include $(BUILD_STATIC_LIBRARY) |