Files to build Cary's Shape Ops test projects.
These will be moved to experimental/Intersection
later.

git-svn-id: http://skia.googlecode.com/svn/trunk@3501 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gyp/shapeops_demo.gyp b/gyp/shapeops_demo.gyp
new file mode 100644
index 0000000..f004850
--- /dev/null
+++ b/gyp/shapeops_demo.gyp
@@ -0,0 +1,86 @@
+
+{
+  'includes': [
+    'common.gypi',
+  ],
+  'targets': [
+    {
+      'target_name': 'shapeops_demo',
+      'type': 'executable',
+      'mac_bundle' : 1,
+      'include_dirs' : [
+        '../experimental/SimpleCocoaApp', # needed to get SimpleApp.h
+      ],
+      'sources': [
+        '../experimental/Intersection/DataTypes.cpp',
+        '../experimental/Intersection/EdgeWalker.cpp',
+        '../experimental/Intersection/EdgeWalker_TestUtility.cpp',
+        '../experimental/Intersection/LineIntersection.cpp',
+        '../experimental/Intersection/LineParameterization.cpp',
+        '../experimental/Intersection/LineUtilities.cpp',
+        '../experimental/Intersection/EdgeDemoApp.mm',
+      ],
+      'dependencies': [
+        'core.gyp:core',
+        'effects.gyp:effects',
+        'images.gyp:images',
+        'ports.gyp:ports',
+        'views.gyp:views',
+        'utils.gyp:utils',
+        'animator.gyp:animator',
+        'xml.gyp:xml',
+        'svg.gyp:svg',
+        'experimental.gyp:experimental',
+        'gpu.gyp:gr',
+        'gpu.gyp:skgr',
+        'pdf.gyp:pdf',
+      ],
+      'conditions' : [
+       [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', {
+        }],
+        [ 'skia_os == "win"', {
+        }],
+        [ 'skia_os == "mac"', {
+          'sources': [
+            
+            # Mac files
+            '../src/utils/mac/SkEventNotifier.h',
+            '../src/utils/mac/SkEventNotifier.mm',
+            '../src/utils/mac/skia_mac.mm',
+            '../src/utils/mac/SkNSView.h',
+            '../src/utils/mac/SkNSView.mm',
+            '../src/utils/mac/SkOptionsTableView.h',
+            '../src/utils/mac/SkOptionsTableView.mm',
+            '../src/utils/mac/SkOSWindow_Mac.mm',
+            '../src/utils/mac/SkTextFieldCell.h',
+            '../src/utils/mac/SkTextFieldCell.m',
+          ],
+          'libraries': [
+            '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
+            '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
+          ],
+          'xcode_settings' : {
+            'INFOPLIST_FILE' : '../experimental/Intersection/EdgeDemoApp-Info.plist',
+          },
+          'mac_bundle_resources' : [
+            '../experimental/Intersection/EdgeDemoApp.xib',
+          ],
+        }],
+      ],
+      'msvs_settings': {
+        'VCLinkerTool': {
+          'SubSystem': '2',
+          'AdditionalDependencies': [
+            'd3d9.lib',
+          ],
+        },
+      },
+    },
+  ],
+}
+
+# Local Variables:
+# tab-width:2
+# indent-tabs-mode:nil
+# End:
+# vim: set expandtab tabstop=2 shiftwidth=2:
diff --git a/gyp/shapeops_edge.gyp b/gyp/shapeops_edge.gyp
new file mode 100644
index 0000000..58f5052
--- /dev/null
+++ b/gyp/shapeops_edge.gyp
@@ -0,0 +1,88 @@
+# GYP file to build unit tests.
+{
+  'includes': [
+    'apptype_console.gypi',
+    'common.gypi',
+  ],
+  'targets': [
+    {
+      'target_name': 'edge',
+      'type': 'executable',
+      'include_dirs' : [
+        '../src/core',
+        '../src/gpu',
+      ],
+      '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',
+        '../experimental/Intersection/CubicIntersection.cpp',
+        '../experimental/Intersection/CubicIntersection_Test.cpp',
+        '../experimental/Intersection/CubicIntersection_TestData.cpp',
+        '../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',
+        '../experimental/Intersection/CubicUtilities.cpp',
+        '../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',
+        '../experimental/Intersection/EdgeWalkerRectangles_Test.cpp',
+        '../experimental/Intersection/Extrema.cpp',
+        '../experimental/Intersection/Inline_Tests.cpp',
+        '../experimental/Intersection/Intersection_Tests.cpp',
+        '../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',
+        '../experimental/Intersection/QuadraticBezierClip.cpp',
+        '../experimental/Intersection/QuadraticBezierClip_Test.cpp',
+        '../experimental/Intersection/QuadraticIntersection.cpp',
+        '../experimental/Intersection/QuadraticIntersection_Test.cpp',
+        '../experimental/Intersection/QuadraticIntersection_TestData.cpp',
+        '../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',
+        '../experimental/Intersection/RectUtilities.cpp',
+        '../experimental/Intersection/TestUtilities.cpp',
+      ],
+      'dependencies': [
+        'core.gyp:core',
+        'effects.gyp:effects',
+        'experimental.gyp:experimental',
+        'gpu.gyp:gr',
+        'gpu.gyp:skgr',
+        'images.gyp:images',
+        'ports.gyp:ports',
+        'pdf.gyp:pdf',
+        'utils.gyp:utils',
+      ],
+    },
+  ],
+}
+
+# Local Variables:
+# tab-width:2
+# indent-tabs-mode:nil
+# End:
+# vim: set expandtab tabstop=2 shiftwidth=2: