1 2 LOCAL_PATH:= $(call my-dir) 3 include $(CLEAR_VARS) 4 5 LOCAL_SRC_FILES := \ 6 benchmain.cpp \ 7 SkBenchmark.cpp \ 8 BenchTimer.cpp \ 9 BenchSysTimer_posix.cpp \ 10 BenchGpuTimer_gl.cpp \ 11 SkBenchLogger.cpp \ 12 TimerData.cpp \ 13 ../tools/flags/SkCommandLineFlags.cpp 14 15 LOCAL_SRC_FILES += \ 16 AAClipBench.cpp \ 17 BicubicBench.cpp \ 18 BitmapBench.cpp \ 19 BitmapRectBench.cpp \ 20 BitmapScaleBench.cpp \ 21 BlurBench.cpp \ 22 BlurImageFilterBench.cpp \ 23 BlurRectBench.cpp \ 24 BlurRoundRectBench.cpp \ 25 ChartBench.cpp \ 26 ChromeBench.cpp \ 27 CmapBench.cpp \ 28 ColorFilterBench.cpp \ 29 ColorPrivBench.cpp \ 30 DashBench.cpp \ 31 DecodeBench.cpp \ 32 DeferredCanvasBench.cpp \ 33 DeferredSurfaceCopyBench.cpp \ 34 DisplacementBench.cpp \ 35 FontCacheBench.cpp \ 36 FontScalerBench.cpp \ 37 FSRectBench.cpp \ 38 GameBench.cpp \ 39 GradientBench.cpp \ 40 GrMemoryPoolBench.cpp \ 41 GrResourceCacheBench.cpp \ 42 HairlinePathBench.cpp \ 43 ImageCacheBench.cpp \ 44 ImageDecodeBench.cpp \ 45 InterpBench.cpp \ 46 LineBench.cpp \ 47 LightingBench.cpp \ 48 MagnifierBench.cpp \ 49 MathBench.cpp \ 50 Matrix44Bench.cpp \ 51 MatrixBench.cpp \ 52 MatrixConvolutionBench.cpp \ 53 MemoryBench.cpp \ 54 MemsetBench.cpp \ 55 MergeBench.cpp \ 56 MorphologyBench.cpp \ 57 MutexBench.cpp \ 58 PathBench.cpp \ 59 PathIterBench.cpp \ 60 PathUtilsBench.cpp \ 61 PerlinNoiseBench.cpp \ 62 PicturePlaybackBench.cpp \ 63 PictureRecordBench.cpp \ 64 ReadPixBench.cpp \ 65 PremulAndUnpremulAlphaOpsBench.cpp \ 66 RectBench.cpp \ 67 RectoriBench.cpp \ 68 RefCntBench.cpp \ 69 RegionBench.cpp \ 70 RegionContainBench.cpp \ 71 RepeatTileBench.cpp \ 72 RTreeBench.cpp \ 73 ScalarBench.cpp \ 74 ShaderMaskBench.cpp \ 75 SortBench.cpp \ 76 StrokeBench.cpp \ 77 TableBench.cpp \ 78 TextBench.cpp \ 79 TileBench.cpp \ 80 VertBench.cpp \ 81 WritePixelsBench.cpp \ 82 WriterBench.cpp \ 83 XfermodeBench.cpp 84 85 # Disabling this bench since it depends on recent 86 # changes to bench. 87 # SkipZeroesBench.cpp \ 88 89 # Files that are missing dependencies 90 #LOCAL_SRC_FILES += \ 91 # ChecksumBench.cpp \ 92 # DeferredSurfaceCopyBench.cpp \ 93 94 LOCAL_SHARED_LIBRARIES := libcutils libskia libGLESv2 libEGL 95 96 LOCAL_STATIC_LIBRARIES := libstlport_static 97 98 LOCAL_C_INCLUDES := \ 99 external/skia/src/core \ 100 external/skia/src/effects \ 101 external/skia/src/utils \ 102 external/skia/src/gpu \ 103 external/skia/tools/flags 104 105 LOCAL_MODULE := skia_bench 106 107 LOCAL_MODULE_TAGS := optional 108 109 # Skia does not enforce this usage pattern so we disable it here to avoid 110 # unecessary log spew when building 111 LOCAL_CFLAGS := -Wno-unused-parameter 112 113 #include stlport headers 114 include external/stlport/libstlport.mk 115 116 include $(BUILD_EXECUTABLE) 117