scroggo | 3e56227 | 2015-03-25 10:22:41 -0700 | [diff] [blame] | 1 | # Copyright 2015 Google Inc. |
| 2 | # |
| 3 | # Use of this source code is governed by a BSD-style license that can be |
| 4 | # found in the LICENSE file. |
commit-bot@chromium.org | a5572e5 | 2014-03-07 03:24:41 +0000 | [diff] [blame] | 5 | # Common gypi for unit tests. |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 6 | { |
| 7 | 'include_dirs': [ |
mtklein | cd1f2da | 2015-07-28 08:55:14 -0700 | [diff] [blame] | 8 | '../include/private', |
msarett | 438b2ad | 2015-04-09 12:43:10 -0700 | [diff] [blame] | 9 | '../src/codec', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 10 | '../src/core', |
| 11 | '../src/effects', |
| 12 | '../src/image', |
| 13 | '../src/lazy', |
| 14 | '../src/images', |
| 15 | '../src/pathops', |
| 16 | '../src/pdf', |
bungeman | 786ece1 | 2015-07-15 10:58:47 -0700 | [diff] [blame] | 17 | '../src/ports', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 18 | '../src/utils', |
ethannicholas | 3cb9542 | 2016-02-09 12:44:06 -0800 | [diff] [blame] | 19 | '../tools/debugger', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 20 | ], |
| 21 | 'dependencies': [ |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 22 | 'experimental.gyp:experimental', |
caryclark | 17f0b6d | 2014-07-22 10:15:34 -0700 | [diff] [blame] | 23 | 'flags.gyp:flags_common', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 24 | 'pdf.gyp:pdf', |
tfarina | bcbc178 | 2014-06-18 14:32:48 -0700 | [diff] [blame] | 25 | 'skia_lib.gyp:skia_lib', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 26 | 'tools.gyp:picture_utils', |
mtklein | 9ac68ee | 2014-06-20 11:29:20 -0700 | [diff] [blame] | 27 | 'tools.gyp:resources', |
tfarina | 2010891 | 2014-06-21 10:54:17 -0700 | [diff] [blame] | 28 | 'tools.gyp:sk_tool_utils', |
halcanary | 48305e8 | 2015-08-18 13:30:25 -0700 | [diff] [blame] | 29 | 'zlib.gyp:zlib', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 30 | ], |
djsollen | 85d3652 | 2014-07-22 13:56:34 -0700 | [diff] [blame] | 31 | 'conditions': [ |
borenet | 43bf511 | 2016-04-29 14:01:34 -0700 | [diff] [blame] | 32 | [ 'skia_os not in ["linux", "freebsd", "openbsd", "solaris", "android"]', { |
bungeman | c530854 | 2015-06-23 13:25:46 -0700 | [diff] [blame] | 33 | 'sources!': [ '../tests/FontMgrAndroidParserTest.cpp', ], |
bungeman | 786ece1 | 2015-07-15 10:58:47 -0700 | [diff] [blame] | 34 | }], |
halcanary | 8ee06f2 | 2015-08-11 10:30:12 -0700 | [diff] [blame] | 35 | [ 'not skia_pdf', { |
halcanary | 48305e8 | 2015-08-18 13:30:25 -0700 | [diff] [blame] | 36 | 'dependencies!': [ 'pdf.gyp:pdf', 'zlib.gyp:zlib' ], |
halcanary | 8ee06f2 | 2015-08-11 10:30:12 -0700 | [diff] [blame] | 37 | 'dependencies': [ 'pdf.gyp:nopdf' ], |
mtklein | ada5a44 | 2016-08-02 14:28:26 -0700 | [diff] [blame] | 38 | 'sources!': [ '<!@(python find.py "PDF*.c*" ../tests)', ], |
halcanary | 8ee06f2 | 2015-08-11 10:30:12 -0700 | [diff] [blame] | 39 | }], |
egdaniel | 4b5472b | 2015-08-12 06:51:08 -0700 | [diff] [blame] | 40 | [ 'skia_gpu_extra_tests_path', { |
| 41 | 'sources': [ |
mtklein | ada5a44 | 2016-08-02 14:28:26 -0700 | [diff] [blame] | 42 | '<!@(python find.py "*.c*" <(skia_gpu_extra_tests_path))', |
egdaniel | 4b5472b | 2015-08-12 06:51:08 -0700 | [diff] [blame] | 43 | ], |
| 44 | }], |
djsollen | 85d3652 | 2014-07-22 13:56:34 -0700 | [diff] [blame] | 45 | ], |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 46 | 'sources': [ |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 47 | '../tests/Test.h', |
mtklein | ada5a44 | 2016-08-02 14:28:26 -0700 | [diff] [blame] | 48 | '<!@(python find.py "*.c*" ../tests)', |
ethannicholas | 3cb9542 | 2016-02-09 12:44:06 -0800 | [diff] [blame] | 49 | '../tools/debugger/SkDrawCommand.h', |
| 50 | '../tools/debugger/SkDrawCommand.cpp', |
| 51 | '../tools/debugger/SkDebugCanvas.h', |
| 52 | '../tools/debugger/SkDebugCanvas.cpp', |
brianosman | fad9856 | 2016-05-04 11:06:28 -0700 | [diff] [blame] | 53 | '../tools/debugger/SkJsonWriteBuffer.h', |
| 54 | '../tools/debugger/SkJsonWriteBuffer.cpp', |
ethannicholas | 3cb9542 | 2016-02-09 12:44:06 -0800 | [diff] [blame] | 55 | '../tools/debugger/SkObjectParser.h', |
| 56 | '../tools/debugger/SkObjectParser.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 57 | ], |
halcanary | 2e0303f | 2015-05-17 06:47:49 -0700 | [diff] [blame] | 58 | 'sources!': [ |
| 59 | '../tests/SkpSkGrTest.cpp', |
| 60 | '../tests/skia_test.cpp', |
| 61 | '../tests/PathOpsAngleIdeas.cpp', |
| 62 | '../tests/PathOpsBattles.cpp', |
| 63 | '../tests/PathOpsCubicLineIntersectionIdeas.cpp', |
| 64 | '../tests/PathOpsDebug.cpp', |
| 65 | '../tests/PathOpsOpLoopThreadedTest.cpp', |
| 66 | '../tests/PathOpsSkpClipTest.cpp', |
| 67 | ], |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 68 | } |