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', |
vandebo@chromium.org | 7d6c8f9 | 2012-03-22 20:45:15 +0000 | [diff] [blame] | 14 | '../src/pdf', |
scroggo@google.com | 10dccde | 2012-08-08 20:43:22 +0000 | [diff] [blame] | 15 | '../src/pipe/utils', |
vandebo@chromium.org | ec1a7fa | 2012-03-21 23:11:46 +0000 | [diff] [blame] | 16 | '../src/utils', |
keyar@chromium.org | d1dc920 | 2012-07-09 18:32:08 +0000 | [diff] [blame] | 17 | '../tools/', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 18 | ], |
| 19 | 'sources': [ |
reed@google.com | 209c415 | 2011-10-26 15:03:48 +0000 | [diff] [blame] | 20 | '../tests/AAClipTest.cpp', |
reed@google.com | b0a34d8 | 2012-07-11 19:57:55 +0000 | [diff] [blame] | 21 | '../tests/AnnotationTest.cpp', |
scroggo@google.com | 50ccb0a | 2012-07-16 16:51:28 +0000 | [diff] [blame] | 22 | '../tests/AtomicTest.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 23 | '../tests/BitmapCopyTest.cpp', |
scroggo@google.com | 9f686f3 | 2012-11-29 21:05:37 +0000 | [diff] [blame] | 24 | '../tests/BitmapFactoryTest.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 25 | '../tests/BitmapGetColorTest.cpp', |
scroggo@google.com | 013c5d9 | 2012-11-16 20:34:37 +0000 | [diff] [blame] | 26 | '../tests/BitmapHeapTest.cpp', |
epoger@google.com | 31114c6 | 2012-12-12 17:22:23 +0000 | [diff] [blame] | 27 | '../tests/BitmapTransformerTest.cpp', |
reed@google.com | 2b75f42 | 2011-07-07 13:43:38 +0000 | [diff] [blame] | 28 | '../tests/BitSetTest.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 29 | '../tests/BlitRowTest.cpp', |
reed@google.com | 2b75f42 | 2011-07-07 13:43:38 +0000 | [diff] [blame] | 30 | '../tests/BlurTest.cpp', |
reed@google.com | 37f3ae0 | 2011-11-28 16:06:04 +0000 | [diff] [blame] | 31 | '../tests/CanvasTest.cpp', |
epoger@google.com | 4adfab8 | 2012-11-02 18:35:04 +0000 | [diff] [blame] | 32 | '../tests/ChecksumTest.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 33 | '../tests/ClampRangeTest.cpp', |
robertphillips@google.com | beeb97c | 2012-05-09 21:15:28 +0000 | [diff] [blame] | 34 | '../tests/ClipCacheTest.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 35 | '../tests/ClipCubicTest.cpp', |
| 36 | '../tests/ClipStackTest.cpp', |
| 37 | '../tests/ClipperTest.cpp', |
| 38 | '../tests/ColorFilterTest.cpp', |
| 39 | '../tests/ColorTest.cpp', |
reed@google.com | 35ae8ea | 2011-06-14 19:18:26 +0000 | [diff] [blame] | 40 | '../tests/DataRefTest.cpp', |
junov@chromium.org | 1f9767c | 2012-02-07 16:27:57 +0000 | [diff] [blame] | 41 | '../tests/DeferredCanvasTest.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 42 | '../tests/DequeTest.cpp', |
| 43 | '../tests/DrawBitmapRectTest.cpp', |
mike@reedtribe.org | 6093e65 | 2012-04-14 12:55:17 +0000 | [diff] [blame] | 44 | '../tests/DrawPathTest.cpp', |
bungeman@google.com | 2211b62 | 2012-01-13 15:02:58 +0000 | [diff] [blame] | 45 | '../tests/DrawTextTest.cpp', |
reed@google.com | ee068aa | 2011-12-21 19:36:21 +0000 | [diff] [blame] | 46 | '../tests/EmptyPathTest.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 47 | '../tests/FillPathTest.cpp', |
scroggo@google.com | 0c3e5fe | 2012-08-01 19:34:20 +0000 | [diff] [blame] | 48 | '../tests/FlatDataTest.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 49 | '../tests/FlateTest.cpp', |
bungeman@google.com | a550199 | 2012-05-18 19:06:41 +0000 | [diff] [blame] | 50 | '../tests/FontHostStreamTest.cpp', |
reed@google.com | 17aa07d | 2012-02-23 14:51:10 +0000 | [diff] [blame] | 51 | '../tests/FontHostTest.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 52 | '../tests/GeometryTest.cpp', |
bsalomon@google.com | 57f5d98 | 2011-10-24 21:17:53 +0000 | [diff] [blame] | 53 | '../tests/GLInterfaceValidation.cpp', |
bsalomon@google.com | a8e686e | 2011-08-16 15:45:58 +0000 | [diff] [blame] | 54 | '../tests/GLProgramsTest.cpp', |
scroggo@google.com | d5764e8 | 2012-08-22 15:00:05 +0000 | [diff] [blame] | 55 | '../tests/GpuBitmapCopyTest.cpp', |
keyar@chromium.org | 5bdef29 | 2012-08-14 22:02:48 +0000 | [diff] [blame] | 56 | '../tests/GrContextFactoryTest.cpp', |
reed@google.com | 8322697 | 2012-06-07 20:26:47 +0000 | [diff] [blame] | 57 | '../tests/GradientTest.cpp', |
bsalomon@google.com | 4da34e3 | 2012-06-19 15:40:27 +0000 | [diff] [blame] | 58 | '../tests/GrMemoryPoolTest.cpp', |
robertphillips@google.com | 3b57ded | 2012-09-18 17:16:33 +0000 | [diff] [blame] | 59 | '../tests/HashCacheTest.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 60 | '../tests/InfRectTest.cpp', |
bsalomon@google.com | bbe5290 | 2012-12-03 18:01:45 +0000 | [diff] [blame] | 61 | '../tests/LListTest.cpp', |
bungeman@google.com | cfcb1be | 2013-01-31 19:47:48 +0000 | [diff] [blame] | 62 | '../tests/MD5Test.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 63 | '../tests/MathTest.cpp', |
| 64 | '../tests/MatrixTest.cpp', |
reed@google.com | 125002a | 2011-06-09 19:13:41 +0000 | [diff] [blame] | 65 | '../tests/Matrix44Test.cpp', |
mike@reedtribe.org | c52b192 | 2012-01-07 03:49:13 +0000 | [diff] [blame] | 66 | '../tests/MemsetTest.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 67 | '../tests/MetaDataTest.cpp', |
| 68 | '../tests/PackBitsTest.cpp', |
| 69 | '../tests/PaintTest.cpp', |
| 70 | '../tests/ParsePathTest.cpp', |
tomhudson@google.com | fc1539a | 2011-06-24 15:43:24 +0000 | [diff] [blame] | 71 | '../tests/PathCoverageTest.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 72 | '../tests/PathMeasureTest.cpp', |
| 73 | '../tests/PathTest.cpp', |
| 74 | '../tests/PDFPrimitivesTest.cpp', |
scroggo@google.com | d614c6a | 2012-09-14 17:26:37 +0000 | [diff] [blame] | 75 | '../tests/PictureTest.cpp', |
keyar@chromium.org | d1dc920 | 2012-07-09 18:32:08 +0000 | [diff] [blame] | 76 | '../tests/PictureUtilsTest.cpp', |
scroggo@google.com | d614c6a | 2012-09-14 17:26:37 +0000 | [diff] [blame] | 77 | '../tests/PipeTest.cpp', |
epoger@google.com | d33f75c | 2011-06-15 18:49:21 +0000 | [diff] [blame] | 78 | '../tests/PointTest.cpp', |
bsalomon@google.com | a91e923 | 2012-02-23 15:39:54 +0000 | [diff] [blame] | 79 | '../tests/PremulAlphaRoundTripTest.cpp', |
reed@google.com | 3d60812 | 2011-11-21 15:16:16 +0000 | [diff] [blame] | 80 | '../tests/QuickRejectTest.cpp', |
jvanverth@google.com | 5a90ada | 2013-02-08 17:13:09 +0000 | [diff] [blame] | 81 | '../tests/RandomTest.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 82 | '../tests/Reader32Test.cpp', |
bsalomon@google.com | c698097 | 2011-11-02 19:57:21 +0000 | [diff] [blame] | 83 | '../tests/ReadPixelsTest.cpp', |
robertphillips@google.com | 443e5a5 | 2012-04-30 20:01:21 +0000 | [diff] [blame] | 84 | '../tests/ReadWriteAlphaTest.cpp', |
bungeman@google.com | 5548752 | 2012-05-14 14:09:24 +0000 | [diff] [blame] | 85 | '../tests/RefCntTest.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 86 | '../tests/RefDictTest.cpp', |
| 87 | '../tests/RegionTest.cpp', |
robertphillips@google.com | 5985e7c | 2012-11-29 13:24:55 +0000 | [diff] [blame] | 88 | '../tests/RoundRectTest.cpp', |
rileya@google.com | 1f45e93 | 2012-09-05 16:10:59 +0000 | [diff] [blame] | 89 | '../tests/RTreeTest.cpp', |
bungeman@google.com | cfcb1be | 2013-01-31 19:47:48 +0000 | [diff] [blame] | 90 | '../tests/SHA1Test.cpp', |
reed@google.com | d230e3e | 2011-12-05 20:49:37 +0000 | [diff] [blame] | 91 | '../tests/ScalarTest.cpp', |
sugoi@google.com | a1c511b | 2013-02-21 15:02:28 +0000 | [diff] [blame] | 92 | '../tests/ShaderImageFilterTest.cpp', |
junov@chromium.org | b6e1619 | 2011-12-09 15:48:03 +0000 | [diff] [blame] | 93 | '../tests/ShaderOpacityTest.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 94 | '../tests/Sk64Test.cpp', |
| 95 | '../tests/skia_test.cpp', |
| 96 | '../tests/SortTest.cpp', |
| 97 | '../tests/SrcOverTest.cpp', |
| 98 | '../tests/StreamTest.cpp', |
| 99 | '../tests/StringTest.cpp', |
reed@google.com | 603dbed | 2012-11-20 19:00:28 +0000 | [diff] [blame] | 100 | '../tests/StrokeTest.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 101 | '../tests/Test.cpp', |
bsalomon@google.com | a8e686e | 2011-08-16 15:45:58 +0000 | [diff] [blame] | 102 | '../tests/Test.h', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 103 | '../tests/TestSize.cpp', |
junov@chromium.org | adc58e4 | 2012-11-07 17:38:38 +0000 | [diff] [blame] | 104 | '../tests/TileGridTest.cpp', |
reed@google.com | 7b57892 | 2012-05-21 15:29:27 +0000 | [diff] [blame] | 105 | '../tests/TLSTest.cpp', |
edisonn@google.com | 04115a1 | 2013-02-25 20:07:24 +0000 | [diff] [blame] | 106 | '../tests/TSetTest.cpp', |
bsalomon@google.com | a8e686e | 2011-08-16 15:45:58 +0000 | [diff] [blame] | 107 | '../tests/ToUnicode.cpp', |
reed@google.com | 419f433 | 2011-12-21 15:21:32 +0000 | [diff] [blame] | 108 | '../tests/UnicodeTest.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 109 | '../tests/UtilsTest.cpp', |
vandebo@chromium.org | beb7fe1 | 2011-11-11 19:38:54 +0000 | [diff] [blame] | 110 | '../tests/WArrayTest.cpp', |
bsalomon@google.com | d58a1cd | 2011-11-10 20:57:43 +0000 | [diff] [blame] | 111 | '../tests/WritePixelsTest.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 112 | '../tests/Writer32Test.cpp', |
| 113 | '../tests/XfermodeTest.cpp', |
scroggo@google.com | 10dccde | 2012-08-08 20:43:22 +0000 | [diff] [blame] | 114 | |
| 115 | # Needed for PipeTest. |
| 116 | '../src/pipe/utils/SamplePipeControllers.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 117 | ], |
| 118 | 'dependencies': [ |
borenet@google.com | efb1d77 | 2012-10-10 19:45:51 +0000 | [diff] [blame] | 119 | 'skia_base_libs.gyp:skia_base_libs', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 120 | 'effects.gyp:effects', |
reed@google.com | 125002a | 2011-06-09 19:13:41 +0000 | [diff] [blame] | 121 | 'experimental.gyp:experimental', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 122 | 'images.gyp:images', |
epoger@google.com | dcab3a1 | 2011-06-24 19:09:09 +0000 | [diff] [blame] | 123 | 'pdf.gyp:pdf', |
keyar@chromium.org | d1dc920 | 2012-07-09 18:32:08 +0000 | [diff] [blame] | 124 | 'tools.gyp:picture_utils', |
epoger@google.com | 4adfab8 | 2012-11-02 18:35:04 +0000 | [diff] [blame] | 125 | 'utils.gyp:utils', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 126 | ], |
bsalomon@google.com | cf8fb1f | 2012-08-02 14:03:32 +0000 | [diff] [blame] | 127 | 'conditions': [ |
| 128 | [ 'skia_gpu == 1', { |
| 129 | 'include_dirs': [ |
| 130 | '../src/gpu', |
| 131 | ], |
bsalomon@google.com | cf8fb1f | 2012-08-02 14:03:32 +0000 | [diff] [blame] | 132 | }], |
| 133 | ], |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 134 | }, |
| 135 | ], |
| 136 | } |
| 137 | |
| 138 | # Local Variables: |
| 139 | # tab-width:2 |
| 140 | # indent-tabs-mode:nil |
| 141 | # End: |
| 142 | # vim: set expandtab tabstop=2 shiftwidth=2: |