blob: 5c3ce94dc61da46443f791c2f710558685580d47 [file] [log] [blame]
commit-bot@chromium.orga5572e52014-03-07 03:24:41 +00001# Common gypi for unit tests.
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +00002{
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',
commit-bot@chromium.orgb17a24f2014-04-14 20:33:05 +000012 '../src/record',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +000013 '../src/utils',
14 '../src/utils/debugger',
15 '../tools/',
16
17 # Needed for TDStackNesterTest.
18 '../experimental/PdfViewer',
19 '../experimental/PdfViewer/src',
20 ],
21 'dependencies': [
22 'skia_lib.gyp:skia_lib',
23 'experimental.gyp:experimental',
24 'flags.gyp:flags',
25 'pdf.gyp:pdf',
26 'tools.gyp:picture_utils',
commit-bot@chromium.orgb7369622014-04-08 20:17:26 +000027 'record.gyp:record',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +000028 ],
29 'sources': [
30 '../tests/Test.cpp',
31 '../tests/Test.h',
32
33 '../tests/AAClipTest.cpp',
34 '../tests/ARGBImageEncoderTest.cpp',
35 '../tests/AndroidPaintTest.cpp',
36 '../tests/AnnotationTest.cpp',
37 '../tests/AtomicTest.cpp',
38 '../tests/BBoxHierarchyTest.cpp',
39 '../tests/BitSetTest.cpp',
40 '../tests/BitmapCopyTest.cpp',
41 '../tests/BitmapGetColorTest.cpp',
42 '../tests/BitmapHasherTest.cpp',
43 '../tests/BitmapHeapTest.cpp',
44 '../tests/BitmapTest.cpp',
45 '../tests/BlendTest.cpp',
46 '../tests/BlitRowTest.cpp',
47 '../tests/BlurTest.cpp',
48 '../tests/CachedDecodingPixelRefTest.cpp',
49 '../tests/CanvasStateTest.cpp',
50 '../tests/CanvasTest.cpp',
51 '../tests/ChecksumTest.cpp',
52 '../tests/ClampRangeTest.cpp',
53 '../tests/ClipCacheTest.cpp',
54 '../tests/ClipCubicTest.cpp',
55 '../tests/ClipStackTest.cpp',
56 '../tests/ClipperTest.cpp',
57 '../tests/ColorFilterTest.cpp',
58 '../tests/ColorPrivTest.cpp',
59 '../tests/ColorTest.cpp',
commit-bot@chromium.orgaf5346a2014-03-18 17:38:34 +000060 '../tests/DashPathEffectTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +000061 '../tests/DataRefTest.cpp',
62 '../tests/DeferredCanvasTest.cpp',
63 '../tests/DequeTest.cpp',
64 '../tests/DeviceLooperTest.cpp',
commit-bot@chromium.org085a6e42014-03-03 19:23:28 +000065 '../tests/DiscardableMemoryPoolTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +000066 '../tests/DiscardableMemoryTest.cpp',
67 '../tests/DocumentTest.cpp',
68 '../tests/DrawBitmapRectTest.cpp',
69 '../tests/DrawPathTest.cpp',
70 '../tests/DrawTextTest.cpp',
71 '../tests/DynamicHashTest.cpp',
72 '../tests/EmptyPathTest.cpp',
73 '../tests/ErrorTest.cpp',
74 '../tests/FillPathTest.cpp',
75 '../tests/FitsInTest.cpp',
76 '../tests/FlatDataTest.cpp',
77 '../tests/FlateTest.cpp',
78 '../tests/FontHostStreamTest.cpp',
79 '../tests/FontHostTest.cpp',
80 '../tests/FontMgrTest.cpp',
81 '../tests/FontNamesTest.cpp',
82 '../tests/FrontBufferedStreamTest.cpp',
commit-bot@chromium.org085a6e42014-03-03 19:23:28 +000083 '../tests/GLInterfaceValidationTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +000084 '../tests/GLProgramsTest.cpp',
85 '../tests/GeometryTest.cpp',
86 '../tests/GifTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +000087 '../tests/GpuColorFilterTest.cpp',
88 '../tests/GpuDrawPathTest.cpp',
89 '../tests/GrBinHashKeyTest.cpp',
90 '../tests/GrContextFactoryTest.cpp',
91 '../tests/GrDrawTargetTest.cpp',
92 '../tests/GrMemoryPoolTest.cpp',
93 '../tests/GrRedBlackTreeTest.cpp',
commit-bot@chromium.org4fcc3ca2014-02-27 20:23:22 +000094 '../tests/GrOrderedSetTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +000095 '../tests/GrSurfaceTest.cpp',
96 '../tests/GrTBSearchTest.cpp',
97 '../tests/GradientTest.cpp',
98 '../tests/HashCacheTest.cpp',
99 '../tests/ImageCacheTest.cpp',
100 '../tests/ImageDecodingTest.cpp',
101 '../tests/ImageFilterTest.cpp',
102 '../tests/InfRectTest.cpp',
103 '../tests/JpegTest.cpp',
104 '../tests/LListTest.cpp',
105 '../tests/LayerDrawLooperTest.cpp',
commit-bot@chromium.org6573ce72014-04-10 20:42:53 +0000106 '../tests/LayerRasterizerTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000107 '../tests/MD5Test.cpp',
108 '../tests/MallocPixelRefTest.cpp',
109 '../tests/MathTest.cpp',
110 '../tests/Matrix44Test.cpp',
111 '../tests/MatrixClipCollapseTest.cpp',
112 '../tests/MatrixTest.cpp',
113 '../tests/MemoryTest.cpp',
114 '../tests/MemsetTest.cpp',
115 '../tests/MessageBusTest.cpp',
116 '../tests/MetaDataTest.cpp',
117 '../tests/MipMapTest.cpp',
commit-bot@chromium.org949b9982014-03-17 10:38:34 +0000118 '../tests/ObjectPoolTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000119 '../tests/OSPathTest.cpp',
120 '../tests/OnceTest.cpp',
121 '../tests/PDFPrimitivesTest.cpp',
122 '../tests/PackBitsTest.cpp',
123 '../tests/PaintTest.cpp',
124 '../tests/ParsePathTest.cpp',
125 '../tests/PathCoverageTest.cpp',
126 '../tests/PathMeasureTest.cpp',
127 '../tests/PathTest.cpp',
128 '../tests/PathUtilsTest.cpp',
129 '../tests/PictureTest.cpp',
130 '../tests/PictureUtilsTest.cpp',
131 '../tests/PixelRefTest.cpp',
132 '../tests/PointTest.cpp',
133 '../tests/PremulAlphaRoundTripTest.cpp',
134 '../tests/QuickRejectTest.cpp',
135 '../tests/RTreeTest.cpp',
136 '../tests/RandomTest.cpp',
137 '../tests/ReadPixelsTest.cpp',
138 '../tests/ReadWriteAlphaTest.cpp',
139 '../tests/Reader32Test.cpp',
commit-bot@chromium.org506db0b2014-04-08 23:31:35 +0000140 '../tests/RecordCullingTest.cpp',
commit-bot@chromium.orgd9ce2be2014-04-09 23:30:28 +0000141 '../tests/RecordDrawTest.cpp',
commit-bot@chromium.org066a28d2014-04-08 17:31:08 +0000142 '../tests/RecordTest.cpp',
commit-bot@chromium.orgb7369622014-04-08 20:17:26 +0000143 '../tests/RecorderTest.cpp',
commit-bot@chromium.org18fd2b92014-04-10 23:30:59 +0000144 '../tests/RecordingTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000145 '../tests/RefCntTest.cpp',
146 '../tests/RefDictTest.cpp',
147 '../tests/RegionTest.cpp',
148 '../tests/ResourceCacheTest.cpp',
149 '../tests/RoundRectTest.cpp',
150 '../tests/RuntimeConfigTest.cpp',
151 '../tests/SHA1Test.cpp',
152 '../tests/ScalarTest.cpp',
153 '../tests/SerializationTest.cpp',
154 '../tests/ShaderImageFilterTest.cpp',
155 '../tests/ShaderOpacityTest.cpp',
156 '../tests/SkBase64Test.cpp',
commit-bot@chromium.org949b9982014-03-17 10:38:34 +0000157 '../tests/SListTest.cpp',
commit-bot@chromium.orga5572e52014-03-07 03:24:41 +0000158 '../tests/SmallAllocatorTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000159 '../tests/SortTest.cpp',
160 '../tests/SrcOverTest.cpp',
161 '../tests/StreamTest.cpp',
162 '../tests/StringTest.cpp',
163 '../tests/StrokeTest.cpp',
164 '../tests/SurfaceTest.cpp',
bungeman@google.com95ebd172014-03-21 19:39:02 +0000165 '../tests/TArrayTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000166 '../tests/TLSTest.cpp',
167 '../tests/TSetTest.cpp',
168 '../tests/TestSize.cpp',
169 '../tests/TileGridTest.cpp',
commit-bot@chromium.org085a6e42014-03-03 19:23:28 +0000170 '../tests/ToUnicodeTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000171 '../tests/TracingTest.cpp',
commit-bot@chromium.org085a6e42014-03-03 19:23:28 +0000172 '../tests/TypefaceTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000173 '../tests/UnicodeTest.cpp',
174 '../tests/UnitTestTest.cpp',
175 '../tests/UtilsTest.cpp',
176 '../tests/WArrayTest.cpp',
177 '../tests/WritePixelsTest.cpp',
178 '../tests/Writer32Test.cpp',
179 '../tests/XfermodeTest.cpp',
180
181 '../tests/MatrixClipCollapseTest.cpp',
182 '../src/utils/debugger/SkDrawCommand.h',
183 '../src/utils/debugger/SkDrawCommand.cpp',
184 '../src/utils/debugger/SkDebugCanvas.h',
185 '../src/utils/debugger/SkDebugCanvas.cpp',
186 '../src/utils/debugger/SkObjectParser.h',
187 '../src/utils/debugger/SkObjectParser.cpp',
188
189 '../tests/PipeTest.cpp',
190 '../src/pipe/utils/SamplePipeControllers.cpp',
191
192 '../tests/TDStackNesterTest.cpp',
193 '../experimental/PdfViewer/src/SkTDStackNester.h',
commit-bot@chromium.org4cd9e212014-03-07 03:25:16 +0000194
195 '../tools/sk_tool_utils.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000196 ],
197}