OLD | NEW |
1 # GYP file to build unit tests. | 1 # GYP file to build 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 'suppress_wildcard': '1', | 10 'suppress_wildcard': '1', |
11 'include_dirs' : [ | 11 'include_dirs' : [ |
12 '../include/pathops', | 12 '../include/pathops', |
13 '../src/core', | 13 '../src/core', |
14 '../src/effects', | 14 '../src/effects', |
15 '../src/lazy', | 15 '../src/lazy', |
16 '../src/pathops', | 16 '../src/pathops', |
17 '../src/pdf', | 17 '../src/pdf', |
18 '../src/pipe/utils', | 18 '../src/pipe/utils', |
19 '../src/utils', | 19 '../src/utils', |
20 '../tools/', | 20 '../tools/', |
21 ], | 21 ], |
| 22 'includes': [ |
| 23 'pathops.gypi', |
| 24 'pathops_unittest.gypi', |
| 25 ], |
22 'sources': [ | 26 'sources': [ |
23 '../include/pathops/SkPathOps.h', | |
24 '../src/pathops/SkAddIntersections.cpp', | |
25 '../src/pathops/SkDCubicIntersection.cpp', | |
26 '../src/pathops/SkDCubicLineIntersection.cpp', | |
27 '../src/pathops/SkDCubicToQuads.cpp', | |
28 '../src/pathops/SkDLineIntersection.cpp', | |
29 '../src/pathops/SkDQuadImplicit.cpp', | |
30 '../src/pathops/SkDQuadIntersection.cpp', | |
31 '../src/pathops/SkDQuadLineIntersection.cpp', | |
32 '../src/pathops/SkIntersections.cpp', | |
33 '../src/pathops/SkOpAngle.cpp', | |
34 '../src/pathops/SkOpContour.cpp', | |
35 '../src/pathops/SkOpEdgeBuilder.cpp', | |
36 '../src/pathops/SkOpSegment.cpp', | |
37 '../src/pathops/SkPathOpsBounds.cpp', | |
38 '../src/pathops/SkPathOpsCommon.cpp', | |
39 '../src/pathops/SkPathOpsCubic.cpp', | |
40 '../src/pathops/SkPathOpsDebug.cpp', | |
41 '../src/pathops/SkPathOpsLine.cpp', | |
42 '../src/pathops/SkPathOpsOp.cpp', | |
43 '../src/pathops/SkPathOpsPoint.cpp', | |
44 '../src/pathops/SkPathOpsQuad.cpp', | |
45 '../src/pathops/SkPathOpsRect.cpp', | |
46 '../src/pathops/SkPathOpsSimplify.cpp', | |
47 '../src/pathops/SkPathOpsTriangle.cpp', | |
48 '../src/pathops/SkPathOpsTypes.cpp', | |
49 '../src/pathops/SkPathWriter.cpp', | |
50 '../src/pathops/SkQuarticRoot.cpp', | |
51 '../src/pathops/SkReduceOrder.cpp', | |
52 '../src/pathops/SkAddIntersections.h', | |
53 '../src/pathops/SkDQuadImplicit.h', | |
54 '../src/pathops/SkIntersectionHelper.h', | |
55 '../src/pathops/SkIntersections.h', | |
56 '../src/pathops/SkLineParameters.h', | |
57 '../src/pathops/SkOpAngle.h', | |
58 '../src/pathops/SkOpContour.h', | |
59 '../src/pathops/SkOpEdgeBuilder.h', | |
60 '../src/pathops/SkOpSegment.h', | |
61 '../src/pathops/SkOpSpan.h', | |
62 '../src/pathops/SkPathOpsBounds.h', | |
63 '../src/pathops/SkPathOpsCommon.h', | |
64 '../src/pathops/SkPathOpsCubic.h', | |
65 '../src/pathops/SkPathOpsCurve.h', | |
66 '../src/pathops/SkPathOpsDebug.h', | |
67 '../src/pathops/SkPathOpsLine.h', | |
68 '../src/pathops/SkPathOpsPoint.h', | |
69 '../src/pathops/SkPathOpsQuad.h', | |
70 '../src/pathops/SkPathOpsRect.h', | |
71 '../src/pathops/SkPathOpsSpan.h', | |
72 '../src/pathops/SkPathOpsTriangle.h', | |
73 '../src/pathops/SkPathOpsTypes.h', | |
74 '../src/pathops/SkPathWriter.h', | |
75 '../src/pathops/SkQuarticRoot.h', | |
76 '../src/pathops/SkReduceOrder.h', | |
77 '../src/pathops/TSearch.h', | |
78 '../tests/PathOpsBoundsTest.cpp', | |
79 '../tests/PathOpsCubicIntersectionTest.cpp', | |
80 '../tests/PathOpsCubicIntersectionTestData.cpp', | |
81 '../tests/PathOpsCubicLineIntersectionTest.cpp', | |
82 '../tests/PathOpsCubicReduceOrderTest.cpp', | |
83 '../tests/PathOpsCubicToQuadsTest.cpp', | |
84 '../tests/PathOpsDCubicTest.cpp', | |
85 '../tests/PathOpsDLineTest.cpp', | |
86 '../tests/PathOpsDPointTest.cpp', | |
87 '../tests/PathOpsDQuadTest.cpp', | |
88 '../tests/PathOpsDRectTest.cpp', | |
89 '../tests/PathOpsDTriangleTest.cpp', | |
90 '../tests/PathOpsDVectorTest.cpp', | |
91 '../tests/PathOpsExtendedTest.cpp', | |
92 '../tests/PathOpsLineIntersectionTest.cpp', | |
93 '../tests/PathOpsLineParametetersTest.cpp', | |
94 '../tests/PathOpsOpCubicThreadedTest.cpp', | |
95 '../tests/PathOpsOpRectThreadedTest.cpp', | |
96 '../tests/PathOpsOpTest.cpp', | |
97 '../tests/PathOpsQuadIntersectionTest.cpp', | |
98 '../tests/PathOpsQuadIntersectionTestData.cpp', | |
99 '../tests/PathOpsQuadLineIntersectionTest.cpp', | |
100 '../tests/PathOpsQuadLineIntersectionThreadedTest.cpp', | |
101 '../tests/PathOpsQuadParameterizationTest.cpp', | |
102 '../tests/PathOpsQuadReduceOrderTest.cpp', | |
103 '../tests/PathOpsSimplifyDegenerateThreadedTest.cpp', | |
104 '../tests/PathOpsSimplifyQuadralateralsThreadedTest.cpp', | |
105 '../tests/PathOpsSimplifyQuadThreadedTest.cpp', | |
106 '../tests/PathOpsSimplifyRectThreadedTest.cpp', | |
107 '../tests/PathOpsSimplifyTest.cpp', | |
108 '../tests/PathOpsSimplifyTrianglesThreadedTest.cpp', | |
109 '../tests/PathOpsTestCommon.cpp', | |
110 '../tests/PathOpsThreadedCommon.cpp', | |
111 '../tests/PathOpsCubicIntersectionTestData.h', | |
112 '../tests/PathOpsExtendedTest.h', | |
113 '../tests/PathOpsQuadIntersectionTestData.h', | |
114 '../tests/PathOpsTestCommon.h', | |
115 '../tests/PathOpsThreadedCommon.h', | |
116 '../tests/Test.cpp', | 27 '../tests/Test.cpp', |
117 '../tests/skia_test.cpp', | 28 '../tests/skia_test.cpp', |
118 '../tests/Test.h', | 29 '../tests/Test.h', |
119 ], | 30 ], |
120 'dependencies': [ | 31 'dependencies': [ |
121 'skia_base_libs.gyp:skia_base_libs', | 32 'skia_base_libs.gyp:skia_base_libs', |
122 'effects.gyp:effects', | 33 'effects.gyp:effects', |
123 'images.gyp:images', | 34 'images.gyp:images', |
124 'utils.gyp:utils', | 35 'utils.gyp:utils', |
125 ], | 36 ], |
126 'conditions': [ | 37 'conditions': [ |
127 [ 'skia_gpu == 1', { | 38 [ 'skia_gpu == 1', { |
128 'include_dirs': [ | 39 'include_dirs': [ |
129 '../src/gpu', | 40 '../src/gpu', |
130 ], | 41 ], |
131 }], | 42 }], |
132 ], | 43 ], |
133 }, | 44 }, |
134 ], | 45 ], |
135 } | 46 } |
136 | 47 |
137 # Local Variables: | 48 # Local Variables: |
138 # tab-width:2 | 49 # tab-width:2 |
139 # indent-tabs-mode:nil | 50 # indent-tabs-mode:nil |
140 # End: | 51 # End: |
141 # vim: set expandtab tabstop=2 shiftwidth=2: | 52 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |