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