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', |
caryclark | 19eb3b2 | 2014-07-18 05:08:14 -0700 | [diff] [blame] | 27 | ], |
| 28 | 'conditions': [ |
| 29 | [ 'skia_android_framework == 1', { |
| 30 | 'libraries': [ |
| 31 | '-lskia', |
| 32 | ], |
| 33 | 'libraries!': [ |
| 34 | '-lz', |
| 35 | '-llog', |
| 36 | ], |
| 37 | }], |
| 38 | [ 'skia_gpu == 1', { |
| 39 | 'include_dirs': [ |
| 40 | '../src/gpu', |
| 41 | ], |
| 42 | }], |
| 43 | ], |
| 44 | }, |
| 45 | ], |
| 46 | } |