1# Copyright 2015 Google Inc. 2# 3# Use of this source code is governed by a BSD-style license that can be 4# found in the LICENSE file. 5# Common gypi for unit tests. 6{ 7 'include_dirs': [ 8 '../src/codec', 9 '../src/core', 10 '../src/effects', 11 '../src/image', 12 '../src/lazy', 13 '../src/images', 14 '../src/pathops', 15 '../src/pdf', 16 '../src/pipe/utils', 17 '../src/utils', 18 '../src/utils/debugger', 19 20 # Needed for TDStackNesterTest. 21 '../experimental/PdfViewer', 22 '../experimental/PdfViewer/src', 23 ], 24 'dependencies': [ 25 'experimental.gyp:experimental', 26 'flags.gyp:flags_common', 27 'pdf.gyp:pdf', 28 'skia_lib.gyp:skia_lib', 29 'tools.gyp:picture_utils', 30 'tools.gyp:resources', 31 'tools.gyp:sk_tool_utils', 32 ], 33 'conditions': [ 34 [ 'skia_os == "android"', { 35 'include_dirs': [ 36 '../src/ports', 37 ], 38 'sources': [ 39 '../tests/FontConfigParser.cpp', 40 ], 41 }], 42 [ 'skia_android_framework == 1', { 43 'libraries': [ 44 '-ldl', 45 ], 46 }], 47 ], 48 'sources': [ 49 '../tests/Test.cpp', 50 '../tests/Test.h', 51 52 '../tests/AAClipTest.cpp', 53 '../tests/ARGBImageEncoderTest.cpp', 54 '../tests/AnnotationTest.cpp', 55 '../tests/AsADashTest.cpp', 56 '../tests/AtomicTest.cpp', 57 '../tests/BadIcoTest.cpp', 58 '../tests/BitSetTest.cpp', 59 '../tests/BitmapCopyTest.cpp', 60 '../tests/BitmapGetColorTest.cpp', 61 '../tests/BitmapHasherTest.cpp', 62 '../tests/BitmapHeapTest.cpp', 63 '../tests/BitmapTest.cpp', 64 '../tests/BlendTest.cpp', 65 '../tests/BlitRowTest.cpp', 66 '../tests/BlurTest.cpp', 67 '../tests/CTest.cpp', 68 '../tests/CachedDataTest.cpp', 69 '../tests/CachedDecodingPixelRefTest.cpp', 70 '../tests/CanvasStateHelpers.cpp', 71 '../tests/CanvasStateTest.cpp', 72 '../tests/CanvasTest.cpp', 73 '../tests/ChecksumTest.cpp', 74 '../tests/ClampRangeTest.cpp', 75 '../tests/ClipCacheTest.cpp', 76 '../tests/ClipCubicTest.cpp', 77 '../tests/ClipStackTest.cpp', 78 '../tests/ClipperTest.cpp', 79 '../tests/CodexTest.cpp', 80 '../tests/ColorFilterTest.cpp', 81 '../tests/ColorPrivTest.cpp', 82 '../tests/ColorTest.cpp', 83 '../tests/CPlusPlusEleven.cpp', 84 '../tests/DashPathEffectTest.cpp', 85 '../tests/DataRefTest.cpp', 86 '../tests/DeferredCanvasTest.cpp', 87 '../tests/DeflateWStream.cpp', 88 '../tests/DequeTest.cpp', 89 '../tests/DeviceLooperTest.cpp', 90 '../tests/DiscardableMemoryPoolTest.cpp', 91 '../tests/DiscardableMemoryTest.cpp', 92 '../tests/DocumentTest.cpp', 93 '../tests/DrawBitmapRectTest.cpp', 94 '../tests/DrawFilterTest.cpp', 95 '../tests/DrawPathTest.cpp', 96 '../tests/DrawTextTest.cpp', 97 '../tests/DynamicHashTest.cpp', 98 '../tests/EmptyPathTest.cpp', 99 '../tests/ErrorTest.cpp', 100 '../tests/FillPathTest.cpp', 101 '../tests/FitsInTest.cpp', 102 '../tests/FlateTest.cpp', 103 '../tests/FloatingPointTextureTest.cpp', 104 '../tests/FontHostStreamTest.cpp', 105 '../tests/FontHostTest.cpp', 106 '../tests/FontMgrTest.cpp', 107 '../tests/FontNamesTest.cpp', 108 '../tests/FontObjTest.cpp', 109 '../tests/FrontBufferedStreamTest.cpp', 110 '../tests/FunctionTest.cpp', 111 '../tests/GLInterfaceValidationTest.cpp', 112 '../tests/GLProgramsTest.cpp', 113 '../tests/GeometryTest.cpp', 114 '../tests/GifTest.cpp', 115 '../tests/GpuColorFilterTest.cpp', 116 '../tests/GpuDrawPathTest.cpp', 117 '../tests/GpuLayerCacheTest.cpp', 118 '../tests/GpuRectanizerTest.cpp', 119 '../tests/GrContextFactoryTest.cpp', 120 '../tests/GrDrawTargetTest.cpp', 121 '../tests/GrAllocatorTest.cpp', 122 '../tests/GrMemoryPoolTest.cpp', 123 '../tests/GrOrderedSetTest.cpp', 124 '../tests/GrGLSLPrettyPrintTest.cpp', 125 '../tests/GrRedBlackTreeTest.cpp', 126 '../tests/GrSurfaceTest.cpp', 127 '../tests/GrTBSearchTest.cpp', 128 '../tests/GrTRecorderTest.cpp', 129 '../tests/GradientTest.cpp', 130 '../tests/HashTest.cpp', 131 '../tests/ImageCacheTest.cpp', 132 '../tests/ImageDecodingTest.cpp', 133 '../tests/ImageFilterTest.cpp', 134 '../tests/ImageGeneratorTest.cpp', 135 '../tests/ImageIsOpaqueTest.cpp', 136 '../tests/ImageNewShaderTest.cpp', 137 '../tests/IndexedPngOverflowTest.cpp', 138 '../tests/InfRectTest.cpp', 139 '../tests/InterpolatorTest.cpp', 140 '../tests/InvalidIndexedPngTest.cpp', 141 '../tests/JpegTest.cpp', 142 '../tests/KtxTest.cpp', 143 '../tests/LListTest.cpp', 144 '../tests/LayerDrawLooperTest.cpp', 145 '../tests/LayerRasterizerTest.cpp', 146 '../tests/LazyPtrTest.cpp', 147 '../tests/MD5Test.cpp', 148 '../tests/MallocPixelRefTest.cpp', 149 '../tests/MaskCacheTest.cpp', 150 '../tests/MathTest.cpp', 151 '../tests/Matrix44Test.cpp', 152 '../tests/MatrixClipCollapseTest.cpp', 153 '../tests/MatrixTest.cpp', 154 '../tests/MemoryTest.cpp', 155 '../tests/MemsetTest.cpp', 156 '../tests/MessageBusTest.cpp', 157 '../tests/MetaDataTest.cpp', 158 '../tests/MipMapTest.cpp', 159 '../tests/NameAllocatorTest.cpp', 160 '../tests/OSPathTest.cpp', 161 '../tests/OnceTest.cpp', 162 '../tests/PDFInvalidBitmapTest.cpp', 163 '../tests/PDFJpegEmbedTest.cpp', 164 '../tests/PDFPrimitivesTest.cpp', 165 '../tests/PMFloatTest.cpp', 166 '../tests/PackBitsTest.cpp', 167 '../tests/PaintTest.cpp', 168 '../tests/ParsePathTest.cpp', 169 '../tests/PathCoverageTest.cpp', 170 '../tests/PathMeasureTest.cpp', 171 '../tests/PathTest.cpp', 172 '../tests/PictureBBHTest.cpp', 173 '../tests/PictureShaderTest.cpp', 174 '../tests/PictureTest.cpp', 175 '../tests/PixelRefTest.cpp', 176 '../tests/PointTest.cpp', 177 '../tests/PremulAlphaRoundTripTest.cpp', 178 '../tests/QuickRejectTest.cpp', 179 '../tests/RTConfRegistryTest.cpp', 180 '../tests/RTreeTest.cpp', 181 '../tests/RandomTest.cpp', 182 '../tests/ReadPixelsTest.cpp', 183 '../tests/ReadWriteAlphaTest.cpp', 184 '../tests/Reader32Test.cpp', 185 '../tests/RecordDrawTest.cpp', 186 '../tests/RecordReplaceDrawTest.cpp', 187 '../tests/RecordOptsTest.cpp', 188 '../tests/RecordPatternTest.cpp', 189 '../tests/RecordTest.cpp', 190 '../tests/RecorderTest.cpp', 191 '../tests/RecordingXfermodeTest.cpp', 192 '../tests/RectTest.cpp', 193 '../tests/RefCntTest.cpp', 194 '../tests/RefDictTest.cpp', 195 '../tests/RegionTest.cpp', 196 '../tests/ResourceCacheTest.cpp', 197 '../tests/RoundRectTest.cpp', 198 '../tests/RuntimeConfigTest.cpp', 199 '../tests/SHA1Test.cpp', 200 '../tests/ScalarTest.cpp', 201 '../tests/SerializationTest.cpp', 202 '../tests/ShaderImageFilterTest.cpp', 203 '../tests/ShaderOpacityTest.cpp', 204 '../tests/SizeTest.cpp', 205 '../tests/SkNxTest.cpp', 206 '../tests/SkBase64Test.cpp', 207 '../tests/SkImageTest.cpp', 208 '../tests/SkResourceCacheTest.cpp', 209 '../tests/SmallAllocatorTest.cpp', 210 '../tests/SortTest.cpp', 211 '../tests/SrcOverTest.cpp', 212 '../tests/StreamTest.cpp', 213 '../tests/StringTest.cpp', 214 '../tests/StrokeTest.cpp', 215 '../tests/StrokerTest.cpp', 216 '../tests/SurfaceTest.cpp', 217 '../tests/SVGDeviceTest.cpp', 218 '../tests/SwizzlerTest.cpp', 219 '../tests/TessellatingPathRendererTests.cpp', 220 '../tests/TArrayTest.cpp', 221 '../tests/TemplatesTest.cpp', 222 '../tests/TDPQueueTest.cpp', 223 '../tests/Time.cpp', 224 '../tests/TLSTest.cpp', 225 '../tests/TextBlobTest.cpp', 226 '../tests/TextureCompressionTest.cpp', 227 '../tests/ToUnicodeTest.cpp', 228 '../tests/TracingTest.cpp', 229 '../tests/TypefaceTest.cpp', 230 '../tests/UnicodeTest.cpp', 231 '../tests/UtilsTest.cpp', 232 '../tests/VarAllocTest.cpp', 233 '../tests/WArrayTest.cpp', 234 '../tests/WritePixelsTest.cpp', 235 '../tests/Writer32Test.cpp', 236 '../tests/XfermodeTest.cpp', 237 '../tests/YUVCacheTest.cpp', 238 239 '../tests/MatrixClipCollapseTest.cpp', 240 '../src/utils/debugger/SkDrawCommand.h', 241 '../src/utils/debugger/SkDrawCommand.cpp', 242 '../src/utils/debugger/SkDebugCanvas.h', 243 '../src/utils/debugger/SkDebugCanvas.cpp', 244 '../src/utils/debugger/SkObjectParser.h', 245 '../src/utils/debugger/SkObjectParser.cpp', 246 247 '../tests/PipeTest.cpp', 248 '../src/pipe/utils/SamplePipeControllers.cpp', 249 250 '../tests/TDStackNesterTest.cpp', 251 '../experimental/PdfViewer/src/SkTDStackNester.h', 252 ], 253} 254