OLD | NEW |
1 # Copyright 2015 Google Inc. | 1 # Copyright 2015 Google Inc. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 # GYP file to build pathops unit tests. | 5 # GYP file to build pathops unit tests. |
6 { | 6 { |
7 'includes': [ | 7 'includes': [ |
8 'apptype_console.gypi', | 8 'apptype_console.gypi', |
9 ], | 9 ], |
10 'targets': [ | 10 'targets': [ |
11 { | 11 { |
12 'target_name': 'pathops_unittest', | 12 'target_name': 'pathops_unittest', |
13 'type': 'executable', | 13 'type': 'executable', |
14 'includes': [ | 14 'includes': [ |
15 'pathops_unittest.gypi', | 15 'pathops_unittest.gypi', |
16 ], | 16 ], |
17 'dependencies': [ | 17 'dependencies': [ |
18 'flags.gyp:flags_common', | 18 'flags.gyp:flags_common', |
19 'tools.gyp:crash_handler', | 19 'tools.gyp:crash_handler', |
20 ], | 20 ], |
21 'sources': [ | 21 'sources': [ |
22 '../tests/PathOpsAngleIdeas.cpp', | 22 '../tests/PathOpsAngleIdeas.cpp', |
23 '../tests/PathOpsBattles.cpp', | 23 '../tests/PathOpsBattles.cpp', |
24 '../tests/PathOpsCubicLineIntersectionIdeas.cpp', | 24 '../tests/PathOpsCubicLineIntersectionIdeas.cpp', |
25 '../tests/PathOpsDebug.cpp', | 25 '../tests/PathOpsDebug.cpp', |
26 '../tests/PathOpsOpLoopThreadedTest.cpp', | 26 '../tests/PathOpsOpLoopThreadedTest.cpp', |
| 27 '../tests/PathOpsTSectDebug.h', |
27 '../tests/skia_test.cpp', | 28 '../tests/skia_test.cpp', |
28 ], | 29 ], |
29 'conditions': [ | 30 'conditions': [ |
30 [ 'skia_android_framework == 1', { | 31 [ 'skia_android_framework == 1', { |
31 'libraries': [ | 32 'libraries': [ |
32 '-lskia', | 33 '-lskia', |
33 ], | 34 ], |
34 'libraries!': [ | 35 'libraries!': [ |
35 '-lz', | 36 '-lz', |
36 '-llog', | 37 '-llog', |
37 ], | 38 ], |
38 }], | 39 }], |
39 [ 'skia_gpu == 1', { | 40 [ 'skia_gpu == 1', { |
40 'include_dirs': [ | 41 'include_dirs': [ |
41 '../src/gpu', | 42 '../src/gpu', |
42 ], | 43 ], |
43 }], | 44 }], |
44 ], | 45 ], |
45 }, | 46 }, |
46 ], | 47 ], |
47 } | 48 } |
OLD | NEW |