1 2 ############################################################################### 3 # 4 # THIS FILE IS AUTOGENERATED BY GYP_TO_ANDROID.PY. DO NOT EDIT. 5 # 6 ############################################################################### 7 8 BASE_PATH := $(call my-dir) 9 LOCAL_PATH:= $(call my-dir) 10 11 ############################################################################### 12 # 13 # PROBLEMS WITH SKIA DEBUGGING?? READ THIS... 14 # 15 # The debug build results in changes to the Skia headers. This means that those 16 # using libskia must also be built with the debug version of the Skia headers. 17 # There are a few scenarios where this comes into play: 18 # 19 # (1) You're building debug code that depends on libskia. 20 # (a) If libskia is built in release, then define SK_RELEASE when building 21 # your sources. 22 # (b) If libskia is built with debugging (see step 2), then no changes are 23 # needed since your sources and libskia have been built with SK_DEBUG. 24 # (2) You're building libskia in debug mode. 25 # (a) RECOMMENDED: You can build the entire system in debug mode. Do this by 26 # updating your build/core/config.mk to include -DSK_DEBUG on the line 27 # that defines COMMON_GLOBAL_CFLAGS 28 # (b) You can update all the users of libskia to define SK_DEBUG when they are 29 # building their sources. 30 # 31 # NOTE: If neither SK_DEBUG or SK_RELEASE are defined then Skia checks NDEBUG to 32 # determine which build type to use. 33 ############################################################################### 34 35 include $(CLEAR_VARS) 36 37 LOCAL_FDO_SUPPORT := true 38 39 LOCAL_ARM_MODE := thumb 40 ifeq ($(TARGET_ARCH),arm) 41 ifeq ($(ARCH_ARM_HAVE_VFP),true) 42 LOCAL_CFLAGS += -DANDROID_LARGE_MEMORY_DEVICE 43 endif 44 else 45 LOCAL_CFLAGS += -DANDROID_LARGE_MEMORY_DEVICE 46 endif 47 48 # used for testing 49 #LOCAL_CFLAGS += -g -O0 50 51 ifeq ($(NO_FALLBACK_FONT),true) 52 LOCAL_CFLAGS += -DNO_FALLBACK_FONT 53 endif 54 55 ifneq ($(strip $(TARGET_FDO_CFLAGS)),) 56 # This should be the last -Oxxx specified in LOCAL_CFLAGS 57 LOCAL_CFLAGS += -O2 58 endif 59 60 LOCAL_CFLAGS += \ 61 -Wno-unused-parameter \ 62 -U_FORTIFY_SOURCE \ 63 -D_FORTIFY_SOURCE=1 64 65 LOCAL_CPPFLAGS := \ 66 -Wno-invalid-offsetof 67 68 LOCAL_SRC_FILES := \ 69 src/core/SkAAClip.cpp \ 70 src/core/SkAnnotation.cpp \ 71 src/core/SkAdvancedTypefaceMetrics.cpp \ 72 src/core/SkAlphaRuns.cpp \ 73 src/core/SkBBHFactory.cpp \ 74 src/core/SkBBoxRecord.cpp \ 75 src/core/SkBBoxHierarchyRecord.cpp \ 76 src/core/SkBitmap.cpp \ 77 src/core/SkBitmapDevice.cpp \ 78 src/core/SkBitmapFilter.cpp \ 79 src/core/SkBitmapHeap.cpp \ 80 src/core/SkBitmapProcShader.cpp \ 81 src/core/SkBitmapProcState.cpp \ 82 src/core/SkBitmapProcState_matrixProcs.cpp \ 83 src/core/SkBitmapScaler.cpp \ 84 src/core/SkBitmap_scroll.cpp \ 85 src/core/SkBlitMask_D32.cpp \ 86 src/core/SkBlitRow_D16.cpp \ 87 src/core/SkBlitRow_D32.cpp \ 88 src/core/SkBlitter.cpp \ 89 src/core/SkBlitter_A8.cpp \ 90 src/core/SkBlitter_ARGB32.cpp \ 91 src/core/SkBlitter_RGB16.cpp \ 92 src/core/SkBlitter_Sprite.cpp \ 93 src/core/SkBuffer.cpp \ 94 src/core/SkCanvas.cpp \ 95 src/core/SkChunkAlloc.cpp \ 96 src/core/SkClipStack.cpp \ 97 src/core/SkColor.cpp \ 98 src/core/SkColorFilter.cpp \ 99 src/core/SkColorTable.cpp \ 100 src/core/SkComposeShader.cpp \ 101 src/core/SkConfig8888.cpp \ 102 src/core/SkConvolver.cpp \ 103 src/core/SkCubicClipper.cpp \ 104 src/core/SkData.cpp \ 105 src/core/SkDataTable.cpp \ 106 src/core/SkDebug.cpp \ 107 src/core/SkDeque.cpp \ 108 src/core/SkDevice.cpp \ 109 src/core/SkDeviceLooper.cpp \ 110 src/core/SkDeviceProfile.cpp \ 111 src/lazy/SkDiscardableMemoryPool.cpp \ 112 src/lazy/SkDiscardablePixelRef.cpp \ 113 src/core/SkDistanceFieldGen.cpp \ 114 src/core/SkDither.cpp \ 115 src/core/SkDraw.cpp \ 116 src/core/SkDrawLooper.cpp \ 117 src/core/SkEdgeBuilder.cpp \ 118 src/core/SkEdgeClipper.cpp \ 119 src/core/SkEdge.cpp \ 120 src/core/SkError.cpp \ 121 src/core/SkFilterProc.cpp \ 122 src/core/SkFilterShader.cpp \ 123 src/core/SkFlattenable.cpp \ 124 src/core/SkFlattenableSerialization.cpp \ 125 src/core/SkFloat.cpp \ 126 src/core/SkFloatBits.cpp \ 127 src/core/SkFont.cpp \ 128 src/core/SkFontHost.cpp \ 129 src/core/SkFontDescriptor.cpp \ 130 src/core/SkFontStream.cpp \ 131 src/core/SkGeometry.cpp \ 132 src/core/SkGlyphCache.cpp \ 133 src/core/SkGraphics.cpp \ 134 src/core/SkInstCnt.cpp \ 135 src/core/SkImageFilter.cpp \ 136 src/core/SkImageInfo.cpp \ 137 src/core/SkImageGenerator.cpp \ 138 src/core/SkLocalMatrixShader.cpp \ 139 src/core/SkLineClipper.cpp \ 140 src/core/SkMallocPixelRef.cpp \ 141 src/core/SkMask.cpp \ 142 src/core/SkMaskFilter.cpp \ 143 src/core/SkMaskGamma.cpp \ 144 src/core/SkMath.cpp \ 145 src/core/SkMatrix.cpp \ 146 src/core/SkMatrixClipStateMgr.cpp \ 147 src/core/SkMetaData.cpp \ 148 src/core/SkMipMap.cpp \ 149 src/core/SkPackBits.cpp \ 150 src/core/SkPaint.cpp \ 151 src/core/SkPaintOptionsAndroid.cpp \ 152 src/core/SkPaintPriv.cpp \ 153 src/core/SkPath.cpp \ 154 src/core/SkPathEffect.cpp \ 155 src/core/SkPathHeap.cpp \ 156 src/core/SkPathMeasure.cpp \ 157 src/core/SkPathRef.cpp \ 158 src/core/SkPicture.cpp \ 159 src/core/SkPictureFlat.cpp \ 160 src/core/SkPicturePlayback.cpp \ 161 src/core/SkPictureRecord.cpp \ 162 src/core/SkPictureRecorder.cpp \ 163 src/core/SkPictureShader.cpp \ 164 src/core/SkPictureStateTree.cpp \ 165 src/core/SkPixelRef.cpp \ 166 src/core/SkPoint.cpp \ 167 src/core/SkProcSpriteBlitter.cpp \ 168 src/core/SkPtrRecorder.cpp \ 169 src/core/SkQuadClipper.cpp \ 170 src/core/SkQuadTree.cpp \ 171 src/core/SkRasterClip.cpp \ 172 src/core/SkRasterizer.cpp \ 173 src/core/SkReadBuffer.cpp \ 174 src/core/SkRecordDraw.cpp \ 175 src/core/SkRecordOpts.cpp \ 176 src/core/SkRecorder.cpp \ 177 src/core/SkRecording.cpp \ 178 src/core/SkRect.cpp \ 179 src/core/SkRefDict.cpp \ 180 src/core/SkRegion.cpp \ 181 src/core/SkRegion_path.cpp \ 182 src/core/SkRRect.cpp \ 183 src/core/SkRTree.cpp \ 184 src/core/SkScaledImageCache.cpp \ 185 src/core/SkScalar.cpp \ 186 src/core/SkScalerContext.cpp \ 187 src/core/SkScan.cpp \ 188 src/core/SkScan_AntiPath.cpp \ 189 src/core/SkScan_Antihair.cpp \ 190 src/core/SkScan_Hairline.cpp \ 191 src/core/SkScan_Path.cpp \ 192 src/core/SkShader.cpp \ 193 src/core/SkSpriteBlitter_ARGB32.cpp \ 194 src/core/SkSpriteBlitter_RGB16.cpp \ 195 src/core/SkStream.cpp \ 196 src/core/SkString.cpp \ 197 src/core/SkStringUtils.cpp \ 198 src/core/SkStroke.cpp \ 199 src/core/SkStrokeRec.cpp \ 200 src/core/SkStrokerPriv.cpp \ 201 src/core/SkTileGrid.cpp \ 202 src/core/SkTLS.cpp \ 203 src/core/SkTSearch.cpp \ 204 src/core/SkTypeface.cpp \ 205 src/core/SkTypefaceCache.cpp \ 206 src/core/SkUnPreMultiply.cpp \ 207 src/core/SkUtils.cpp \ 208 src/core/SkValidatingReadBuffer.cpp \ 209 src/core/SkVertState.cpp \ 210 src/core/SkWriteBuffer.cpp \ 211 src/core/SkWriter32.cpp \ 212 src/core/SkXfermode.cpp \ 213 src/doc/SkDocument.cpp \ 214 src/image/SkImage.cpp \ 215 src/image/SkImagePriv.cpp \ 216 src/image/SkImage_Codec.cpp \ 217 src/image/SkImage_Raster.cpp \ 218 src/image/SkSurface.cpp \ 219 src/image/SkSurface_Raster.cpp \ 220 src/pipe/SkGPipeRead.cpp \ 221 src/pipe/SkGPipeWrite.cpp \ 222 src/lazy/SkCachingPixelRef.cpp \ 223 src/pathops/SkAddIntersections.cpp \ 224 src/pathops/SkDCubicIntersection.cpp \ 225 src/pathops/SkDCubicLineIntersection.cpp \ 226 src/pathops/SkDCubicToQuads.cpp \ 227 src/pathops/SkDLineIntersection.cpp \ 228 src/pathops/SkDQuadImplicit.cpp \ 229 src/pathops/SkDQuadIntersection.cpp \ 230 src/pathops/SkDQuadLineIntersection.cpp \ 231 src/pathops/SkIntersections.cpp \ 232 src/pathops/SkOpAngle.cpp \ 233 src/pathops/SkOpContour.cpp \ 234 src/pathops/SkOpEdgeBuilder.cpp \ 235 src/pathops/SkOpSegment.cpp \ 236 src/pathops/SkPathOpsBounds.cpp \ 237 src/pathops/SkPathOpsCommon.cpp \ 238 src/pathops/SkPathOpsCubic.cpp \ 239 src/pathops/SkPathOpsDebug.cpp \ 240 src/pathops/SkPathOpsLine.cpp \ 241 src/pathops/SkPathOpsOp.cpp \ 242 src/pathops/SkPathOpsPoint.cpp \ 243 src/pathops/SkPathOpsQuad.cpp \ 244 src/pathops/SkPathOpsRect.cpp \ 245 src/pathops/SkPathOpsSimplify.cpp \ 246 src/pathops/SkPathOpsTriangle.cpp \ 247 src/pathops/SkPathOpsTypes.cpp \ 248 src/pathops/SkPathWriter.cpp \ 249 src/pathops/SkQuarticRoot.cpp \ 250 src/pathops/SkReduceOrder.cpp \ 251 src/effects/Sk1DPathEffect.cpp \ 252 src/effects/Sk2DPathEffect.cpp \ 253 src/effects/SkAlphaThresholdFilter.cpp \ 254 src/effects/SkArithmeticMode.cpp \ 255 src/effects/SkAvoidXfermode.cpp \ 256 src/effects/SkBicubicImageFilter.cpp \ 257 src/effects/SkBitmapSource.cpp \ 258 src/effects/SkBlurDrawLooper.cpp \ 259 src/effects/SkBlurMask.cpp \ 260 src/effects/SkBlurImageFilter.cpp \ 261 src/effects/SkBlurMaskFilter.cpp \ 262 src/effects/SkColorFilters.cpp \ 263 src/effects/SkColorFilterImageFilter.cpp \ 264 src/effects/SkColorMatrix.cpp \ 265 src/effects/SkColorMatrixFilter.cpp \ 266 src/effects/SkComposeImageFilter.cpp \ 267 src/effects/SkCornerPathEffect.cpp \ 268 src/effects/SkDashPathEffect.cpp \ 269 src/effects/SkDiscretePathEffect.cpp \ 270 src/effects/SkDisplacementMapEffect.cpp \ 271 src/effects/SkDropShadowImageFilter.cpp \ 272 src/effects/SkEmbossMask.cpp \ 273 src/effects/SkEmbossMaskFilter.cpp \ 274 src/effects/SkGpuBlurUtils.cpp \ 275 src/effects/SkLayerDrawLooper.cpp \ 276 src/effects/SkLayerRasterizer.cpp \ 277 src/effects/SkLerpXfermode.cpp \ 278 src/effects/SkLightingImageFilter.cpp \ 279 src/effects/SkLumaColorFilter.cpp \ 280 src/effects/SkMagnifierImageFilter.cpp \ 281 src/effects/SkMatrixConvolutionImageFilter.cpp \ 282 src/effects/SkMergeImageFilter.cpp \ 283 src/effects/SkMorphologyImageFilter.cpp \ 284 src/effects/SkOffsetImageFilter.cpp \ 285 src/effects/SkPaintFlagsDrawFilter.cpp \ 286 src/effects/SkPerlinNoiseShader.cpp \ 287 src/effects/SkPictureImageFilter.cpp \ 288 src/effects/SkPixelXorXfermode.cpp \ 289 src/effects/SkPorterDuff.cpp \ 290 src/effects/SkRectShaderImageFilter.cpp \ 291 src/effects/SkStippleMaskFilter.cpp \ 292 src/effects/SkTableColorFilter.cpp \ 293 src/effects/SkTableMaskFilter.cpp \ 294 src/effects/SkTestImageFilters.cpp \ 295 src/effects/SkTileImageFilter.cpp \ 296 src/effects/SkMatrixImageFilter.cpp \ 297 src/effects/SkTransparentShader.cpp \ 298 src/effects/SkXfermodeImageFilter.cpp \ 299 src/effects/gradients/SkBitmapCache.cpp \ 300 src/effects/gradients/SkClampRange.cpp \ 301 src/effects/gradients/SkGradientShader.cpp \ 302 src/effects/gradients/SkLinearGradient.cpp \ 303 src/effects/gradients/SkRadialGradient.cpp \ 304 src/effects/gradients/SkTwoPointRadialGradient.cpp \ 305 src/effects/gradients/SkTwoPointConicalGradient.cpp \ 306 src/effects/gradients/SkTwoPointConicalGradient_gpu.cpp \ 307 src/effects/gradients/SkSweepGradient.cpp \ 308 src/images/bmpdecoderhelper.cpp \ 309 src/images/SkDecodingImageGenerator.cpp \ 310 src/images/SkForceLinking.cpp \ 311 src/images/SkImageDecoder.cpp \ 312 src/images/SkImageDecoder_FactoryDefault.cpp \ 313 src/images/SkImageDecoder_FactoryRegistrar.cpp \ 314 src/images/SkImageDecoder_wbmp.cpp \ 315 src/images/SkImageDecoder_libbmp.cpp \ 316 src/images/SkImageDecoder_libgif.cpp \ 317 src/images/SkImageDecoder_libico.cpp \ 318 src/images/SkImageDecoder_libwebp.cpp \ 319 src/images/SkImageDecoder_libjpeg.cpp \ 320 src/images/SkImageDecoder_libpng.cpp \ 321 src/images/SkImageEncoder.cpp \ 322 src/images/SkImageEncoder_Factory.cpp \ 323 src/images/SkImageEncoder_argb.cpp \ 324 src/images/SkJpegUtility.cpp \ 325 src/images/SkMovie.cpp \ 326 src/images/SkMovie_gif.cpp \ 327 src/images/SkPageFlipper.cpp \ 328 src/images/SkScaledBitmapSampler.cpp \ 329 src/images/SkStreamHelpers.cpp \ 330 src/doc/SkDocument_PDF.cpp \ 331 src/pdf/SkPDFCatalog.cpp \ 332 src/pdf/SkPDFDevice.cpp \ 333 src/pdf/SkPDFDeviceFlattener.cpp \ 334 src/pdf/SkPDFDocument.cpp \ 335 src/pdf/SkPDFFont.cpp \ 336 src/pdf/SkPDFFormXObject.cpp \ 337 src/pdf/SkPDFGraphicState.cpp \ 338 src/pdf/SkPDFImage.cpp \ 339 src/pdf/SkPDFPage.cpp \ 340 src/pdf/SkPDFResourceDict.cpp \ 341 src/pdf/SkPDFShader.cpp \ 342 src/pdf/SkPDFStream.cpp \ 343 src/pdf/SkPDFTypes.cpp \ 344 src/pdf/SkPDFUtils.cpp \ 345 src/fonts/SkFontMgr_indirect.cpp \ 346 src/fonts/SkRemotableFontMgr.cpp \ 347 src/ports/SkGlobalInitialization_default.cpp \ 348 src/ports/SkMemory_malloc.cpp \ 349 src/ports/SkOSFile_posix.cpp \ 350 src/ports/SkOSFile_stdio.cpp \ 351 src/ports/SkDiscardableMemory_none.cpp \ 352 src/ports/SkTime_Unix.cpp \ 353 src/ports/SkTLS_pthread.cpp \ 354 src/ports/SkXMLParser_empty.cpp \ 355 src/ports/SkFontHost_FreeType.cpp \ 356 src/ports/SkFontHost_FreeType_common.cpp \ 357 src/ports/SkDebug_android.cpp \ 358 src/ports/SkFontConfigInterface_android.cpp \ 359 src/ports/SkFontConfigParser_android.cpp \ 360 src/ports/SkFontHost_fontconfig.cpp \ 361 src/sfnt/SkOTTable_name.cpp \ 362 src/sfnt/SkOTUtils.cpp \ 363 src/utils/SkCondVar.cpp \ 364 src/utils/SkCountdown.cpp \ 365 src/utils/SkBase64.cpp \ 366 src/utils/SkBitmapHasher.cpp \ 367 src/utils/SkBitSet.cpp \ 368 src/utils/SkBoundaryPatch.cpp \ 369 src/utils/SkFrontBufferedStream.cpp \ 370 src/utils/SkCamera.cpp \ 371 src/utils/SkCanvasStack.cpp \ 372 src/utils/SkCanvasStateUtils.cpp \ 373 src/utils/SkCubicInterval.cpp \ 374 src/utils/SkCullPoints.cpp \ 375 src/utils/SkDashPath.cpp \ 376 src/utils/SkDeferredCanvas.cpp \ 377 src/utils/SkDumpCanvas.cpp \ 378 src/utils/SkEventTracer.cpp \ 379 src/utils/SkGatherPixelRefsAndRects.cpp \ 380 src/utils/SkInterpolator.cpp \ 381 src/utils/SkLayer.cpp \ 382 src/utils/SkMatrix22.cpp \ 383 src/utils/SkMatrix44.cpp \ 384 src/utils/SkMD5.cpp \ 385 src/utils/SkMeshUtils.cpp \ 386 src/utils/SkNinePatch.cpp \ 387 src/utils/SkNWayCanvas.cpp \ 388 src/utils/SkNullCanvas.cpp \ 389 src/utils/SkOSFile.cpp \ 390 src/utils/SkParse.cpp \ 391 src/utils/SkParseColor.cpp \ 392 src/utils/SkParsePath.cpp \ 393 src/utils/SkPictureUtils.cpp \ 394 src/utils/SkPathUtils.cpp \ 395 src/utils/SkProxyCanvas.cpp \ 396 src/utils/SkSHA1.cpp \ 397 src/utils/SkRTConf.cpp \ 398 src/utils/SkTextureCompressor.cpp \ 399 src/utils/SkThreadUtils_pthread.cpp \ 400 src/utils/SkThreadUtils_pthread_other.cpp \ 401 src/fonts/SkGScalerContext.cpp \ 402 src/gpu/GrAAHairLinePathRenderer.cpp \ 403 src/gpu/GrAAConvexPathRenderer.cpp \ 404 src/gpu/GrAARectRenderer.cpp \ 405 src/gpu/GrAddPathRenderers_default.cpp \ 406 src/gpu/GrAllocPool.cpp \ 407 src/gpu/GrAtlas.cpp \ 408 src/gpu/GrBitmapTextContext.cpp \ 409 src/gpu/GrBlend.cpp \ 410 src/gpu/GrBufferAllocPool.cpp \ 411 src/gpu/GrCacheable.cpp \ 412 src/gpu/GrCacheID.cpp \ 413 src/gpu/GrClipData.cpp \ 414 src/gpu/GrContext.cpp \ 415 src/gpu/GrDefaultPathRenderer.cpp \ 416 src/gpu/GrDistanceFieldTextContext.cpp \ 417 src/gpu/GrDrawState.cpp \ 418 src/gpu/GrDrawTarget.cpp \ 419 src/gpu/GrEffect.cpp \ 420 src/gpu/GrClipMaskCache.cpp \ 421 src/gpu/GrClipMaskManager.cpp \ 422 src/gpu/GrGpu.cpp \ 423 src/gpu/GrGpuObject.cpp \ 424 src/gpu/GrGpuFactory.cpp \ 425 src/gpu/GrInOrderDrawBuffer.cpp \ 426 src/gpu/GrLayerCache.cpp \ 427 src/gpu/GrMemoryPool.cpp \ 428 src/gpu/GrOvalRenderer.cpp \ 429 src/gpu/GrPaint.cpp \ 430 src/gpu/GrPath.cpp \ 431 src/gpu/GrPathRendererChain.cpp \ 432 src/gpu/GrPathRenderer.cpp \ 433 src/gpu/GrPathUtils.cpp \ 434 src/gpu/GrPictureUtils.cpp \ 435 src/gpu/GrRectanizer_pow2.cpp \ 436 src/gpu/GrRectanizer_skyline.cpp \ 437 src/gpu/GrRenderTarget.cpp \ 438 src/gpu/GrReducedClip.cpp \ 439 src/gpu/GrResourceCache.cpp \ 440 src/gpu/GrStencil.cpp \ 441 src/gpu/GrStencilAndCoverPathRenderer.cpp \ 442 src/gpu/GrStencilBuffer.cpp \ 443 src/gpu/GrTraceMarker.cpp \ 444 src/gpu/GrSWMaskHelper.cpp \ 445 src/gpu/GrSoftwarePathRenderer.cpp \ 446 src/gpu/GrSurface.cpp \ 447 src/gpu/GrTextContext.cpp \ 448 src/gpu/GrTextStrike.cpp \ 449 src/gpu/GrTexture.cpp \ 450 src/gpu/GrTextureAccess.cpp \ 451 src/gpu/effects/GrConfigConversionEffect.cpp \ 452 src/gpu/effects/GrBezierEffect.cpp \ 453 src/gpu/effects/GrConvolutionEffect.cpp \ 454 src/gpu/effects/GrConvexPolyEffect.cpp \ 455 src/gpu/effects/GrBicubicEffect.cpp \ 456 src/gpu/effects/GrCustomCoordsTextureEffect.cpp \ 457 src/gpu/effects/GrDashingEffect.cpp \ 458 src/gpu/effects/GrDistanceFieldTextureEffect.cpp \ 459 src/gpu/effects/GrDitherEffect.cpp \ 460 src/gpu/effects/GrOvalEffect.cpp \ 461 src/gpu/effects/GrRRectEffect.cpp \ 462 src/gpu/effects/GrSimpleTextureEffect.cpp \ 463 src/gpu/effects/GrSingleTextureEffect.cpp \ 464 src/gpu/effects/GrTextureDomain.cpp \ 465 src/gpu/effects/GrTextureStripAtlas.cpp \ 466 src/gpu/gl/GrGLAssembleInterface.cpp \ 467 src/gpu/gl/GrGLBufferImpl.cpp \ 468 src/gpu/gl/GrGLCaps.cpp \ 469 src/gpu/gl/GrGLContext.cpp \ 470 src/gpu/gl/GrGLExtensions.cpp \ 471 src/gpu/gl/GrGLIndexBuffer.cpp \ 472 src/gpu/gl/GrGLInterface.cpp \ 473 src/gpu/gl/GrGLNameAllocator.cpp \ 474 src/gpu/gl/GrGLNoOpInterface.cpp \ 475 src/gpu/gl/GrGLPath.cpp \ 476 src/gpu/gl/GrGLProgram.cpp \ 477 src/gpu/gl/GrGLProgramDesc.cpp \ 478 src/gpu/gl/GrGLProgramEffects.cpp \ 479 src/gpu/gl/GrGLRenderTarget.cpp \ 480 src/gpu/gl/GrGLShaderBuilder.cpp \ 481 src/gpu/gl/GrGLSL.cpp \ 482 src/gpu/gl/GrGLStencilBuffer.cpp \ 483 src/gpu/gl/GrGLTexture.cpp \ 484 src/gpu/gl/GrGLUtil.cpp \ 485 src/gpu/gl/GrGLUniformManager.cpp \ 486 src/gpu/gl/GrGLVertexArray.cpp \ 487 src/gpu/gl/GrGLVertexBuffer.cpp \ 488 src/gpu/gl/GrGpuGL.cpp \ 489 src/gpu/gl/GrGpuGL_program.cpp \ 490 src/gpu/SkGpuDevice.cpp \ 491 src/gpu/SkGr.cpp \ 492 src/gpu/SkGrFontScaler.cpp \ 493 src/gpu/SkGrPixelRef.cpp \ 494 src/gpu/SkGrTexturePixelRef.cpp \ 495 src/image/SkImage_Gpu.cpp \ 496 src/image/SkSurface_Gpu.cpp \ 497 src/gpu/gl/SkGLContextHelper.cpp \ 498 src/gpu/gl/GrGLDefaultInterface_native.cpp \ 499 src/gpu/gl/android/GrGLCreateNativeInterface_android.cpp \ 500 src/gpu/gl/android/SkNativeGLContext_android.cpp \ 501 src/gpu/gl/debug/GrGLCreateDebugInterface.cpp \ 502 src/gpu/gl/debug/GrBufferObj.cpp \ 503 src/gpu/gl/debug/GrTextureObj.cpp \ 504 src/gpu/gl/debug/GrTextureUnitObj.cpp \ 505 src/gpu/gl/debug/GrFrameBufferObj.cpp \ 506 src/gpu/gl/debug/GrShaderObj.cpp \ 507 src/gpu/gl/debug/GrProgramObj.cpp \ 508 src/gpu/gl/debug/GrDebugGL.cpp \ 509 src/gpu/gl/debug/SkDebugGLContext.cpp \ 510 src/gpu/gl/GrGLCreateNullInterface.cpp \ 511 src/gpu/gl/SkNullGLContext.cpp \ 512 third_party/etc1/etc1.cpp \ 513 third_party/ktx/ktx.cpp \ 514 src/core/SkFlate.cpp 515 516 LOCAL_SHARED_LIBRARIES := \ 517 liblog \ 518 libGLESv2 \ 519 libEGL \ 520 libz \ 521 libjpeg \ 522 libpng \ 523 libicuuc \ 524 libicui18n \ 525 libexpat \ 526 libft2 527 528 LOCAL_STATIC_LIBRARIES := \ 529 libwebp-decode \ 530 libwebp-encode \ 531 libgif \ 532 libsfntly 533 534 LOCAL_C_INCLUDES := \ 535 $(LOCAL_PATH)/include/config \ 536 $(LOCAL_PATH)/include/core \ 537 $(LOCAL_PATH)/include/pathops \ 538 $(LOCAL_PATH)/include/pipe \ 539 $(LOCAL_PATH)/include/ports \ 540 $(LOCAL_PATH)/include/utils \ 541 $(LOCAL_PATH)/include/xml \ 542 $(LOCAL_PATH)/src/core \ 543 $(LOCAL_PATH)/src/sfnt \ 544 $(LOCAL_PATH)/src/image \ 545 $(LOCAL_PATH)/src/opts \ 546 $(LOCAL_PATH)/src/utils \ 547 $(LOCAL_PATH)/include/gpu \ 548 $(LOCAL_PATH)/src/gpu \ 549 $(LOCAL_PATH)/include/effects \ 550 $(LOCAL_PATH)/src/effects \ 551 $(LOCAL_PATH)/include/images \ 552 external/jpeg \ 553 $(LOCAL_PATH)/src/lazy \ 554 $(LOCAL_PATH)/src/images \ 555 $(LOCAL_PATH)/third_party/etc1 \ 556 $(LOCAL_PATH)/third_party/ktx \ 557 external/webp/include \ 558 external/giflib \ 559 external/libpng \ 560 external/expat/lib \ 561 external/freetype/include \ 562 $(LOCAL_PATH)/include/utils/win \ 563 $(LOCAL_PATH)/src/ports \ 564 $(LOCAL_PATH)/include/pdf \ 565 $(LOCAL_PATH)/src/pdf \ 566 external/sfntly/cpp/src \ 567 external/zlib 568 569 LOCAL_EXPORT_C_INCLUDE_DIRS := \ 570 $(LOCAL_PATH)/include/config \ 571 $(LOCAL_PATH)/include/core \ 572 $(LOCAL_PATH)/include/pathops \ 573 $(LOCAL_PATH)/include/pipe \ 574 $(LOCAL_PATH)/include/effects \ 575 $(LOCAL_PATH)/include/images \ 576 $(LOCAL_PATH)/include/pathops \ 577 $(LOCAL_PATH)/include/pdf \ 578 $(LOCAL_PATH)/include/ports \ 579 $(LOCAL_PATH)/include/utils \ 580 $(LOCAL_PATH)/src/utils 581 582 LOCAL_MODULE := \ 583 libskia 584 585 LOCAL_SRC_FILES_arm += \ 586 src/core/SkUtilsArm.cpp \ 587 src/opts/memset.arm.S \ 588 src/opts/SkBitmapProcState_opts_arm.cpp \ 589 src/opts/SkBlitMask_opts_arm.cpp \ 590 src/opts/SkBlitRow_opts_arm.cpp \ 591 src/opts/SkBlurImage_opts_arm.cpp \ 592 src/opts/SkMorphology_opts_arm.cpp \ 593 src/opts/SkUtils_opts_arm.cpp \ 594 src/opts/SkXfermode_opts_arm.cpp 595 596 ifeq ($(ARCH_ARM_HAVE_NEON), true) 597 LOCAL_SRC_FILES_arm += \ 598 src/opts/memset16_neon.S \ 599 src/opts/memset32_neon.S \ 600 src/opts/SkBitmapProcState_arm_neon.cpp \ 601 src/opts/SkBitmapProcState_matrixProcs_neon.cpp \ 602 src/opts/SkBlitMask_opts_arm_neon.cpp \ 603 src/opts/SkBlitRow_opts_arm_neon.cpp \ 604 src/opts/SkBlurImage_opts_neon.cpp \ 605 src/opts/SkMorphology_opts_neon.cpp \ 606 src/opts/SkXfermode_opts_arm_neon.cpp 607 608 LOCAL_CFLAGS_arm += \ 609 -D__ARM_HAVE_NEON 610 611 endif 612 613 LOCAL_CFLAGS_x86 += \ 614 -msse2 \ 615 -mfpmath=sse 616 617 LOCAL_SRC_FILES_x86 += \ 618 src/opts/opts_check_x86.cpp \ 619 src/opts/SkBitmapProcState_opts_SSE2.cpp \ 620 src/opts/SkBitmapFilter_opts_SSE2.cpp \ 621 src/opts/SkBlitRow_opts_SSE2.cpp \ 622 src/opts/SkBlitRect_opts_SSE2.cpp \ 623 src/opts/SkBlurImage_opts_SSE2.cpp \ 624 src/opts/SkMorphology_opts_SSE2.cpp \ 625 src/opts/SkUtils_opts_SSE2.cpp \ 626 src/opts/SkXfermode_opts_SSE2.cpp \ 627 src/opts/SkBitmapProcState_opts_SSSE3.cpp 628 629 LOCAL_CFLAGS_x86_64 += \ 630 -msse2 \ 631 -mfpmath=sse 632 633 LOCAL_SRC_FILES_x86_64 += \ 634 src/opts/opts_check_x86.cpp \ 635 src/opts/SkBitmapProcState_opts_SSE2.cpp \ 636 src/opts/SkBitmapFilter_opts_SSE2.cpp \ 637 src/opts/SkBlitRow_opts_SSE2.cpp \ 638 src/opts/SkBlitRect_opts_SSE2.cpp \ 639 src/opts/SkBlurImage_opts_SSE2.cpp \ 640 src/opts/SkMorphology_opts_SSE2.cpp \ 641 src/opts/SkUtils_opts_SSE2.cpp \ 642 src/opts/SkXfermode_opts_SSE2.cpp \ 643 src/opts/SkBitmapProcState_opts_SSSE3.cpp 644 645 LOCAL_CFLAGS_mips += \ 646 -EL 647 648 LOCAL_SRC_FILES_mips += \ 649 src/opts/SkBitmapProcState_opts_none.cpp \ 650 src/opts/SkBlitMask_opts_none.cpp \ 651 src/opts/SkBlurImage_opts_none.cpp \ 652 src/opts/SkMorphology_opts_none.cpp \ 653 src/opts/SkUtils_opts_none.cpp \ 654 src/opts/SkXfermode_opts_none.cpp \ 655 src/opts/SkBlitRow_opts_none.cpp 656 657 LOCAL_SRC_FILES_mips64 += \ 658 src/opts/SkBitmapProcState_opts_none.cpp \ 659 src/opts/SkBlitMask_opts_none.cpp \ 660 src/opts/SkBlitRow_opts_none.cpp \ 661 src/opts/SkBlurImage_opts_none.cpp \ 662 src/opts/SkMorphology_opts_none.cpp \ 663 src/opts/SkUtils_opts_none.cpp \ 664 src/opts/SkXfermode_opts_none.cpp 665 666 LOCAL_SRC_FILES_arm64 += \ 667 src/opts/SkBitmapProcState_arm_neon.cpp \ 668 src/opts/SkBitmapProcState_matrixProcs_neon.cpp \ 669 src/opts/SkBitmapProcState_opts_arm.cpp \ 670 src/opts/SkBlitMask_opts_arm.cpp \ 671 src/opts/SkBlitMask_opts_arm_neon.cpp \ 672 src/opts/SkBlitRow_opts_arm.cpp \ 673 src/opts/SkBlitRow_opts_arm_neon.cpp \ 674 src/opts/SkBlurImage_opts_arm.cpp \ 675 src/opts/SkBlurImage_opts_neon.cpp \ 676 src/opts/SkMorphology_opts_arm.cpp \ 677 src/opts/SkMorphology_opts_neon.cpp \ 678 src/opts/SkUtils_opts_none.cpp \ 679 src/opts/SkXfermode_opts_arm.cpp \ 680 src/opts/SkXfermode_opts_arm_neon.cpp 681 682 include external/stlport/libstlport.mk 683 include $(BUILD_SHARED_LIBRARY) 684 685 ############################################################# 686 # Build the skia tools 687 # 688 689 # benchmark (timings) 690 include $(BASE_PATH)/bench/Android.mk 691 include $(BASE_PATH)/tools/Android.mk 692 693 # golden-master (fidelity / regression test) 694 include $(BASE_PATH)/gm/Android.mk 695 696 # unit-tests 697 include $(BASE_PATH)/tests/Android.mk 698 699 # diamond-master (one test to rule them all) 700 include $(BASE_PATH)/dm/Android.mk 701