caryclark@google.com | 11fa4a7 | 2012-03-27 13:27:36 +0000 | [diff] [blame] | 1 | # 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.com | 11fa4a7 | 2012-03-27 13:27:36 +0000 | [diff] [blame] | 13 | ], |
| 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.com | 45a8fc6 | 2013-02-14 15:29:11 +0000 | [diff] [blame] | 22 | '../experimental/Intersection/CubicConvexHull.cpp', |
caryclark@google.com | 11fa4a7 | 2012-03-27 13:27:36 +0000 | [diff] [blame] | 23 | '../experimental/Intersection/CubicIntersection.cpp', |
| 24 | '../experimental/Intersection/CubicIntersection_Test.cpp', |
| 25 | '../experimental/Intersection/CubicIntersection_TestData.cpp', |
caryclark@google.com | d312804 | 2012-09-26 13:00:03 +0000 | [diff] [blame] | 26 | '../experimental/Intersection/CubicLineSegments.cpp', |
caryclark@google.com | 11fa4a7 | 2012-03-27 13:27:36 +0000 | [diff] [blame] | 27 | '../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.com | 6d0032a | 2013-01-04 19:41:13 +0000 | [diff] [blame] | 33 | '../experimental/Intersection/CubicToQuadratics.cpp', |
| 34 | '../experimental/Intersection/CubicToQuadratics_Test.cpp', |
caryclark@google.com | 11fa4a7 | 2012-03-27 13:27:36 +0000 | [diff] [blame] | 35 | '../experimental/Intersection/CubicUtilities.cpp', |
caryclark@google.com | 1304bb2 | 2013-03-13 20:29:41 +0000 | [diff] [blame] | 36 | '../experimental/Intersection/CubicUtilities_Test.cpp', |
caryclark@google.com | 11fa4a7 | 2012-03-27 13:27:36 +0000 | [diff] [blame] | 37 | '../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.com | 15fa138 | 2012-05-07 20:49:36 +0000 | [diff] [blame] | 45 | '../experimental/Intersection/EdgeWalkerQuadratic4x4_Test.cpp', |
caryclark@google.com | a576423 | 2012-03-28 16:20:21 +0000 | [diff] [blame] | 46 | '../experimental/Intersection/EdgeWalkerQuadratics_Test.cpp', |
caryclark@google.com | 11fa4a7 | 2012-03-27 13:27:36 +0000 | [diff] [blame] | 47 | '../experimental/Intersection/EdgeWalkerRectangles_Test.cpp', |
| 48 | '../experimental/Intersection/Extrema.cpp', |
| 49 | '../experimental/Intersection/Inline_Tests.cpp', |
| 50 | '../experimental/Intersection/Intersection_Tests.cpp', |
caryclark@google.com | d312804 | 2012-09-26 13:00:03 +0000 | [diff] [blame] | 51 | '../experimental/Intersection/Intersections.cpp', |
caryclark@google.com | 11fa4a7 | 2012-03-27 13:27:36 +0000 | [diff] [blame] | 52 | '../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.com | c91dfe4 | 2012-10-16 12:06:27 +0000 | [diff] [blame] | 62 | '../experimental/Intersection/MiniSimplify_Test.cpp', |
caryclark@google.com | 11fa4a7 | 2012-03-27 13:27:36 +0000 | [diff] [blame] | 63 | '../experimental/Intersection/QuadraticBezierClip.cpp', |
| 64 | '../experimental/Intersection/QuadraticBezierClip_Test.cpp', |
caryclark@google.com | 15fa138 | 2012-05-07 20:49:36 +0000 | [diff] [blame] | 65 | '../experimental/Intersection/QuadraticBounds.cpp', |
caryclark@google.com | d312804 | 2012-09-26 13:00:03 +0000 | [diff] [blame] | 66 | '../experimental/Intersection/QuadraticImplicit.cpp', |
caryclark@google.com | 11fa4a7 | 2012-03-27 13:27:36 +0000 | [diff] [blame] | 67 | '../experimental/Intersection/QuadraticIntersection_Test.cpp', |
| 68 | '../experimental/Intersection/QuadraticIntersection_TestData.cpp', |
caryclark@google.com | 9e49fb6 | 2012-08-27 14:11:33 +0000 | [diff] [blame] | 69 | '../experimental/Intersection/QuadraticLineSegments.cpp', |
caryclark@google.com | 11fa4a7 | 2012-03-27 13:27:36 +0000 | [diff] [blame] | 70 | '../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.com | d312804 | 2012-09-26 13:00:03 +0000 | [diff] [blame] | 76 | '../experimental/Intersection/QuarticRoot.cpp', |
| 77 | '../experimental/Intersection/QuarticRoot_Test.cpp', |
| 78 | '../experimental/Intersection/ShapeOps.cpp', |
caryclark@google.com | aa35831 | 2013-01-29 20:28:49 +0000 | [diff] [blame] | 79 | '../experimental/Intersection/ShapeOpCubic4x4_Test.cpp', |
caryclark@google.com | 729e1c4 | 2012-11-21 21:36:34 +0000 | [diff] [blame] | 80 | '../experimental/Intersection/ShapeOpRect4x4_Test.cpp', |
caryclark@google.com | 15fa138 | 2012-05-07 20:49:36 +0000 | [diff] [blame] | 81 | '../experimental/Intersection/Simplify.cpp', |
| 82 | '../experimental/Intersection/SimplifyAddIntersectingTs_Test.cpp', |
caryclark@google.com | b45a1b4 | 2012-05-18 20:50:33 +0000 | [diff] [blame] | 83 | '../experimental/Intersection/SimplifyAngle_Test.cpp', |
| 84 | '../experimental/Intersection/SimplifyFindNext_Test.cpp', |
| 85 | '../experimental/Intersection/SimplifyFindTop_Test.cpp', |
caryclark@google.com | 65f9f0a | 2012-05-23 18:09:25 +0000 | [diff] [blame] | 86 | '../experimental/Intersection/SimplifyNew_Test.cpp', |
caryclark@google.com | ec390ea | 2012-07-02 20:44:59 +0000 | [diff] [blame] | 87 | '../experimental/Intersection/SimplifyRect4x4_Test.cpp', |
caryclark@google.com | 11fa4a7 | 2012-03-27 13:27:36 +0000 | [diff] [blame] | 88 | '../experimental/Intersection/TestUtilities.cpp', |
caryclark@google.com | beda389 | 2013-02-07 13:13:41 +0000 | [diff] [blame] | 89 | '../experimental/Intersection/TriangleUtilities.cpp', |
caryclark@google.com | a576423 | 2012-03-28 16:20:21 +0000 | [diff] [blame] | 90 | '../experimental/Intersection/CubicIntersection_TestData.h', |
caryclark@google.com | d312804 | 2012-09-26 13:00:03 +0000 | [diff] [blame] | 91 | '../experimental/Intersection/CubicLineSegments.h', |
caryclark@google.com | a576423 | 2012-03-28 16:20:21 +0000 | [diff] [blame] | 92 | '../experimental/Intersection/CubicUtilities.h', |
| 93 | '../experimental/Intersection/CurveIntersection.h', |
caryclark@google.com | ec390ea | 2012-07-02 20:44:59 +0000 | [diff] [blame] | 94 | '../experimental/Intersection/CurveUtilities.h', |
caryclark@google.com | a576423 | 2012-03-28 16:20:21 +0000 | [diff] [blame] | 95 | '../experimental/Intersection/DataTypes.h', |
caryclark@google.com | a576423 | 2012-03-28 16:20:21 +0000 | [diff] [blame] | 96 | '../experimental/Intersection/EdgeWalker_Test.h', |
caryclark@google.com | a576423 | 2012-03-28 16:20:21 +0000 | [diff] [blame] | 97 | '../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.com | 9e49fb6 | 2012-08-27 14:11:33 +0000 | [diff] [blame] | 106 | '../experimental/Intersection/QuadraticLineSegments.h', |
caryclark@google.com | d312804 | 2012-09-26 13:00:03 +0000 | [diff] [blame] | 107 | '../experimental/Intersection/QuadraticParameterization.h', |
caryclark@google.com | a576423 | 2012-03-28 16:20:21 +0000 | [diff] [blame] | 108 | '../experimental/Intersection/QuadraticUtilities.h', |
caryclark@google.com | d312804 | 2012-09-26 13:00:03 +0000 | [diff] [blame] | 109 | '../experimental/Intersection/QuarticRoot.h', |
caryclark@google.com | a576423 | 2012-03-28 16:20:21 +0000 | [diff] [blame] | 110 | '../experimental/Intersection/ShapeOps.h', |
caryclark@google.com | b45a1b4 | 2012-05-18 20:50:33 +0000 | [diff] [blame] | 111 | '../experimental/Intersection/Simplify.h', |
caryclark@google.com | a576423 | 2012-03-28 16:20:21 +0000 | [diff] [blame] | 112 | '../experimental/Intersection/TestUtilities.h', |
caryclark@google.com | beda389 | 2013-02-07 13:13:41 +0000 | [diff] [blame] | 113 | '../experimental/Intersection/TriangleUtilities.h', |
caryclark@google.com | a576423 | 2012-03-28 16:20:21 +0000 | [diff] [blame] | 114 | '../experimental/Intersection/TSearch.h', |
caryclark@google.com | 198e054 | 2012-03-30 18:47:02 +0000 | [diff] [blame] | 115 | '../experimental/Intersection/thingsToDo.txt', |
caryclark@google.com | 11fa4a7 | 2012-03-27 13:27:36 +0000 | [diff] [blame] | 116 | ], |
| 117 | 'dependencies': [ |
djsollen@google.com | 52f0297 | 2013-06-03 12:10:19 +0000 | [diff] [blame] | 118 | 'skia_lib.gyp:skia_lib', |
caryclark@google.com | 11fa4a7 | 2012-03-27 13:27:36 +0000 | [diff] [blame] | 119 | ], |
bsalomon@google.com | cf8fb1f | 2012-08-02 14:03:32 +0000 | [diff] [blame] | 120 | 'conditions': [ |
| 121 | [ 'skia_gpu == 1', { |
| 122 | 'include_dirs': [ |
| 123 | '../src/gpu', |
| 124 | ], |
bsalomon@google.com | cf8fb1f | 2012-08-02 14:03:32 +0000 | [diff] [blame] | 125 | }], |
| 126 | ], |
caryclark@google.com | 11fa4a7 | 2012-03-27 13:27:36 +0000 | [diff] [blame] | 127 | }, |
| 128 | ], |
| 129 | } |