caryclark | 19eb3b2 | 2014-07-18 05:08:14 -0700 | [diff] [blame] | 1 | # GYP file to build pathops skp clip test. |
| 2 | { |
| 3 | 'includes': [ |
| 4 | 'apptype_console.gypi', |
| 5 | ], |
| 6 | 'targets': [ |
| 7 | { |
| 8 | 'target_name': 'pathops_skpclip', |
| 9 | 'type': 'executable', |
| 10 | 'include_dirs': [ |
| 11 | '../src/core', |
| 12 | '../src/effects', |
| 13 | '../src/lazy', |
| 14 | '../src/pathops', |
| 15 | '../src/pipe/utils', |
| 16 | '../src/utils', |
| 17 | ], |
mtklein | 406654b | 2014-09-03 15:34:37 -0700 | [diff] [blame] | 18 | 'dependencies': [ |
caryclark | 19eb3b2 | 2014-07-18 05:08:14 -0700 | [diff] [blame] | 19 | 'flags.gyp:flags', |
| 20 | 'skia_lib.gyp:skia_lib', |
| 21 | 'tools.gyp:crash_handler', |
| 22 | 'tools.gyp:resources', |
| 23 | ], |
| 24 | 'sources': [ |
| 25 | '../tests/PathOpsDebug.cpp', |
| 26 | '../tests/PathOpsSkpClipTest.cpp', |
mtklein | 406654b | 2014-09-03 15:34:37 -0700 | [diff] [blame] | 27 | '../src/utils/SkTaskGroup.cpp', |
caryclark | 19eb3b2 | 2014-07-18 05:08:14 -0700 | [diff] [blame] | 28 | ], |
| 29 | 'conditions': [ |
| 30 | [ 'skia_android_framework == 1', { |
| 31 | 'libraries': [ |
| 32 | '-lskia', |
| 33 | ], |
| 34 | 'libraries!': [ |
| 35 | '-lz', |
| 36 | '-llog', |
| 37 | ], |
| 38 | }], |
| 39 | [ 'skia_gpu == 1', { |
| 40 | 'include_dirs': [ |
| 41 | '../src/gpu', |
| 42 | ], |
| 43 | }], |
| 44 | ], |
| 45 | }, |
| 46 | ], |
| 47 | } |