caryclark | a8d2ffb | 2014-06-24 07:55:11 -0700 | [diff] [blame] | 1 | # GYP file to build pathops unit tests. |
caryclark@google.com | 818b0cc | 2013-04-08 11:50:46 +0000 | [diff] [blame] | 2 | { |
| 3 | 'includes': [ |
| 4 | 'apptype_console.gypi', |
| 5 | ], |
| 6 | 'targets': [ |
| 7 | { |
| 8 | 'target_name': 'pathops_unittest', |
| 9 | 'type': 'executable', |
caryclark@google.com | 7abfa49 | 2013-04-12 11:59:41 +0000 | [diff] [blame] | 10 | 'includes': [ |
caryclark@google.com | 7abfa49 | 2013-04-12 11:59:41 +0000 | [diff] [blame] | 11 | 'pathops_unittest.gypi', |
| 12 | ], |
caryclark | a8d2ffb | 2014-06-24 07:55:11 -0700 | [diff] [blame] | 13 | 'dependencies': [ 'tools.gyp:crash_handler' ], |
caryclark@google.com | 818b0cc | 2013-04-08 11:50:46 +0000 | [diff] [blame] | 14 | 'sources': [ |
commit-bot@chromium.org | 4431e77 | 2014-04-14 17:08:59 +0000 | [diff] [blame] | 15 | '../tests/PathOpsAngleIdeas.cpp', |
commit-bot@chromium.org | 2db7fe7 | 2014-05-07 15:31:40 +0000 | [diff] [blame] | 16 | '../tests/PathOpsCubicLineIntersectionIdeas.cpp', |
commit-bot@chromium.org | 4431e77 | 2014-04-14 17:08:59 +0000 | [diff] [blame] | 17 | '../tests/PathOpsDebug.cpp', |
commit-bot@chromium.org | 8cb1daa | 2014-04-25 12:59:11 +0000 | [diff] [blame] | 18 | '../tests/PathOpsOpLoopThreadedTest.cpp', |
caryclark@google.com | 7eaa53d | 2013-10-02 14:49:34 +0000 | [diff] [blame] | 19 | '../tests/PathOpsSkpClipTest.cpp', |
tfarina | 1c4d578 | 2014-06-22 16:13:00 -0700 | [diff] [blame] | 20 | '../tests/skia_test.cpp', |
caryclark@google.com | 818b0cc | 2013-04-08 11:50:46 +0000 | [diff] [blame] | 21 | ], |
caryclark@google.com | 818b0cc | 2013-04-08 11:50:46 +0000 | [diff] [blame] | 22 | 'conditions': [ |
caryclark | a8d2ffb | 2014-06-24 07:55:11 -0700 | [diff] [blame] | 23 | [ 'skia_android_framework == 1', { |
| 24 | 'libraries': [ |
| 25 | '-lskia', |
| 26 | ], |
| 27 | 'libraries!': [ |
| 28 | '-lz', |
| 29 | '-llog', |
| 30 | ], |
| 31 | }], |
caryclark@google.com | 818b0cc | 2013-04-08 11:50:46 +0000 | [diff] [blame] | 32 | [ 'skia_gpu == 1', { |
| 33 | 'include_dirs': [ |
| 34 | '../src/gpu', |
| 35 | ], |
| 36 | }], |
| 37 | ], |
| 38 | }, |
| 39 | ], |
| 40 | } |