blob: 34d60f4bb7b43225b3578b18584e95e6023c8cdf [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',
22 '../experimental/Intersection/CubicIntersection.cpp',
23 '../experimental/Intersection/CubicIntersection_Test.cpp',
24 '../experimental/Intersection/CubicIntersection_TestData.cpp',
caryclark@google.comd3128042012-09-26 13:00:03 +000025 '../experimental/Intersection/CubicLineSegments.cpp',
caryclark@google.com11fa4a72012-03-27 13:27:36 +000026 '../experimental/Intersection/CubicParameterization.cpp',
27 '../experimental/Intersection/CubicParameterization_Test.cpp',
28 '../experimental/Intersection/CubicParameterizationCode.cpp',
29 '../experimental/Intersection/CubicReduceOrder.cpp',
30 '../experimental/Intersection/CubicReduceOrder_Test.cpp',
31 '../experimental/Intersection/CubicSubDivide.cpp',
caryclark@google.com6d0032a2013-01-04 19:41:13 +000032 '../experimental/Intersection/CubicToQuadratics.cpp',
33 '../experimental/Intersection/CubicToQuadratics_Test.cpp',
caryclark@google.com11fa4a72012-03-27 13:27:36 +000034 '../experimental/Intersection/CubicUtilities.cpp',
35 '../experimental/Intersection/DataTypes.cpp',
36 '../experimental/Intersection/EdgeMain.cpp',
37 '../experimental/Intersection/EdgeWalker.cpp',
38 '../experimental/Intersection/EdgeWalker_TestUtility.cpp',
39 '../experimental/Intersection/EdgeWalkerPolygon4x4_Test.cpp',
40 '../experimental/Intersection/EdgeWalkerPolygons_Mismatches.cpp',
41 '../experimental/Intersection/EdgeWalkerPolygons_Test.cpp',
42 '../experimental/Intersection/EdgeWalkerQuadralaterals_Test.cpp',
caryclark@google.com15fa1382012-05-07 20:49:36 +000043 '../experimental/Intersection/EdgeWalkerQuadratic4x4_Test.cpp',
caryclark@google.coma5764232012-03-28 16:20:21 +000044 '../experimental/Intersection/EdgeWalkerQuadratics_Test.cpp',
caryclark@google.com11fa4a72012-03-27 13:27:36 +000045 '../experimental/Intersection/EdgeWalkerRectangles_Test.cpp',
46 '../experimental/Intersection/Extrema.cpp',
47 '../experimental/Intersection/Inline_Tests.cpp',
48 '../experimental/Intersection/Intersection_Tests.cpp',
caryclark@google.comd3128042012-09-26 13:00:03 +000049 '../experimental/Intersection/Intersections.cpp',
caryclark@google.com11fa4a72012-03-27 13:27:36 +000050 '../experimental/Intersection/IntersectionUtilities.cpp',
51 '../experimental/Intersection/LineCubicIntersection.cpp',
52 '../experimental/Intersection/LineCubicIntersection_Test.cpp',
53 '../experimental/Intersection/LineIntersection.cpp',
54 '../experimental/Intersection/LineIntersection_Test.cpp',
55 '../experimental/Intersection/LineParameterization.cpp',
56 '../experimental/Intersection/LineParameteters_Test.cpp',
57 '../experimental/Intersection/LineQuadraticIntersection.cpp',
58 '../experimental/Intersection/LineQuadraticIntersection_Test.cpp',
59 '../experimental/Intersection/LineUtilities.cpp',
caryclark@google.comc91dfe42012-10-16 12:06:27 +000060 '../experimental/Intersection/MiniSimplify_Test.cpp',
caryclark@google.com11fa4a72012-03-27 13:27:36 +000061 '../experimental/Intersection/QuadraticBezierClip.cpp',
62 '../experimental/Intersection/QuadraticBezierClip_Test.cpp',
caryclark@google.com15fa1382012-05-07 20:49:36 +000063 '../experimental/Intersection/QuadraticBounds.cpp',
caryclark@google.comd3128042012-09-26 13:00:03 +000064 '../experimental/Intersection/QuadraticImplicit.cpp',
caryclark@google.com11fa4a72012-03-27 13:27:36 +000065 '../experimental/Intersection/QuadraticIntersection.cpp',
66 '../experimental/Intersection/QuadraticIntersection_Test.cpp',
67 '../experimental/Intersection/QuadraticIntersection_TestData.cpp',
caryclark@google.com9e49fb62012-08-27 14:11:33 +000068 '../experimental/Intersection/QuadraticLineSegments.cpp',
caryclark@google.com11fa4a72012-03-27 13:27:36 +000069 '../experimental/Intersection/QuadraticParameterization.cpp',
70 '../experimental/Intersection/QuadraticParameterization_Test.cpp',
71 '../experimental/Intersection/QuadraticReduceOrder.cpp',
72 '../experimental/Intersection/QuadraticReduceOrder_Test.cpp',
73 '../experimental/Intersection/QuadraticSubDivide.cpp',
74 '../experimental/Intersection/QuadraticUtilities.cpp',
caryclark@google.comd3128042012-09-26 13:00:03 +000075 '../experimental/Intersection/QuarticRoot.cpp',
76 '../experimental/Intersection/QuarticRoot_Test.cpp',
77 '../experimental/Intersection/ShapeOps.cpp',
caryclark@google.comaa358312013-01-29 20:28:49 +000078 '../experimental/Intersection/ShapeOpCubic4x4_Test.cpp',
caryclark@google.com729e1c42012-11-21 21:36:34 +000079 '../experimental/Intersection/ShapeOpRect4x4_Test.cpp',
caryclark@google.com15fa1382012-05-07 20:49:36 +000080 '../experimental/Intersection/Simplify.cpp',
81 '../experimental/Intersection/SimplifyAddIntersectingTs_Test.cpp',
caryclark@google.comb45a1b42012-05-18 20:50:33 +000082 '../experimental/Intersection/SimplifyAngle_Test.cpp',
83 '../experimental/Intersection/SimplifyFindNext_Test.cpp',
84 '../experimental/Intersection/SimplifyFindTop_Test.cpp',
caryclark@google.com65f9f0a2012-05-23 18:09:25 +000085 '../experimental/Intersection/SimplifyNew_Test.cpp',
caryclark@google.comec390ea2012-07-02 20:44:59 +000086 '../experimental/Intersection/SimplifyRect4x4_Test.cpp',
caryclark@google.com11fa4a72012-03-27 13:27:36 +000087 '../experimental/Intersection/TestUtilities.cpp',
caryclark@google.coma5764232012-03-28 16:20:21 +000088 '../experimental/Intersection/CubicIntersection_TestData.h',
caryclark@google.comd3128042012-09-26 13:00:03 +000089 '../experimental/Intersection/CubicLineSegments.h',
caryclark@google.coma5764232012-03-28 16:20:21 +000090 '../experimental/Intersection/CubicUtilities.h',
91 '../experimental/Intersection/CurveIntersection.h',
caryclark@google.comec390ea2012-07-02 20:44:59 +000092 '../experimental/Intersection/CurveUtilities.h',
caryclark@google.coma5764232012-03-28 16:20:21 +000093 '../experimental/Intersection/DataTypes.h',
caryclark@google.coma5764232012-03-28 16:20:21 +000094 '../experimental/Intersection/EdgeWalker_Test.h',
caryclark@google.coma5764232012-03-28 16:20:21 +000095 '../experimental/Intersection/Extrema.h',
96 '../experimental/Intersection/Intersection_Tests.h',
97 '../experimental/Intersection/Intersections.h',
98 '../experimental/Intersection/IntersectionUtilities.h',
99 '../experimental/Intersection/LineIntersection.h',
100 '../experimental/Intersection/LineParameters.h',
101 '../experimental/Intersection/LineUtilities.h',
102 '../experimental/Intersection/Parameterization_Test.h',
103 '../experimental/Intersection/QuadraticIntersection_TestData.h',
caryclark@google.com9e49fb62012-08-27 14:11:33 +0000104 '../experimental/Intersection/QuadraticLineSegments.h',
caryclark@google.comd3128042012-09-26 13:00:03 +0000105 '../experimental/Intersection/QuadraticParameterization.h',
caryclark@google.coma5764232012-03-28 16:20:21 +0000106 '../experimental/Intersection/QuadraticUtilities.h',
caryclark@google.comd3128042012-09-26 13:00:03 +0000107 '../experimental/Intersection/QuarticRoot.h',
caryclark@google.coma5764232012-03-28 16:20:21 +0000108 '../experimental/Intersection/ShapeOps.h',
caryclark@google.comb45a1b42012-05-18 20:50:33 +0000109 '../experimental/Intersection/Simplify.h',
caryclark@google.coma5764232012-03-28 16:20:21 +0000110 '../experimental/Intersection/TestUtilities.h',
111 '../experimental/Intersection/TSearch.h',
caryclark@google.com198e0542012-03-30 18:47:02 +0000112 '../experimental/Intersection/thingsToDo.txt',
caryclark@google.com11fa4a72012-03-27 13:27:36 +0000113 ],
114 'dependencies': [
borenet@google.comefb1d772012-10-10 19:45:51 +0000115 'skia_base_libs.gyp:skia_base_libs',
caryclark@google.com11fa4a72012-03-27 13:27:36 +0000116 'effects.gyp:effects',
caryclark@google.com11fa4a72012-03-27 13:27:36 +0000117 'images.gyp:images',
caryclark@google.com11fa4a72012-03-27 13:27:36 +0000118 ],
bsalomon@google.comcf8fb1f2012-08-02 14:03:32 +0000119 'conditions': [
120 [ 'skia_gpu == 1', {
121 'include_dirs': [
122 '../src/gpu',
123 ],
bsalomon@google.comcf8fb1f2012-08-02 14:03:32 +0000124 }],
125 ],
caryclark@google.com11fa4a72012-03-27 13:27:36 +0000126 },
127 ],
128}
129
130# Local Variables:
131# tab-width:2
132# indent-tabs-mode:nil
133# End:
134# vim: set expandtab tabstop=2 shiftwidth=2: