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