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', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 52 | '../tests/BitSetTest.cpp', |
| 53 | '../tests/BitmapCopyTest.cpp', |
| 54 | '../tests/BitmapGetColorTest.cpp', |
| 55 | '../tests/BitmapHasherTest.cpp', |
| 56 | '../tests/BitmapHeapTest.cpp', |
| 57 | '../tests/BitmapTest.cpp', |
| 58 | '../tests/BlendTest.cpp', |
| 59 | '../tests/BlitRowTest.cpp', |
| 60 | '../tests/BlurTest.cpp', |
| 61 | '../tests/CachedDecodingPixelRefTest.cpp', |
scroggo | 2451937 | 2014-07-22 12:38:55 -0700 | [diff] [blame] | 62 | '../tests/CanvasStateHelpers.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 63 | '../tests/CanvasStateTest.cpp', |
| 64 | '../tests/CanvasTest.cpp', |
| 65 | '../tests/ChecksumTest.cpp', |
| 66 | '../tests/ClampRangeTest.cpp', |
| 67 | '../tests/ClipCacheTest.cpp', |
| 68 | '../tests/ClipCubicTest.cpp', |
| 69 | '../tests/ClipStackTest.cpp', |
| 70 | '../tests/ClipperTest.cpp', |
| 71 | '../tests/ColorFilterTest.cpp', |
| 72 | '../tests/ColorPrivTest.cpp', |
| 73 | '../tests/ColorTest.cpp', |
commit-bot@chromium.org | af5346a | 2014-03-18 17:38:34 +0000 | [diff] [blame] | 74 | '../tests/DashPathEffectTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 75 | '../tests/DataRefTest.cpp', |
| 76 | '../tests/DeferredCanvasTest.cpp', |
| 77 | '../tests/DequeTest.cpp', |
| 78 | '../tests/DeviceLooperTest.cpp', |
commit-bot@chromium.org | 085a6e4 | 2014-03-03 19:23:28 +0000 | [diff] [blame] | 79 | '../tests/DiscardableMemoryPoolTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 80 | '../tests/DiscardableMemoryTest.cpp', |
| 81 | '../tests/DocumentTest.cpp', |
| 82 | '../tests/DrawBitmapRectTest.cpp', |
| 83 | '../tests/DrawPathTest.cpp', |
| 84 | '../tests/DrawTextTest.cpp', |
| 85 | '../tests/DynamicHashTest.cpp', |
| 86 | '../tests/EmptyPathTest.cpp', |
| 87 | '../tests/ErrorTest.cpp', |
| 88 | '../tests/FillPathTest.cpp', |
| 89 | '../tests/FitsInTest.cpp', |
| 90 | '../tests/FlatDataTest.cpp', |
| 91 | '../tests/FlateTest.cpp', |
joshualitt | ee5da55 | 2014-07-16 13:32:56 -0700 | [diff] [blame] | 92 | '../tests/FloatingPointTextureTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 93 | '../tests/FontHostStreamTest.cpp', |
| 94 | '../tests/FontHostTest.cpp', |
| 95 | '../tests/FontMgrTest.cpp', |
| 96 | '../tests/FontNamesTest.cpp', |
tfarina | 0a65e38 | 2014-07-08 10:33:28 -0700 | [diff] [blame] | 97 | '../tests/FontObjTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 98 | '../tests/FrontBufferedStreamTest.cpp', |
commit-bot@chromium.org | 085a6e4 | 2014-03-03 19:23:28 +0000 | [diff] [blame] | 99 | '../tests/GLInterfaceValidationTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 100 | '../tests/GLProgramsTest.cpp', |
| 101 | '../tests/GeometryTest.cpp', |
| 102 | '../tests/GifTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 103 | '../tests/GpuColorFilterTest.cpp', |
| 104 | '../tests/GpuDrawPathTest.cpp', |
robertphillips | 952841b | 2014-06-30 08:26:50 -0700 | [diff] [blame] | 105 | '../tests/GpuLayerCacheTest.cpp', |
commit-bot@chromium.org | ad854bf | 2014-05-29 18:46:38 +0000 | [diff] [blame] | 106 | '../tests/GpuRectanizerTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 107 | '../tests/GrBinHashKeyTest.cpp', |
| 108 | '../tests/GrContextFactoryTest.cpp', |
| 109 | '../tests/GrDrawTargetTest.cpp', |
bsalomon | a1ae66d | 2014-09-05 06:13:43 -0700 | [diff] [blame] | 110 | '../tests/GrAllocatorTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 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', |
| 144 | '../tests/OnceTest.cpp', |
halcanary | daefa5b | 2014-08-27 13:00:54 -0700 | [diff] [blame] | 145 | '../tests/PDFJpegEmbedTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 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.org | 855e88e | 2014-04-21 19:33:12 +0000 | [diff] [blame] | 154 | '../tests/PictureShaderTest.cpp', |
tfarina | 0a65e38 | 2014-07-08 10:33:28 -0700 | [diff] [blame] | 155 | '../tests/PictureTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 156 | '../tests/PixelRefTest.cpp', |
| 157 | '../tests/PointTest.cpp', |
| 158 | '../tests/PremulAlphaRoundTripTest.cpp', |
| 159 | '../tests/QuickRejectTest.cpp', |
tfarina | 0a65e38 | 2014-07-08 10:33:28 -0700 | [diff] [blame] | 160 | '../tests/RTConfRegistryTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 161 | '../tests/RTreeTest.cpp', |
| 162 | '../tests/RandomTest.cpp', |
| 163 | '../tests/ReadPixelsTest.cpp', |
| 164 | '../tests/ReadWriteAlphaTest.cpp', |
| 165 | '../tests/Reader32Test.cpp', |
commit-bot@chromium.org | d9ce2be | 2014-04-09 23:30:28 +0000 | [diff] [blame] | 166 | '../tests/RecordDrawTest.cpp', |
robertphillips | d982eb2 | 2014-09-03 11:04:30 -0700 | [diff] [blame] | 167 | '../tests/RecordReplaceDrawTest.cpp', |
commit-bot@chromium.org | 8dac8b1 | 2014-04-30 13:18:12 +0000 | [diff] [blame] | 168 | '../tests/RecordOptsTest.cpp', |
commit-bot@chromium.org | 73fffeb | 2014-05-05 21:59:52 +0000 | [diff] [blame] | 169 | '../tests/RecordPatternTest.cpp', |
commit-bot@chromium.org | 066a28d | 2014-04-08 17:31:08 +0000 | [diff] [blame] | 170 | '../tests/RecordTest.cpp', |
commit-bot@chromium.org | b736962 | 2014-04-08 20:17:26 +0000 | [diff] [blame] | 171 | '../tests/RecorderTest.cpp', |
commit-bot@chromium.org | 18fd2b9 | 2014-04-10 23:30:59 +0000 | [diff] [blame] | 172 | '../tests/RecordingTest.cpp', |
dneto | 327f905 | 2014-09-15 10:53:16 -0700 | [diff] [blame] | 173 | '../tests/RecordingXfermodeTest.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', |
| 181 | '../tests/ScalarTest.cpp', |
| 182 | '../tests/SerializationTest.cpp', |
| 183 | '../tests/ShaderImageFilterTest.cpp', |
| 184 | '../tests/ShaderOpacityTest.cpp', |
tfarina | 12345ae | 2014-06-25 10:39:00 -0700 | [diff] [blame] | 185 | '../tests/SizeTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 186 | '../tests/SkBase64Test.cpp', |
piotaixr | aca21d6 | 2014-09-02 11:50:59 -0700 | [diff] [blame] | 187 | '../tests/SkResourceCacheTest.cpp', |
commit-bot@chromium.org | a5572e5 | 2014-03-07 03:24:41 +0000 | [diff] [blame] | 188 | '../tests/SmallAllocatorTest.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 189 | '../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.com | 95ebd17 | 2014-03-21 19:39:02 +0000 | [diff] [blame] | 195 | '../tests/TArrayTest.cpp', |
piotaixr | e4b2314 | 2014-10-02 10:57:53 -0700 | [diff] [blame^] | 196 | '../tests/THashCache.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 | } |