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.
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': [
15        '../src/core',
16        '../src/effects',
17        '../src/lazy',
18        '../src/pathops',
19        '../src/pipe/utils',
20        '../src/utils',
21      ],
22      'dependencies': [
23        'flags.gyp:flags',
24        'skia_lib.gyp:skia_lib',
25        'tools.gyp:crash_handler',
26        'tools.gyp:resources',
27      ],
28      'sources': [
29		'../tests/PathOpsDebug.cpp',
30        '../tests/PathOpsSkpClipTest.cpp',
31      ],
32      'conditions': [
33        [ 'skia_android_framework == 1', {
34          'libraries': [
35            '-lskia',
36          ],
37          'libraries!': [
38            '-lz',
39            '-llog',
40          ],
41        }],
42        [ 'skia_gpu == 1', {
43          'include_dirs': [
44            '../src/gpu',
45          ],
46        }],
47      ],
48    },
49  ],
50}
51