blob: 34e8f540e0a93ba4c9d9841aae5f5a1a1ff0bd35 [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',
12 '../src/utils',
13 '../src/utils/debugger',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +000014
15 # Needed for TDStackNesterTest.
16 '../experimental/PdfViewer',
17 '../experimental/PdfViewer/src',
18 ],
19 'dependencies': [
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +000020 'experimental.gyp:experimental',
21 'flags.gyp:flags',
22 'pdf.gyp:pdf',
tfarinabcbc1782014-06-18 14:32:48 -070023 'skia_lib.gyp:skia_lib',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +000024 'tools.gyp:picture_utils',
mtklein9ac68ee2014-06-20 11:29:20 -070025 'tools.gyp:resources',
tfarina20108912014-06-21 10:54:17 -070026 'tools.gyp:sk_tool_utils',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +000027 ],
28 'sources': [
29 '../tests/Test.cpp',
30 '../tests/Test.h',
31
32 '../tests/AAClipTest.cpp',
33 '../tests/ARGBImageEncoderTest.cpp',
34 '../tests/AndroidPaintTest.cpp',
35 '../tests/AnnotationTest.cpp',
commit-bot@chromium.orgaec14382014-04-22 15:21:18 +000036 '../tests/AsADashTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +000037 '../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',
joshualittee5da552014-07-16 13:32:56 -070078 '../tests/FloatingPointTextureTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +000079 '../tests/FontHostStreamTest.cpp',
80 '../tests/FontHostTest.cpp',
81 '../tests/FontMgrTest.cpp',
82 '../tests/FontNamesTest.cpp',
tfarina0a65e382014-07-08 10:33:28 -070083 '../tests/FontObjTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +000084 '../tests/FrontBufferedStreamTest.cpp',
commit-bot@chromium.org085a6e42014-03-03 19:23:28 +000085 '../tests/GLInterfaceValidationTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +000086 '../tests/GLProgramsTest.cpp',
87 '../tests/GeometryTest.cpp',
88 '../tests/GifTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +000089 '../tests/GpuColorFilterTest.cpp',
90 '../tests/GpuDrawPathTest.cpp',
robertphillips952841b2014-06-30 08:26:50 -070091 '../tests/GpuLayerCacheTest.cpp',
commit-bot@chromium.orgad854bf2014-05-29 18:46:38 +000092 '../tests/GpuRectanizerTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +000093 '../tests/GrBinHashKeyTest.cpp',
94 '../tests/GrContextFactoryTest.cpp',
95 '../tests/GrDrawTargetTest.cpp',
96 '../tests/GrMemoryPoolTest.cpp',
commit-bot@chromium.org4fcc3ca2014-02-27 20:23:22 +000097 '../tests/GrOrderedSetTest.cpp',
tfarina0a65e382014-07-08 10:33:28 -070098 '../tests/GrRedBlackTreeTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +000099 '../tests/GrSurfaceTest.cpp',
100 '../tests/GrTBSearchTest.cpp',
101 '../tests/GradientTest.cpp',
102 '../tests/HashCacheTest.cpp',
103 '../tests/ImageCacheTest.cpp',
104 '../tests/ImageDecodingTest.cpp',
105 '../tests/ImageFilterTest.cpp',
sugoi518d83d2014-07-21 11:37:39 -0700106 '../tests/ImageGeneratorTest.cpp',
piotaixrcef04f82014-07-14 07:48:04 -0700107 '../tests/ImageNewShaderTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000108 '../tests/InfRectTest.cpp',
tfarina11a005e2014-06-26 13:07:05 -0700109 '../tests/InterpolatorTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000110 '../tests/JpegTest.cpp',
krajcevskic250d2e2014-06-06 06:16:28 -0700111 '../tests/KtxTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000112 '../tests/LListTest.cpp',
113 '../tests/LayerDrawLooperTest.cpp',
commit-bot@chromium.org6573ce72014-04-10 20:42:53 +0000114 '../tests/LayerRasterizerTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000115 '../tests/MD5Test.cpp',
116 '../tests/MallocPixelRefTest.cpp',
117 '../tests/MathTest.cpp',
118 '../tests/Matrix44Test.cpp',
119 '../tests/MatrixClipCollapseTest.cpp',
120 '../tests/MatrixTest.cpp',
121 '../tests/MemoryTest.cpp',
122 '../tests/MemsetTest.cpp',
123 '../tests/MessageBusTest.cpp',
124 '../tests/MetaDataTest.cpp',
125 '../tests/MipMapTest.cpp',
cdalton51192342014-06-09 11:16:58 -0700126 '../tests/NameAllocatorTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000127 '../tests/OSPathTest.cpp',
tfarina0a65e382014-07-08 10:33:28 -0700128 '../tests/ObjectPoolTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000129 '../tests/OnceTest.cpp',
130 '../tests/PDFPrimitivesTest.cpp',
131 '../tests/PackBitsTest.cpp',
132 '../tests/PaintTest.cpp',
133 '../tests/ParsePathTest.cpp',
134 '../tests/PathCoverageTest.cpp',
135 '../tests/PathMeasureTest.cpp',
136 '../tests/PathTest.cpp',
137 '../tests/PathUtilsTest.cpp',
commit-bot@chromium.org855e88e2014-04-21 19:33:12 +0000138 '../tests/PictureShaderTest.cpp',
commit-bot@chromium.orga31eacb2014-04-28 20:17:48 +0000139 '../tests/PictureStateTreeTest.cpp',
tfarina0a65e382014-07-08 10:33:28 -0700140 '../tests/PictureTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000141 '../tests/PixelRefTest.cpp',
142 '../tests/PointTest.cpp',
143 '../tests/PremulAlphaRoundTripTest.cpp',
144 '../tests/QuickRejectTest.cpp',
tfarina0a65e382014-07-08 10:33:28 -0700145 '../tests/RTConfRegistryTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000146 '../tests/RTreeTest.cpp',
147 '../tests/RandomTest.cpp',
148 '../tests/ReadPixelsTest.cpp',
149 '../tests/ReadWriteAlphaTest.cpp',
150 '../tests/Reader32Test.cpp',
commit-bot@chromium.orgd9ce2be2014-04-09 23:30:28 +0000151 '../tests/RecordDrawTest.cpp',
commit-bot@chromium.org8dac8b12014-04-30 13:18:12 +0000152 '../tests/RecordOptsTest.cpp',
commit-bot@chromium.org73fffeb2014-05-05 21:59:52 +0000153 '../tests/RecordPatternTest.cpp',
commit-bot@chromium.org066a28d2014-04-08 17:31:08 +0000154 '../tests/RecordTest.cpp',
commit-bot@chromium.orgb7369622014-04-08 20:17:26 +0000155 '../tests/RecorderTest.cpp',
commit-bot@chromium.org18fd2b92014-04-10 23:30:59 +0000156 '../tests/RecordingTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000157 '../tests/RefCntTest.cpp',
158 '../tests/RefDictTest.cpp',
159 '../tests/RegionTest.cpp',
160 '../tests/ResourceCacheTest.cpp',
161 '../tests/RoundRectTest.cpp',
162 '../tests/RuntimeConfigTest.cpp',
163 '../tests/SHA1Test.cpp',
tfarina12345ae2014-06-25 10:39:00 -0700164 '../tests/SListTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000165 '../tests/ScalarTest.cpp',
halcanary805ef152014-07-17 06:58:01 -0700166 '../tests/ScaledImageCache.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000167 '../tests/SerializationTest.cpp',
168 '../tests/ShaderImageFilterTest.cpp',
169 '../tests/ShaderOpacityTest.cpp',
tfarina12345ae2014-06-25 10:39:00 -0700170 '../tests/SizeTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000171 '../tests/SkBase64Test.cpp',
commit-bot@chromium.orga5572e52014-03-07 03:24:41 +0000172 '../tests/SmallAllocatorTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000173 '../tests/SortTest.cpp',
174 '../tests/SrcOverTest.cpp',
175 '../tests/StreamTest.cpp',
176 '../tests/StringTest.cpp',
177 '../tests/StrokeTest.cpp',
178 '../tests/SurfaceTest.cpp',
bungeman@google.com95ebd172014-03-21 19:39:02 +0000179 '../tests/TArrayTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000180 '../tests/TLSTest.cpp',
181 '../tests/TSetTest.cpp',
krajcevski2b310e42014-06-11 12:26:49 -0700182 '../tests/TextureCompressionTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000183 '../tests/TileGridTest.cpp',
commit-bot@chromium.org085a6e42014-03-03 19:23:28 +0000184 '../tests/ToUnicodeTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000185 '../tests/TracingTest.cpp',
commit-bot@chromium.org085a6e42014-03-03 19:23:28 +0000186 '../tests/TypefaceTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000187 '../tests/UnicodeTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000188 '../tests/UtilsTest.cpp',
189 '../tests/WArrayTest.cpp',
190 '../tests/WritePixelsTest.cpp',
191 '../tests/Writer32Test.cpp',
192 '../tests/XfermodeTest.cpp',
193
194 '../tests/MatrixClipCollapseTest.cpp',
195 '../src/utils/debugger/SkDrawCommand.h',
196 '../src/utils/debugger/SkDrawCommand.cpp',
197 '../src/utils/debugger/SkDebugCanvas.h',
198 '../src/utils/debugger/SkDebugCanvas.cpp',
199 '../src/utils/debugger/SkObjectParser.h',
200 '../src/utils/debugger/SkObjectParser.cpp',
201
202 '../tests/PipeTest.cpp',
203 '../src/pipe/utils/SamplePipeControllers.cpp',
204
205 '../tests/TDStackNesterTest.cpp',
206 '../experimental/PdfViewer/src/SkTDStackNester.h',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000207 ],
208}