blob: 066435caf6d0caf8837fa5f9f7575028105bffae [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',
vandebo@chromium.org7d6c8f92012-03-22 20:45:15 +000013 '../src/pdf',
scroggo@google.com10dccde2012-08-08 20:43:22 +000014 '../src/pipe/utils',
vandebo@chromium.orgec1a7fa2012-03-21 23:11:46 +000015 '../src/utils',
keyar@chromium.orgd1dc9202012-07-09 18:32:08 +000016 '../tools/',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000017 ],
18 'sources': [
reed@google.com209c4152011-10-26 15:03:48 +000019 '../tests/AAClipTest.cpp',
reed@google.comb0a34d82012-07-11 19:57:55 +000020 '../tests/AnnotationTest.cpp',
scroggo@google.com50ccb0a2012-07-16 16:51:28 +000021 '../tests/AtomicTest.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000022 '../tests/BitmapCopyTest.cpp',
scroggo@google.com9f686f32012-11-29 21:05:37 +000023 '../tests/BitmapFactoryTest.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000024 '../tests/BitmapGetColorTest.cpp',
scroggo@google.com013c5d92012-11-16 20:34:37 +000025 '../tests/BitmapHeapTest.cpp',
epoger@google.com31114c62012-12-12 17:22:23 +000026 '../tests/BitmapTransformerTest.cpp',
reed@google.com2b75f422011-07-07 13:43:38 +000027 '../tests/BitSetTest.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000028 '../tests/BlitRowTest.cpp',
reed@google.com2b75f422011-07-07 13:43:38 +000029 '../tests/BlurTest.cpp',
reed@google.com37f3ae02011-11-28 16:06:04 +000030 '../tests/CanvasTest.cpp',
epoger@google.com4adfab82012-11-02 18:35:04 +000031 '../tests/ChecksumTest.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000032 '../tests/ClampRangeTest.cpp',
robertphillips@google.combeeb97c2012-05-09 21:15:28 +000033 '../tests/ClipCacheTest.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000034 '../tests/ClipCubicTest.cpp',
35 '../tests/ClipStackTest.cpp',
36 '../tests/ClipperTest.cpp',
37 '../tests/ColorFilterTest.cpp',
38 '../tests/ColorTest.cpp',
reed@google.com35ae8ea2011-06-14 19:18:26 +000039 '../tests/DataRefTest.cpp',
junov@chromium.org1f9767c2012-02-07 16:27:57 +000040 '../tests/DeferredCanvasTest.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000041 '../tests/DequeTest.cpp',
42 '../tests/DrawBitmapRectTest.cpp',
mike@reedtribe.org6093e652012-04-14 12:55:17 +000043 '../tests/DrawPathTest.cpp',
bungeman@google.com2211b622012-01-13 15:02:58 +000044 '../tests/DrawTextTest.cpp',
reed@google.comee068aa2011-12-21 19:36:21 +000045 '../tests/EmptyPathTest.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000046 '../tests/FillPathTest.cpp',
scroggo@google.com0c3e5fe2012-08-01 19:34:20 +000047 '../tests/FlatDataTest.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000048 '../tests/FlateTest.cpp',
bungeman@google.coma5501992012-05-18 19:06:41 +000049 '../tests/FontHostStreamTest.cpp',
reed@google.com17aa07d2012-02-23 14:51:10 +000050 '../tests/FontHostTest.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000051 '../tests/GeometryTest.cpp',
bsalomon@google.com57f5d982011-10-24 21:17:53 +000052 '../tests/GLInterfaceValidation.cpp',
bsalomon@google.coma8e686e2011-08-16 15:45:58 +000053 '../tests/GLProgramsTest.cpp',
scroggo@google.comd5764e82012-08-22 15:00:05 +000054 '../tests/GpuBitmapCopyTest.cpp',
keyar@chromium.org5bdef292012-08-14 22:02:48 +000055 '../tests/GrContextFactoryTest.cpp',
reed@google.com83226972012-06-07 20:26:47 +000056 '../tests/GradientTest.cpp',
bsalomon@google.com4da34e32012-06-19 15:40:27 +000057 '../tests/GrMemoryPoolTest.cpp',
robertphillips@google.com3b57ded2012-09-18 17:16:33 +000058 '../tests/HashCacheTest.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000059 '../tests/InfRectTest.cpp',
bsalomon@google.combbe52902012-12-03 18:01:45 +000060 '../tests/LListTest.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000061 '../tests/MathTest.cpp',
62 '../tests/MatrixTest.cpp',
reed@google.com125002a2011-06-09 19:13:41 +000063 '../tests/Matrix44Test.cpp',
mike@reedtribe.orgc52b1922012-01-07 03:49:13 +000064 '../tests/MemsetTest.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000065 '../tests/MetaDataTest.cpp',
66 '../tests/PackBitsTest.cpp',
67 '../tests/PaintTest.cpp',
68 '../tests/ParsePathTest.cpp',
tomhudson@google.comfc1539a2011-06-24 15:43:24 +000069 '../tests/PathCoverageTest.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000070 '../tests/PathMeasureTest.cpp',
71 '../tests/PathTest.cpp',
72 '../tests/PDFPrimitivesTest.cpp',
scroggo@google.comd614c6a2012-09-14 17:26:37 +000073 '../tests/PictureTest.cpp',
keyar@chromium.orgd1dc9202012-07-09 18:32:08 +000074 '../tests/PictureUtilsTest.cpp',
scroggo@google.comd614c6a2012-09-14 17:26:37 +000075 '../tests/PipeTest.cpp',
epoger@google.comd33f75c2011-06-15 18:49:21 +000076 '../tests/PointTest.cpp',
bsalomon@google.coma91e9232012-02-23 15:39:54 +000077 '../tests/PremulAlphaRoundTripTest.cpp',
reed@google.com3d608122011-11-21 15:16:16 +000078 '../tests/QuickRejectTest.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000079 '../tests/Reader32Test.cpp',
bsalomon@google.comc6980972011-11-02 19:57:21 +000080 '../tests/ReadPixelsTest.cpp',
robertphillips@google.com443e5a52012-04-30 20:01:21 +000081 '../tests/ReadWriteAlphaTest.cpp',
bungeman@google.com55487522012-05-14 14:09:24 +000082 '../tests/RefCntTest.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000083 '../tests/RefDictTest.cpp',
84 '../tests/RegionTest.cpp',
robertphillips@google.com5985e7c2012-11-29 13:24:55 +000085 '../tests/RoundRectTest.cpp',
rileya@google.com1f45e932012-09-05 16:10:59 +000086 '../tests/RTreeTest.cpp',
reed@google.comd230e3e2011-12-05 20:49:37 +000087 '../tests/ScalarTest.cpp',
junov@chromium.orgb6e16192011-12-09 15:48:03 +000088 '../tests/ShaderOpacityTest.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000089 '../tests/Sk64Test.cpp',
90 '../tests/skia_test.cpp',
91 '../tests/SortTest.cpp',
92 '../tests/SrcOverTest.cpp',
93 '../tests/StreamTest.cpp',
94 '../tests/StringTest.cpp',
reed@google.com603dbed2012-11-20 19:00:28 +000095 '../tests/StrokeTest.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000096 '../tests/Test.cpp',
bsalomon@google.coma8e686e2011-08-16 15:45:58 +000097 '../tests/Test.h',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000098 '../tests/TestSize.cpp',
junov@chromium.orgadc58e42012-11-07 17:38:38 +000099 '../tests/TileGridTest.cpp',
reed@google.com7b578922012-05-21 15:29:27 +0000100 '../tests/TLSTest.cpp',
bsalomon@google.coma8e686e2011-08-16 15:45:58 +0000101 '../tests/ToUnicode.cpp',
reed@google.com419f4332011-12-21 15:21:32 +0000102 '../tests/UnicodeTest.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +0000103 '../tests/UtilsTest.cpp',
vandebo@chromium.orgbeb7fe12011-11-11 19:38:54 +0000104 '../tests/WArrayTest.cpp',
bsalomon@google.comd58a1cd2011-11-10 20:57:43 +0000105 '../tests/WritePixelsTest.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +0000106 '../tests/Writer32Test.cpp',
107 '../tests/XfermodeTest.cpp',
scroggo@google.com10dccde2012-08-08 20:43:22 +0000108
109 # Needed for PipeTest.
110 '../src/pipe/utils/SamplePipeControllers.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +0000111 ],
112 'dependencies': [
borenet@google.comefb1d772012-10-10 19:45:51 +0000113 'skia_base_libs.gyp:skia_base_libs',
epoger@google.comccdbd2c2011-06-02 14:38:23 +0000114 'effects.gyp:effects',
reed@google.com125002a2011-06-09 19:13:41 +0000115 'experimental.gyp:experimental',
epoger@google.comccdbd2c2011-06-02 14:38:23 +0000116 'images.gyp:images',
epoger@google.comdcab3a12011-06-24 19:09:09 +0000117 'pdf.gyp:pdf',
keyar@chromium.orgd1dc9202012-07-09 18:32:08 +0000118 'tools.gyp:picture_utils',
epoger@google.com4adfab82012-11-02 18:35:04 +0000119 'utils.gyp:utils',
epoger@google.comccdbd2c2011-06-02 14:38:23 +0000120 ],
bsalomon@google.comcf8fb1f2012-08-02 14:03:32 +0000121 'conditions': [
122 [ 'skia_gpu == 1', {
123 'include_dirs': [
124 '../src/gpu',
125 ],
bsalomon@google.comcf8fb1f2012-08-02 14:03:32 +0000126 }],
127 ],
epoger@google.comccdbd2c2011-06-02 14:38:23 +0000128 },
129 ],
130}
131
132# Local Variables:
133# tab-width:2
134# indent-tabs-mode:nil
135# End:
136# vim: set expandtab tabstop=2 shiftwidth=2: