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 | 19eb3b2 | 2014-07-18 05:08:14 -0700 | [diff] [blame] | 5 | # GYP file to build pathops skp clip test. |
| 6 | { |
| 7 | 'includes': [ |
| 8 | 'apptype_console.gypi', |
| 9 | ], |
| 10 | 'targets': [ |
| 11 | { |
| 12 | 'target_name': 'pathops_skpclip', |
| 13 | 'type': 'executable', |
| 14 | 'include_dirs': [ |
mtklein | cd1f2da | 2015-07-28 08:55:14 -0700 | [diff] [blame] | 15 | '../include/private', |
caryclark | 19eb3b2 | 2014-07-18 05:08:14 -0700 | [diff] [blame] | 16 | '../src/core', |
| 17 | '../src/effects', |
| 18 | '../src/lazy', |
| 19 | '../src/pathops', |
| 20 | '../src/pipe/utils', |
| 21 | '../src/utils', |
| 22 | ], |
mtklein | 406654b | 2014-09-03 15:34:37 -0700 | [diff] [blame] | 23 | 'dependencies': [ |
caryclark | 19eb3b2 | 2014-07-18 05:08:14 -0700 | [diff] [blame] | 24 | 'flags.gyp:flags', |
| 25 | 'skia_lib.gyp:skia_lib', |
| 26 | 'tools.gyp:crash_handler', |
| 27 | 'tools.gyp:resources', |
| 28 | ], |
| 29 | 'sources': [ |
mtklein | cd1f2da | 2015-07-28 08:55:14 -0700 | [diff] [blame] | 30 | '../tests/PathOpsDebug.cpp', |
caryclark | 19eb3b2 | 2014-07-18 05:08:14 -0700 | [diff] [blame] | 31 | '../tests/PathOpsSkpClipTest.cpp', |
caryclark | 19eb3b2 | 2014-07-18 05:08:14 -0700 | [diff] [blame] | 32 | ], |
| 33 | 'conditions': [ |
| 34 | [ 'skia_android_framework == 1', { |
| 35 | 'libraries': [ |
| 36 | '-lskia', |
| 37 | ], |
| 38 | 'libraries!': [ |
| 39 | '-lz', |
| 40 | '-llog', |
| 41 | ], |
| 42 | }], |
| 43 | [ 'skia_gpu == 1', { |
| 44 | 'include_dirs': [ |
| 45 | '../src/gpu', |
| 46 | ], |
| 47 | }], |
| 48 | ], |
| 49 | }, |
| 50 | ], |
| 51 | } |