OLD | NEW |
1 # GYP file to build unit tests. | 1 # GYP file to build unit tests. |
2 { | 2 { |
3 'includes': [ | 3 'includes': [ |
4 'apptype_console.gypi', | 4 'apptype_console.gypi', |
5 ], | 5 ], |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'pathops_unittest', | 8 'target_name': 'pathops_unittest', |
9 'type': 'executable', | 9 'type': 'executable', |
10 'suppress_wildcard': '1', | 10 'suppress_wildcard': '1', |
11 'include_dirs' : [ | 11 'include_dirs' : [ |
12 '../src/core', | 12 '../src/core', |
13 '../src/effects', | 13 '../src/effects', |
14 '../src/lazy', | 14 '../src/lazy', |
15 '../src/pathops', | 15 '../src/pathops', |
16 '../src/pdf', | 16 '../src/pdf', |
17 '../src/pipe/utils', | 17 '../src/pipe/utils', |
18 '../src/utils', | 18 '../src/utils', |
19 '../tools/', | 19 '../tools/', |
20 ], | 20 ], |
21 'includes': [ | 21 'includes': [ |
22 'pathops_unittest.gypi', | 22 'pathops_unittest.gypi', |
23 ], | 23 ], |
24 'sources': [ | 24 'sources': [ |
| 25 '../tests/PathOpsSkpClipTest.cpp', |
25 '../tests/Test.cpp', | 26 '../tests/Test.cpp', |
26 '../tests/skia_test.cpp', | 27 '../tests/skia_test.cpp', |
27 '../tests/Test.h', | 28 '../tests/Test.h', |
28 ], | 29 ], |
29 'dependencies': [ | 30 'dependencies': [ |
30 'skia_lib.gyp:skia_lib', | 31 'skia_lib.gyp:skia_lib', |
31 'flags.gyp:flags', | 32 'flags.gyp:flags', |
32 ], | 33 ], |
33 'conditions': [ | 34 'conditions': [ |
34 [ 'skia_gpu == 1', { | 35 [ 'skia_gpu == 1', { |
35 'include_dirs': [ | 36 'include_dirs': [ |
36 '../src/gpu', | 37 '../src/gpu', |
37 ], | 38 ], |
38 }], | 39 }], |
39 ], | 40 ], |
40 }, | 41 }, |
41 ], | 42 ], |
42 } | 43 } |
43 | 44 |
44 # Local Variables: | 45 # Local Variables: |
45 # tab-width:2 | 46 # tab-width:2 |
46 # indent-tabs-mode:nil | 47 # indent-tabs-mode:nil |
47 # End: | 48 # End: |
48 # vim: set expandtab tabstop=2 shiftwidth=2: | 49 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |