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/skia_test.cpp', | 23 '../tests/skia_test.cpp', |
24 '../src/utils/SkTaskGroup.cpp', | |
25 ], | 24 ], |
26 'conditions': [ | 25 'conditions': [ |
27 [ 'skia_android_framework == 1', { | 26 [ 'skia_android_framework == 1', { |
28 'libraries': [ | 27 'libraries': [ |
29 '-lskia', | 28 '-lskia', |
30 ], | 29 ], |
31 'libraries!': [ | 30 'libraries!': [ |
32 '-lz', | 31 '-lz', |
33 '-llog', | 32 '-llog', |
34 ], | 33 ], |
35 }], | 34 }], |
36 [ 'skia_gpu == 1', { | 35 [ 'skia_gpu == 1', { |
37 'include_dirs': [ | 36 'include_dirs': [ |
38 '../src/gpu', | 37 '../src/gpu', |
39 ], | 38 ], |
40 }], | 39 }], |
41 ], | 40 ], |
42 }, | 41 }, |
43 ], | 42 ], |
44 } | 43 } |
OLD | NEW |