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