| 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' : [ | |
| 11 '../src/core', | |
| 12 '../src/effects', | |
| 13 '../src/image', | |
| 14 '../src/lazy', | |
| 15 '../src/images', | |
| 16 '../src/pathops', | |
| 17 '../src/pdf', | |
| 18 '../src/pipe/utils', | |
| 19 '../src/utils', | |
| 20 '../src/utils/debugger', | |
| 21 '../tools/', | |
| 22 | |
| 23 # Needed for TDStackNesterTest. | |
| 24 '../experimental/PdfViewer', | |
| 25 '../experimental/PdfViewer/src', | |
| 26 ], | |
| 27 'includes': [ | 10 'includes': [ |
| 28 'pathops_unittest.gypi', | 11 'pathops_unittest.gypi', |
| 12 'tests.gypi', |
| 29 ], | 13 ], |
| 30 'sources': [ | 14 'sources': [ |
| 31 '../tests/AAClipTest.cpp', | |
| 32 '../tests/ARGBImageEncoderTest.cpp', | |
| 33 '../tests/AndroidPaintTest.cpp', | |
| 34 '../tests/AnnotationTest.cpp', | |
| 35 '../tests/AtomicTest.cpp', | |
| 36 '../tests/BBoxHierarchyTest.cpp', | |
| 37 '../tests/BitSetTest.cpp', | |
| 38 '../tests/BitmapCopyTest.cpp', | |
| 39 '../tests/BitmapGetColorTest.cpp', | |
| 40 '../tests/BitmapHasherTest.cpp', | |
| 41 '../tests/BitmapHeapTest.cpp', | |
| 42 '../tests/BitmapTest.cpp', | |
| 43 '../tests/BlendTest.cpp', | |
| 44 '../tests/BlitRowTest.cpp', | |
| 45 '../tests/BlurTest.cpp', | |
| 46 '../tests/CachedDecodingPixelRefTest.cpp', | |
| 47 '../tests/CanvasStateTest.cpp', | |
| 48 '../tests/CanvasTest.cpp', | |
| 49 '../tests/ChecksumTest.cpp', | |
| 50 '../tests/ClampRangeTest.cpp', | |
| 51 '../tests/ClipCacheTest.cpp', | |
| 52 '../tests/ClipCubicTest.cpp', | |
| 53 '../tests/ClipStackTest.cpp', | |
| 54 '../tests/ClipperTest.cpp', | |
| 55 '../tests/ColorFilterTest.cpp', | |
| 56 '../tests/ColorPrivTest.cpp', | |
| 57 '../tests/ColorTest.cpp', | |
| 58 '../tests/DataRefTest.cpp', | |
| 59 '../tests/DeferredCanvasTest.cpp', | |
| 60 '../tests/DequeTest.cpp', | |
| 61 '../tests/DeviceLooperTest.cpp', | |
| 62 '../tests/DiscardableMemoryPool.cpp', | |
| 63 '../tests/DiscardableMemoryTest.cpp', | |
| 64 '../tests/DocumentTest.cpp', | |
| 65 '../tests/DrawBitmapRectTest.cpp', | |
| 66 '../tests/DrawPathTest.cpp', | |
| 67 '../tests/DrawTextTest.cpp', | |
| 68 '../tests/DynamicHashTest.cpp', | |
| 69 '../tests/EmptyPathTest.cpp', | |
| 70 '../tests/ErrorTest.cpp', | |
| 71 '../tests/FillPathTest.cpp', | |
| 72 '../tests/FitsInTest.cpp', | |
| 73 '../tests/FlatDataTest.cpp', | |
| 74 '../tests/FlateTest.cpp', | |
| 75 '../tests/FontHostStreamTest.cpp', | |
| 76 '../tests/FontHostTest.cpp', | |
| 77 '../tests/FontMgrTest.cpp', | |
| 78 '../tests/FontNamesTest.cpp', | |
| 79 '../tests/FrontBufferedStreamTest.cpp', | |
| 80 '../tests/GLInterfaceValidation.cpp', | |
| 81 '../tests/GLProgramsTest.cpp', | |
| 82 '../tests/GeometryTest.cpp', | |
| 83 '../tests/GifTest.cpp', | |
| 84 '../tests/GpuBitmapCopyTest.cpp', | |
| 85 '../tests/GpuColorFilterTest.cpp', | |
| 86 '../tests/GpuDrawPathTest.cpp', | |
| 87 '../tests/GrBinHashKeyTest.cpp', | |
| 88 '../tests/GrContextFactoryTest.cpp', | |
| 89 '../tests/GrDrawTargetTest.cpp', | |
| 90 '../tests/GrMemoryPoolTest.cpp', | |
| 91 '../tests/GrRedBlackTreeTest.cpp', | |
| 92 '../tests/GrSurfaceTest.cpp', | |
| 93 '../tests/GrTBSearchTest.cpp', | |
| 94 '../tests/GradientTest.cpp', | |
| 95 '../tests/HashCacheTest.cpp', | |
| 96 '../tests/ImageCacheTest.cpp', | |
| 97 '../tests/ImageDecodingTest.cpp', | |
| 98 '../tests/ImageFilterTest.cpp', | |
| 99 '../tests/InfRectTest.cpp', | |
| 100 '../tests/JpegTest.cpp', | |
| 101 '../tests/LListTest.cpp', | |
| 102 '../tests/LayerDrawLooperTest.cpp', | |
| 103 '../tests/MD5Test.cpp', | |
| 104 '../tests/MallocPixelRefTest.cpp', | |
| 105 '../tests/MathTest.cpp', | |
| 106 '../tests/Matrix44Test.cpp', | |
| 107 '../tests/MatrixClipCollapseTest.cpp', | |
| 108 '../tests/MatrixTest.cpp', | |
| 109 '../tests/MemoryTest.cpp', | |
| 110 '../tests/MemsetTest.cpp', | |
| 111 '../tests/MessageBusTest.cpp', | |
| 112 '../tests/MetaDataTest.cpp', | |
| 113 '../tests/MipMapTest.cpp', | |
| 114 '../tests/OSPathTest.cpp', | |
| 115 '../tests/OnceTest.cpp', | |
| 116 '../tests/PDFPrimitivesTest.cpp', | |
| 117 '../tests/PackBitsTest.cpp', | |
| 118 '../tests/PaintTest.cpp', | |
| 119 '../tests/ParsePathTest.cpp', | |
| 120 '../tests/PathCoverageTest.cpp', | |
| 121 '../tests/PathMeasureTest.cpp', | |
| 122 '../tests/PathTest.cpp', | |
| 123 '../tests/PathUtilsTest.cpp', | |
| 124 '../tests/PictureTest.cpp', | |
| 125 '../tests/PictureUtilsTest.cpp', | |
| 126 '../tests/PipeTest.cpp', | |
| 127 '../tests/PixelRefTest.cpp', | |
| 128 '../tests/PointTest.cpp', | |
| 129 '../tests/PremulAlphaRoundTripTest.cpp', | |
| 130 '../tests/QuickRejectTest.cpp', | |
| 131 '../tests/RTreeTest.cpp', | |
| 132 '../tests/RandomTest.cpp', | |
| 133 '../tests/ReadPixelsTest.cpp', | |
| 134 '../tests/ReadWriteAlphaTest.cpp', | |
| 135 '../tests/Reader32Test.cpp', | |
| 136 '../tests/RefCntTest.cpp', | |
| 137 '../tests/RefDictTest.cpp', | |
| 138 '../tests/RegionTest.cpp', | |
| 139 '../tests/ResourceCacheTest.cpp', | |
| 140 '../tests/RoundRectTest.cpp', | |
| 141 '../tests/RuntimeConfigTest.cpp', | |
| 142 '../tests/SHA1Test.cpp', | |
| 143 '../tests/ScalarTest.cpp', | |
| 144 '../tests/SerializationTest.cpp', | |
| 145 '../tests/ShaderImageFilterTest.cpp', | |
| 146 '../tests/ShaderOpacityTest.cpp', | |
| 147 '../tests/SkBase64Test.cpp', | |
| 148 '../tests/SortTest.cpp', | |
| 149 '../tests/SrcOverTest.cpp', | |
| 150 '../tests/StreamTest.cpp', | |
| 151 '../tests/StringTest.cpp', | |
| 152 '../tests/StrokeTest.cpp', | |
| 153 '../tests/SurfaceTest.cpp', | |
| 154 '../tests/TLSTest.cpp', | |
| 155 '../tests/TSetTest.cpp', | |
| 156 '../tests/Test.cpp', | |
| 157 '../tests/Test.h', | |
| 158 '../tests/TestSize.cpp', | |
| 159 '../tests/TileGridTest.cpp', | |
| 160 '../tests/TracingTest.cpp', | |
| 161 '../tests/ToUnicode.cpp', | |
| 162 '../tests/Typeface.cpp', | |
| 163 '../tests/UnicodeTest.cpp', | |
| 164 '../tests/UnitTestTest.cpp', | |
| 165 '../tests/UtilsTest.cpp', | |
| 166 '../tests/WArrayTest.cpp', | |
| 167 '../tests/WritePixelsTest.cpp', | |
| 168 '../tests/Writer32Test.cpp', | |
| 169 '../tests/XfermodeTest.cpp', | |
| 170 '../tests/skia_test.cpp', | 15 '../tests/skia_test.cpp', |
| 171 | |
| 172 '../experimental/PdfViewer/src/SkTDStackNester.h', | |
| 173 '../tests/TDStackNesterTest.cpp', | |
| 174 | |
| 175 # Needed for PipeTest. | |
| 176 '../src/pipe/utils/SamplePipeControllers.cpp', | |
| 177 | |
| 178 # Needed for MatrixClipCollapse test. | |
| 179 '../src/utils/debugger/SkDrawCommand.h', | |
| 180 '../src/utils/debugger/SkDrawCommand.cpp', | |
| 181 '../src/utils/debugger/SkDebugCanvas.h', | |
| 182 '../src/utils/debugger/SkDebugCanvas.cpp', | |
| 183 '../src/utils/debugger/SkObjectParser.h', | |
| 184 '../src/utils/debugger/SkObjectParser.cpp', | |
| 185 ], | |
| 186 'dependencies': [ | |
| 187 'skia_lib.gyp:skia_lib', | |
| 188 'flags.gyp:flags', | |
| 189 'experimental.gyp:experimental', | |
| 190 'pdf.gyp:pdf', | |
| 191 'tools.gyp:picture_utils', | |
| 192 ], | 16 ], |
| 193 'conditions': [ | 17 'conditions': [ |
| 194 [ 'skia_gpu == 1', { | 18 [ 'skia_gpu == 1', { |
| 195 'include_dirs': [ | 19 'include_dirs': [ |
| 196 '../src/gpu', | 20 '../src/gpu', |
| 197 ], | 21 ], |
| 198 }], | 22 }], |
| 199 ], | 23 ], |
| 200 }, | 24 }, |
| 201 ], | 25 ], |
| 202 } | 26 } |
| OLD | NEW |