blob: 2cbc8135f16206773880af450f363d07b04c2188 [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',
36 '../experimental/Intersection/DataTypes.cpp',
37 '../experimental/Intersection/EdgeMain.cpp',
38 '../experimental/Intersection/EdgeWalker.cpp',
39 '../experimental/Intersection/EdgeWalker_TestUtility.cpp',
40 '../experimental/Intersection/EdgeWalkerPolygon4x4_Test.cpp',
41 '../experimental/Intersection/EdgeWalkerPolygons_Mismatches.cpp',
42 '../experimental/Intersection/EdgeWalkerPolygons_Test.cpp',
43 '../experimental/Intersection/EdgeWalkerQuadralaterals_Test.cpp',
caryclark@google.com15fa1382012-05-07 20:49:36 +000044 '../experimental/Intersection/EdgeWalkerQuadratic4x4_Test.cpp',
caryclark@google.coma5764232012-03-28 16:20:21 +000045 '../experimental/Intersection/EdgeWalkerQuadratics_Test.cpp',
caryclark@google.com11fa4a72012-03-27 13:27:36 +000046 '../experimental/Intersection/EdgeWalkerRectangles_Test.cpp',
47 '../experimental/Intersection/Extrema.cpp',
48 '../experimental/Intersection/Inline_Tests.cpp',
49 '../experimental/Intersection/Intersection_Tests.cpp',
caryclark@google.comd3128042012-09-26 13:00:03 +000050 '../experimental/Intersection/Intersections.cpp',
caryclark@google.com11fa4a72012-03-27 13:27:36 +000051 '../experimental/Intersection/IntersectionUtilities.cpp',
52 '../experimental/Intersection/LineCubicIntersection.cpp',
53 '../experimental/Intersection/LineCubicIntersection_Test.cpp',
54 '../experimental/Intersection/LineIntersection.cpp',
55 '../experimental/Intersection/LineIntersection_Test.cpp',
56 '../experimental/Intersection/LineParameterization.cpp',
57 '../experimental/Intersection/LineParameteters_Test.cpp',
58 '../experimental/Intersection/LineQuadraticIntersection.cpp',
59 '../experimental/Intersection/LineQuadraticIntersection_Test.cpp',
60 '../experimental/Intersection/LineUtilities.cpp',
caryclark@google.comc91dfe42012-10-16 12:06:27 +000061 '../experimental/Intersection/MiniSimplify_Test.cpp',
caryclark@google.com11fa4a72012-03-27 13:27:36 +000062 '../experimental/Intersection/QuadraticBezierClip.cpp',
63 '../experimental/Intersection/QuadraticBezierClip_Test.cpp',
caryclark@google.com15fa1382012-05-07 20:49:36 +000064 '../experimental/Intersection/QuadraticBounds.cpp',
caryclark@google.comd3128042012-09-26 13:00:03 +000065 '../experimental/Intersection/QuadraticImplicit.cpp',
caryclark@google.com11fa4a72012-03-27 13:27:36 +000066 '../experimental/Intersection/QuadraticIntersection.cpp',
67 '../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': [
borenet@google.comefb1d772012-10-10 19:45:51 +0000118 'skia_base_libs.gyp:skia_base_libs',
caryclark@google.com11fa4a72012-03-27 13:27:36 +0000119 'effects.gyp:effects',
caryclark@google.com11fa4a72012-03-27 13:27:36 +0000120 'images.gyp:images',
caryclark@google.com11fa4a72012-03-27 13:27:36 +0000121 ],
bsalomon@google.comcf8fb1f2012-08-02 14:03:32 +0000122 'conditions': [
123 [ 'skia_gpu == 1', {
124 'include_dirs': [
125 '../src/gpu',
126 ],
bsalomon@google.comcf8fb1f2012-08-02 14:03:32 +0000127 }],
128 ],
caryclark@google.com11fa4a72012-03-27 13:27:36 +0000129 },
130 ],
131}
132
133# Local Variables:
134# tab-width:2
135# indent-tabs-mode:nil
136# End:
137# vim: set expandtab tabstop=2 shiftwidth=2: