caryclark@google.com | a2bbc6e | 2013-11-01 17:36:03 +0000 | [diff] [blame] | 1 | # GYP file to build unit tests. |
| 2 | { |
| 3 | 'includes': [ |
| 4 | 'apptype_console.gypi', |
| 5 | ], |
| 6 | 'targets': [ |
| 7 | { |
| 8 | 'target_name': 'skpskgr_test', |
| 9 | 'type': 'executable', |
| 10 | 'suppress_wildcard': '1', |
| 11 | 'include_dirs' : [ |
| 12 | '../src/core', |
| 13 | '../src/effects', |
| 14 | '../src/lazy', |
| 15 | '../src/pathops', |
| 16 | '../src/pdf', |
| 17 | '../src/pipe/utils', |
| 18 | '../src/utils', |
| 19 | '../tools/', |
| 20 | ], |
| 21 | 'sources': [ |
| 22 | '../tests/SkpSkGrTest.cpp', |
| 23 | '../tests/Test.cpp', |
| 24 | '../tests/skia_test.cpp', |
| 25 | '../tests/Test.h', |
| 26 | ], |
| 27 | 'dependencies': [ |
| 28 | 'skia_lib.gyp:skia_lib', |
| 29 | 'flags.gyp:flags', |
| 30 | ], |
| 31 | 'conditions': [ |
| 32 | [ 'skia_gpu == 1', { |
| 33 | 'include_dirs': [ |
| 34 | '../src/gpu', |
| 35 | ], |
| 36 | }], |
| 37 | ], |
| 38 | }, |
| 39 | ], |
| 40 | } |