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