2011-06-02 14:38:23 +00:00
|
|
|
# GYP file to build unit tests.
|
|
|
|
{
|
|
|
|
'includes': [
|
|
|
|
'apptype_console.gypi',
|
|
|
|
],
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'tests',
|
|
|
|
'type': 'executable',
|
|
|
|
'include_dirs' : [
|
|
|
|
'../src/core',
|
2012-03-20 21:18:43 +00:00
|
|
|
'../src/effects',
|
2012-03-22 20:45:15 +00:00
|
|
|
'../src/pdf',
|
2012-08-08 20:43:22 +00:00
|
|
|
'../src/pipe/utils',
|
2012-03-21 23:11:46 +00:00
|
|
|
'../src/utils',
|
2012-07-09 18:32:08 +00:00
|
|
|
'../tools/',
|
2011-06-02 14:38:23 +00:00
|
|
|
],
|
|
|
|
'sources': [
|
2011-10-26 15:03:48 +00:00
|
|
|
'../tests/AAClipTest.cpp',
|
2012-07-11 19:57:55 +00:00
|
|
|
'../tests/AnnotationTest.cpp',
|
2012-07-16 16:51:28 +00:00
|
|
|
'../tests/AtomicTest.cpp',
|
2011-06-02 14:38:23 +00:00
|
|
|
'../tests/BitmapCopyTest.cpp',
|
|
|
|
'../tests/BitmapGetColorTest.cpp',
|
2011-07-07 13:43:38 +00:00
|
|
|
'../tests/BitSetTest.cpp',
|
2011-06-02 14:38:23 +00:00
|
|
|
'../tests/BlitRowTest.cpp',
|
2011-07-07 13:43:38 +00:00
|
|
|
'../tests/BlurTest.cpp',
|
2011-11-28 16:06:04 +00:00
|
|
|
'../tests/CanvasTest.cpp',
|
2011-06-02 14:38:23 +00:00
|
|
|
'../tests/ClampRangeTest.cpp',
|
2012-05-09 21:15:28 +00:00
|
|
|
'../tests/ClipCacheTest.cpp',
|
2011-06-02 14:38:23 +00:00
|
|
|
'../tests/ClipCubicTest.cpp',
|
|
|
|
'../tests/ClipStackTest.cpp',
|
|
|
|
'../tests/ClipperTest.cpp',
|
|
|
|
'../tests/ColorFilterTest.cpp',
|
|
|
|
'../tests/ColorTest.cpp',
|
2011-06-14 19:18:26 +00:00
|
|
|
'../tests/DataRefTest.cpp',
|
2012-02-07 16:27:57 +00:00
|
|
|
'../tests/DeferredCanvasTest.cpp',
|
2011-06-02 14:38:23 +00:00
|
|
|
'../tests/DequeTest.cpp',
|
|
|
|
'../tests/DrawBitmapRectTest.cpp',
|
2012-04-14 12:55:17 +00:00
|
|
|
'../tests/DrawPathTest.cpp',
|
2012-01-13 15:02:58 +00:00
|
|
|
'../tests/DrawTextTest.cpp',
|
2011-12-21 19:36:21 +00:00
|
|
|
'../tests/EmptyPathTest.cpp',
|
2011-06-02 14:38:23 +00:00
|
|
|
'../tests/FillPathTest.cpp',
|
2012-08-01 19:34:20 +00:00
|
|
|
'../tests/FlatDataTest.cpp',
|
2011-06-02 14:38:23 +00:00
|
|
|
'../tests/FlateTest.cpp',
|
2012-05-18 19:06:41 +00:00
|
|
|
'../tests/FontHostStreamTest.cpp',
|
2012-02-23 14:51:10 +00:00
|
|
|
'../tests/FontHostTest.cpp',
|
2011-06-02 14:38:23 +00:00
|
|
|
'../tests/GeometryTest.cpp',
|
2011-10-24 21:17:53 +00:00
|
|
|
'../tests/GLInterfaceValidation.cpp',
|
2011-08-16 15:45:58 +00:00
|
|
|
'../tests/GLProgramsTest.cpp',
|
2012-08-22 15:00:05 +00:00
|
|
|
'../tests/GpuBitmapCopyTest.cpp',
|
2012-08-14 22:02:48 +00:00
|
|
|
'../tests/GrContextFactoryTest.cpp',
|
2012-06-07 20:26:47 +00:00
|
|
|
'../tests/GradientTest.cpp',
|
2012-06-19 15:40:27 +00:00
|
|
|
'../tests/GrMemoryPoolTest.cpp',
|
2011-06-02 14:38:23 +00:00
|
|
|
'../tests/InfRectTest.cpp',
|
|
|
|
'../tests/MathTest.cpp',
|
|
|
|
'../tests/MatrixTest.cpp',
|
2011-06-09 19:13:41 +00:00
|
|
|
'../tests/Matrix44Test.cpp',
|
2012-01-07 03:49:13 +00:00
|
|
|
'../tests/MemsetTest.cpp',
|
2011-06-02 14:38:23 +00:00
|
|
|
'../tests/MetaDataTest.cpp',
|
|
|
|
'../tests/PackBitsTest.cpp',
|
|
|
|
'../tests/PaintTest.cpp',
|
|
|
|
'../tests/ParsePathTest.cpp',
|
2011-06-24 15:43:24 +00:00
|
|
|
'../tests/PathCoverageTest.cpp',
|
2011-06-02 14:38:23 +00:00
|
|
|
'../tests/PathMeasureTest.cpp',
|
|
|
|
'../tests/PathTest.cpp',
|
|
|
|
'../tests/PDFPrimitivesTest.cpp',
|
2012-08-08 20:43:22 +00:00
|
|
|
'../tests/PipeTest.cpp',
|
2012-07-09 18:32:08 +00:00
|
|
|
'../tests/PictureUtilsTest.cpp',
|
2011-06-15 18:49:21 +00:00
|
|
|
'../tests/PointTest.cpp',
|
2012-02-23 15:39:54 +00:00
|
|
|
'../tests/PremulAlphaRoundTripTest.cpp',
|
2011-11-21 15:16:16 +00:00
|
|
|
'../tests/QuickRejectTest.cpp',
|
2011-06-02 14:38:23 +00:00
|
|
|
'../tests/Reader32Test.cpp',
|
2011-11-02 19:57:21 +00:00
|
|
|
'../tests/ReadPixelsTest.cpp',
|
2012-04-30 20:01:21 +00:00
|
|
|
'../tests/ReadWriteAlphaTest.cpp',
|
2012-05-14 14:09:24 +00:00
|
|
|
'../tests/RefCntTest.cpp',
|
2011-06-02 14:38:23 +00:00
|
|
|
'../tests/RefDictTest.cpp',
|
|
|
|
'../tests/RegionTest.cpp',
|
2012-09-05 16:10:59 +00:00
|
|
|
'../tests/RTreeTest.cpp',
|
2011-12-05 20:49:37 +00:00
|
|
|
'../tests/ScalarTest.cpp',
|
2011-12-09 15:48:03 +00:00
|
|
|
'../tests/ShaderOpacityTest.cpp',
|
2011-06-02 14:38:23 +00:00
|
|
|
'../tests/Sk64Test.cpp',
|
|
|
|
'../tests/skia_test.cpp',
|
|
|
|
'../tests/SortTest.cpp',
|
|
|
|
'../tests/SrcOverTest.cpp',
|
|
|
|
'../tests/StreamTest.cpp',
|
|
|
|
'../tests/StringTest.cpp',
|
2012-08-23 11:13:48 +00:00
|
|
|
'../tests/TDLinkedListTest.cpp',
|
2011-06-02 14:38:23 +00:00
|
|
|
'../tests/Test.cpp',
|
2011-08-16 15:45:58 +00:00
|
|
|
'../tests/Test.h',
|
2011-06-02 14:38:23 +00:00
|
|
|
'../tests/TestSize.cpp',
|
2012-05-21 15:29:27 +00:00
|
|
|
'../tests/TLSTest.cpp',
|
2011-08-16 15:45:58 +00:00
|
|
|
'../tests/ToUnicode.cpp',
|
2011-12-21 15:21:32 +00:00
|
|
|
'../tests/UnicodeTest.cpp',
|
2011-06-02 14:38:23 +00:00
|
|
|
'../tests/UtilsTest.cpp',
|
2011-11-11 19:38:54 +00:00
|
|
|
'../tests/WArrayTest.cpp',
|
2011-11-10 20:57:43 +00:00
|
|
|
'../tests/WritePixelsTest.cpp',
|
2011-06-02 14:38:23 +00:00
|
|
|
'../tests/Writer32Test.cpp',
|
|
|
|
'../tests/XfermodeTest.cpp',
|
2012-08-08 20:43:22 +00:00
|
|
|
|
|
|
|
# Needed for PipeTest.
|
|
|
|
'../src/pipe/utils/SamplePipeControllers.cpp',
|
2011-06-02 14:38:23 +00:00
|
|
|
],
|
|
|
|
'dependencies': [
|
|
|
|
'core.gyp:core',
|
|
|
|
'effects.gyp:effects',
|
2011-06-09 19:13:41 +00:00
|
|
|
'experimental.gyp:experimental',
|
2011-06-02 14:38:23 +00:00
|
|
|
'images.gyp:images',
|
2011-12-14 17:12:04 +00:00
|
|
|
'ports.gyp:ports',
|
2011-06-24 19:09:09 +00:00
|
|
|
'pdf.gyp:pdf',
|
2012-07-09 18:32:08 +00:00
|
|
|
'tools.gyp:picture_utils',
|
2011-06-02 14:38:23 +00:00
|
|
|
'utils.gyp:utils',
|
|
|
|
],
|
2012-08-02 14:03:32 +00:00
|
|
|
'conditions': [
|
|
|
|
[ 'skia_gpu == 1', {
|
|
|
|
'include_dirs': [
|
|
|
|
'../src/gpu',
|
|
|
|
],
|
|
|
|
'dependencies': [
|
|
|
|
'gpu.gyp:gr',
|
|
|
|
'gpu.gyp:skgr',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
2011-06-02 14:38:23 +00:00
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|
|
|
|
|
|
|
|
# Local Variables:
|
|
|
|
# tab-width:2
|
|
|
|
# indent-tabs-mode:nil
|
|
|
|
# End:
|
|
|
|
# vim: set expandtab tabstop=2 shiftwidth=2:
|