commit-bot@chromium.org | a5572e5 | 2014-03-07 03:24:41 +0000 | [diff] [blame] | 1 | # Common gypi for unit tests. |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 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', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 14 | |
| 15 | # Needed for TDStackNesterTest. |
| 16 | '../experimental/PdfViewer', |
| 17 | '../experimental/PdfViewer/src', |
| 18 | ], |
| 19 | 'dependencies': [ |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 20 | 'experimental.gyp:experimental', |
caryclark | 17f0b6d | 2014-07-22 10:15:34 -0700 | [diff] [blame] | 21 | 'flags.gyp:flags_common', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 22 | 'pdf.gyp:pdf', |
tfarina | bcbc178 | 2014-06-18 14:32:48 -0700 | [diff] [blame] | 23 | 'skia_lib.gyp:skia_lib', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 24 | 'tools.gyp:picture_utils', |
mtklein | 9ac68ee | 2014-06-20 11:29:20 -0700 | [diff] [blame] | 25 | 'tools.gyp:resources', |
tfarina | 2010891 | 2014-06-21 10:54:17 -0700 | [diff] [blame] | 26 | 'tools.gyp:sk_tool_utils', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 27 | ], |
djsollen | 85d3652 | 2014-07-22 13:56:34 -0700 | [diff] [blame] | 28 | 'conditions': [ |
tomhudson | f79673b | 2014-08-05 06:36:11 -0700 | [diff] [blame] | 29 | [ 'skia_os == "android"', { |
tomhudson | f79673b | 2014-08-05 06:36:11 -0700 | [diff] [blame] | 30 | 'include_dirs': [ |
| 31 | '../src/ports', |
| 32 | ], |
| 33 | 'sources': [ |
| 34 | '../tests/FontConfigParser.cpp', |
| 35 | ], |
| 36 | }], |
djsollen | 85d3652 | 2014-07-22 13:56:34 -0700 | [diff] [blame] | 37 | [ 'skia_android_framework == 1', { |
| 38 | 'libraries': [ |
| 39 | '-ldl', |
| 40 | ], |
| 41 | }], |
| 42 | ], |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 43 | 'sources': [ |
| 44 | '../tests/Test.cpp', |
| 45 | '../tests/Test.h', |
| 46 | |
| 47 | '../tests/AAClipTest.cpp', |
| 48 | '../tests/ARGBImageEncoderTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 49 | '../tests/AnnotationTest.cpp', |
commit-bot@chromium.org | aec1438 | 2014-04-22 15:21:18 +0000 | [diff] [blame] | 50 | '../tests/AsADashTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 51 | '../tests/AtomicTest.cpp', |
scroggo | b61e206 | 2014-11-10 13:12:25 -0800 | [diff] [blame] | 52 | '../tests/BadIcoTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 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', |
reed | e332396 | 2014-10-24 11:16:19 -0700 | [diff] [blame] | 62 | '../tests/CTest.cpp', |
reed | 9d93c2e | 2014-10-08 05:17:12 -0700 | [diff] [blame] | 63 | '../tests/CachedDataTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 64 | '../tests/CachedDecodingPixelRefTest.cpp', |
scroggo | 2451937 | 2014-07-22 12:38:55 -0700 | [diff] [blame] | 65 | '../tests/CanvasStateHelpers.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 66 | '../tests/CanvasStateTest.cpp', |
| 67 | '../tests/CanvasTest.cpp', |
| 68 | '../tests/ChecksumTest.cpp', |
| 69 | '../tests/ClampRangeTest.cpp', |
| 70 | '../tests/ClipCacheTest.cpp', |
| 71 | '../tests/ClipCubicTest.cpp', |
| 72 | '../tests/ClipStackTest.cpp', |
| 73 | '../tests/ClipperTest.cpp', |
| 74 | '../tests/ColorFilterTest.cpp', |
| 75 | '../tests/ColorPrivTest.cpp', |
| 76 | '../tests/ColorTest.cpp', |
commit-bot@chromium.org | af5346a | 2014-03-18 17:38:34 +0000 | [diff] [blame] | 77 | '../tests/DashPathEffectTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 78 | '../tests/DataRefTest.cpp', |
| 79 | '../tests/DeferredCanvasTest.cpp', |
| 80 | '../tests/DequeTest.cpp', |
| 81 | '../tests/DeviceLooperTest.cpp', |
commit-bot@chromium.org | 085a6e4 | 2014-03-03 19:23:28 +0000 | [diff] [blame] | 82 | '../tests/DiscardableMemoryPoolTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 83 | '../tests/DiscardableMemoryTest.cpp', |
| 84 | '../tests/DocumentTest.cpp', |
| 85 | '../tests/DrawBitmapRectTest.cpp', |
| 86 | '../tests/DrawPathTest.cpp', |
| 87 | '../tests/DrawTextTest.cpp', |
| 88 | '../tests/DynamicHashTest.cpp', |
| 89 | '../tests/EmptyPathTest.cpp', |
| 90 | '../tests/ErrorTest.cpp', |
| 91 | '../tests/FillPathTest.cpp', |
| 92 | '../tests/FitsInTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 93 | '../tests/FlateTest.cpp', |
joshualitt | ee5da55 | 2014-07-16 13:32:56 -0700 | [diff] [blame] | 94 | '../tests/FloatingPointTextureTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 95 | '../tests/FontHostStreamTest.cpp', |
| 96 | '../tests/FontHostTest.cpp', |
| 97 | '../tests/FontMgrTest.cpp', |
| 98 | '../tests/FontNamesTest.cpp', |
tfarina | 0a65e38 | 2014-07-08 10:33:28 -0700 | [diff] [blame] | 99 | '../tests/FontObjTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 100 | '../tests/FrontBufferedStreamTest.cpp', |
commit-bot@chromium.org | 085a6e4 | 2014-03-03 19:23:28 +0000 | [diff] [blame] | 101 | '../tests/GLInterfaceValidationTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 102 | '../tests/GLProgramsTest.cpp', |
| 103 | '../tests/GeometryTest.cpp', |
| 104 | '../tests/GifTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 105 | '../tests/GpuColorFilterTest.cpp', |
| 106 | '../tests/GpuDrawPathTest.cpp', |
robertphillips | 952841b | 2014-06-30 08:26:50 -0700 | [diff] [blame] | 107 | '../tests/GpuLayerCacheTest.cpp', |
commit-bot@chromium.org | ad854bf | 2014-05-29 18:46:38 +0000 | [diff] [blame] | 108 | '../tests/GpuRectanizerTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 109 | '../tests/GrBinHashKeyTest.cpp', |
| 110 | '../tests/GrContextFactoryTest.cpp', |
| 111 | '../tests/GrDrawTargetTest.cpp', |
bsalomon | a1ae66d | 2014-09-05 06:13:43 -0700 | [diff] [blame] | 112 | '../tests/GrAllocatorTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 113 | '../tests/GrMemoryPoolTest.cpp', |
commit-bot@chromium.org | 4fcc3ca | 2014-02-27 20:23:22 +0000 | [diff] [blame] | 114 | '../tests/GrOrderedSetTest.cpp', |
joshualitt | bab82ed | 2014-08-08 09:41:42 -0700 | [diff] [blame] | 115 | '../tests/GrGLSLPrettyPrintTest.cpp', |
tfarina | 0a65e38 | 2014-07-08 10:33:28 -0700 | [diff] [blame] | 116 | '../tests/GrRedBlackTreeTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 117 | '../tests/GrSurfaceTest.cpp', |
| 118 | '../tests/GrTBSearchTest.cpp', |
cdalton | 6819df3 | 2014-10-15 13:43:48 -0700 | [diff] [blame] | 119 | '../tests/GrTRecorderTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 120 | '../tests/GradientTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 121 | '../tests/ImageCacheTest.cpp', |
| 122 | '../tests/ImageDecodingTest.cpp', |
| 123 | '../tests/ImageFilterTest.cpp', |
sugoi | 518d83d | 2014-07-21 11:37:39 -0700 | [diff] [blame] | 124 | '../tests/ImageGeneratorTest.cpp', |
piotaixr | d2a3522 | 2014-08-19 14:29:02 -0700 | [diff] [blame] | 125 | '../tests/ImageIsOpaqueTest.cpp', |
piotaixr | cef04f8 | 2014-07-14 07:48:04 -0700 | [diff] [blame] | 126 | '../tests/ImageNewShaderTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 127 | '../tests/InfRectTest.cpp', |
tfarina | 11a005e | 2014-06-26 13:07:05 -0700 | [diff] [blame] | 128 | '../tests/InterpolatorTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 129 | '../tests/JpegTest.cpp', |
krajcevski | c250d2e | 2014-06-06 06:16:28 -0700 | [diff] [blame] | 130 | '../tests/KtxTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 131 | '../tests/LListTest.cpp', |
| 132 | '../tests/LayerDrawLooperTest.cpp', |
commit-bot@chromium.org | 6573ce7 | 2014-04-10 20:42:53 +0000 | [diff] [blame] | 133 | '../tests/LayerRasterizerTest.cpp', |
mtklein | e9e0dea | 2014-10-21 12:20:04 -0700 | [diff] [blame] | 134 | '../tests/LazyPtrTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 135 | '../tests/MD5Test.cpp', |
| 136 | '../tests/MallocPixelRefTest.cpp', |
qiankun.miao | d9aac34 | 2014-10-23 07:58:17 -0700 | [diff] [blame] | 137 | '../tests/MaskCacheTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 138 | '../tests/MathTest.cpp', |
| 139 | '../tests/Matrix44Test.cpp', |
| 140 | '../tests/MatrixClipCollapseTest.cpp', |
| 141 | '../tests/MatrixTest.cpp', |
| 142 | '../tests/MemoryTest.cpp', |
| 143 | '../tests/MemsetTest.cpp', |
| 144 | '../tests/MessageBusTest.cpp', |
| 145 | '../tests/MetaDataTest.cpp', |
| 146 | '../tests/MipMapTest.cpp', |
cdalton | 5119234 | 2014-06-09 11:16:58 -0700 | [diff] [blame] | 147 | '../tests/NameAllocatorTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 148 | '../tests/OSPathTest.cpp', |
| 149 | '../tests/OnceTest.cpp', |
halcanary | daefa5b | 2014-08-27 13:00:54 -0700 | [diff] [blame] | 150 | '../tests/PDFJpegEmbedTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 151 | '../tests/PDFPrimitivesTest.cpp', |
| 152 | '../tests/PackBitsTest.cpp', |
| 153 | '../tests/PaintTest.cpp', |
| 154 | '../tests/ParsePathTest.cpp', |
| 155 | '../tests/PathCoverageTest.cpp', |
| 156 | '../tests/PathMeasureTest.cpp', |
| 157 | '../tests/PathTest.cpp', |
| 158 | '../tests/PathUtilsTest.cpp', |
junov | a41d3c3 | 2014-10-30 11:44:19 -0700 | [diff] [blame] | 159 | '../tests/PictureBBHTest.cpp', |
commit-bot@chromium.org | 855e88e | 2014-04-21 19:33:12 +0000 | [diff] [blame] | 160 | '../tests/PictureShaderTest.cpp', |
tfarina | 0a65e38 | 2014-07-08 10:33:28 -0700 | [diff] [blame] | 161 | '../tests/PictureTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 162 | '../tests/PixelRefTest.cpp', |
| 163 | '../tests/PointTest.cpp', |
| 164 | '../tests/PremulAlphaRoundTripTest.cpp', |
| 165 | '../tests/QuickRejectTest.cpp', |
tfarina | 0a65e38 | 2014-07-08 10:33:28 -0700 | [diff] [blame] | 166 | '../tests/RTConfRegistryTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 167 | '../tests/RTreeTest.cpp', |
| 168 | '../tests/RandomTest.cpp', |
| 169 | '../tests/ReadPixelsTest.cpp', |
| 170 | '../tests/ReadWriteAlphaTest.cpp', |
| 171 | '../tests/Reader32Test.cpp', |
commit-bot@chromium.org | d9ce2be | 2014-04-09 23:30:28 +0000 | [diff] [blame] | 172 | '../tests/RecordDrawTest.cpp', |
robertphillips | d982eb2 | 2014-09-03 11:04:30 -0700 | [diff] [blame] | 173 | '../tests/RecordReplaceDrawTest.cpp', |
commit-bot@chromium.org | 8dac8b1 | 2014-04-30 13:18:12 +0000 | [diff] [blame] | 174 | '../tests/RecordOptsTest.cpp', |
commit-bot@chromium.org | 73fffeb | 2014-05-05 21:59:52 +0000 | [diff] [blame] | 175 | '../tests/RecordPatternTest.cpp', |
commit-bot@chromium.org | 066a28d | 2014-04-08 17:31:08 +0000 | [diff] [blame] | 176 | '../tests/RecordTest.cpp', |
commit-bot@chromium.org | b736962 | 2014-04-08 20:17:26 +0000 | [diff] [blame] | 177 | '../tests/RecorderTest.cpp', |
dneto | 327f905 | 2014-09-15 10:53:16 -0700 | [diff] [blame] | 178 | '../tests/RecordingXfermodeTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 179 | '../tests/RefCntTest.cpp', |
| 180 | '../tests/RefDictTest.cpp', |
| 181 | '../tests/RegionTest.cpp', |
| 182 | '../tests/ResourceCacheTest.cpp', |
| 183 | '../tests/RoundRectTest.cpp', |
| 184 | '../tests/RuntimeConfigTest.cpp', |
| 185 | '../tests/SHA1Test.cpp', |
| 186 | '../tests/ScalarTest.cpp', |
| 187 | '../tests/SerializationTest.cpp', |
| 188 | '../tests/ShaderImageFilterTest.cpp', |
| 189 | '../tests/ShaderOpacityTest.cpp', |
tfarina | 12345ae | 2014-06-25 10:39:00 -0700 | [diff] [blame] | 190 | '../tests/SizeTest.cpp', |
mtklein | 5da116f | 2014-11-11 06:16:42 -0800 | [diff] [blame] | 191 | '../tests/Sk4xTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 192 | '../tests/SkBase64Test.cpp', |
piotaixr | aca21d6 | 2014-09-02 11:50:59 -0700 | [diff] [blame] | 193 | '../tests/SkResourceCacheTest.cpp', |
commit-bot@chromium.org | a5572e5 | 2014-03-07 03:24:41 +0000 | [diff] [blame] | 194 | '../tests/SmallAllocatorTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 195 | '../tests/SortTest.cpp', |
| 196 | '../tests/SrcOverTest.cpp', |
| 197 | '../tests/StreamTest.cpp', |
| 198 | '../tests/StringTest.cpp', |
| 199 | '../tests/StrokeTest.cpp', |
caryclark | feff7d2 | 2014-10-09 05:36:03 -0700 | [diff] [blame] | 200 | '../tests/StrokerTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 201 | '../tests/SurfaceTest.cpp', |
bungeman@google.com | 95ebd17 | 2014-03-21 19:39:02 +0000 | [diff] [blame] | 202 | '../tests/TArrayTest.cpp', |
piotaixr | e4b2314 | 2014-10-02 10:57:53 -0700 | [diff] [blame] | 203 | '../tests/THashCache.cpp', |
halcanary | 8e74b15 | 2014-11-10 09:20:22 -0800 | [diff] [blame] | 204 | '../tests/Time.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 205 | '../tests/TLSTest.cpp', |
| 206 | '../tests/TSetTest.cpp', |
fmalita | c6765d6 | 2014-08-21 15:03:04 -0700 | [diff] [blame] | 207 | '../tests/TextBlobTest.cpp', |
krajcevski | 2b310e4 | 2014-06-11 12:26:49 -0700 | [diff] [blame] | 208 | '../tests/TextureCompressionTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 209 | '../tests/TileGridTest.cpp', |
commit-bot@chromium.org | 085a6e4 | 2014-03-03 19:23:28 +0000 | [diff] [blame] | 210 | '../tests/ToUnicodeTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 211 | '../tests/TracingTest.cpp', |
commit-bot@chromium.org | 085a6e4 | 2014-03-03 19:23:28 +0000 | [diff] [blame] | 212 | '../tests/TypefaceTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 213 | '../tests/UnicodeTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 214 | '../tests/UtilsTest.cpp', |
mtklein | 0bd57b2 | 2014-11-18 09:32:36 -0800 | [diff] [blame] | 215 | '../tests/VarAllocTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 216 | '../tests/WArrayTest.cpp', |
| 217 | '../tests/WritePixelsTest.cpp', |
| 218 | '../tests/Writer32Test.cpp', |
| 219 | '../tests/XfermodeTest.cpp', |
| 220 | |
| 221 | '../tests/MatrixClipCollapseTest.cpp', |
| 222 | '../src/utils/debugger/SkDrawCommand.h', |
| 223 | '../src/utils/debugger/SkDrawCommand.cpp', |
| 224 | '../src/utils/debugger/SkDebugCanvas.h', |
| 225 | '../src/utils/debugger/SkDebugCanvas.cpp', |
| 226 | '../src/utils/debugger/SkObjectParser.h', |
| 227 | '../src/utils/debugger/SkObjectParser.cpp', |
| 228 | |
| 229 | '../tests/PipeTest.cpp', |
| 230 | '../src/pipe/utils/SamplePipeControllers.cpp', |
| 231 | |
| 232 | '../tests/TDStackNesterTest.cpp', |
| 233 | '../experimental/PdfViewer/src/SkTDStackNester.h', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 234 | ], |
| 235 | } |