• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Common gypi for unit tests.
2{
3  'include_dirs': [
4    '../src/core',
5    '../src/effects',
6    '../src/image',
7    '../src/lazy',
8    '../src/images',
9    '../src/pathops',
10    '../src/pdf',
11    '../src/pipe/utils',
12    '../src/utils',
13    '../src/utils/debugger',
14
15    # Needed for TDStackNesterTest.
16    '../experimental/PdfViewer',
17    '../experimental/PdfViewer/src',
18  ],
19  'dependencies': [
20    'experimental.gyp:experimental',
21    'flags.gyp:flags',
22    'pdf.gyp:pdf',
23    'skia_lib.gyp:skia_lib',
24    'tools.gyp:picture_utils',
25    'tools.gyp:resources',
26  ],
27  'sources': [
28    '../tests/Test.cpp',
29    '../tests/Test.h',
30
31    '../tests/AAClipTest.cpp',
32    '../tests/ARGBImageEncoderTest.cpp',
33    '../tests/AndroidPaintTest.cpp',
34    '../tests/AnnotationTest.cpp',
35    '../tests/AsADashTest.cpp',
36    '../tests/AtomicTest.cpp',
37    '../tests/BBoxHierarchyTest.cpp',
38    '../tests/BitSetTest.cpp',
39    '../tests/BitmapCopyTest.cpp',
40    '../tests/BitmapGetColorTest.cpp',
41    '../tests/BitmapHasherTest.cpp',
42    '../tests/BitmapHeapTest.cpp',
43    '../tests/BitmapTest.cpp',
44    '../tests/BlendTest.cpp',
45    '../tests/BlitRowTest.cpp',
46    '../tests/BlurTest.cpp',
47    '../tests/CachedDecodingPixelRefTest.cpp',
48    '../tests/CanvasStateTest.cpp',
49    '../tests/CanvasTest.cpp',
50    '../tests/ChecksumTest.cpp',
51    '../tests/ClampRangeTest.cpp',
52    '../tests/ClipCacheTest.cpp',
53    '../tests/ClipCubicTest.cpp',
54    '../tests/ClipStackTest.cpp',
55    '../tests/ClipperTest.cpp',
56    '../tests/ColorFilterTest.cpp',
57    '../tests/ColorPrivTest.cpp',
58    '../tests/ColorTest.cpp',
59    '../tests/DashPathEffectTest.cpp',
60    '../tests/DataRefTest.cpp',
61    '../tests/DeferredCanvasTest.cpp',
62    '../tests/DequeTest.cpp',
63    '../tests/DeviceLooperTest.cpp',
64    '../tests/DiscardableMemoryPoolTest.cpp',
65    '../tests/DiscardableMemoryTest.cpp',
66    '../tests/DocumentTest.cpp',
67    '../tests/DrawBitmapRectTest.cpp',
68    '../tests/DrawPathTest.cpp',
69    '../tests/DrawTextTest.cpp',
70    '../tests/DynamicHashTest.cpp',
71    '../tests/EmptyPathTest.cpp',
72    '../tests/ErrorTest.cpp',
73    '../tests/FillPathTest.cpp',
74    '../tests/FitsInTest.cpp',
75    '../tests/FlatDataTest.cpp',
76    '../tests/FlateTest.cpp',
77    '../tests/FontHostStreamTest.cpp',
78    '../tests/FontHostTest.cpp',
79    '../tests/FontObjTest.cpp',
80    '../tests/FontMgrTest.cpp',
81    '../tests/FontNamesTest.cpp',
82    '../tests/FrontBufferedStreamTest.cpp',
83    '../tests/GLInterfaceValidationTest.cpp',
84    '../tests/GLProgramsTest.cpp',
85    '../tests/GeometryTest.cpp',
86    '../tests/GifTest.cpp',
87    '../tests/GpuColorFilterTest.cpp',
88    '../tests/GpuDrawPathTest.cpp',
89    '../tests/GpuRectanizerTest.cpp',
90    '../tests/GrBinHashKeyTest.cpp',
91    '../tests/GrContextFactoryTest.cpp',
92    '../tests/GrDrawTargetTest.cpp',
93    '../tests/GrMemoryPoolTest.cpp',
94    '../tests/GrRedBlackTreeTest.cpp',
95    '../tests/GrOrderedSetTest.cpp',
96    '../tests/GrSurfaceTest.cpp',
97    '../tests/GrTBSearchTest.cpp',
98    '../tests/GradientTest.cpp',
99    '../tests/HashCacheTest.cpp',
100    '../tests/ImageCacheTest.cpp',
101    '../tests/ImageDecodingTest.cpp',
102    '../tests/ImageFilterTest.cpp',
103    '../tests/InfRectTest.cpp',
104    '../tests/JpegTest.cpp',
105    '../tests/KtxTest.cpp',
106    '../tests/LListTest.cpp',
107    '../tests/LayerDrawLooperTest.cpp',
108    '../tests/LayerRasterizerTest.cpp',
109    '../tests/MD5Test.cpp',
110    '../tests/MallocPixelRefTest.cpp',
111    '../tests/MathTest.cpp',
112    '../tests/Matrix44Test.cpp',
113    '../tests/MatrixClipCollapseTest.cpp',
114    '../tests/MatrixTest.cpp',
115    '../tests/MemoryTest.cpp',
116    '../tests/MemsetTest.cpp',
117    '../tests/MessageBusTest.cpp',
118    '../tests/MetaDataTest.cpp',
119    '../tests/MipMapTest.cpp',
120    '../tests/NameAllocatorTest.cpp',
121    '../tests/ObjectPoolTest.cpp',
122    '../tests/OSPathTest.cpp',
123    '../tests/OnceTest.cpp',
124    '../tests/PDFPrimitivesTest.cpp',
125    '../tests/PackBitsTest.cpp',
126    '../tests/PaintTest.cpp',
127    '../tests/ParsePathTest.cpp',
128    '../tests/PathCoverageTest.cpp',
129    '../tests/PathMeasureTest.cpp',
130    '../tests/PathTest.cpp',
131    '../tests/PathUtilsTest.cpp',
132    '../tests/PictureTest.cpp',
133    '../tests/PictureShaderTest.cpp',
134    '../tests/PictureStateTreeTest.cpp',
135    '../tests/PixelRefTest.cpp',
136    '../tests/PointTest.cpp',
137    '../tests/PremulAlphaRoundTripTest.cpp',
138    '../tests/QuickRejectTest.cpp',
139    '../tests/RTreeTest.cpp',
140    '../tests/RandomTest.cpp',
141    '../tests/ReadPixelsTest.cpp',
142    '../tests/ReadWriteAlphaTest.cpp',
143    '../tests/Reader32Test.cpp',
144    '../tests/RecordDrawTest.cpp',
145    '../tests/RecordOptsTest.cpp',
146    '../tests/RecordPatternTest.cpp',
147    '../tests/RecordTest.cpp',
148    '../tests/RecorderTest.cpp',
149    '../tests/RecordingTest.cpp',
150    '../tests/RefCntTest.cpp',
151    '../tests/RefDictTest.cpp',
152    '../tests/RegionTest.cpp',
153    '../tests/ResourceCacheTest.cpp',
154    '../tests/RoundRectTest.cpp',
155    '../tests/RuntimeConfigTest.cpp',
156    '../tests/SHA1Test.cpp',
157    '../tests/ScalarTest.cpp',
158    '../tests/ScaledImageCache.cpp',
159    '../tests/SerializationTest.cpp',
160    '../tests/ShaderImageFilterTest.cpp',
161    '../tests/ShaderOpacityTest.cpp',
162    '../tests/SkBase64Test.cpp',
163    '../tests/SListTest.cpp',
164    '../tests/SmallAllocatorTest.cpp',
165    '../tests/SortTest.cpp',
166    '../tests/SrcOverTest.cpp',
167    '../tests/StreamTest.cpp',
168    '../tests/StringTest.cpp',
169    '../tests/StrokeTest.cpp',
170    '../tests/SurfaceTest.cpp',
171    '../tests/TArrayTest.cpp',
172    '../tests/TLSTest.cpp',
173    '../tests/TSetTest.cpp',
174    '../tests/TestSize.cpp',
175    '../tests/TextureCompressionTest.cpp',
176    '../tests/TileGridTest.cpp',
177    '../tests/ToUnicodeTest.cpp',
178    '../tests/TracingTest.cpp',
179    '../tests/TypefaceTest.cpp',
180    '../tests/UnicodeTest.cpp',
181    '../tests/UnitTestTest.cpp',
182    '../tests/UtilsTest.cpp',
183    '../tests/WArrayTest.cpp',
184    '../tests/WritePixelsTest.cpp',
185    '../tests/Writer32Test.cpp',
186    '../tests/XfermodeTest.cpp',
187
188    '../tests/MatrixClipCollapseTest.cpp',
189    '../src/utils/debugger/SkDrawCommand.h',
190    '../src/utils/debugger/SkDrawCommand.cpp',
191    '../src/utils/debugger/SkDebugCanvas.h',
192    '../src/utils/debugger/SkDebugCanvas.cpp',
193    '../src/utils/debugger/SkObjectParser.h',
194    '../src/utils/debugger/SkObjectParser.cpp',
195
196    '../tests/PipeTest.cpp',
197    '../src/pipe/utils/SamplePipeControllers.cpp',
198
199    '../tests/TDStackNesterTest.cpp',
200    '../experimental/PdfViewer/src/SkTDStackNester.h',
201
202    '../tools/sk_tool_utils.cpp',
203  ],
204}
205