OLD | NEW |
1 # GYP file to build unit tests. | 1 # GYP file to build unit tests. |
2 { | 2 { |
3 'includes': [ | 3 'includes': [ |
4 'apptype_console.gypi', | 4 'apptype_console.gypi', |
5 ], | 5 ], |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'tests', | 8 'target_name': 'tests', |
9 'type': 'executable', | 9 'type': 'executable', |
10 'include_dirs' : [ | 10 'include_dirs' : [ |
(...skipping 10 matching lines...) Expand all Loading... |
21 | 21 |
22 # Needed for TDStackNesterTest. | 22 # Needed for TDStackNesterTest. |
23 '../experimental/PdfViewer', | 23 '../experimental/PdfViewer', |
24 '../experimental/PdfViewer/src', | 24 '../experimental/PdfViewer/src', |
25 ], | 25 ], |
26 'includes': [ | 26 'includes': [ |
27 'pathops_unittest.gypi', | 27 'pathops_unittest.gypi', |
28 ], | 28 ], |
29 'sources': [ | 29 'sources': [ |
30 '../tests/AAClipTest.cpp', | 30 '../tests/AAClipTest.cpp', |
| 31 '../tests/ARGBImageEncoderTest.cpp', |
31 '../tests/AndroidPaintTest.cpp', | 32 '../tests/AndroidPaintTest.cpp', |
32 '../tests/AnnotationTest.cpp', | 33 '../tests/AnnotationTest.cpp', |
33 '../tests/ARGBImageEncoderTest.cpp', | |
34 '../tests/AtomicTest.cpp', | 34 '../tests/AtomicTest.cpp', |
35 '../tests/BitmapTest.cpp', | 35 '../tests/BitSetTest.cpp', |
36 '../tests/BitmapCopyTest.cpp', | 36 '../tests/BitmapCopyTest.cpp', |
37 '../tests/BitmapGetColorTest.cpp', | 37 '../tests/BitmapGetColorTest.cpp', |
38 '../tests/BitmapHasherTest.cpp', | 38 '../tests/BitmapHasherTest.cpp', |
39 '../tests/BitmapHeapTest.cpp', | 39 '../tests/BitmapHeapTest.cpp', |
40 '../tests/BitSetTest.cpp', | 40 '../tests/BitmapTest.cpp', |
41 '../tests/BlitRowTest.cpp', | 41 '../tests/BlitRowTest.cpp', |
42 '../tests/BlurTest.cpp', | 42 '../tests/BlurTest.cpp', |
43 '../tests/CachedDecodingPixelRefTest.cpp', | 43 '../tests/CachedDecodingPixelRefTest.cpp', |
| 44 '../tests/CanvasStateTest.cpp', |
44 '../tests/CanvasTest.cpp', | 45 '../tests/CanvasTest.cpp', |
45 '../tests/CanvasStateTest.cpp', | |
46 '../tests/ChecksumTest.cpp', | 46 '../tests/ChecksumTest.cpp', |
47 '../tests/ClampRangeTest.cpp', | 47 '../tests/ClampRangeTest.cpp', |
48 '../tests/ClipCacheTest.cpp', | 48 '../tests/ClipCacheTest.cpp', |
49 '../tests/ClipCubicTest.cpp', | 49 '../tests/ClipCubicTest.cpp', |
50 '../tests/ClipStackTest.cpp', | 50 '../tests/ClipStackTest.cpp', |
51 '../tests/ClipperTest.cpp', | 51 '../tests/ClipperTest.cpp', |
52 '../tests/ColorFilterTest.cpp', | 52 '../tests/ColorFilterTest.cpp', |
53 '../tests/ColorPrivTest.cpp', | 53 '../tests/ColorPrivTest.cpp', |
54 '../tests/ColorTest.cpp', | 54 '../tests/ColorTest.cpp', |
55 '../tests/DataRefTest.cpp', | 55 '../tests/DataRefTest.cpp', |
(...skipping 11 matching lines...) Expand all Loading... |
67 '../tests/ErrorTest.cpp', | 67 '../tests/ErrorTest.cpp', |
68 '../tests/FillPathTest.cpp', | 68 '../tests/FillPathTest.cpp', |
69 '../tests/FitsInTest.cpp', | 69 '../tests/FitsInTest.cpp', |
70 '../tests/FlatDataTest.cpp', | 70 '../tests/FlatDataTest.cpp', |
71 '../tests/FlateTest.cpp', | 71 '../tests/FlateTest.cpp', |
72 '../tests/FontHostStreamTest.cpp', | 72 '../tests/FontHostStreamTest.cpp', |
73 '../tests/FontHostTest.cpp', | 73 '../tests/FontHostTest.cpp', |
74 '../tests/FontMgrTest.cpp', | 74 '../tests/FontMgrTest.cpp', |
75 '../tests/FontNamesTest.cpp', | 75 '../tests/FontNamesTest.cpp', |
76 '../tests/FrontBufferedStreamTest.cpp', | 76 '../tests/FrontBufferedStreamTest.cpp', |
77 '../tests/GeometryTest.cpp', | |
78 '../tests/GLInterfaceValidation.cpp', | 77 '../tests/GLInterfaceValidation.cpp', |
79 '../tests/GLProgramsTest.cpp', | 78 '../tests/GLProgramsTest.cpp', |
| 79 '../tests/GeometryTest.cpp', |
80 '../tests/GifTest.cpp', | 80 '../tests/GifTest.cpp', |
81 '../tests/GpuBitmapCopyTest.cpp', | 81 '../tests/GpuBitmapCopyTest.cpp', |
82 '../tests/GpuColorFilterTest.cpp', | 82 '../tests/GpuColorFilterTest.cpp', |
83 '../tests/GpuDrawPathTest.cpp', | 83 '../tests/GpuDrawPathTest.cpp', |
84 '../tests/GrContextFactoryTest.cpp', | 84 '../tests/GrContextFactoryTest.cpp', |
85 '../tests/GrDrawTargetTest.cpp', | 85 '../tests/GrDrawTargetTest.cpp', |
86 '../tests/GrMemoryPoolTest.cpp', | 86 '../tests/GrMemoryPoolTest.cpp', |
87 '../tests/GrRedBlackTreeTest.cpp', | 87 '../tests/GrRedBlackTreeTest.cpp', |
88 '../tests/GrSurfaceTest.cpp', | 88 '../tests/GrSurfaceTest.cpp', |
89 '../tests/GrUnitTests.cpp', | 89 '../tests/GrUnitTests.cpp', |
90 '../tests/GradientTest.cpp', | 90 '../tests/GradientTest.cpp', |
91 '../tests/HashCacheTest.cpp', | 91 '../tests/HashCacheTest.cpp', |
92 '../tests/ImageCacheTest.cpp', | 92 '../tests/ImageCacheTest.cpp', |
93 '../tests/ImageDecodingTest.cpp', | 93 '../tests/ImageDecodingTest.cpp', |
94 '../tests/ImageFilterTest.cpp', | 94 '../tests/ImageFilterTest.cpp', |
95 '../tests/InfRectTest.cpp', | 95 '../tests/InfRectTest.cpp', |
96 '../tests/JpegTest.cpp', | 96 '../tests/JpegTest.cpp', |
97 '../tests/LListTest.cpp', | 97 '../tests/LListTest.cpp', |
98 '../tests/LayerDrawLooperTest.cpp', | 98 '../tests/LayerDrawLooperTest.cpp', |
99 '../tests/MD5Test.cpp', | 99 '../tests/MD5Test.cpp', |
100 '../tests/MallocPixelRefTest.cpp', | 100 '../tests/MallocPixelRefTest.cpp', |
101 '../tests/MathTest.cpp', | 101 '../tests/MathTest.cpp', |
| 102 '../tests/Matrix44Test.cpp', |
102 '../tests/MatrixTest.cpp', | 103 '../tests/MatrixTest.cpp', |
103 '../tests/Matrix44Test.cpp', | |
104 '../tests/MemoryTest.cpp', | 104 '../tests/MemoryTest.cpp', |
105 '../tests/MemsetTest.cpp', | 105 '../tests/MemsetTest.cpp', |
106 '../tests/MessageBusTest.cpp', | 106 '../tests/MessageBusTest.cpp', |
107 '../tests/MetaDataTest.cpp', | 107 '../tests/MetaDataTest.cpp', |
108 '../tests/MipMapTest.cpp', | 108 '../tests/MipMapTest.cpp', |
| 109 '../tests/OSPathTest.cpp', |
109 '../tests/OnceTest.cpp', | 110 '../tests/OnceTest.cpp', |
110 '../tests/OSPathTest.cpp', | 111 '../tests/PDFPrimitivesTest.cpp', |
111 '../tests/PackBitsTest.cpp', | 112 '../tests/PackBitsTest.cpp', |
112 '../tests/PaintTest.cpp', | 113 '../tests/PaintTest.cpp', |
113 '../tests/ParsePathTest.cpp', | 114 '../tests/ParsePathTest.cpp', |
114 '../tests/PathCoverageTest.cpp', | 115 '../tests/PathCoverageTest.cpp', |
115 '../tests/PathMeasureTest.cpp', | 116 '../tests/PathMeasureTest.cpp', |
116 '../tests/PathTest.cpp', | 117 '../tests/PathTest.cpp', |
117 '../tests/PathUtilsTest.cpp', | 118 '../tests/PathUtilsTest.cpp', |
118 '../tests/PDFPrimitivesTest.cpp', | |
119 '../tests/PictureTest.cpp', | 119 '../tests/PictureTest.cpp', |
120 '../tests/PictureUtilsTest.cpp', | 120 '../tests/PictureUtilsTest.cpp', |
121 '../tests/PipeTest.cpp', | 121 '../tests/PipeTest.cpp', |
122 '../tests/PixelRefTest.cpp', | 122 '../tests/PixelRefTest.cpp', |
123 '../tests/PointTest.cpp', | 123 '../tests/PointTest.cpp', |
124 '../tests/PremulAlphaRoundTripTest.cpp', | 124 '../tests/PremulAlphaRoundTripTest.cpp', |
125 '../tests/QuickRejectTest.cpp', | 125 '../tests/QuickRejectTest.cpp', |
| 126 '../tests/RTreeTest.cpp', |
126 '../tests/RandomTest.cpp', | 127 '../tests/RandomTest.cpp', |
127 '../tests/Reader32Test.cpp', | |
128 '../tests/ReadPixelsTest.cpp', | 128 '../tests/ReadPixelsTest.cpp', |
129 '../tests/ReadWriteAlphaTest.cpp', | 129 '../tests/ReadWriteAlphaTest.cpp', |
| 130 '../tests/Reader32Test.cpp', |
130 '../tests/RefCntTest.cpp', | 131 '../tests/RefCntTest.cpp', |
131 '../tests/RefDictTest.cpp', | 132 '../tests/RefDictTest.cpp', |
132 '../tests/RegionTest.cpp', | 133 '../tests/RegionTest.cpp', |
133 '../tests/ResourceCacheTest.cpp', | 134 '../tests/ResourceCacheTest.cpp', |
134 '../tests/RoundRectTest.cpp', | 135 '../tests/RoundRectTest.cpp', |
135 '../tests/RuntimeConfigTest.cpp', | 136 '../tests/RuntimeConfigTest.cpp', |
136 '../tests/RTreeTest.cpp', | |
137 '../tests/SHA1Test.cpp', | 137 '../tests/SHA1Test.cpp', |
138 '../tests/ScalarTest.cpp', | 138 '../tests/ScalarTest.cpp', |
139 '../tests/SerializationTest.cpp', | 139 '../tests/SerializationTest.cpp', |
140 '../tests/ShaderImageFilterTest.cpp', | 140 '../tests/ShaderImageFilterTest.cpp', |
141 '../tests/ShaderOpacityTest.cpp', | 141 '../tests/ShaderOpacityTest.cpp', |
142 '../tests/skia_test.cpp', | 142 '../tests/SkBase64Test.cpp', |
143 '../tests/SortTest.cpp', | 143 '../tests/SortTest.cpp', |
144 '../tests/SrcOverTest.cpp', | 144 '../tests/SrcOverTest.cpp', |
145 '../tests/StreamTest.cpp', | 145 '../tests/StreamTest.cpp', |
146 '../tests/StringTest.cpp', | 146 '../tests/StringTest.cpp', |
147 '../tests/StrokeTest.cpp', | 147 '../tests/StrokeTest.cpp', |
148 '../tests/SurfaceTest.cpp', | 148 '../tests/SurfaceTest.cpp', |
| 149 '../tests/TLSTest.cpp', |
| 150 '../tests/TSetTest.cpp', |
149 '../tests/Test.cpp', | 151 '../tests/Test.cpp', |
150 '../tests/Test.h', | 152 '../tests/Test.h', |
151 '../tests/TestSize.cpp', | 153 '../tests/TestSize.cpp', |
152 '../tests/TileGridTest.cpp', | 154 '../tests/TileGridTest.cpp', |
153 '../tests/TLSTest.cpp', | |
154 '../tests/TSetTest.cpp', | |
155 '../tests/ToUnicode.cpp', | 155 '../tests/ToUnicode.cpp', |
156 '../tests/Typeface.cpp', | 156 '../tests/Typeface.cpp', |
157 '../tests/UnicodeTest.cpp', | 157 '../tests/UnicodeTest.cpp', |
158 '../tests/UnitTestTest.cpp', | 158 '../tests/UnitTestTest.cpp', |
159 '../tests/UtilsTest.cpp', | 159 '../tests/UtilsTest.cpp', |
160 '../tests/WArrayTest.cpp', | 160 '../tests/WArrayTest.cpp', |
161 '../tests/WritePixelsTest.cpp', | 161 '../tests/WritePixelsTest.cpp', |
162 '../tests/Writer32Test.cpp', | 162 '../tests/Writer32Test.cpp', |
163 '../tests/XfermodeTest.cpp', | 163 '../tests/XfermodeTest.cpp', |
| 164 '../tests/skia_test.cpp', |
164 | 165 |
165 '../experimental/PdfViewer/src/SkTDStackNester.h', | 166 '../experimental/PdfViewer/src/SkTDStackNester.h', |
166 '../tests/TDStackNesterTest.cpp', | 167 '../tests/TDStackNesterTest.cpp', |
167 | 168 |
168 # Needed for PipeTest. | 169 # Needed for PipeTest. |
169 '../src/pipe/utils/SamplePipeControllers.cpp', | 170 '../src/pipe/utils/SamplePipeControllers.cpp', |
170 ], | 171 ], |
171 'dependencies': [ | 172 'dependencies': [ |
172 'skia_lib.gyp:skia_lib', | 173 'skia_lib.gyp:skia_lib', |
173 'flags.gyp:flags', | 174 'flags.gyp:flags', |
174 'experimental.gyp:experimental', | 175 'experimental.gyp:experimental', |
175 'pdf.gyp:pdf', | 176 'pdf.gyp:pdf', |
176 'tools.gyp:picture_utils', | 177 'tools.gyp:picture_utils', |
177 ], | 178 ], |
178 'conditions': [ | 179 'conditions': [ |
179 [ 'skia_gpu == 1', { | 180 [ 'skia_gpu == 1', { |
180 'include_dirs': [ | 181 'include_dirs': [ |
181 '../src/gpu', | 182 '../src/gpu', |
182 ], | 183 ], |
183 }], | 184 }], |
184 ], | 185 ], |
185 }, | 186 }, |
186 ], | 187 ], |
187 } | 188 } |
OLD | NEW |