scroggo | 3e56227 | 2015-03-25 10:22:41 -0700 | [diff] [blame] | 1 | # Copyright 2015 Google Inc. |
| 2 | # |
| 3 | # Use of this source code is governed by a BSD-style license that can be |
| 4 | # found in the LICENSE file. |
caryclark | a8d2ffb | 2014-06-24 07:55:11 -0700 | [diff] [blame] | 5 | # GYP file to build pathops unit tests. |
caryclark@google.com | 818b0cc | 2013-04-08 11:50:46 +0000 | [diff] [blame] | 6 | { |
| 7 | 'includes': [ |
| 8 | 'apptype_console.gypi', |
| 9 | ], |
| 10 | 'targets': [ |
| 11 | { |
| 12 | 'target_name': 'pathops_unittest', |
| 13 | 'type': 'executable', |
caryclark@google.com | 7abfa49 | 2013-04-12 11:59:41 +0000 | [diff] [blame] | 14 | 'includes': [ |
caryclark@google.com | 7abfa49 | 2013-04-12 11:59:41 +0000 | [diff] [blame] | 15 | 'pathops_unittest.gypi', |
| 16 | ], |
caryclark | 17f0b6d | 2014-07-22 10:15:34 -0700 | [diff] [blame] | 17 | 'dependencies': [ |
| 18 | 'flags.gyp:flags_common', |
| 19 | 'tools.gyp:crash_handler', |
| 20 | ], |
caryclark@google.com | 818b0cc | 2013-04-08 11:50:46 +0000 | [diff] [blame] | 21 | 'sources': [ |
commit-bot@chromium.org | 4431e77 | 2014-04-14 17:08:59 +0000 | [diff] [blame] | 22 | '../tests/PathOpsAngleIdeas.cpp', |
caryclark | 65b427c | 2014-09-18 10:32:57 -0700 | [diff] [blame] | 23 | '../tests/PathOpsBattles.cpp', |
commit-bot@chromium.org | 2db7fe7 | 2014-05-07 15:31:40 +0000 | [diff] [blame] | 24 | '../tests/PathOpsCubicLineIntersectionIdeas.cpp', |
commit-bot@chromium.org | 4431e77 | 2014-04-14 17:08:59 +0000 | [diff] [blame] | 25 | '../tests/PathOpsDebug.cpp', |
commit-bot@chromium.org | 8cb1daa | 2014-04-25 12:59:11 +0000 | [diff] [blame] | 26 | '../tests/PathOpsOpLoopThreadedTest.cpp', |
caryclark | 5435929 | 2015-03-26 07:52:43 -0700 | [diff] [blame] | 27 | '../tests/PathOpsTSectDebug.h', |
tfarina | 1c4d578 | 2014-06-22 16:13:00 -0700 | [diff] [blame] | 28 | '../tests/skia_test.cpp', |
caryclark@google.com | 818b0cc | 2013-04-08 11:50:46 +0000 | [diff] [blame] | 29 | ], |
caryclark@google.com | 818b0cc | 2013-04-08 11:50:46 +0000 | [diff] [blame] | 30 | 'conditions': [ |
caryclark | a8d2ffb | 2014-06-24 07:55:11 -0700 | [diff] [blame] | 31 | [ 'skia_android_framework == 1', { |
| 32 | 'libraries': [ |
| 33 | '-lskia', |
| 34 | ], |
| 35 | 'libraries!': [ |
| 36 | '-lz', |
| 37 | '-llog', |
| 38 | ], |
| 39 | }], |
caryclark@google.com | 818b0cc | 2013-04-08 11:50:46 +0000 | [diff] [blame] | 40 | ], |
| 41 | }, |
| 42 | ], |
| 43 | } |