OLD | NEW |
1 # GYP file to build pathops unit tests. | 1 # GYP file to build pathops 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 'includes': [ | 10 'includes': [ |
11 'pathops_unittest.gypi', | 11 'pathops_unittest.gypi', |
12 ], | 12 ], |
13 'dependencies': [ | 13 'dependencies': [ |
14 'flags.gyp:flags_common', | 14 'flags.gyp:flags_common', |
15 'tools.gyp:crash_handler', | 15 'tools.gyp:crash_handler', |
16 ], | 16 ], |
17 'sources': [ | 17 'sources': [ |
18 '../tests/PathOpsAngleIdeas.cpp', | 18 '../tests/PathOpsAngleIdeas.cpp', |
19 '../tests/PathOpsBattles.cpp', | 19 '../tests/PathOpsBattles.cpp', |
20 '../tests/PathOpsCubicLineIntersectionIdeas.cpp', | 20 '../tests/PathOpsCubicLineIntersectionIdeas.cpp', |
21 '../tests/PathOpsDebug.cpp', | 21 '../tests/PathOpsDebug.cpp', |
22 '../tests/PathOpsOpLoopThreadedTest.cpp', | 22 '../tests/PathOpsOpLoopThreadedTest.cpp', |
| 23 '../tests/PathOpsTSectDebug.h', |
23 '../tests/skia_test.cpp', | 24 '../tests/skia_test.cpp', |
24 ], | 25 ], |
25 'conditions': [ | 26 'conditions': [ |
26 [ 'skia_android_framework == 1', { | 27 [ 'skia_android_framework == 1', { |
27 'libraries': [ | 28 'libraries': [ |
28 '-lskia', | 29 '-lskia', |
29 ], | 30 ], |
30 'libraries!': [ | 31 'libraries!': [ |
31 '-lz', | 32 '-lz', |
32 '-llog', | 33 '-llog', |
33 ], | 34 ], |
34 }], | 35 }], |
35 [ 'skia_gpu == 1', { | 36 [ 'skia_gpu == 1', { |
36 'include_dirs': [ | 37 'include_dirs': [ |
37 '../src/gpu', | 38 '../src/gpu', |
38 ], | 39 ], |
39 }], | 40 }], |
40 ], | 41 ], |
41 }, | 42 }, |
42 ], | 43 ], |
43 } | 44 } |
OLD | NEW |