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/PathOpsCubicLineIntersectionIdeas.cpp', | 19 '../tests/PathOpsCubicLineIntersectionIdeas.cpp', |
20 '../tests/PathOpsDebug.cpp', | 20 '../tests/PathOpsDebug.cpp', |
21 '../tests/PathOpsOpLoopThreadedTest.cpp', | 21 '../tests/PathOpsOpLoopThreadedTest.cpp', |
22 '../tests/skia_test.cpp', | 22 '../tests/skia_test.cpp', |
| 23 '../src/utils/SkTaskGroup.cpp', |
23 ], | 24 ], |
24 'conditions': [ | 25 'conditions': [ |
25 [ 'skia_android_framework == 1', { | 26 [ 'skia_android_framework == 1', { |
26 'libraries': [ | 27 'libraries': [ |
27 '-lskia', | 28 '-lskia', |
28 ], | 29 ], |
29 'libraries!': [ | 30 'libraries!': [ |
30 '-lz', | 31 '-lz', |
31 '-llog', | 32 '-llog', |
32 ], | 33 ], |
33 }], | 34 }], |
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 } |
OLD | NEW |