tests.gypi 6.33 KB
Newer Older
1
# Common gypi for unit tests.
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
{
  'include_dirs': [
    '../src/core',
    '../src/effects',
    '../src/image',
    '../src/lazy',
    '../src/images',
    '../src/pathops',
    '../src/pdf',
    '../src/pipe/utils',
    '../src/utils',
    '../src/utils/debugger',
    '../tools/',

    # Needed for TDStackNesterTest.
    '../experimental/PdfViewer',
    '../experimental/PdfViewer/src',
  ],
  'dependencies': [
    'skia_lib.gyp:skia_lib',
    'experimental.gyp:experimental',
    'flags.gyp:flags',
    'pdf.gyp:pdf',
    'tools.gyp:picture_utils',
  ],
  'sources': [
    '../tests/Test.cpp',
    '../tests/Test.h',

    '../tests/AAClipTest.cpp',
    '../tests/ARGBImageEncoderTest.cpp',
    '../tests/AndroidPaintTest.cpp',
    '../tests/AnnotationTest.cpp',
35
    '../tests/AsADashTest.cpp',
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
    '../tests/AtomicTest.cpp',
    '../tests/BBoxHierarchyTest.cpp',
    '../tests/BitSetTest.cpp',
    '../tests/BitmapCopyTest.cpp',
    '../tests/BitmapGetColorTest.cpp',
    '../tests/BitmapHasherTest.cpp',
    '../tests/BitmapHeapTest.cpp',
    '../tests/BitmapTest.cpp',
    '../tests/BlendTest.cpp',
    '../tests/BlitRowTest.cpp',
    '../tests/BlurTest.cpp',
    '../tests/CachedDecodingPixelRefTest.cpp',
    '../tests/CanvasStateTest.cpp',
    '../tests/CanvasTest.cpp',
    '../tests/ChecksumTest.cpp',
    '../tests/ClampRangeTest.cpp',
    '../tests/ClipCacheTest.cpp',
    '../tests/ClipCubicTest.cpp',
    '../tests/ClipStackTest.cpp',
    '../tests/ClipperTest.cpp',
    '../tests/ColorFilterTest.cpp',
    '../tests/ColorPrivTest.cpp',
    '../tests/ColorTest.cpp',
59
    '../tests/DashPathEffectTest.cpp',
60 61 62 63
    '../tests/DataRefTest.cpp',
    '../tests/DeferredCanvasTest.cpp',
    '../tests/DequeTest.cpp',
    '../tests/DeviceLooperTest.cpp',
64
    '../tests/DiscardableMemoryPoolTest.cpp',
65 66 67 68 69 70 71 72 73 74 75 76 77 78
    '../tests/DiscardableMemoryTest.cpp',
    '../tests/DocumentTest.cpp',
    '../tests/DrawBitmapRectTest.cpp',
    '../tests/DrawPathTest.cpp',
    '../tests/DrawTextTest.cpp',
    '../tests/DynamicHashTest.cpp',
    '../tests/EmptyPathTest.cpp',
    '../tests/ErrorTest.cpp',
    '../tests/FillPathTest.cpp',
    '../tests/FitsInTest.cpp',
    '../tests/FlatDataTest.cpp',
    '../tests/FlateTest.cpp',
    '../tests/FontHostStreamTest.cpp',
    '../tests/FontHostTest.cpp',
79
    '../tests/FontObjTest.cpp',
80 81 82
    '../tests/FontMgrTest.cpp',
    '../tests/FontNamesTest.cpp',
    '../tests/FrontBufferedStreamTest.cpp',
83
    '../tests/GLInterfaceValidationTest.cpp',
84 85 86 87 88
    '../tests/GLProgramsTest.cpp',
    '../tests/GeometryTest.cpp',
    '../tests/GifTest.cpp',
    '../tests/GpuColorFilterTest.cpp',
    '../tests/GpuDrawPathTest.cpp',
89
    '../tests/GpuRectanizerTest.cpp',
90 91 92 93 94
    '../tests/GrBinHashKeyTest.cpp',
    '../tests/GrContextFactoryTest.cpp',
    '../tests/GrDrawTargetTest.cpp',
    '../tests/GrMemoryPoolTest.cpp',
    '../tests/GrRedBlackTreeTest.cpp',
95
    '../tests/GrOrderedSetTest.cpp',
96 97 98 99 100 101 102 103 104
    '../tests/GrSurfaceTest.cpp',
    '../tests/GrTBSearchTest.cpp',
    '../tests/GradientTest.cpp',
    '../tests/HashCacheTest.cpp',
    '../tests/ImageCacheTest.cpp',
    '../tests/ImageDecodingTest.cpp',
    '../tests/ImageFilterTest.cpp',
    '../tests/InfRectTest.cpp',
    '../tests/JpegTest.cpp',
krajcevski's avatar
krajcevski committed
105
    '../tests/KtxTest.cpp',
106 107
    '../tests/LListTest.cpp',
    '../tests/LayerDrawLooperTest.cpp',
108
    '../tests/LayerRasterizerTest.cpp',
109 110 111 112 113 114 115 116 117 118 119
    '../tests/MD5Test.cpp',
    '../tests/MallocPixelRefTest.cpp',
    '../tests/MathTest.cpp',
    '../tests/Matrix44Test.cpp',
    '../tests/MatrixClipCollapseTest.cpp',
    '../tests/MatrixTest.cpp',
    '../tests/MemoryTest.cpp',
    '../tests/MemsetTest.cpp',
    '../tests/MessageBusTest.cpp',
    '../tests/MetaDataTest.cpp',
    '../tests/MipMapTest.cpp',
120
    '../tests/NameAllocatorTest.cpp',
121
    '../tests/ObjectPoolTest.cpp',
122 123 124 125 126 127 128 129 130 131 132
    '../tests/OSPathTest.cpp',
    '../tests/OnceTest.cpp',
    '../tests/PDFPrimitivesTest.cpp',
    '../tests/PackBitsTest.cpp',
    '../tests/PaintTest.cpp',
    '../tests/ParsePathTest.cpp',
    '../tests/PathCoverageTest.cpp',
    '../tests/PathMeasureTest.cpp',
    '../tests/PathTest.cpp',
    '../tests/PathUtilsTest.cpp',
    '../tests/PictureTest.cpp',
133
    '../tests/PictureShaderTest.cpp',
134
    '../tests/PictureStateTreeTest.cpp',
135 136 137 138 139 140 141 142 143
    '../tests/PixelRefTest.cpp',
    '../tests/PointTest.cpp',
    '../tests/PremulAlphaRoundTripTest.cpp',
    '../tests/QuickRejectTest.cpp',
    '../tests/RTreeTest.cpp',
    '../tests/RandomTest.cpp',
    '../tests/ReadPixelsTest.cpp',
    '../tests/ReadWriteAlphaTest.cpp',
    '../tests/Reader32Test.cpp',
144
    '../tests/RecordDrawTest.cpp',
145
    '../tests/RecordOptsTest.cpp',
146
    '../tests/RecordPatternTest.cpp',
147
    '../tests/RecordTest.cpp',
commit-bot@chromium.org's avatar
commit-bot@chromium.org committed
148
    '../tests/RecorderTest.cpp',
149
    '../tests/RecordingTest.cpp',
150 151 152 153 154 155 156 157 158 159 160 161
    '../tests/RefCntTest.cpp',
    '../tests/RefDictTest.cpp',
    '../tests/RegionTest.cpp',
    '../tests/ResourceCacheTest.cpp',
    '../tests/RoundRectTest.cpp',
    '../tests/RuntimeConfigTest.cpp',
    '../tests/SHA1Test.cpp',
    '../tests/ScalarTest.cpp',
    '../tests/SerializationTest.cpp',
    '../tests/ShaderImageFilterTest.cpp',
    '../tests/ShaderOpacityTest.cpp',
    '../tests/SkBase64Test.cpp',
162
    '../tests/SListTest.cpp',
163
    '../tests/SmallAllocatorTest.cpp',
164 165 166 167 168 169
    '../tests/SortTest.cpp',
    '../tests/SrcOverTest.cpp',
    '../tests/StreamTest.cpp',
    '../tests/StringTest.cpp',
    '../tests/StrokeTest.cpp',
    '../tests/SurfaceTest.cpp',
170
    '../tests/TArrayTest.cpp',
171 172 173
    '../tests/TLSTest.cpp',
    '../tests/TSetTest.cpp',
    '../tests/TestSize.cpp',
174
    '../tests/TextureCompressionTest.cpp',
175
    '../tests/TileGridTest.cpp',
176
    '../tests/ToUnicodeTest.cpp',
177
    '../tests/TracingTest.cpp',
178
    '../tests/TypefaceTest.cpp',
179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199
    '../tests/UnicodeTest.cpp',
    '../tests/UnitTestTest.cpp',
    '../tests/UtilsTest.cpp',
    '../tests/WArrayTest.cpp',
    '../tests/WritePixelsTest.cpp',
    '../tests/Writer32Test.cpp',
    '../tests/XfermodeTest.cpp',

    '../tests/MatrixClipCollapseTest.cpp',
    '../src/utils/debugger/SkDrawCommand.h',
    '../src/utils/debugger/SkDrawCommand.cpp',
    '../src/utils/debugger/SkDebugCanvas.h',
    '../src/utils/debugger/SkDebugCanvas.cpp',
    '../src/utils/debugger/SkObjectParser.h',
    '../src/utils/debugger/SkObjectParser.cpp',

    '../tests/PipeTest.cpp',
    '../src/pipe/utils/SamplePipeControllers.cpp',

    '../tests/TDStackNesterTest.cpp',
    '../experimental/PdfViewer/src/SkTDStackNester.h',
200 201

    '../tools/sk_tool_utils.cpp',
202 203
  ],
}