blob: 95731e85108954ad0ab84be42f35a74335fd996b [file] [log] [blame]
scroggo3e562272015-03-25 10:22:41 -07001# 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.
caryclark19eb3b22014-07-18 05:08:14 -07005# 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': [
mtkleincd1f2da2015-07-28 08:55:14 -070015 '../include/private',
caryclark19eb3b22014-07-18 05:08:14 -070016 '../src/core',
17 '../src/effects',
18 '../src/lazy',
19 '../src/pathops',
caryclark19eb3b22014-07-18 05:08:14 -070020 '../src/utils',
21 ],
mtklein406654b2014-09-03 15:34:37 -070022 'dependencies': [
caryclark19eb3b22014-07-18 05:08:14 -070023 'flags.gyp:flags',
24 'skia_lib.gyp:skia_lib',
25 'tools.gyp:crash_handler',
26 'tools.gyp:resources',
27 ],
28 'sources': [
mtkleincd1f2da2015-07-28 08:55:14 -070029 '../tests/PathOpsDebug.cpp',
caryclark19eb3b22014-07-18 05:08:14 -070030 ],
31 'conditions': [
32 [ 'skia_android_framework == 1', {
33 'libraries': [
34 '-lskia',
35 ],
36 'libraries!': [
37 '-lz',
38 '-llog',
39 ],
40 }],
41 [ 'skia_gpu == 1', {
42 'include_dirs': [
43 '../src/gpu',
44 ],
45 }],
46 ],
47 },
48 ],
49}