caryclark@google.com | 818b0cc | 2013-04-08 11:50:46 +0000 | [diff] [blame] | 1 | # GYP file to build unit tests. |
| 2 | { |
| 3 | 'includes': [ |
| 4 | 'apptype_console.gypi', |
| 5 | ], |
| 6 | 'targets': [ |
| 7 | { |
| 8 | 'target_name': 'pathops_unittest', |
| 9 | 'type': 'executable', |
caryclark@google.com | db60de7 | 2013-04-11 12:33:23 +0000 | [diff] [blame] | 10 | 'suppress_wildcard': '1', |
caryclark@google.com | 818b0cc | 2013-04-08 11:50:46 +0000 | [diff] [blame] | 11 | 'include_dirs' : [ |
caryclark@google.com | 818b0cc | 2013-04-08 11:50:46 +0000 | [diff] [blame] | 12 | '../src/core', |
| 13 | '../src/effects', |
| 14 | '../src/lazy', |
caryclark@google.com | d2d9004 | 2013-04-25 14:28:14 +0000 | [diff] [blame] | 15 | '../src/pathops', |
caryclark@google.com | 818b0cc | 2013-04-08 11:50:46 +0000 | [diff] [blame] | 16 | '../src/pdf', |
| 17 | '../src/pipe/utils', |
| 18 | '../src/utils', |
| 19 | '../tools/', |
| 20 | ], |
caryclark@google.com | 7abfa49 | 2013-04-12 11:59:41 +0000 | [diff] [blame] | 21 | 'includes': [ |
caryclark@google.com | 7abfa49 | 2013-04-12 11:59:41 +0000 | [diff] [blame] | 22 | 'pathops_unittest.gypi', |
| 23 | ], |
caryclark@google.com | 818b0cc | 2013-04-08 11:50:46 +0000 | [diff] [blame] | 24 | 'sources': [ |
caryclark@google.com | 7eaa53d | 2013-10-02 14:49:34 +0000 | [diff] [blame] | 25 | '../tests/PathOpsSkpClipTest.cpp', |
caryclark@google.com | 818b0cc | 2013-04-08 11:50:46 +0000 | [diff] [blame] | 26 | '../tests/Test.cpp', |
| 27 | '../tests/skia_test.cpp', |
| 28 | '../tests/Test.h', |
| 29 | ], |
| 30 | 'dependencies': [ |
djsollen@google.com | 52f0297 | 2013-06-03 12:10:19 +0000 | [diff] [blame] | 31 | 'skia_lib.gyp:skia_lib', |
scroggo@google.com | 5a6324e | 2013-04-11 20:11:40 +0000 | [diff] [blame] | 32 | 'flags.gyp:flags', |
caryclark@google.com | 818b0cc | 2013-04-08 11:50:46 +0000 | [diff] [blame] | 33 | ], |
| 34 | 'conditions': [ |
| 35 | [ 'skia_gpu == 1', { |
| 36 | 'include_dirs': [ |
| 37 | '../src/gpu', |
| 38 | ], |
| 39 | }], |
| 40 | ], |
| 41 | }, |
| 42 | ], |
| 43 | } |