epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 1 | # GYP file to build unit tests. |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 2 | { |
| 3 | 'includes': [ |
| 4 | 'apptype_console.gypi', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 5 | ], |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 6 | 'targets': [ |
| 7 | { |
| 8 | 'target_name': 'tests', |
| 9 | 'type': 'executable', |
caryclark@google.com | f685a22 | 2013-04-19 11:45:56 +0000 | [diff] [blame] | 10 | 'includes': [ |
caryclark@google.com | f685a22 | 2013-04-19 11:45:56 +0000 | [diff] [blame] | 11 | 'pathops_unittest.gypi', |
commit-bot@chromium.org | 0dc5bd1 | 2014-02-26 16:31:22 +0000 | [diff] [blame] | 12 | 'tests.gypi', |
caryclark@google.com | f685a22 | 2013-04-19 11:45:56 +0000 | [diff] [blame] | 13 | ], |
mtklein | 9ac68ee | 2014-06-20 11:29:20 -0700 | [diff] [blame] | 14 | 'dependencies': [ 'tools.gyp:crash_handler' ], |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 15 | 'sources': [ |
tfarina@chromium.org | ceddfeb | 2014-01-30 22:51:42 +0000 | [diff] [blame] | 16 | '../tests/skia_test.cpp', |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 17 | ], |
bsalomon@google.com | cf8fb1f | 2012-08-02 14:03:32 +0000 | [diff] [blame] | 18 | 'conditions': [ |
commit-bot@chromium.org | d665685 | 2014-04-28 16:00:30 +0000 | [diff] [blame] | 19 | [ 'skia_android_framework == 1', { |
| 20 | 'libraries': [ |
| 21 | '-lskia', |
commit-bot@chromium.org | d665685 | 2014-04-28 16:00:30 +0000 | [diff] [blame] | 22 | ], |
| 23 | 'libraries!': [ |
| 24 | '-lz', |
| 25 | '-llog', |
| 26 | ], |
| 27 | }], |
bsalomon@google.com | cf8fb1f | 2012-08-02 14:03:32 +0000 | [diff] [blame] | 28 | [ 'skia_gpu == 1', { |
| 29 | 'include_dirs': [ |
| 30 | '../src/gpu', |
| 31 | ], |
bsalomon@google.com | cf8fb1f | 2012-08-02 14:03:32 +0000 | [diff] [blame] | 32 | }], |
| 33 | ], |
epoger@google.com | ccdbd2c | 2011-06-02 14:38:23 +0000 | [diff] [blame] | 34 | }, |
| 35 | ], |
| 36 | } |