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/pipe/utils', |
| 19 | '../src/utils', |
| 20 | '../src/utils/debugger', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 21 | |
| 22 | # Needed for TDStackNesterTest. |
| 23 | '../experimental/PdfViewer', |
| 24 | '../experimental/PdfViewer/src', |
| 25 | ], |
| 26 | 'dependencies': [ |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 27 | 'experimental.gyp:experimental', |
caryclark | 17f0b6d | 2014-07-22 10:15:34 -0700 | [diff] [blame] | 28 | 'flags.gyp:flags_common', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 29 | 'pdf.gyp:pdf', |
tfarina | bcbc178 | 2014-06-18 14:32:48 -0700 | [diff] [blame] | 30 | 'skia_lib.gyp:skia_lib', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 31 | 'tools.gyp:picture_utils', |
mtklein | 9ac68ee | 2014-06-20 11:29:20 -0700 | [diff] [blame] | 32 | 'tools.gyp:resources', |
tfarina | 2010891 | 2014-06-21 10:54:17 -0700 | [diff] [blame] | 33 | 'tools.gyp:sk_tool_utils', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 34 | ], |
djsollen | 85d3652 | 2014-07-22 13:56:34 -0700 | [diff] [blame] | 35 | 'conditions': [ |
bungeman | 786ece1 | 2015-07-15 10:58:47 -0700 | [diff] [blame] | 36 | [ 'skia_os not in ["linux", "freebsd", "openbsd", "solaris", "chromeos", "android"]', { |
bungeman | c530854 | 2015-06-23 13:25:46 -0700 | [diff] [blame] | 37 | 'sources!': [ '../tests/FontMgrAndroidParserTest.cpp', ], |
bungeman | 786ece1 | 2015-07-15 10:58:47 -0700 | [diff] [blame] | 38 | }], |
djsollen | 85d3652 | 2014-07-22 13:56:34 -0700 | [diff] [blame] | 39 | [ 'skia_android_framework == 1', { |
| 40 | 'libraries': [ |
| 41 | '-ldl', |
| 42 | ], |
| 43 | }], |
| 44 | ], |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 45 | 'sources': [ |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 46 | '../tests/Test.h', |
halcanary | 2e0303f | 2015-05-17 06:47:49 -0700 | [diff] [blame] | 47 | '<!@(python find.py ../tests "*.c*")', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 48 | '../src/utils/debugger/SkDrawCommand.h', |
| 49 | '../src/utils/debugger/SkDrawCommand.cpp', |
| 50 | '../src/utils/debugger/SkDebugCanvas.h', |
| 51 | '../src/utils/debugger/SkDebugCanvas.cpp', |
| 52 | '../src/utils/debugger/SkObjectParser.h', |
| 53 | '../src/utils/debugger/SkObjectParser.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 54 | '../src/pipe/utils/SamplePipeControllers.cpp', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 55 | '../experimental/PdfViewer/src/SkTDStackNester.h', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 56 | ], |
halcanary | 2e0303f | 2015-05-17 06:47:49 -0700 | [diff] [blame] | 57 | 'sources!': [ |
| 58 | '../tests/SkpSkGrTest.cpp', |
| 59 | '../tests/skia_test.cpp', |
| 60 | '../tests/PathOpsAngleIdeas.cpp', |
| 61 | '../tests/PathOpsBattles.cpp', |
| 62 | '../tests/PathOpsCubicLineIntersectionIdeas.cpp', |
| 63 | '../tests/PathOpsDebug.cpp', |
| 64 | '../tests/PathOpsOpLoopThreadedTest.cpp', |
| 65 | '../tests/PathOpsSkpClipTest.cpp', |
| 66 | ], |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 67 | } |