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 | 17f0b6d | 2014-07-22 10:15:34 -0700 | [diff] [blame] | 13 | 'dependencies': [ |
| 14 | 'flags.gyp:flags_common', |
| 15 | 'tools.gyp:crash_handler', |
| 16 | ], |
caryclark@google.com | 818b0cc | 2013-04-08 11:50:46 +0000 | [diff] [blame] | 17 | 'sources': [ |
commit-bot@chromium.org | 4431e77 | 2014-04-14 17:08:59 +0000 | [diff] [blame] | 18 | '../tests/PathOpsAngleIdeas.cpp', |
caryclark | 65b427c | 2014-09-18 10:32:57 -0700 | [diff] [blame] | 19 | '../tests/PathOpsBattles.cpp', |
commit-bot@chromium.org | 2db7fe7 | 2014-05-07 15:31:40 +0000 | [diff] [blame] | 20 | '../tests/PathOpsCubicLineIntersectionIdeas.cpp', |
commit-bot@chromium.org | 4431e77 | 2014-04-14 17:08:59 +0000 | [diff] [blame] | 21 | '../tests/PathOpsDebug.cpp', |
commit-bot@chromium.org | 8cb1daa | 2014-04-25 12:59:11 +0000 | [diff] [blame] | 22 | '../tests/PathOpsOpLoopThreadedTest.cpp', |
tfarina | 1c4d578 | 2014-06-22 16:13:00 -0700 | [diff] [blame] | 23 | '../tests/skia_test.cpp', |
caryclark@google.com | 818b0cc | 2013-04-08 11:50:46 +0000 | [diff] [blame] | 24 | ], |
caryclark@google.com | 818b0cc | 2013-04-08 11:50:46 +0000 | [diff] [blame] | 25 | 'conditions': [ |
caryclark | a8d2ffb | 2014-06-24 07:55:11 -0700 | [diff] [blame] | 26 | [ 'skia_android_framework == 1', { |
| 27 | 'libraries': [ |
| 28 | '-lskia', |
| 29 | ], |
| 30 | 'libraries!': [ |
| 31 | '-lz', |
| 32 | '-llog', |
| 33 | ], |
| 34 | }], |
caryclark@google.com | 818b0cc | 2013-04-08 11:50:46 +0000 | [diff] [blame] | 35 | [ 'skia_gpu == 1', { |
| 36 | 'include_dirs': [ |
| 37 | '../src/gpu', |
| 38 | ], |
| 39 | }], |
| 40 | ], |
| 41 | }, |
| 42 | ], |
| 43 | } |