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', |
| 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', |
scroggo | 2451937 | 2014-07-22 12:38:55 -0700 | [diff] [blame] | 63 | '../tests/CanvasStateHelpers.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 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', |
commit-bot@chromium.org | af5346a | 2014-03-18 17:38:34 +0000 | [diff] [blame] | 75 | '../tests/DashPathEffectTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 76 | '../tests/DataRefTest.cpp', |
| 77 | '../tests/DeferredCanvasTest.cpp', |
| 78 | '../tests/DequeTest.cpp', |
| 79 | '../tests/DeviceLooperTest.cpp', |
commit-bot@chromium.org | 085a6e4 | 2014-03-03 19:23:28 +0000 | [diff] [blame] | 80 | '../tests/DiscardableMemoryPoolTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 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', |
joshualitt | ee5da55 | 2014-07-16 13:32:56 -0700 | [diff] [blame] | 93 | '../tests/FloatingPointTextureTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 94 | '../tests/FontHostStreamTest.cpp', |
| 95 | '../tests/FontHostTest.cpp', |
| 96 | '../tests/FontMgrTest.cpp', |
| 97 | '../tests/FontNamesTest.cpp', |
tfarina | 0a65e38 | 2014-07-08 10:33:28 -0700 | [diff] [blame] | 98 | '../tests/FontObjTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 99 | '../tests/FrontBufferedStreamTest.cpp', |
commit-bot@chromium.org | 085a6e4 | 2014-03-03 19:23:28 +0000 | [diff] [blame] | 100 | '../tests/GLInterfaceValidationTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 101 | '../tests/GLProgramsTest.cpp', |
| 102 | '../tests/GeometryTest.cpp', |
| 103 | '../tests/GifTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 104 | '../tests/GpuColorFilterTest.cpp', |
| 105 | '../tests/GpuDrawPathTest.cpp', |
robertphillips | 952841b | 2014-06-30 08:26:50 -0700 | [diff] [blame] | 106 | '../tests/GpuLayerCacheTest.cpp', |
commit-bot@chromium.org | ad854bf | 2014-05-29 18:46:38 +0000 | [diff] [blame] | 107 | '../tests/GpuRectanizerTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 108 | '../tests/GrBinHashKeyTest.cpp', |
| 109 | '../tests/GrContextFactoryTest.cpp', |
| 110 | '../tests/GrDrawTargetTest.cpp', |
| 111 | '../tests/GrMemoryPoolTest.cpp', |
commit-bot@chromium.org | 4fcc3ca | 2014-02-27 20:23:22 +0000 | [diff] [blame] | 112 | '../tests/GrOrderedSetTest.cpp', |
joshualitt | bab82ed | 2014-08-08 09:41:42 -0700 | [diff] [blame] | 113 | '../tests/GrGLSLPrettyPrintTest.cpp', |
tfarina | 0a65e38 | 2014-07-08 10:33:28 -0700 | [diff] [blame] | 114 | '../tests/GrRedBlackTreeTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 115 | '../tests/GrSurfaceTest.cpp', |
| 116 | '../tests/GrTBSearchTest.cpp', |
| 117 | '../tests/GradientTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 118 | '../tests/ImageCacheTest.cpp', |
| 119 | '../tests/ImageDecodingTest.cpp', |
| 120 | '../tests/ImageFilterTest.cpp', |
sugoi | 518d83d | 2014-07-21 11:37:39 -0700 | [diff] [blame] | 121 | '../tests/ImageGeneratorTest.cpp', |
piotaixr | d2a3522 | 2014-08-19 14:29:02 -0700 | [diff] [blame] | 122 | '../tests/ImageIsOpaqueTest.cpp', |
piotaixr | cef04f8 | 2014-07-14 07:48:04 -0700 | [diff] [blame] | 123 | '../tests/ImageNewShaderTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 124 | '../tests/InfRectTest.cpp', |
tfarina | 11a005e | 2014-06-26 13:07:05 -0700 | [diff] [blame] | 125 | '../tests/InterpolatorTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 126 | '../tests/JpegTest.cpp', |
krajcevski | c250d2e | 2014-06-06 06:16:28 -0700 | [diff] [blame] | 127 | '../tests/KtxTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 128 | '../tests/LListTest.cpp', |
| 129 | '../tests/LayerDrawLooperTest.cpp', |
commit-bot@chromium.org | 6573ce7 | 2014-04-10 20:42:53 +0000 | [diff] [blame] | 130 | '../tests/LayerRasterizerTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 131 | '../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', |
cdalton | 5119234 | 2014-06-09 11:16:58 -0700 | [diff] [blame] | 142 | '../tests/NameAllocatorTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 143 | '../tests/OSPathTest.cpp', |
tfarina | 0a65e38 | 2014-07-08 10:33:28 -0700 | [diff] [blame] | 144 | '../tests/ObjectPoolTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 145 | '../tests/OnceTest.cpp', |
halcanary | daefa5b | 2014-08-27 13:00:54 -0700 | [diff] [blame] | 146 | '../tests/PDFJpegEmbedTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 147 | '../tests/PDFPrimitivesTest.cpp', |
| 148 | '../tests/PackBitsTest.cpp', |
| 149 | '../tests/PaintTest.cpp', |
| 150 | '../tests/ParsePathTest.cpp', |
| 151 | '../tests/PathCoverageTest.cpp', |
| 152 | '../tests/PathMeasureTest.cpp', |
| 153 | '../tests/PathTest.cpp', |
| 154 | '../tests/PathUtilsTest.cpp', |
commit-bot@chromium.org | 855e88e | 2014-04-21 19:33:12 +0000 | [diff] [blame] | 155 | '../tests/PictureShaderTest.cpp', |
commit-bot@chromium.org | a31eacb | 2014-04-28 20:17:48 +0000 | [diff] [blame] | 156 | '../tests/PictureStateTreeTest.cpp', |
tfarina | 0a65e38 | 2014-07-08 10:33:28 -0700 | [diff] [blame] | 157 | '../tests/PictureTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 158 | '../tests/PixelRefTest.cpp', |
| 159 | '../tests/PointTest.cpp', |
| 160 | '../tests/PremulAlphaRoundTripTest.cpp', |
| 161 | '../tests/QuickRejectTest.cpp', |
tfarina | 0a65e38 | 2014-07-08 10:33:28 -0700 | [diff] [blame] | 162 | '../tests/RTConfRegistryTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 163 | '../tests/RTreeTest.cpp', |
| 164 | '../tests/RandomTest.cpp', |
| 165 | '../tests/ReadPixelsTest.cpp', |
| 166 | '../tests/ReadWriteAlphaTest.cpp', |
| 167 | '../tests/Reader32Test.cpp', |
commit-bot@chromium.org | d9ce2be | 2014-04-09 23:30:28 +0000 | [diff] [blame] | 168 | '../tests/RecordDrawTest.cpp', |
commit-bot@chromium.org | 8dac8b1 | 2014-04-30 13:18:12 +0000 | [diff] [blame] | 169 | '../tests/RecordOptsTest.cpp', |
commit-bot@chromium.org | 73fffeb | 2014-05-05 21:59:52 +0000 | [diff] [blame] | 170 | '../tests/RecordPatternTest.cpp', |
commit-bot@chromium.org | 066a28d | 2014-04-08 17:31:08 +0000 | [diff] [blame] | 171 | '../tests/RecordTest.cpp', |
commit-bot@chromium.org | b736962 | 2014-04-08 20:17:26 +0000 | [diff] [blame] | 172 | '../tests/RecorderTest.cpp', |
commit-bot@chromium.org | 18fd2b9 | 2014-04-10 23:30:59 +0000 | [diff] [blame] | 173 | '../tests/RecordingTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 174 | '../tests/RefCntTest.cpp', |
| 175 | '../tests/RefDictTest.cpp', |
| 176 | '../tests/RegionTest.cpp', |
| 177 | '../tests/ResourceCacheTest.cpp', |
| 178 | '../tests/RoundRectTest.cpp', |
| 179 | '../tests/RuntimeConfigTest.cpp', |
| 180 | '../tests/SHA1Test.cpp', |
tfarina | 12345ae | 2014-06-25 10:39:00 -0700 | [diff] [blame] | 181 | '../tests/SListTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 182 | '../tests/ScalarTest.cpp', |
halcanary | 805ef15 | 2014-07-17 06:58:01 -0700 | [diff] [blame] | 183 | '../tests/ScaledImageCache.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 184 | '../tests/SerializationTest.cpp', |
| 185 | '../tests/ShaderImageFilterTest.cpp', |
| 186 | '../tests/ShaderOpacityTest.cpp', |
tfarina | 12345ae | 2014-06-25 10:39:00 -0700 | [diff] [blame] | 187 | '../tests/SizeTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 188 | '../tests/SkBase64Test.cpp', |
commit-bot@chromium.org | a5572e5 | 2014-03-07 03:24:41 +0000 | [diff] [blame] | 189 | '../tests/SmallAllocatorTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 190 | '../tests/SortTest.cpp', |
| 191 | '../tests/SrcOverTest.cpp', |
| 192 | '../tests/StreamTest.cpp', |
| 193 | '../tests/StringTest.cpp', |
| 194 | '../tests/StrokeTest.cpp', |
| 195 | '../tests/SurfaceTest.cpp', |
bungeman@google.com | 95ebd17 | 2014-03-21 19:39:02 +0000 | [diff] [blame] | 196 | '../tests/TArrayTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 197 | '../tests/TLSTest.cpp', |
| 198 | '../tests/TSetTest.cpp', |
fmalita | c6765d6 | 2014-08-21 15:03:04 -0700 | [diff] [blame] | 199 | '../tests/TextBlobTest.cpp', |
krajcevski | 2b310e4 | 2014-06-11 12:26:49 -0700 | [diff] [blame] | 200 | '../tests/TextureCompressionTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 201 | '../tests/TileGridTest.cpp', |
commit-bot@chromium.org | 085a6e4 | 2014-03-03 19:23:28 +0000 | [diff] [blame] | 202 | '../tests/ToUnicodeTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 203 | '../tests/TracingTest.cpp', |
commit-bot@chromium.org | 085a6e4 | 2014-03-03 19:23:28 +0000 | [diff] [blame] | 204 | '../tests/TypefaceTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 205 | '../tests/UnicodeTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 206 | '../tests/UtilsTest.cpp', |
| 207 | '../tests/WArrayTest.cpp', |
| 208 | '../tests/WritePixelsTest.cpp', |
| 209 | '../tests/Writer32Test.cpp', |
| 210 | '../tests/XfermodeTest.cpp', |
| 211 | |
| 212 | '../tests/MatrixClipCollapseTest.cpp', |
| 213 | '../src/utils/debugger/SkDrawCommand.h', |
| 214 | '../src/utils/debugger/SkDrawCommand.cpp', |
| 215 | '../src/utils/debugger/SkDebugCanvas.h', |
| 216 | '../src/utils/debugger/SkDebugCanvas.cpp', |
| 217 | '../src/utils/debugger/SkObjectParser.h', |
| 218 | '../src/utils/debugger/SkObjectParser.cpp', |
| 219 | |
| 220 | '../tests/PipeTest.cpp', |
| 221 | '../src/pipe/utils/SamplePipeControllers.cpp', |
| 222 | |
| 223 | '../tests/TDStackNesterTest.cpp', |
| 224 | '../experimental/PdfViewer/src/SkTDStackNester.h', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 225 | ], |
| 226 | } |