blob: 358867de11b2e9c11ecc360091994dcd00a5d510 [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',
caryclark17f0b6d2014-07-22 10:15:34 -070021 'flags.gyp:flags_common',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +000022 '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 ],
djsollen85d36522014-07-22 13:56:34 -070028 'conditions': [
tomhudsonf79673b2014-08-05 06:36:11 -070029 [ 'skia_os == "android"', {
tomhudsonf79673b2014-08-05 06:36:11 -070030 'include_dirs': [
31 '../src/ports',
32 ],
33 'sources': [
34 '../tests/FontConfigParser.cpp',
35 ],
36 }],
djsollen85d36522014-07-22 13:56:34 -070037 [ 'skia_android_framework == 1', {
38 'libraries': [
39 '-ldl',
40 ],
41 }],
42 ],
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +000043 'sources': [
44 '../tests/Test.cpp',
45 '../tests/Test.h',
46
47 '../tests/AAClipTest.cpp',
48 '../tests/ARGBImageEncoderTest.cpp',
Derek Sollenbergerda7a9442014-08-06 16:34:40 -040049 '../tests/AndroidPaintTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +000050 '../tests/AnnotationTest.cpp',
commit-bot@chromium.orgaec14382014-04-22 15:21:18 +000051 '../tests/AsADashTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +000052 '../tests/AtomicTest.cpp',
53 '../tests/BBoxHierarchyTest.cpp',
54 '../tests/BitSetTest.cpp',
55 '../tests/BitmapCopyTest.cpp',
56 '../tests/BitmapGetColorTest.cpp',
57 '../tests/BitmapHasherTest.cpp',
58 '../tests/BitmapHeapTest.cpp',
59 '../tests/BitmapTest.cpp',
60 '../tests/BlendTest.cpp',
61 '../tests/BlitRowTest.cpp',
62 '../tests/BlurTest.cpp',
63 '../tests/CachedDecodingPixelRefTest.cpp',
scroggo24519372014-07-22 12:38:55 -070064 '../tests/CanvasStateHelpers.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +000065 '../tests/CanvasStateTest.cpp',
66 '../tests/CanvasTest.cpp',
67 '../tests/ChecksumTest.cpp',
68 '../tests/ClampRangeTest.cpp',
69 '../tests/ClipCacheTest.cpp',
70 '../tests/ClipCubicTest.cpp',
71 '../tests/ClipStackTest.cpp',
72 '../tests/ClipperTest.cpp',
73 '../tests/ColorFilterTest.cpp',
74 '../tests/ColorPrivTest.cpp',
75 '../tests/ColorTest.cpp',
commit-bot@chromium.orgaf5346a2014-03-18 17:38:34 +000076 '../tests/DashPathEffectTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +000077 '../tests/DataRefTest.cpp',
78 '../tests/DeferredCanvasTest.cpp',
79 '../tests/DequeTest.cpp',
80 '../tests/DeviceLooperTest.cpp',
commit-bot@chromium.org085a6e42014-03-03 19:23:28 +000081 '../tests/DiscardableMemoryPoolTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +000082 '../tests/DiscardableMemoryTest.cpp',
83 '../tests/DocumentTest.cpp',
84 '../tests/DrawBitmapRectTest.cpp',
85 '../tests/DrawPathTest.cpp',
86 '../tests/DrawTextTest.cpp',
87 '../tests/DynamicHashTest.cpp',
88 '../tests/EmptyPathTest.cpp',
89 '../tests/ErrorTest.cpp',
90 '../tests/FillPathTest.cpp',
91 '../tests/FitsInTest.cpp',
92 '../tests/FlatDataTest.cpp',
93 '../tests/FlateTest.cpp',
joshualittee5da552014-07-16 13:32:56 -070094 '../tests/FloatingPointTextureTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +000095 '../tests/FontHostStreamTest.cpp',
96 '../tests/FontHostTest.cpp',
97 '../tests/FontMgrTest.cpp',
98 '../tests/FontNamesTest.cpp',
tfarina0a65e382014-07-08 10:33:28 -070099 '../tests/FontObjTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000100 '../tests/FrontBufferedStreamTest.cpp',
commit-bot@chromium.org085a6e42014-03-03 19:23:28 +0000101 '../tests/GLInterfaceValidationTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000102 '../tests/GLProgramsTest.cpp',
103 '../tests/GeometryTest.cpp',
104 '../tests/GifTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000105 '../tests/GpuColorFilterTest.cpp',
106 '../tests/GpuDrawPathTest.cpp',
robertphillips952841b2014-06-30 08:26:50 -0700107 '../tests/GpuLayerCacheTest.cpp',
commit-bot@chromium.orgad854bf2014-05-29 18:46:38 +0000108 '../tests/GpuRectanizerTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000109 '../tests/GrBinHashKeyTest.cpp',
110 '../tests/GrContextFactoryTest.cpp',
111 '../tests/GrDrawTargetTest.cpp',
112 '../tests/GrMemoryPoolTest.cpp',
commit-bot@chromium.org4fcc3ca2014-02-27 20:23:22 +0000113 '../tests/GrOrderedSetTest.cpp',
joshualittbab82ed2014-08-08 09:41:42 -0700114 '../tests/GrGLSLPrettyPrintTest.cpp',
tfarina0a65e382014-07-08 10:33:28 -0700115 '../tests/GrRedBlackTreeTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000116 '../tests/GrSurfaceTest.cpp',
117 '../tests/GrTBSearchTest.cpp',
118 '../tests/GradientTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000119 '../tests/ImageCacheTest.cpp',
120 '../tests/ImageDecodingTest.cpp',
121 '../tests/ImageFilterTest.cpp',
sugoi518d83d2014-07-21 11:37:39 -0700122 '../tests/ImageGeneratorTest.cpp',
piotaixrcef04f82014-07-14 07:48:04 -0700123 '../tests/ImageNewShaderTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000124 '../tests/InfRectTest.cpp',
tfarina11a005e2014-06-26 13:07:05 -0700125 '../tests/InterpolatorTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000126 '../tests/JpegTest.cpp',
krajcevskic250d2e2014-06-06 06:16:28 -0700127 '../tests/KtxTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000128 '../tests/LListTest.cpp',
129 '../tests/LayerDrawLooperTest.cpp',
commit-bot@chromium.org6573ce72014-04-10 20:42:53 +0000130 '../tests/LayerRasterizerTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000131 '../tests/MD5Test.cpp',
132 '../tests/MallocPixelRefTest.cpp',
133 '../tests/MathTest.cpp',
134 '../tests/Matrix44Test.cpp',
135 '../tests/MatrixClipCollapseTest.cpp',
136 '../tests/MatrixTest.cpp',
137 '../tests/MemoryTest.cpp',
138 '../tests/MemsetTest.cpp',
139 '../tests/MessageBusTest.cpp',
140 '../tests/MetaDataTest.cpp',
141 '../tests/MipMapTest.cpp',
cdalton51192342014-06-09 11:16:58 -0700142 '../tests/NameAllocatorTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000143 '../tests/OSPathTest.cpp',
tfarina0a65e382014-07-08 10:33:28 -0700144 '../tests/ObjectPoolTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000145 '../tests/OnceTest.cpp',
146 '../tests/PDFPrimitivesTest.cpp',
147 '../tests/PackBitsTest.cpp',
148 '../tests/PaintTest.cpp',
149 '../tests/ParsePathTest.cpp',
150 '../tests/PathCoverageTest.cpp',
151 '../tests/PathMeasureTest.cpp',
152 '../tests/PathTest.cpp',
153 '../tests/PathUtilsTest.cpp',
commit-bot@chromium.org855e88e2014-04-21 19:33:12 +0000154 '../tests/PictureShaderTest.cpp',
commit-bot@chromium.orga31eacb2014-04-28 20:17:48 +0000155 '../tests/PictureStateTreeTest.cpp',
tfarina0a65e382014-07-08 10:33:28 -0700156 '../tests/PictureTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000157 '../tests/PixelRefTest.cpp',
158 '../tests/PointTest.cpp',
159 '../tests/PremulAlphaRoundTripTest.cpp',
160 '../tests/QuickRejectTest.cpp',
tfarina0a65e382014-07-08 10:33:28 -0700161 '../tests/RTConfRegistryTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000162 '../tests/RTreeTest.cpp',
163 '../tests/RandomTest.cpp',
164 '../tests/ReadPixelsTest.cpp',
165 '../tests/ReadWriteAlphaTest.cpp',
166 '../tests/Reader32Test.cpp',
commit-bot@chromium.orgd9ce2be2014-04-09 23:30:28 +0000167 '../tests/RecordDrawTest.cpp',
commit-bot@chromium.org8dac8b12014-04-30 13:18:12 +0000168 '../tests/RecordOptsTest.cpp',
commit-bot@chromium.org73fffeb2014-05-05 21:59:52 +0000169 '../tests/RecordPatternTest.cpp',
commit-bot@chromium.org066a28d2014-04-08 17:31:08 +0000170 '../tests/RecordTest.cpp',
commit-bot@chromium.orgb7369622014-04-08 20:17:26 +0000171 '../tests/RecorderTest.cpp',
commit-bot@chromium.org18fd2b92014-04-10 23:30:59 +0000172 '../tests/RecordingTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000173 '../tests/RefCntTest.cpp',
174 '../tests/RefDictTest.cpp',
175 '../tests/RegionTest.cpp',
176 '../tests/ResourceCacheTest.cpp',
177 '../tests/RoundRectTest.cpp',
178 '../tests/RuntimeConfigTest.cpp',
179 '../tests/SHA1Test.cpp',
tfarina12345ae2014-06-25 10:39:00 -0700180 '../tests/SListTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000181 '../tests/ScalarTest.cpp',
halcanary805ef152014-07-17 06:58:01 -0700182 '../tests/ScaledImageCache.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000183 '../tests/SerializationTest.cpp',
184 '../tests/ShaderImageFilterTest.cpp',
185 '../tests/ShaderOpacityTest.cpp',
tfarina12345ae2014-06-25 10:39:00 -0700186 '../tests/SizeTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000187 '../tests/SkBase64Test.cpp',
commit-bot@chromium.orga5572e52014-03-07 03:24:41 +0000188 '../tests/SmallAllocatorTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000189 '../tests/SortTest.cpp',
190 '../tests/SrcOverTest.cpp',
191 '../tests/StreamTest.cpp',
192 '../tests/StringTest.cpp',
193 '../tests/StrokeTest.cpp',
194 '../tests/SurfaceTest.cpp',
bungeman@google.com95ebd172014-03-21 19:39:02 +0000195 '../tests/TArrayTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000196 '../tests/TLSTest.cpp',
197 '../tests/TSetTest.cpp',
krajcevski2b310e42014-06-11 12:26:49 -0700198 '../tests/TextureCompressionTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000199 '../tests/TileGridTest.cpp',
commit-bot@chromium.org085a6e42014-03-03 19:23:28 +0000200 '../tests/ToUnicodeTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000201 '../tests/TracingTest.cpp',
commit-bot@chromium.org085a6e42014-03-03 19:23:28 +0000202 '../tests/TypefaceTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000203 '../tests/UnicodeTest.cpp',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000204 '../tests/UtilsTest.cpp',
205 '../tests/WArrayTest.cpp',
206 '../tests/WritePixelsTest.cpp',
207 '../tests/Writer32Test.cpp',
208 '../tests/XfermodeTest.cpp',
209
210 '../tests/MatrixClipCollapseTest.cpp',
211 '../src/utils/debugger/SkDrawCommand.h',
212 '../src/utils/debugger/SkDrawCommand.cpp',
213 '../src/utils/debugger/SkDebugCanvas.h',
214 '../src/utils/debugger/SkDebugCanvas.cpp',
215 '../src/utils/debugger/SkObjectParser.h',
216 '../src/utils/debugger/SkObjectParser.cpp',
217
218 '../tests/PipeTest.cpp',
219 '../src/pipe/utils/SamplePipeControllers.cpp',
220
221 '../tests/TDStackNesterTest.cpp',
222 '../experimental/PdfViewer/src/SkTDStackNester.h',
commit-bot@chromium.org0dc5bd12014-02-26 16:31:22 +0000223 ],
224}