Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / skia / gyp / tests.gypi
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_common',
22     'pdf.gyp:pdf',
23     'skia_lib.gyp:skia_lib',
24     'tools.gyp:picture_utils',
25     'tools.gyp:resources',
26     'tools.gyp:sk_tool_utils',
27   ],
28   'conditions': [
29     [ 'skia_os == "android"', {
30       'include_dirs': [
31         '../src/ports',
32       ],
33       'sources': [
34         '../tests/FontConfigParser.cpp',
35       ],
36     }],
37     [ 'skia_android_framework == 1', {
38       'libraries': [
39         '-ldl',
40       ],
41     }],
42   ],
43   'sources': [
44     '../tests/Test.cpp',
45     '../tests/Test.h',
46
47     '../tests/AAClipTest.cpp',
48     '../tests/ARGBImageEncoderTest.cpp',
49     '../tests/AnnotationTest.cpp',
50     '../tests/AsADashTest.cpp',
51     '../tests/AtomicTest.cpp',
52     '../tests/BBoxHierarchyTest.cpp',
53     '../tests/BitSetTest.cpp',
54     '../tests/BitmapCopyTest.cpp',
55     '../tests/BitmapGetColorTest.cpp',
56     '../tests/BitmapHasherTest.cpp',
57     '../tests/BitmapHeapTest.cpp',
58     '../tests/BitmapTest.cpp',
59     '../tests/BlendTest.cpp',
60     '../tests/BlitRowTest.cpp',
61     '../tests/BlurTest.cpp',
62     '../tests/CachedDecodingPixelRefTest.cpp',
63     '../tests/CanvasStateHelpers.cpp',
64     '../tests/CanvasStateTest.cpp',
65     '../tests/CanvasTest.cpp',
66     '../tests/ChecksumTest.cpp',
67     '../tests/ClampRangeTest.cpp',
68     '../tests/ClipCacheTest.cpp',
69     '../tests/ClipCubicTest.cpp',
70     '../tests/ClipStackTest.cpp',
71     '../tests/ClipperTest.cpp',
72     '../tests/ColorFilterTest.cpp',
73     '../tests/ColorPrivTest.cpp',
74     '../tests/ColorTest.cpp',
75     '../tests/DashPathEffectTest.cpp',
76     '../tests/DataRefTest.cpp',
77     '../tests/DeferredCanvasTest.cpp',
78     '../tests/DequeTest.cpp',
79     '../tests/DeviceLooperTest.cpp',
80     '../tests/DiscardableMemoryPoolTest.cpp',
81     '../tests/DiscardableMemoryTest.cpp',
82     '../tests/DocumentTest.cpp',
83     '../tests/DrawBitmapRectTest.cpp',
84     '../tests/DrawPathTest.cpp',
85     '../tests/DrawTextTest.cpp',
86     '../tests/DynamicHashTest.cpp',
87     '../tests/EmptyPathTest.cpp',
88     '../tests/ErrorTest.cpp',
89     '../tests/FillPathTest.cpp',
90     '../tests/FitsInTest.cpp',
91     '../tests/FlatDataTest.cpp',
92     '../tests/FlateTest.cpp',
93     '../tests/FloatingPointTextureTest.cpp',
94     '../tests/FontHostStreamTest.cpp',
95     '../tests/FontHostTest.cpp',
96     '../tests/FontMgrTest.cpp',
97     '../tests/FontNamesTest.cpp',
98     '../tests/FontObjTest.cpp',
99     '../tests/FrontBufferedStreamTest.cpp',
100     '../tests/GLInterfaceValidationTest.cpp',
101     '../tests/GLProgramsTest.cpp',
102     '../tests/GeometryTest.cpp',
103     '../tests/GifTest.cpp',
104     '../tests/GpuColorFilterTest.cpp',
105     '../tests/GpuDrawPathTest.cpp',
106     '../tests/GpuLayerCacheTest.cpp',
107     '../tests/GpuRectanizerTest.cpp',
108     '../tests/GrBinHashKeyTest.cpp',
109     '../tests/GrContextFactoryTest.cpp',
110     '../tests/GrDrawTargetTest.cpp',
111     '../tests/GrMemoryPoolTest.cpp',
112     '../tests/GrOrderedSetTest.cpp',
113     '../tests/GrGLSLPrettyPrintTest.cpp',
114     '../tests/GrRedBlackTreeTest.cpp',
115     '../tests/GrSurfaceTest.cpp',
116     '../tests/GrTBSearchTest.cpp',
117     '../tests/GradientTest.cpp',
118     '../tests/ImageCacheTest.cpp',
119     '../tests/ImageDecodingTest.cpp',
120     '../tests/ImageFilterTest.cpp',
121     '../tests/ImageGeneratorTest.cpp',
122     '../tests/ImageNewShaderTest.cpp',
123     '../tests/InfRectTest.cpp',
124     '../tests/InterpolatorTest.cpp',
125     '../tests/JpegTest.cpp',
126     '../tests/KtxTest.cpp',
127     '../tests/LListTest.cpp',
128     '../tests/LayerDrawLooperTest.cpp',
129     '../tests/LayerRasterizerTest.cpp',
130     '../tests/MD5Test.cpp',
131     '../tests/MallocPixelRefTest.cpp',
132     '../tests/MathTest.cpp',
133     '../tests/Matrix44Test.cpp',
134     '../tests/MatrixClipCollapseTest.cpp',
135     '../tests/MatrixTest.cpp',
136     '../tests/MemoryTest.cpp',
137     '../tests/MemsetTest.cpp',
138     '../tests/MessageBusTest.cpp',
139     '../tests/MetaDataTest.cpp',
140     '../tests/MipMapTest.cpp',
141     '../tests/NameAllocatorTest.cpp',
142     '../tests/OSPathTest.cpp',
143     '../tests/ObjectPoolTest.cpp',
144     '../tests/OnceTest.cpp',
145     '../tests/PDFPrimitivesTest.cpp',
146     '../tests/PackBitsTest.cpp',
147     '../tests/PaintTest.cpp',
148     '../tests/ParsePathTest.cpp',
149     '../tests/PathCoverageTest.cpp',
150     '../tests/PathMeasureTest.cpp',
151     '../tests/PathTest.cpp',
152     '../tests/PathUtilsTest.cpp',
153     '../tests/PictureShaderTest.cpp',
154     '../tests/PictureStateTreeTest.cpp',
155     '../tests/PictureTest.cpp',
156     '../tests/PixelRefTest.cpp',
157     '../tests/PointTest.cpp',
158     '../tests/PremulAlphaRoundTripTest.cpp',
159     '../tests/QuickRejectTest.cpp',
160     '../tests/RTConfRegistryTest.cpp',
161     '../tests/RTreeTest.cpp',
162     '../tests/RandomTest.cpp',
163     '../tests/ReadPixelsTest.cpp',
164     '../tests/ReadWriteAlphaTest.cpp',
165     '../tests/Reader32Test.cpp',
166     '../tests/RecordDrawTest.cpp',
167     '../tests/RecordOptsTest.cpp',
168     '../tests/RecordPatternTest.cpp',
169     '../tests/RecordTest.cpp',
170     '../tests/RecorderTest.cpp',
171     '../tests/RecordingTest.cpp',
172     '../tests/RefCntTest.cpp',
173     '../tests/RefDictTest.cpp',
174     '../tests/RegionTest.cpp',
175     '../tests/ResourceCacheTest.cpp',
176     '../tests/RoundRectTest.cpp',
177     '../tests/RuntimeConfigTest.cpp',
178     '../tests/SHA1Test.cpp',
179     '../tests/SListTest.cpp',
180     '../tests/ScalarTest.cpp',
181     '../tests/ScaledImageCache.cpp',
182     '../tests/SerializationTest.cpp',
183     '../tests/ShaderImageFilterTest.cpp',
184     '../tests/ShaderOpacityTest.cpp',
185     '../tests/SizeTest.cpp',
186     '../tests/SkBase64Test.cpp',
187     '../tests/SmallAllocatorTest.cpp',
188     '../tests/SortTest.cpp',
189     '../tests/SrcOverTest.cpp',
190     '../tests/StreamTest.cpp',
191     '../tests/StringTest.cpp',
192     '../tests/StrokeTest.cpp',
193     '../tests/SurfaceTest.cpp',
194     '../tests/TArrayTest.cpp',
195     '../tests/TLSTest.cpp',
196     '../tests/TSetTest.cpp',
197     '../tests/TextureCompressionTest.cpp',
198     '../tests/TileGridTest.cpp',
199     '../tests/ToUnicodeTest.cpp',
200     '../tests/TracingTest.cpp',
201     '../tests/TypefaceTest.cpp',
202     '../tests/UnicodeTest.cpp',
203     '../tests/UtilsTest.cpp',
204     '../tests/WArrayTest.cpp',
205     '../tests/WritePixelsTest.cpp',
206     '../tests/Writer32Test.cpp',
207     '../tests/XfermodeTest.cpp',
208
209     '../tests/MatrixClipCollapseTest.cpp',
210     '../src/utils/debugger/SkDrawCommand.h',
211     '../src/utils/debugger/SkDrawCommand.cpp',
212     '../src/utils/debugger/SkDebugCanvas.h',
213     '../src/utils/debugger/SkDebugCanvas.cpp',
214     '../src/utils/debugger/SkObjectParser.h',
215     '../src/utils/debugger/SkObjectParser.cpp',
216
217     '../tests/PipeTest.cpp',
218     '../src/pipe/utils/SamplePipeControllers.cpp',
219
220     '../tests/TDStackNesterTest.cpp',
221     '../experimental/PdfViewer/src/SkTDStackNester.h',
222   ],
223 }