1 2############################################################################### 3# 4# THIS FILE IS AUTOGENERATED BY GYP_TO_ANDROID.PY. DO NOT EDIT. 5# 6# For bugs, please contact scroggo@google.com or djsollen@google.com 7# 8############################################################################### 9 10LOCAL_PATH:= $(call my-dir) 11include $(CLEAR_VARS) 12LOCAL_CFLAGS += \ 13 -fPIC \ 14 -Wno-unused-parameter \ 15 -U_FORTIFY_SOURCE \ 16 -D_FORTIFY_SOURCE=1 \ 17 -DSKIA_IMPLEMENTATION=1 18 19LOCAL_CPPFLAGS := \ 20 -std=c++11 \ 21 -fno-threadsafe-statics 22 23LOCAL_SRC_FILES := \ 24 ../gm/gm.cpp \ 25 AAClipBench.cpp \ 26 AlternatingColorPatternBench.cpp \ 27 AndroidCodecBench.cpp \ 28 BenchLogger.cpp \ 29 Benchmark.cpp \ 30 BezierBench.cpp \ 31 BigPathBench.cpp \ 32 BitmapBench.cpp \ 33 BitmapRectBench.cpp \ 34 BitmapRegionDecoderBench.cpp \ 35 BitmapScaleBench.cpp \ 36 BlurBench.cpp \ 37 BlurImageFilterBench.cpp \ 38 BlurRectBench.cpp \ 39 BlurRectsBench.cpp \ 40 BlurRoundRectBench.cpp \ 41 ChartBench.cpp \ 42 ChecksumBench.cpp \ 43 ChromeBench.cpp \ 44 CmapBench.cpp \ 45 CodecBench.cpp \ 46 ColorCubeBench.cpp \ 47 ColorFilterBench.cpp \ 48 ColorPrivBench.cpp \ 49 ControlBench.cpp \ 50 CoverageBench.cpp \ 51 DashBench.cpp \ 52 DisplacementBench.cpp \ 53 DrawBitmapAABench.cpp \ 54 FSRectBench.cpp \ 55 FontCacheBench.cpp \ 56 FontScalerBench.cpp \ 57 GLBench.cpp \ 58 GLInstancedArraysBench.cpp \ 59 GLVec4ScalarBench.cpp \ 60 GLVertexAttributesBench.cpp \ 61 GMBench.cpp \ 62 GameBench.cpp \ 63 GeometryBench.cpp \ 64 GrMemoryPoolBench.cpp \ 65 GrResourceCacheBench.cpp \ 66 GradientBench.cpp \ 67 HairlinePathBench.cpp \ 68 HalfBench.cpp \ 69 ImageBench.cpp \ 70 ImageCacheBench.cpp \ 71 ImageFilterCollapse.cpp \ 72 ImageFilterDAGBench.cpp \ 73 InterpBench.cpp \ 74 LightingBench.cpp \ 75 LineBench.cpp \ 76 MagnifierBench.cpp \ 77 MathBench.cpp \ 78 Matrix44Bench.cpp \ 79 MatrixBench.cpp \ 80 MatrixConvolutionBench.cpp \ 81 MemoryBench.cpp \ 82 MemsetBench.cpp \ 83 MergeBench.cpp \ 84 MipMapBench.cpp \ 85 MorphologyBench.cpp \ 86 MutexBench.cpp \ 87 PDFBench.cpp \ 88 PatchBench.cpp \ 89 PatchGridBench.cpp \ 90 PathBench.cpp \ 91 PathIterBench.cpp \ 92 PerlinNoiseBench.cpp \ 93 PictureNestingBench.cpp \ 94 PictureOverheadBench.cpp \ 95 PicturePlaybackBench.cpp \ 96 PremulAndUnpremulAlphaOpsBench.cpp \ 97 RTreeBench.cpp \ 98 ReadPixBench.cpp \ 99 RecordingBench.cpp \ 100 RectBench.cpp \ 101 RectanizerBench.cpp \ 102 RectoriBench.cpp \ 103 RefCntBench.cpp \ 104 RegionBench.cpp \ 105 RegionContainBench.cpp \ 106 RepeatTileBench.cpp \ 107 RotatedRectBench.cpp \ 108 SKPAnimationBench.cpp \ 109 SKPBench.cpp \ 110 ScalarBench.cpp \ 111 ShaderMaskBench.cpp \ 112 ShapesBench.cpp \ 113 Sk4fBench.cpp \ 114 SkGlyphCacheBench.cpp \ 115 SkLinearBitmapPipelineBench.cpp \ 116 SkipZeroesBench.cpp \ 117 SortBench.cpp \ 118 StrokeBench.cpp \ 119 SwizzleBench.cpp \ 120 TableBench.cpp \ 121 TextBench.cpp \ 122 TextBlobBench.cpp \ 123 TileBench.cpp \ 124 TileImageFilterBench.cpp \ 125 TopoSortBench.cpp \ 126 VertBench.cpp \ 127 WritePixelsBench.cpp \ 128 WriterBench.cpp \ 129 Xfer4fBench.cpp \ 130 XferU64Bench.cpp \ 131 XfermodeBench.cpp \ 132 nanobench.cpp \ 133 nanobenchAndroid.cpp \ 134 ../gm/SkLinearBitmapPipelineGM.cpp \ 135 ../gm/aaclip.cpp \ 136 ../gm/aarectmodes.cpp \ 137 ../gm/aaxfermodes.cpp \ 138 ../gm/addarc.cpp \ 139 ../gm/all_bitmap_configs.cpp \ 140 ../gm/alphagradients.cpp \ 141 ../gm/anisotropic.cpp \ 142 ../gm/annotated_text.cpp \ 143 ../gm/arcofzorro.cpp \ 144 ../gm/arcto.cpp \ 145 ../gm/arithmode.cpp \ 146 ../gm/astcbitmap.cpp \ 147 ../gm/avoidxfermode.cpp \ 148 ../gm/avoidxfermode2.cpp \ 149 ../gm/avoidxfermode3.cpp \ 150 ../gm/badpaint.cpp \ 151 ../gm/beziereffects.cpp \ 152 ../gm/beziers.cpp \ 153 ../gm/bigblurs.cpp \ 154 ../gm/bigmatrix.cpp \ 155 ../gm/bigrrectaaeffect.cpp \ 156 ../gm/bigtext.cpp \ 157 ../gm/bigtileimagefilter.cpp \ 158 ../gm/bitmapcopy.cpp \ 159 ../gm/bitmapfilters.cpp \ 160 ../gm/bitmappremul.cpp \ 161 ../gm/bitmaprect.cpp \ 162 ../gm/bitmaprecttest.cpp \ 163 ../gm/bitmapshader.cpp \ 164 ../gm/bleed.cpp \ 165 ../gm/blend.cpp \ 166 ../gm/blurcircles.cpp \ 167 ../gm/blurquickreject.cpp \ 168 ../gm/blurrect.cpp \ 169 ../gm/blurredclippedcircle.cpp \ 170 ../gm/blurroundrect.cpp \ 171 ../gm/blurs.cpp \ 172 ../gm/bmpfilterqualityrepeat.cpp \ 173 ../gm/bug530095.cpp \ 174 ../gm/cgm.c \ 175 ../gm/cgms.cpp \ 176 ../gm/circles.cpp \ 177 ../gm/circularclips.cpp \ 178 ../gm/clip_strokerect.cpp \ 179 ../gm/clipdrawdraw.cpp \ 180 ../gm/clippedbitmapshaders.cpp \ 181 ../gm/cmykjpeg.cpp \ 182 ../gm/color4f.cpp \ 183 ../gm/colorcube.cpp \ 184 ../gm/coloremoji.cpp \ 185 ../gm/colorfilterimagefilter.cpp \ 186 ../gm/colorfilters.cpp \ 187 ../gm/colormatrix.cpp \ 188 ../gm/colortype.cpp \ 189 ../gm/colortypexfermode.cpp \ 190 ../gm/colorwheel.cpp \ 191 ../gm/complexclip.cpp \ 192 ../gm/complexclip2.cpp \ 193 ../gm/complexclip3.cpp \ 194 ../gm/complexclip_blur_tiled.cpp \ 195 ../gm/composeshader.cpp \ 196 ../gm/concavepaths.cpp \ 197 ../gm/conicpaths.cpp \ 198 ../gm/constcolorprocessor.cpp \ 199 ../gm/convex_all_line_paths.cpp \ 200 ../gm/convexpaths.cpp \ 201 ../gm/convexpolyclip.cpp \ 202 ../gm/convexpolyeffect.cpp \ 203 ../gm/copyTo4444.cpp \ 204 ../gm/cubicpaths.cpp \ 205 ../gm/dashcircle.cpp \ 206 ../gm/dashcubics.cpp \ 207 ../gm/dashing.cpp \ 208 ../gm/dcshader.cpp \ 209 ../gm/degeneratesegments.cpp \ 210 ../gm/dftext.cpp \ 211 ../gm/discard.cpp \ 212 ../gm/displacement.cpp \ 213 ../gm/distantclip.cpp \ 214 ../gm/downsamplebitmap.cpp \ 215 ../gm/draw_bitmap_rect_skbug4374.cpp \ 216 ../gm/drawable.cpp \ 217 ../gm/drawatlas.cpp \ 218 ../gm/drawatlascolor.cpp \ 219 ../gm/drawbitmaprect.cpp \ 220 ../gm/drawfilter.cpp \ 221 ../gm/drawlooper.cpp \ 222 ../gm/drawminibitmaprect.cpp \ 223 ../gm/dropshadowimagefilter.cpp \ 224 ../gm/drrect.cpp \ 225 ../gm/dstreadshuffle.cpp \ 226 ../gm/emboss.cpp \ 227 ../gm/emptypath.cpp \ 228 ../gm/etc1bitmap.cpp \ 229 ../gm/extractbitmap.cpp \ 230 ../gm/factory.cpp \ 231 ../gm/fadefilter.cpp \ 232 ../gm/fatpathfill.cpp \ 233 ../gm/filltypes.cpp \ 234 ../gm/filltypespersp.cpp \ 235 ../gm/filterbitmap.cpp \ 236 ../gm/filterfastbounds.cpp \ 237 ../gm/filterindiabox.cpp \ 238 ../gm/fontcache.cpp \ 239 ../gm/fontmgr.cpp \ 240 ../gm/fontscaler.cpp \ 241 ../gm/fontscalerdistortable.cpp \ 242 ../gm/gammatext.cpp \ 243 ../gm/getpostextpath.cpp \ 244 ../gm/giantbitmap.cpp \ 245 ../gm/glyph_pos.cpp \ 246 ../gm/glyph_pos_align.cpp \ 247 ../gm/gradientDirtyLaundry.cpp \ 248 ../gm/gradient_matrix.cpp \ 249 ../gm/gradients.cpp \ 250 ../gm/gradients_2pt_conical.cpp \ 251 ../gm/gradients_no_texture.cpp \ 252 ../gm/gradtext.cpp \ 253 ../gm/grayscalejpg.cpp \ 254 ../gm/hairlines.cpp \ 255 ../gm/hairmodes.cpp \ 256 ../gm/hittestpath.cpp \ 257 ../gm/image.cpp \ 258 ../gm/image_pict.cpp \ 259 ../gm/image_shader.cpp \ 260 ../gm/imagealphathreshold.cpp \ 261 ../gm/imageblur.cpp \ 262 ../gm/imageblur2.cpp \ 263 ../gm/imageblurtiled.cpp \ 264 ../gm/imagefilters.cpp \ 265 ../gm/imagefiltersbase.cpp \ 266 ../gm/imagefiltersclipped.cpp \ 267 ../gm/imagefilterscropexpand.cpp \ 268 ../gm/imagefilterscropped.cpp \ 269 ../gm/imagefiltersgraph.cpp \ 270 ../gm/imagefiltersscaled.cpp \ 271 ../gm/imagefiltersstroked.cpp \ 272 ../gm/imagefilterstransformed.cpp \ 273 ../gm/imagefromyuvtextures.cpp \ 274 ../gm/imagemagnifier.cpp \ 275 ../gm/imageresizetiled.cpp \ 276 ../gm/imagescalealigned.cpp \ 277 ../gm/imagesource.cpp \ 278 ../gm/imagesource2.cpp \ 279 ../gm/imagetoyuvplanes.cpp \ 280 ../gm/internal_links.cpp \ 281 ../gm/inversepaths.cpp \ 282 ../gm/largeglyphblur.cpp \ 283 ../gm/lcdblendmodes.cpp \ 284 ../gm/lcdoverlap.cpp \ 285 ../gm/lcdtext.cpp \ 286 ../gm/lighting.cpp \ 287 ../gm/lightingshader.cpp \ 288 ../gm/linepaths.cpp \ 289 ../gm/localmatriximagefilter.cpp \ 290 ../gm/lumafilter.cpp \ 291 ../gm/matrixconvolution.cpp \ 292 ../gm/matriximagefilter.cpp \ 293 ../gm/megalooper.cpp \ 294 ../gm/mipmap.cpp \ 295 ../gm/mixedtextblobs.cpp \ 296 ../gm/modecolorfilters.cpp \ 297 ../gm/morphology.cpp \ 298 ../gm/multipicturedraw.cpp \ 299 ../gm/nested.cpp \ 300 ../gm/ninepatchstretch.cpp \ 301 ../gm/nonclosedpaths.cpp \ 302 ../gm/offsetimagefilter.cpp \ 303 ../gm/ovals.cpp \ 304 ../gm/patch.cpp \ 305 ../gm/patchgrid.cpp \ 306 ../gm/path_stroke_with_zero_length.cpp \ 307 ../gm/pathcontourstart.cpp \ 308 ../gm/patheffects.cpp \ 309 ../gm/pathfill.cpp \ 310 ../gm/pathinterior.cpp \ 311 ../gm/pathopsinverse.cpp \ 312 ../gm/pathopsskpclip.cpp \ 313 ../gm/pathreverse.cpp \ 314 ../gm/pdf_never_embed.cpp \ 315 ../gm/perlinnoise.cpp \ 316 ../gm/perspshaders.cpp \ 317 ../gm/picture.cpp \ 318 ../gm/pictureimagefilter.cpp \ 319 ../gm/pictureimagegenerator.cpp \ 320 ../gm/pictureshader.cpp \ 321 ../gm/pictureshadertile.cpp \ 322 ../gm/pixelsnap.cpp \ 323 ../gm/pixelxorxfermode.cpp \ 324 ../gm/plus.cpp \ 325 ../gm/points.cpp \ 326 ../gm/poly2poly.cpp \ 327 ../gm/polygons.cpp \ 328 ../gm/quadpaths.cpp \ 329 ../gm/recordopts.cpp \ 330 ../gm/rectangletexture.cpp \ 331 ../gm/rects.cpp \ 332 ../gm/repeated_bitmap.cpp \ 333 ../gm/resizeimagefilter.cpp \ 334 ../gm/roundrects.cpp \ 335 ../gm/rrect.cpp \ 336 ../gm/rrects.cpp \ 337 ../gm/samplerstress.cpp \ 338 ../gm/scaledstrokes.cpp \ 339 ../gm/selftest.cpp \ 340 ../gm/shaderbounds.cpp \ 341 ../gm/shadertext.cpp \ 342 ../gm/shadertext2.cpp \ 343 ../gm/shadertext3.cpp \ 344 ../gm/shadows.cpp \ 345 ../gm/shallowgradient.cpp \ 346 ../gm/shapes.cpp \ 347 ../gm/showmiplevels.cpp \ 348 ../gm/simpleaaclip.cpp \ 349 ../gm/skbug1719.cpp \ 350 ../gm/skbug_257.cpp \ 351 ../gm/skbug_4868.cpp \ 352 ../gm/smallarc.cpp \ 353 ../gm/smallimage.cpp \ 354 ../gm/smallpaths.cpp \ 355 ../gm/spritebitmap.cpp \ 356 ../gm/srcmode.cpp \ 357 ../gm/stlouisarch.cpp \ 358 ../gm/stringart.cpp \ 359 ../gm/strokefill.cpp \ 360 ../gm/strokerect.cpp \ 361 ../gm/strokerects.cpp \ 362 ../gm/strokes.cpp \ 363 ../gm/stroketext.cpp \ 364 ../gm/surface.cpp \ 365 ../gm/tablecolorfilter.cpp \ 366 ../gm/tallstretchedbitmaps.cpp \ 367 ../gm/testimagefilters.cpp \ 368 ../gm/texdata.cpp \ 369 ../gm/textblob.cpp \ 370 ../gm/textblobblockreordering.cpp \ 371 ../gm/textblobcolortrans.cpp \ 372 ../gm/textblobgeometrychange.cpp \ 373 ../gm/textbloblooper.cpp \ 374 ../gm/textblobmixedsizes.cpp \ 375 ../gm/textblobrandomfont.cpp \ 376 ../gm/textblobshader.cpp \ 377 ../gm/textblobtransforms.cpp \ 378 ../gm/textblobuseaftergpufree.cpp \ 379 ../gm/texteffects.cpp \ 380 ../gm/texturedomaineffect.cpp \ 381 ../gm/thinrects.cpp \ 382 ../gm/thinstrokedrects.cpp \ 383 ../gm/tiledscaledbitmap.cpp \ 384 ../gm/tileimagefilter.cpp \ 385 ../gm/tilemodes.cpp \ 386 ../gm/tilemodes_scaled.cpp \ 387 ../gm/tinybitmap.cpp \ 388 ../gm/transparency.cpp \ 389 ../gm/typeface.cpp \ 390 ../gm/variedtext.cpp \ 391 ../gm/vertices.cpp \ 392 ../gm/verttext.cpp \ 393 ../gm/verttext2.cpp \ 394 ../gm/verylargebitmap.cpp \ 395 ../gm/xfermodeimagefilter.cpp \ 396 ../gm/xfermodes.cpp \ 397 ../gm/xfermodes2.cpp \ 398 ../gm/xfermodes3.cpp \ 399 ../gm/yuvtorgbeffect.cpp \ 400 ../tools/debugger/SkDrawCommand.cpp \ 401 ../tools/debugger/SkDebugCanvas.cpp \ 402 ../tools/debugger/SkObjectParser.cpp \ 403 ../tools/debugger/SkOverdrawMode.cpp \ 404 ../tools/AndroidSkDebugToStdOut.cpp \ 405 ../tools/flags/SkCommonFlags.cpp \ 406 ../tools/flags/SkCommonFlagsConfig.cpp \ 407 ../tools/CrashHandler.cpp \ 408 ../tools/ProcStats.cpp \ 409 ../tools/ThermalManager.cpp \ 410 ../tools/timer/Timer.cpp \ 411 ../tools/Resources.cpp \ 412 ../tools/sk_tool_utils.cpp \ 413 ../tools/sk_tool_utils_font.cpp \ 414 ../tools/random_parse_path.cpp \ 415 ../tools/UrlDataManager.cpp \ 416 ../tools/android/SkAndroidSDKCanvas.cpp \ 417 ../src/gpu/GrContextFactory.cpp \ 418 ../src/gpu/GrTest.cpp \ 419 ../tools/flags/SkCommandLineFlags.cpp 420 421LOCAL_SHARED_LIBRARIES := \ 422 liblog \ 423 libhwui \ 424 libexpat \ 425 libGLESv2 \ 426 libEGL \ 427 libz 428 429LOCAL_STATIC_LIBRARIES := \ 430 libskia_static \ 431 libjsoncpp 432 433LOCAL_C_INCLUDES := \ 434 $(LOCAL_PATH)/../include/c \ 435 $(LOCAL_PATH)/../include/config \ 436 $(LOCAL_PATH)/../include/core \ 437 $(LOCAL_PATH)/../include/pathops \ 438 $(LOCAL_PATH)/../include/codec \ 439 $(LOCAL_PATH)/../include/android \ 440 $(LOCAL_PATH)/../include/effects \ 441 $(LOCAL_PATH)/../include/client/android \ 442 $(LOCAL_PATH)/../include/images \ 443 $(LOCAL_PATH)/../include/ports \ 444 $(LOCAL_PATH)/../src/sfnt \ 445 $(LOCAL_PATH)/../include/utils \ 446 $(LOCAL_PATH)/../src/utils \ 447 $(LOCAL_PATH)/../include/gpu \ 448 $(LOCAL_PATH)/../include/private \ 449 $(LOCAL_PATH)/../src/gpu \ 450 $(LOCAL_PATH)/../tools/flags \ 451 $(LOCAL_PATH)/../src/fonts \ 452 $(LOCAL_PATH)/../src/core \ 453 $(LOCAL_PATH)/../tools \ 454 $(LOCAL_PATH)/../../src/gpu \ 455 $(LOCAL_PATH)/subset \ 456 $(LOCAL_PATH)/../src/effects \ 457 $(LOCAL_PATH)/../src/pdf \ 458 $(LOCAL_PATH)/../gm \ 459 $(LOCAL_PATH)/../tools/debugger \ 460 $(LOCAL_PATH)/../src/effects/gradients \ 461 $(LOCAL_PATH)/../src/images \ 462 $(LOCAL_PATH)/../src/lazy \ 463 $(LOCAL_PATH)/../../../frameworks/base/libs/hwui \ 464 $(LOCAL_PATH)/../tools/timer \ 465 $(LOCAL_PATH)/../third_party/etc1 \ 466 $(LOCAL_PATH)/../tools/android 467 468LOCAL_MODULE_TAGS := \ 469 tests 470 471LOCAL_MODULE := \ 472 skia_nanobench 473 474 475# Store skia's resources in the directory structure that the Android testing 476# infrastructure expects. This requires that Skia maintain a symlinked 477# subdirectory in the DATA folder that points to the top level skia resources... 478# i.e. external/skia/DATA/skia_resources --> ../resources 479LOCAL_PICKUP_FILES := $(LOCAL_PATH)/../DATA 480include $(LOCAL_PATH)/../skia_static_deps.mk 481include $(BUILD_NATIVE_TEST) 482