blob: 6d6998b0b7698ee73e438869888a33124a5423bb [file] [log] [blame]
epoger@google.comccdbd2c2011-06-02 14:38:23 +00001# GYP file to build unit tests.
epoger@google.comccdbd2c2011-06-02 14:38:23 +00002{
3 'includes': [
4 'apptype_console.gypi',
epoger@google.comccdbd2c2011-06-02 14:38:23 +00005 ],
epoger@google.comccdbd2c2011-06-02 14:38:23 +00006 'targets': [
7 {
8 'target_name': 'tests',
9 'type': 'executable',
10 'include_dirs' : [
epoger@google.comccdbd2c2011-06-02 14:38:23 +000011 '../src/core',
tomhudson@google.com59944512012-03-20 21:18:43 +000012 '../src/effects',
scroggo@google.comf8d7d272013-02-22 21:38:35 +000013 '../src/lazy',
vandebo@chromium.org7d6c8f92012-03-22 20:45:15 +000014 '../src/pdf',
scroggo@google.com10dccde2012-08-08 20:43:22 +000015 '../src/pipe/utils',
vandebo@chromium.orgec1a7fa2012-03-21 23:11:46 +000016 '../src/utils',
keyar@chromium.orgd1dc9202012-07-09 18:32:08 +000017 '../tools/',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000018 ],
19 'sources': [
reed@google.com209c4152011-10-26 15:03:48 +000020 '../tests/AAClipTest.cpp',
reed@google.comb0a34d82012-07-11 19:57:55 +000021 '../tests/AnnotationTest.cpp',
scroggo@google.com50ccb0a2012-07-16 16:51:28 +000022 '../tests/AtomicTest.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000023 '../tests/BitmapCopyTest.cpp',
scroggo@google.com9f686f32012-11-29 21:05:37 +000024 '../tests/BitmapFactoryTest.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000025 '../tests/BitmapGetColorTest.cpp',
scroggo@google.com013c5d92012-11-16 20:34:37 +000026 '../tests/BitmapHeapTest.cpp',
epoger@google.com31114c62012-12-12 17:22:23 +000027 '../tests/BitmapTransformerTest.cpp',
reed@google.com2b75f422011-07-07 13:43:38 +000028 '../tests/BitSetTest.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000029 '../tests/BlitRowTest.cpp',
reed@google.com2b75f422011-07-07 13:43:38 +000030 '../tests/BlurTest.cpp',
reed@google.com37f3ae02011-11-28 16:06:04 +000031 '../tests/CanvasTest.cpp',
epoger@google.com4adfab82012-11-02 18:35:04 +000032 '../tests/ChecksumTest.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000033 '../tests/ClampRangeTest.cpp',
robertphillips@google.combeeb97c2012-05-09 21:15:28 +000034 '../tests/ClipCacheTest.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000035 '../tests/ClipCubicTest.cpp',
36 '../tests/ClipStackTest.cpp',
37 '../tests/ClipperTest.cpp',
38 '../tests/ColorFilterTest.cpp',
39 '../tests/ColorTest.cpp',
reed@google.com35ae8ea2011-06-14 19:18:26 +000040 '../tests/DataRefTest.cpp',
junov@chromium.org1f9767c2012-02-07 16:27:57 +000041 '../tests/DeferredCanvasTest.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000042 '../tests/DequeTest.cpp',
43 '../tests/DrawBitmapRectTest.cpp',
mike@reedtribe.org6093e652012-04-14 12:55:17 +000044 '../tests/DrawPathTest.cpp',
bungeman@google.com2211b622012-01-13 15:02:58 +000045 '../tests/DrawTextTest.cpp',
reed@google.comee068aa2011-12-21 19:36:21 +000046 '../tests/EmptyPathTest.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000047 '../tests/FillPathTest.cpp',
scroggo@google.com0c3e5fe2012-08-01 19:34:20 +000048 '../tests/FlatDataTest.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000049 '../tests/FlateTest.cpp',
bungeman@google.coma5501992012-05-18 19:06:41 +000050 '../tests/FontHostStreamTest.cpp',
reed@google.com17aa07d2012-02-23 14:51:10 +000051 '../tests/FontHostTest.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000052 '../tests/GeometryTest.cpp',
bsalomon@google.com57f5d982011-10-24 21:17:53 +000053 '../tests/GLInterfaceValidation.cpp',
bsalomon@google.coma8e686e2011-08-16 15:45:58 +000054 '../tests/GLProgramsTest.cpp',
scroggo@google.comd5764e82012-08-22 15:00:05 +000055 '../tests/GpuBitmapCopyTest.cpp',
keyar@chromium.org5bdef292012-08-14 22:02:48 +000056 '../tests/GrContextFactoryTest.cpp',
reed@google.com83226972012-06-07 20:26:47 +000057 '../tests/GradientTest.cpp',
bsalomon@google.com4da34e32012-06-19 15:40:27 +000058 '../tests/GrMemoryPoolTest.cpp',
robertphillips@google.com3b57ded2012-09-18 17:16:33 +000059 '../tests/HashCacheTest.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000060 '../tests/InfRectTest.cpp',
bsalomon@google.combbe52902012-12-03 18:01:45 +000061 '../tests/LListTest.cpp',
bungeman@google.comcfcb1be2013-01-31 19:47:48 +000062 '../tests/MD5Test.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000063 '../tests/MathTest.cpp',
64 '../tests/MatrixTest.cpp',
reed@google.com125002a2011-06-09 19:13:41 +000065 '../tests/Matrix44Test.cpp',
mike@reedtribe.orgc52b1922012-01-07 03:49:13 +000066 '../tests/MemsetTest.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000067 '../tests/MetaDataTest.cpp',
68 '../tests/PackBitsTest.cpp',
69 '../tests/PaintTest.cpp',
70 '../tests/ParsePathTest.cpp',
tomhudson@google.comfc1539a2011-06-24 15:43:24 +000071 '../tests/PathCoverageTest.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000072 '../tests/PathMeasureTest.cpp',
73 '../tests/PathTest.cpp',
74 '../tests/PDFPrimitivesTest.cpp',
scroggo@google.comd614c6a2012-09-14 17:26:37 +000075 '../tests/PictureTest.cpp',
keyar@chromium.orgd1dc9202012-07-09 18:32:08 +000076 '../tests/PictureUtilsTest.cpp',
scroggo@google.comd614c6a2012-09-14 17:26:37 +000077 '../tests/PipeTest.cpp',
epoger@google.comd33f75c2011-06-15 18:49:21 +000078 '../tests/PointTest.cpp',
bsalomon@google.coma91e9232012-02-23 15:39:54 +000079 '../tests/PremulAlphaRoundTripTest.cpp',
reed@google.com3d608122011-11-21 15:16:16 +000080 '../tests/QuickRejectTest.cpp',
jvanverth@google.com5a90ada2013-02-08 17:13:09 +000081 '../tests/RandomTest.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000082 '../tests/Reader32Test.cpp',
bsalomon@google.comc6980972011-11-02 19:57:21 +000083 '../tests/ReadPixelsTest.cpp',
robertphillips@google.com443e5a52012-04-30 20:01:21 +000084 '../tests/ReadWriteAlphaTest.cpp',
bungeman@google.com55487522012-05-14 14:09:24 +000085 '../tests/RefCntTest.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000086 '../tests/RefDictTest.cpp',
87 '../tests/RegionTest.cpp',
robertphillips@google.com5985e7c2012-11-29 13:24:55 +000088 '../tests/RoundRectTest.cpp',
rileya@google.com1f45e932012-09-05 16:10:59 +000089 '../tests/RTreeTest.cpp',
bungeman@google.comcfcb1be2013-01-31 19:47:48 +000090 '../tests/SHA1Test.cpp',
reed@google.comd230e3e2011-12-05 20:49:37 +000091 '../tests/ScalarTest.cpp',
sugoi@google.coma1c511b2013-02-21 15:02:28 +000092 '../tests/ShaderImageFilterTest.cpp',
junov@chromium.orgb6e16192011-12-09 15:48:03 +000093 '../tests/ShaderOpacityTest.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000094 '../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.com603dbed2012-11-20 19:00:28 +0000100 '../tests/StrokeTest.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +0000101 '../tests/Test.cpp',
bsalomon@google.coma8e686e2011-08-16 15:45:58 +0000102 '../tests/Test.h',
epoger@google.comccdbd2c2011-06-02 14:38:23 +0000103 '../tests/TestSize.cpp',
junov@chromium.orgadc58e42012-11-07 17:38:38 +0000104 '../tests/TileGridTest.cpp',
reed@google.com7b578922012-05-21 15:29:27 +0000105 '../tests/TLSTest.cpp',
edisonn@google.com04115a12013-02-25 20:07:24 +0000106 '../tests/TSetTest.cpp',
bsalomon@google.coma8e686e2011-08-16 15:45:58 +0000107 '../tests/ToUnicode.cpp',
reed@google.com419f4332011-12-21 15:21:32 +0000108 '../tests/UnicodeTest.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +0000109 '../tests/UtilsTest.cpp',
vandebo@chromium.orgbeb7fe12011-11-11 19:38:54 +0000110 '../tests/WArrayTest.cpp',
bsalomon@google.comd58a1cd2011-11-10 20:57:43 +0000111 '../tests/WritePixelsTest.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +0000112 '../tests/Writer32Test.cpp',
113 '../tests/XfermodeTest.cpp',
scroggo@google.com10dccde2012-08-08 20:43:22 +0000114
115 # Needed for PipeTest.
116 '../src/pipe/utils/SamplePipeControllers.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +0000117 ],
118 'dependencies': [
borenet@google.comefb1d772012-10-10 19:45:51 +0000119 'skia_base_libs.gyp:skia_base_libs',
epoger@google.comccdbd2c2011-06-02 14:38:23 +0000120 'effects.gyp:effects',
reed@google.com125002a2011-06-09 19:13:41 +0000121 'experimental.gyp:experimental',
epoger@google.comccdbd2c2011-06-02 14:38:23 +0000122 'images.gyp:images',
epoger@google.comdcab3a12011-06-24 19:09:09 +0000123 'pdf.gyp:pdf',
keyar@chromium.orgd1dc9202012-07-09 18:32:08 +0000124 'tools.gyp:picture_utils',
epoger@google.com4adfab82012-11-02 18:35:04 +0000125 'utils.gyp:utils',
epoger@google.comccdbd2c2011-06-02 14:38:23 +0000126 ],
bsalomon@google.comcf8fb1f2012-08-02 14:03:32 +0000127 'conditions': [
128 [ 'skia_gpu == 1', {
129 'include_dirs': [
130 '../src/gpu',
131 ],
bsalomon@google.comcf8fb1f2012-08-02 14:03:32 +0000132 }],
133 ],
epoger@google.comccdbd2c2011-06-02 14:38:23 +0000134 },
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: