epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 1 | # GYP file to build unit tests. |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 2 | { |
| 3 | 'includes': [ |
| 4 | 'apptype_console.gypi', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 5 | ], |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 6 | 'targets': [ |
| 7 | { |
| 8 | 'target_name': 'tests', |
| 9 | 'type': 'executable', |
| 10 | 'include_dirs' : [ |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 11 | '../src/core', |
tomhudson@google.com | 5994451 | 2012-03-20 21:18:43 +0000 | [diff] [blame] | 12 | '../src/effects', |
scroggo@google.com | f8d7d27 | 2013-02-22 21:38:35 +0000 | [diff] [blame] | 13 | '../src/lazy', |
caryclark@google.com | 45a75fb | 2013-04-25 13:34:40 +0000 | [diff] [blame] | 14 | '../src/pathops', |
vandebo@chromium.org | 7d6c8f9 | 2012-03-22 20:45:15 +0000 | [diff] [blame] | 15 | '../src/pdf', |
scroggo@google.com | 10dccde | 2012-08-08 20:43:22 +0000 | [diff] [blame] | 16 | '../src/pipe/utils', |
vandebo@chromium.org | ec1a7fa | 2012-03-21 23:11:46 +0000 | [diff] [blame] | 17 | '../src/utils', |
keyar@chromium.org | d1dc920 | 2012-07-09 18:32:08 +0000 | [diff] [blame] | 18 | '../tools/', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 19 | ], |
caryclark@google.com | f685a22 | 2013-04-19 11:45:56 +0000 | [diff] [blame] | 20 | 'includes': [ |
caryclark@google.com | f685a22 | 2013-04-19 11:45:56 +0000 | [diff] [blame] | 21 | 'pathops_unittest.gypi', |
| 22 | ], |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 23 | 'sources': [ |
reed@google.com | 209c415 | 2011-10-26 15:03:48 +0000 | [diff] [blame] | 24 | '../tests/AAClipTest.cpp', |
reed@google.com | b0a34d8 | 2012-07-11 19:57:55 +0000 | [diff] [blame] | 25 | '../tests/AnnotationTest.cpp', |
bungeman@google.com | 8c6a4f2 | 2013-04-23 18:06:23 +0000 | [diff] [blame] | 26 | '../tests/ARGBImageEncoderTest.cpp', |
scroggo@google.com | 50ccb0a | 2012-07-16 16:51:28 +0000 | [diff] [blame] | 27 | '../tests/AtomicTest.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 28 | '../tests/BitmapCopyTest.cpp', |
scroggo@google.com | 9f686f3 | 2012-11-29 21:05:37 +0000 | [diff] [blame] | 29 | '../tests/BitmapFactoryTest.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 30 | '../tests/BitmapGetColorTest.cpp', |
epoger@google.com | 908f583 | 2013-04-12 02:23:55 +0000 | [diff] [blame] | 31 | '../tests/BitmapHasherTest.cpp', |
scroggo@google.com | 013c5d9 | 2012-11-16 20:34:37 +0000 | [diff] [blame] | 32 | '../tests/BitmapHeapTest.cpp', |
reed@google.com | 2b75f42 | 2011-07-07 13:43:38 +0000 | [diff] [blame] | 33 | '../tests/BitSetTest.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 34 | '../tests/BlitRowTest.cpp', |
reed@google.com | 2b75f42 | 2011-07-07 13:43:38 +0000 | [diff] [blame] | 35 | '../tests/BlurTest.cpp', |
reed@google.com | 37f3ae0 | 2011-11-28 16:06:04 +0000 | [diff] [blame] | 36 | '../tests/CanvasTest.cpp', |
epoger@google.com | 4adfab8 | 2012-11-02 18:35:04 +0000 | [diff] [blame] | 37 | '../tests/ChecksumTest.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 38 | '../tests/ClampRangeTest.cpp', |
robertphillips@google.com | beeb97c | 2012-05-09 21:15:28 +0000 | [diff] [blame] | 39 | '../tests/ClipCacheTest.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 40 | '../tests/ClipCubicTest.cpp', |
| 41 | '../tests/ClipStackTest.cpp', |
| 42 | '../tests/ClipperTest.cpp', |
| 43 | '../tests/ColorFilterTest.cpp', |
| 44 | '../tests/ColorTest.cpp', |
reed@google.com | 35ae8ea | 2011-06-14 19:18:26 +0000 | [diff] [blame] | 45 | '../tests/DataRefTest.cpp', |
junov@chromium.org | 1f9767c | 2012-02-07 16:27:57 +0000 | [diff] [blame] | 46 | '../tests/DeferredCanvasTest.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 47 | '../tests/DequeTest.cpp', |
| 48 | '../tests/DrawBitmapRectTest.cpp', |
mike@reedtribe.org | 6093e65 | 2012-04-14 12:55:17 +0000 | [diff] [blame] | 49 | '../tests/DrawPathTest.cpp', |
bungeman@google.com | 2211b62 | 2012-01-13 15:02:58 +0000 | [diff] [blame] | 50 | '../tests/DrawTextTest.cpp', |
reed@google.com | ee068aa | 2011-12-21 19:36:21 +0000 | [diff] [blame] | 51 | '../tests/EmptyPathTest.cpp', |
humper@google.com | 75e3ca1 | 2013-04-08 21:44:11 +0000 | [diff] [blame] | 52 | '../tests/ErrorTest.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 53 | '../tests/FillPathTest.cpp', |
scroggo@google.com | 0c3e5fe | 2012-08-01 19:34:20 +0000 | [diff] [blame] | 54 | '../tests/FlatDataTest.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 55 | '../tests/FlateTest.cpp', |
bungeman@google.com | a550199 | 2012-05-18 19:06:41 +0000 | [diff] [blame] | 56 | '../tests/FontHostStreamTest.cpp', |
reed@google.com | 17aa07d | 2012-02-23 14:51:10 +0000 | [diff] [blame] | 57 | '../tests/FontHostTest.cpp', |
reed@google.com | 83165a5 | 2013-04-11 18:31:25 +0000 | [diff] [blame] | 58 | '../tests/FontMgrTest.cpp', |
bungeman@google.com | 07a69f8 | 2013-04-02 14:12:38 +0000 | [diff] [blame] | 59 | '../tests/FontNamesTest.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 60 | '../tests/GeometryTest.cpp', |
bsalomon@google.com | 57f5d98 | 2011-10-24 21:17:53 +0000 | [diff] [blame] | 61 | '../tests/GLInterfaceValidation.cpp', |
bsalomon@google.com | a8e686e | 2011-08-16 15:45:58 +0000 | [diff] [blame] | 62 | '../tests/GLProgramsTest.cpp', |
scroggo@google.com | d5764e8 | 2012-08-22 15:00:05 +0000 | [diff] [blame] | 63 | '../tests/GpuBitmapCopyTest.cpp', |
keyar@chromium.org | 5bdef29 | 2012-08-14 22:02:48 +0000 | [diff] [blame] | 64 | '../tests/GrContextFactoryTest.cpp', |
reed@google.com | 8322697 | 2012-06-07 20:26:47 +0000 | [diff] [blame] | 65 | '../tests/GradientTest.cpp', |
bsalomon@google.com | 4da34e3 | 2012-06-19 15:40:27 +0000 | [diff] [blame] | 66 | '../tests/GrMemoryPoolTest.cpp', |
bsalomon@google.com | 686bcb8 | 2013-04-09 15:04:12 +0000 | [diff] [blame] | 67 | '../tests/GrSurfaceTest.cpp', |
robertphillips@google.com | 3b57ded | 2012-09-18 17:16:33 +0000 | [diff] [blame] | 68 | '../tests/HashCacheTest.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 69 | '../tests/InfRectTest.cpp', |
bsalomon@google.com | bbe5290 | 2012-12-03 18:01:45 +0000 | [diff] [blame] | 70 | '../tests/LListTest.cpp', |
commit-bot@chromium.org | 8f83825 | 2013-05-22 12:35:50 +0000 | [diff] [blame] | 71 | '../tests/LayerDrawLooperTest.cpp', |
bungeman@google.com | cfcb1be | 2013-01-31 19:47:48 +0000 | [diff] [blame] | 72 | '../tests/MD5Test.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 73 | '../tests/MathTest.cpp', |
| 74 | '../tests/MatrixTest.cpp', |
reed@google.com | 125002a | 2011-06-09 19:13:41 +0000 | [diff] [blame] | 75 | '../tests/Matrix44Test.cpp', |
mike@reedtribe.org | c52b192 | 2012-01-07 03:49:13 +0000 | [diff] [blame] | 76 | '../tests/MemsetTest.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 77 | '../tests/MetaDataTest.cpp', |
scroggo@google.com | ccd7afb | 2013-05-28 16:45:07 +0000 | [diff] [blame] | 78 | '../tests/OSPathTest.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 79 | '../tests/PackBitsTest.cpp', |
| 80 | '../tests/PaintTest.cpp', |
| 81 | '../tests/ParsePathTest.cpp', |
tomhudson@google.com | fc1539a | 2011-06-24 15:43:24 +0000 | [diff] [blame] | 82 | '../tests/PathCoverageTest.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 83 | '../tests/PathMeasureTest.cpp', |
| 84 | '../tests/PathTest.cpp', |
| 85 | '../tests/PDFPrimitivesTest.cpp', |
scroggo@google.com | d614c6a | 2012-09-14 17:26:37 +0000 | [diff] [blame] | 86 | '../tests/PictureTest.cpp', |
keyar@chromium.org | d1dc920 | 2012-07-09 18:32:08 +0000 | [diff] [blame] | 87 | '../tests/PictureUtilsTest.cpp', |
scroggo@google.com | d614c6a | 2012-09-14 17:26:37 +0000 | [diff] [blame] | 88 | '../tests/PipeTest.cpp', |
epoger@google.com | d33f75c | 2011-06-15 18:49:21 +0000 | [diff] [blame] | 89 | '../tests/PointTest.cpp', |
bsalomon@google.com | a91e923 | 2012-02-23 15:39:54 +0000 | [diff] [blame] | 90 | '../tests/PremulAlphaRoundTripTest.cpp', |
reed@google.com | 3d60812 | 2011-11-21 15:16:16 +0000 | [diff] [blame] | 91 | '../tests/QuickRejectTest.cpp', |
jvanverth@google.com | 5a90ada | 2013-02-08 17:13:09 +0000 | [diff] [blame] | 92 | '../tests/RandomTest.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 93 | '../tests/Reader32Test.cpp', |
bsalomon@google.com | c698097 | 2011-11-02 19:57:21 +0000 | [diff] [blame] | 94 | '../tests/ReadPixelsTest.cpp', |
robertphillips@google.com | 443e5a5 | 2012-04-30 20:01:21 +0000 | [diff] [blame] | 95 | '../tests/ReadWriteAlphaTest.cpp', |
bungeman@google.com | 5548752 | 2012-05-14 14:09:24 +0000 | [diff] [blame] | 96 | '../tests/RefCntTest.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 97 | '../tests/RefDictTest.cpp', |
| 98 | '../tests/RegionTest.cpp', |
robertphillips@google.com | 5985e7c | 2012-11-29 13:24:55 +0000 | [diff] [blame] | 99 | '../tests/RoundRectTest.cpp', |
rileya@google.com | 1f45e93 | 2012-09-05 16:10:59 +0000 | [diff] [blame] | 100 | '../tests/RTreeTest.cpp', |
bungeman@google.com | cfcb1be | 2013-01-31 19:47:48 +0000 | [diff] [blame] | 101 | '../tests/SHA1Test.cpp', |
reed@google.com | d230e3e | 2011-12-05 20:49:37 +0000 | [diff] [blame] | 102 | '../tests/ScalarTest.cpp', |
sugoi@google.com | a1c511b | 2013-02-21 15:02:28 +0000 | [diff] [blame] | 103 | '../tests/ShaderImageFilterTest.cpp', |
junov@chromium.org | b6e1619 | 2011-12-09 15:48:03 +0000 | [diff] [blame] | 104 | '../tests/ShaderOpacityTest.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 105 | '../tests/Sk64Test.cpp', |
| 106 | '../tests/skia_test.cpp', |
| 107 | '../tests/SortTest.cpp', |
| 108 | '../tests/SrcOverTest.cpp', |
| 109 | '../tests/StreamTest.cpp', |
| 110 | '../tests/StringTest.cpp', |
reed@google.com | 603dbed | 2012-11-20 19:00:28 +0000 | [diff] [blame] | 111 | '../tests/StrokeTest.cpp', |
junov@chromium.org | 995beb6 | 2013-03-28 13:49:22 +0000 | [diff] [blame] | 112 | '../tests/SurfaceTest.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 113 | '../tests/Test.cpp', |
bsalomon@google.com | a8e686e | 2011-08-16 15:45:58 +0000 | [diff] [blame] | 114 | '../tests/Test.h', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 115 | '../tests/TestSize.cpp', |
junov@chromium.org | adc58e4 | 2012-11-07 17:38:38 +0000 | [diff] [blame] | 116 | '../tests/TileGridTest.cpp', |
reed@google.com | 7b57892 | 2012-05-21 15:29:27 +0000 | [diff] [blame] | 117 | '../tests/TLSTest.cpp', |
edisonn@google.com | 04115a1 | 2013-02-25 20:07:24 +0000 | [diff] [blame] | 118 | '../tests/TSetTest.cpp', |
bsalomon@google.com | a8e686e | 2011-08-16 15:45:58 +0000 | [diff] [blame] | 119 | '../tests/ToUnicode.cpp', |
reed@google.com | 419f433 | 2011-12-21 15:21:32 +0000 | [diff] [blame] | 120 | '../tests/UnicodeTest.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 121 | '../tests/UtilsTest.cpp', |
vandebo@chromium.org | beb7fe1 | 2011-11-11 19:38:54 +0000 | [diff] [blame] | 122 | '../tests/WArrayTest.cpp', |
bsalomon@google.com | d58a1cd | 2011-11-10 20:57:43 +0000 | [diff] [blame] | 123 | '../tests/WritePixelsTest.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 124 | '../tests/Writer32Test.cpp', |
| 125 | '../tests/XfermodeTest.cpp', |
scroggo@google.com | 10dccde | 2012-08-08 20:43:22 +0000 | [diff] [blame] | 126 | |
| 127 | # Needed for PipeTest. |
| 128 | '../src/pipe/utils/SamplePipeControllers.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 129 | ], |
| 130 | 'dependencies': [ |
djsollen@google.com | a96627f | 2013-05-31 20:09:47 +0000 | [diff] [blame^] | 131 | 'skia_base_libs.gyp:skia_base_libs', |
| 132 | 'effects.gyp:effects', |
commit-bot@chromium.org | ba59d64 | 2013-04-11 16:54:09 +0000 | [diff] [blame] | 133 | 'flags.gyp:flags', |
reed@google.com | 125002a | 2011-06-09 19:13:41 +0000 | [diff] [blame] | 134 | 'experimental.gyp:experimental', |
djsollen@google.com | a96627f | 2013-05-31 20:09:47 +0000 | [diff] [blame^] | 135 | 'images.gyp:images', |
epoger@google.com | dcab3a1 | 2011-06-24 19:09:09 +0000 | [diff] [blame] | 136 | 'pdf.gyp:pdf', |
keyar@chromium.org | d1dc920 | 2012-07-09 18:32:08 +0000 | [diff] [blame] | 137 | 'tools.gyp:picture_utils', |
djsollen@google.com | a96627f | 2013-05-31 20:09:47 +0000 | [diff] [blame^] | 138 | 'utils.gyp:utils', |
| 139 | 'sfnt.gyp:sfnt', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 140 | ], |
bsalomon@google.com | cf8fb1f | 2012-08-02 14:03:32 +0000 | [diff] [blame] | 141 | 'conditions': [ |
| 142 | [ 'skia_gpu == 1', { |
| 143 | 'include_dirs': [ |
| 144 | '../src/gpu', |
| 145 | ], |
bsalomon@google.com | cf8fb1f | 2012-08-02 14:03:32 +0000 | [diff] [blame] | 146 | }], |
borenet@google.com | 327b9b2 | 2013-03-07 15:33:28 +0000 | [diff] [blame] | 147 | [ 'skia_os == "nacl"', { |
| 148 | # CityHash is not supported on NaCl because the NaCl toolchain is |
| 149 | # missing byteswap.h which is needed by CityHash. |
| 150 | # TODO(borenet): Find a way to either provide this dependency or |
| 151 | # replace it. |
| 152 | 'sources!': [ |
epoger@google.com | 908f583 | 2013-04-12 02:23:55 +0000 | [diff] [blame] | 153 | '../tests/BitmapHasherTest.cpp', |
borenet@google.com | 327b9b2 | 2013-03-07 15:33:28 +0000 | [diff] [blame] | 154 | '../tests/ChecksumTest.cpp', |
| 155 | ], |
| 156 | }], |
bsalomon@google.com | cf8fb1f | 2012-08-02 14:03:32 +0000 | [diff] [blame] | 157 | ], |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 158 | }, |
| 159 | ], |
| 160 | } |
| 161 | |
| 162 | # Local Variables: |
| 163 | # tab-width:2 |
| 164 | # indent-tabs-mode:nil |
| 165 | # End: |
| 166 | # vim: set expandtab tabstop=2 shiftwidth=2: |