blob: e4e7d72dff55283fe379d955766f7df28336dddb [file] [log] [blame]
caryclark@google.com11fa4a72012-03-27 13:27:36 +00001# GYP file to build unit tests.
2{
3 'includes': [
4 'apptype_console.gypi',
5 'common.gypi',
6 ],
7 'targets': [
8 {
9 'target_name': 'edge',
10 'type': 'executable',
11 'include_dirs' : [
12 '../src/core',
caryclark@google.com11fa4a72012-03-27 13:27:36 +000013 ],
14 'sources': [
15 '../experimental/Intersection/ActiveEdge_Test.cpp',
16 '../experimental/Intersection/ConvexHull.cpp',
17 '../experimental/Intersection/ConvexHull_Test.cpp',
18 '../experimental/Intersection/CubeRoot.cpp',
19 '../experimental/Intersection/CubicBezierClip.cpp',
20 '../experimental/Intersection/CubicBezierClip_Test.cpp',
21 '../experimental/Intersection/CubicBounds.cpp',
caryclark@google.com45a8fc62013-02-14 15:29:11 +000022 '../experimental/Intersection/CubicConvexHull.cpp',
caryclark@google.com11fa4a72012-03-27 13:27:36 +000023 '../experimental/Intersection/CubicIntersection.cpp',
24 '../experimental/Intersection/CubicIntersection_Test.cpp',
25 '../experimental/Intersection/CubicIntersection_TestData.cpp',
caryclark@google.comd3128042012-09-26 13:00:03 +000026 '../experimental/Intersection/CubicLineSegments.cpp',
caryclark@google.com11fa4a72012-03-27 13:27:36 +000027 '../experimental/Intersection/CubicParameterization.cpp',
28 '../experimental/Intersection/CubicParameterization_Test.cpp',
29 '../experimental/Intersection/CubicParameterizationCode.cpp',
30 '../experimental/Intersection/CubicReduceOrder.cpp',
31 '../experimental/Intersection/CubicReduceOrder_Test.cpp',
32 '../experimental/Intersection/CubicSubDivide.cpp',
caryclark@google.com6d0032a2013-01-04 19:41:13 +000033 '../experimental/Intersection/CubicToQuadratics.cpp',
34 '../experimental/Intersection/CubicToQuadratics_Test.cpp',
caryclark@google.com11fa4a72012-03-27 13:27:36 +000035 '../experimental/Intersection/CubicUtilities.cpp',
caryclark@google.com1304bb22013-03-13 20:29:41 +000036 '../experimental/Intersection/CubicUtilities_Test.cpp',
caryclark@google.com11fa4a72012-03-27 13:27:36 +000037 '../experimental/Intersection/DataTypes.cpp',
38 '../experimental/Intersection/EdgeMain.cpp',
39 '../experimental/Intersection/EdgeWalker.cpp',
40 '../experimental/Intersection/EdgeWalker_TestUtility.cpp',
41 '../experimental/Intersection/EdgeWalkerPolygon4x4_Test.cpp',
42 '../experimental/Intersection/EdgeWalkerPolygons_Mismatches.cpp',
43 '../experimental/Intersection/EdgeWalkerPolygons_Test.cpp',
44 '../experimental/Intersection/EdgeWalkerQuadralaterals_Test.cpp',
caryclark@google.com15fa1382012-05-07 20:49:36 +000045 '../experimental/Intersection/EdgeWalkerQuadratic4x4_Test.cpp',
caryclark@google.coma5764232012-03-28 16:20:21 +000046 '../experimental/Intersection/EdgeWalkerQuadratics_Test.cpp',
caryclark@google.com11fa4a72012-03-27 13:27:36 +000047 '../experimental/Intersection/EdgeWalkerRectangles_Test.cpp',
48 '../experimental/Intersection/Extrema.cpp',
49 '../experimental/Intersection/Inline_Tests.cpp',
50 '../experimental/Intersection/Intersection_Tests.cpp',
caryclark@google.comd3128042012-09-26 13:00:03 +000051 '../experimental/Intersection/Intersections.cpp',
caryclark@google.com11fa4a72012-03-27 13:27:36 +000052 '../experimental/Intersection/IntersectionUtilities.cpp',
53 '../experimental/Intersection/LineCubicIntersection.cpp',
54 '../experimental/Intersection/LineCubicIntersection_Test.cpp',
55 '../experimental/Intersection/LineIntersection.cpp',
56 '../experimental/Intersection/LineIntersection_Test.cpp',
57 '../experimental/Intersection/LineParameterization.cpp',
58 '../experimental/Intersection/LineParameteters_Test.cpp',
59 '../experimental/Intersection/LineQuadraticIntersection.cpp',
60 '../experimental/Intersection/LineQuadraticIntersection_Test.cpp',
61 '../experimental/Intersection/LineUtilities.cpp',
caryclark@google.comc91dfe42012-10-16 12:06:27 +000062 '../experimental/Intersection/MiniSimplify_Test.cpp',
caryclark@google.com11fa4a72012-03-27 13:27:36 +000063 '../experimental/Intersection/QuadraticBezierClip.cpp',
64 '../experimental/Intersection/QuadraticBezierClip_Test.cpp',
caryclark@google.com15fa1382012-05-07 20:49:36 +000065 '../experimental/Intersection/QuadraticBounds.cpp',
caryclark@google.comd3128042012-09-26 13:00:03 +000066 '../experimental/Intersection/QuadraticImplicit.cpp',
caryclark@google.com11fa4a72012-03-27 13:27:36 +000067 '../experimental/Intersection/QuadraticIntersection_Test.cpp',
68 '../experimental/Intersection/QuadraticIntersection_TestData.cpp',
caryclark@google.com9e49fb62012-08-27 14:11:33 +000069 '../experimental/Intersection/QuadraticLineSegments.cpp',
caryclark@google.com11fa4a72012-03-27 13:27:36 +000070 '../experimental/Intersection/QuadraticParameterization.cpp',
71 '../experimental/Intersection/QuadraticParameterization_Test.cpp',
72 '../experimental/Intersection/QuadraticReduceOrder.cpp',
73 '../experimental/Intersection/QuadraticReduceOrder_Test.cpp',
74 '../experimental/Intersection/QuadraticSubDivide.cpp',
75 '../experimental/Intersection/QuadraticUtilities.cpp',
caryclark@google.comd3128042012-09-26 13:00:03 +000076 '../experimental/Intersection/QuarticRoot.cpp',
77 '../experimental/Intersection/QuarticRoot_Test.cpp',
78 '../experimental/Intersection/ShapeOps.cpp',
caryclark@google.comaa358312013-01-29 20:28:49 +000079 '../experimental/Intersection/ShapeOpCubic4x4_Test.cpp',
caryclark@google.com729e1c42012-11-21 21:36:34 +000080 '../experimental/Intersection/ShapeOpRect4x4_Test.cpp',
caryclark@google.com15fa1382012-05-07 20:49:36 +000081 '../experimental/Intersection/Simplify.cpp',
82 '../experimental/Intersection/SimplifyAddIntersectingTs_Test.cpp',
caryclark@google.comb45a1b42012-05-18 20:50:33 +000083 '../experimental/Intersection/SimplifyAngle_Test.cpp',
84 '../experimental/Intersection/SimplifyFindNext_Test.cpp',
85 '../experimental/Intersection/SimplifyFindTop_Test.cpp',
caryclark@google.com65f9f0a2012-05-23 18:09:25 +000086 '../experimental/Intersection/SimplifyNew_Test.cpp',
caryclark@google.comec390ea2012-07-02 20:44:59 +000087 '../experimental/Intersection/SimplifyRect4x4_Test.cpp',
caryclark@google.com11fa4a72012-03-27 13:27:36 +000088 '../experimental/Intersection/TestUtilities.cpp',
caryclark@google.combeda3892013-02-07 13:13:41 +000089 '../experimental/Intersection/TriangleUtilities.cpp',
caryclark@google.coma5764232012-03-28 16:20:21 +000090 '../experimental/Intersection/CubicIntersection_TestData.h',
caryclark@google.comd3128042012-09-26 13:00:03 +000091 '../experimental/Intersection/CubicLineSegments.h',
caryclark@google.coma5764232012-03-28 16:20:21 +000092 '../experimental/Intersection/CubicUtilities.h',
93 '../experimental/Intersection/CurveIntersection.h',
caryclark@google.comec390ea2012-07-02 20:44:59 +000094 '../experimental/Intersection/CurveUtilities.h',
caryclark@google.coma5764232012-03-28 16:20:21 +000095 '../experimental/Intersection/DataTypes.h',
caryclark@google.coma5764232012-03-28 16:20:21 +000096 '../experimental/Intersection/EdgeWalker_Test.h',
caryclark@google.coma5764232012-03-28 16:20:21 +000097 '../experimental/Intersection/Extrema.h',
98 '../experimental/Intersection/Intersection_Tests.h',
99 '../experimental/Intersection/Intersections.h',
100 '../experimental/Intersection/IntersectionUtilities.h',
101 '../experimental/Intersection/LineIntersection.h',
102 '../experimental/Intersection/LineParameters.h',
103 '../experimental/Intersection/LineUtilities.h',
104 '../experimental/Intersection/Parameterization_Test.h',
105 '../experimental/Intersection/QuadraticIntersection_TestData.h',
caryclark@google.com9e49fb62012-08-27 14:11:33 +0000106 '../experimental/Intersection/QuadraticLineSegments.h',
caryclark@google.comd3128042012-09-26 13:00:03 +0000107 '../experimental/Intersection/QuadraticParameterization.h',
caryclark@google.coma5764232012-03-28 16:20:21 +0000108 '../experimental/Intersection/QuadraticUtilities.h',
caryclark@google.comd3128042012-09-26 13:00:03 +0000109 '../experimental/Intersection/QuarticRoot.h',
caryclark@google.coma5764232012-03-28 16:20:21 +0000110 '../experimental/Intersection/ShapeOps.h',
caryclark@google.comb45a1b42012-05-18 20:50:33 +0000111 '../experimental/Intersection/Simplify.h',
caryclark@google.coma5764232012-03-28 16:20:21 +0000112 '../experimental/Intersection/TestUtilities.h',
caryclark@google.combeda3892013-02-07 13:13:41 +0000113 '../experimental/Intersection/TriangleUtilities.h',
caryclark@google.coma5764232012-03-28 16:20:21 +0000114 '../experimental/Intersection/TSearch.h',
caryclark@google.com198e0542012-03-30 18:47:02 +0000115 '../experimental/Intersection/thingsToDo.txt',
caryclark@google.com11fa4a72012-03-27 13:27:36 +0000116 ],
117 'dependencies': [
djsollen@google.com52f02972013-06-03 12:10:19 +0000118 'skia_lib.gyp:skia_lib',
caryclark@google.com11fa4a72012-03-27 13:27:36 +0000119 ],
bsalomon@google.comcf8fb1f2012-08-02 14:03:32 +0000120 'conditions': [
121 [ 'skia_gpu == 1', {
122 'include_dirs': [
123 '../src/gpu',
124 ],
bsalomon@google.comcf8fb1f2012-08-02 14:03:32 +0000125 }],
126 ],
caryclark@google.com11fa4a72012-03-27 13:27:36 +0000127 },
128 ],
129}
130
131# Local Variables:
132# tab-width:2
133# indent-tabs-mode:nil
134# End:
135# vim: set expandtab tabstop=2 shiftwidth=2: