2012-03-27 13:27:36 +00:00
|
|
|
# GYP file to build unit tests.
|
|
|
|
{
|
|
|
|
'includes': [
|
|
|
|
'apptype_console.gypi',
|
|
|
|
'common.gypi',
|
|
|
|
],
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'edge',
|
|
|
|
'type': 'executable',
|
|
|
|
'include_dirs' : [
|
|
|
|
'../src/core',
|
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
'../experimental/Intersection/ActiveEdge_Test.cpp',
|
|
|
|
'../experimental/Intersection/ConvexHull.cpp',
|
|
|
|
'../experimental/Intersection/ConvexHull_Test.cpp',
|
|
|
|
'../experimental/Intersection/CubeRoot.cpp',
|
|
|
|
'../experimental/Intersection/CubicBezierClip.cpp',
|
|
|
|
'../experimental/Intersection/CubicBezierClip_Test.cpp',
|
|
|
|
'../experimental/Intersection/CubicBounds.cpp',
|
2013-02-14 15:29:11 +00:00
|
|
|
'../experimental/Intersection/CubicConvexHull.cpp',
|
2012-03-27 13:27:36 +00:00
|
|
|
'../experimental/Intersection/CubicIntersection.cpp',
|
|
|
|
'../experimental/Intersection/CubicIntersection_Test.cpp',
|
|
|
|
'../experimental/Intersection/CubicIntersection_TestData.cpp',
|
2012-09-26 13:00:03 +00:00
|
|
|
'../experimental/Intersection/CubicLineSegments.cpp',
|
2012-03-27 13:27:36 +00:00
|
|
|
'../experimental/Intersection/CubicParameterization.cpp',
|
|
|
|
'../experimental/Intersection/CubicParameterization_Test.cpp',
|
|
|
|
'../experimental/Intersection/CubicParameterizationCode.cpp',
|
|
|
|
'../experimental/Intersection/CubicReduceOrder.cpp',
|
|
|
|
'../experimental/Intersection/CubicReduceOrder_Test.cpp',
|
|
|
|
'../experimental/Intersection/CubicSubDivide.cpp',
|
2013-01-04 19:41:13 +00:00
|
|
|
'../experimental/Intersection/CubicToQuadratics.cpp',
|
|
|
|
'../experimental/Intersection/CubicToQuadratics_Test.cpp',
|
2012-03-27 13:27:36 +00:00
|
|
|
'../experimental/Intersection/CubicUtilities.cpp',
|
2013-03-13 20:29:41 +00:00
|
|
|
'../experimental/Intersection/CubicUtilities_Test.cpp',
|
2012-03-27 13:27:36 +00:00
|
|
|
'../experimental/Intersection/DataTypes.cpp',
|
|
|
|
'../experimental/Intersection/EdgeMain.cpp',
|
|
|
|
'../experimental/Intersection/EdgeWalker.cpp',
|
|
|
|
'../experimental/Intersection/EdgeWalker_TestUtility.cpp',
|
|
|
|
'../experimental/Intersection/EdgeWalkerPolygon4x4_Test.cpp',
|
|
|
|
'../experimental/Intersection/EdgeWalkerPolygons_Mismatches.cpp',
|
|
|
|
'../experimental/Intersection/EdgeWalkerPolygons_Test.cpp',
|
|
|
|
'../experimental/Intersection/EdgeWalkerQuadralaterals_Test.cpp',
|
2012-05-07 20:49:36 +00:00
|
|
|
'../experimental/Intersection/EdgeWalkerQuadratic4x4_Test.cpp',
|
2012-03-28 16:20:21 +00:00
|
|
|
'../experimental/Intersection/EdgeWalkerQuadratics_Test.cpp',
|
2012-03-27 13:27:36 +00:00
|
|
|
'../experimental/Intersection/EdgeWalkerRectangles_Test.cpp',
|
|
|
|
'../experimental/Intersection/Extrema.cpp',
|
|
|
|
'../experimental/Intersection/Inline_Tests.cpp',
|
|
|
|
'../experimental/Intersection/Intersection_Tests.cpp',
|
2012-09-26 13:00:03 +00:00
|
|
|
'../experimental/Intersection/Intersections.cpp',
|
2012-03-27 13:27:36 +00:00
|
|
|
'../experimental/Intersection/IntersectionUtilities.cpp',
|
|
|
|
'../experimental/Intersection/LineCubicIntersection.cpp',
|
|
|
|
'../experimental/Intersection/LineCubicIntersection_Test.cpp',
|
|
|
|
'../experimental/Intersection/LineIntersection.cpp',
|
|
|
|
'../experimental/Intersection/LineIntersection_Test.cpp',
|
|
|
|
'../experimental/Intersection/LineParameterization.cpp',
|
|
|
|
'../experimental/Intersection/LineParameteters_Test.cpp',
|
|
|
|
'../experimental/Intersection/LineQuadraticIntersection.cpp',
|
|
|
|
'../experimental/Intersection/LineQuadraticIntersection_Test.cpp',
|
|
|
|
'../experimental/Intersection/LineUtilities.cpp',
|
2012-10-16 12:06:27 +00:00
|
|
|
'../experimental/Intersection/MiniSimplify_Test.cpp',
|
2012-03-27 13:27:36 +00:00
|
|
|
'../experimental/Intersection/QuadraticBezierClip.cpp',
|
|
|
|
'../experimental/Intersection/QuadraticBezierClip_Test.cpp',
|
2012-05-07 20:49:36 +00:00
|
|
|
'../experimental/Intersection/QuadraticBounds.cpp',
|
2012-09-26 13:00:03 +00:00
|
|
|
'../experimental/Intersection/QuadraticImplicit.cpp',
|
2012-03-27 13:27:36 +00:00
|
|
|
'../experimental/Intersection/QuadraticIntersection_Test.cpp',
|
|
|
|
'../experimental/Intersection/QuadraticIntersection_TestData.cpp',
|
2012-08-27 14:11:33 +00:00
|
|
|
'../experimental/Intersection/QuadraticLineSegments.cpp',
|
2012-03-27 13:27:36 +00:00
|
|
|
'../experimental/Intersection/QuadraticParameterization.cpp',
|
|
|
|
'../experimental/Intersection/QuadraticParameterization_Test.cpp',
|
|
|
|
'../experimental/Intersection/QuadraticReduceOrder.cpp',
|
|
|
|
'../experimental/Intersection/QuadraticReduceOrder_Test.cpp',
|
|
|
|
'../experimental/Intersection/QuadraticSubDivide.cpp',
|
|
|
|
'../experimental/Intersection/QuadraticUtilities.cpp',
|
2012-09-26 13:00:03 +00:00
|
|
|
'../experimental/Intersection/QuarticRoot.cpp',
|
|
|
|
'../experimental/Intersection/QuarticRoot_Test.cpp',
|
|
|
|
'../experimental/Intersection/ShapeOps.cpp',
|
2013-01-29 20:28:49 +00:00
|
|
|
'../experimental/Intersection/ShapeOpCubic4x4_Test.cpp',
|
2012-11-21 21:36:34 +00:00
|
|
|
'../experimental/Intersection/ShapeOpRect4x4_Test.cpp',
|
2012-05-07 20:49:36 +00:00
|
|
|
'../experimental/Intersection/Simplify.cpp',
|
|
|
|
'../experimental/Intersection/SimplifyAddIntersectingTs_Test.cpp',
|
2012-05-18 20:50:33 +00:00
|
|
|
'../experimental/Intersection/SimplifyAngle_Test.cpp',
|
|
|
|
'../experimental/Intersection/SimplifyFindNext_Test.cpp',
|
|
|
|
'../experimental/Intersection/SimplifyFindTop_Test.cpp',
|
2012-05-23 18:09:25 +00:00
|
|
|
'../experimental/Intersection/SimplifyNew_Test.cpp',
|
2012-07-02 20:44:59 +00:00
|
|
|
'../experimental/Intersection/SimplifyRect4x4_Test.cpp',
|
2012-03-27 13:27:36 +00:00
|
|
|
'../experimental/Intersection/TestUtilities.cpp',
|
2013-02-07 13:13:41 +00:00
|
|
|
'../experimental/Intersection/TriangleUtilities.cpp',
|
2012-03-28 16:20:21 +00:00
|
|
|
'../experimental/Intersection/CubicIntersection_TestData.h',
|
2012-09-26 13:00:03 +00:00
|
|
|
'../experimental/Intersection/CubicLineSegments.h',
|
2012-03-28 16:20:21 +00:00
|
|
|
'../experimental/Intersection/CubicUtilities.h',
|
|
|
|
'../experimental/Intersection/CurveIntersection.h',
|
2012-07-02 20:44:59 +00:00
|
|
|
'../experimental/Intersection/CurveUtilities.h',
|
2012-03-28 16:20:21 +00:00
|
|
|
'../experimental/Intersection/DataTypes.h',
|
|
|
|
'../experimental/Intersection/EdgeWalker_Test.h',
|
|
|
|
'../experimental/Intersection/Extrema.h',
|
|
|
|
'../experimental/Intersection/Intersection_Tests.h',
|
|
|
|
'../experimental/Intersection/Intersections.h',
|
|
|
|
'../experimental/Intersection/IntersectionUtilities.h',
|
|
|
|
'../experimental/Intersection/LineIntersection.h',
|
|
|
|
'../experimental/Intersection/LineParameters.h',
|
|
|
|
'../experimental/Intersection/LineUtilities.h',
|
|
|
|
'../experimental/Intersection/Parameterization_Test.h',
|
|
|
|
'../experimental/Intersection/QuadraticIntersection_TestData.h',
|
2012-08-27 14:11:33 +00:00
|
|
|
'../experimental/Intersection/QuadraticLineSegments.h',
|
2012-09-26 13:00:03 +00:00
|
|
|
'../experimental/Intersection/QuadraticParameterization.h',
|
2012-03-28 16:20:21 +00:00
|
|
|
'../experimental/Intersection/QuadraticUtilities.h',
|
2012-09-26 13:00:03 +00:00
|
|
|
'../experimental/Intersection/QuarticRoot.h',
|
2012-03-28 16:20:21 +00:00
|
|
|
'../experimental/Intersection/ShapeOps.h',
|
2012-05-18 20:50:33 +00:00
|
|
|
'../experimental/Intersection/Simplify.h',
|
2012-03-28 16:20:21 +00:00
|
|
|
'../experimental/Intersection/TestUtilities.h',
|
2013-02-07 13:13:41 +00:00
|
|
|
'../experimental/Intersection/TriangleUtilities.h',
|
2012-03-28 16:20:21 +00:00
|
|
|
'../experimental/Intersection/TSearch.h',
|
2012-03-30 18:47:02 +00:00
|
|
|
'../experimental/Intersection/thingsToDo.txt',
|
2012-03-27 13:27:36 +00:00
|
|
|
],
|
|
|
|
'dependencies': [
|
2013-06-03 12:10:19 +00:00
|
|
|
'skia_lib.gyp:skia_lib',
|
2012-03-27 13:27:36 +00:00
|
|
|
],
|
2012-08-02 14:03:32 +00:00
|
|
|
'conditions': [
|
|
|
|
[ 'skia_gpu == 1', {
|
|
|
|
'include_dirs': [
|
|
|
|
'../src/gpu',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
2012-03-27 13:27:36 +00:00
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|