caryclark@google.com | 11fa4a7 | 2012-03-27 13:27:36 +0000 | [diff] [blame] | 1 | |
| 2 | { |
| 3 | 'includes': [ |
| 4 | 'common.gypi', |
| 5 | ], |
| 6 | 'targets': [ |
| 7 | { |
| 8 | 'target_name': 'shapeops_demo', |
| 9 | 'type': 'executable', |
| 10 | 'mac_bundle' : 1, |
| 11 | 'include_dirs' : [ |
| 12 | '../experimental/SimpleCocoaApp', # needed to get SimpleApp.h |
| 13 | ], |
| 14 | 'sources': [ |
caryclark@google.com | a576423 | 2012-03-28 16:20:21 +0000 | [diff] [blame] | 15 | '../experimental/Intersection/ConvexHull.cpp', |
| 16 | '../experimental/Intersection/CubeRoot.cpp', |
| 17 | '../experimental/Intersection/CubicBezierClip.cpp', |
caryclark@google.com | 03f9706 | 2012-08-21 13:13:52 +0000 | [diff] [blame] | 18 | '../experimental/Intersection/CubicBounds.cpp', |
caryclark@google.com | a576423 | 2012-03-28 16:20:21 +0000 | [diff] [blame] | 19 | '../experimental/Intersection/CubicIntersection.cpp', |
| 20 | '../experimental/Intersection/CubicReduceOrder.cpp', |
| 21 | '../experimental/Intersection/CubicSubDivide.cpp', |
caryclark@google.com | 4025f6f | 2013-01-29 14:34:03 +0000 | [diff] [blame] | 22 | '../experimental/Intersection/CubicToQuadratics.cpp', |
caryclark@google.com | a576423 | 2012-03-28 16:20:21 +0000 | [diff] [blame] | 23 | '../experimental/Intersection/CubicUtilities.cpp', |
caryclark@google.com | 11fa4a7 | 2012-03-27 13:27:36 +0000 | [diff] [blame] | 24 | '../experimental/Intersection/DataTypes.cpp', |
caryclark@google.com | a576423 | 2012-03-28 16:20:21 +0000 | [diff] [blame] | 25 | '../experimental/Intersection/EdgeDemo.cpp', |
| 26 | '../experimental/Intersection/EdgeDemoApp.mm', |
caryclark@google.com | 11fa4a7 | 2012-03-27 13:27:36 +0000 | [diff] [blame] | 27 | '../experimental/Intersection/EdgeWalker.cpp', |
| 28 | '../experimental/Intersection/EdgeWalker_TestUtility.cpp', |
caryclark@google.com | a576423 | 2012-03-28 16:20:21 +0000 | [diff] [blame] | 29 | '../experimental/Intersection/Extrema.cpp', |
caryclark@google.com | 4025f6f | 2013-01-29 14:34:03 +0000 | [diff] [blame] | 30 | '../experimental/Intersection/Intersections.cpp', |
caryclark@google.com | 988ad53 | 2012-03-28 17:04:08 +0000 | [diff] [blame] | 31 | '../experimental/Intersection/LineCubicIntersection.cpp', |
caryclark@google.com | 11fa4a7 | 2012-03-27 13:27:36 +0000 | [diff] [blame] | 32 | '../experimental/Intersection/LineIntersection.cpp', |
| 33 | '../experimental/Intersection/LineParameterization.cpp', |
caryclark@google.com | a576423 | 2012-03-28 16:20:21 +0000 | [diff] [blame] | 34 | '../experimental/Intersection/LineQuadraticIntersection.cpp', |
caryclark@google.com | 11fa4a7 | 2012-03-27 13:27:36 +0000 | [diff] [blame] | 35 | '../experimental/Intersection/LineUtilities.cpp', |
caryclark@google.com | a576423 | 2012-03-28 16:20:21 +0000 | [diff] [blame] | 36 | '../experimental/Intersection/QuadraticBezierClip.cpp', |
caryclark@google.com | 03f9706 | 2012-08-21 13:13:52 +0000 | [diff] [blame] | 37 | '../experimental/Intersection/QuadraticBounds.cpp', |
caryclark@google.com | a576423 | 2012-03-28 16:20:21 +0000 | [diff] [blame] | 38 | '../experimental/Intersection/QuadraticIntersection.cpp', |
caryclark@google.com | d312804 | 2012-09-26 13:00:03 +0000 | [diff] [blame] | 39 | '../experimental/Intersection/QuadraticImplicit.cpp', |
caryclark@google.com | 9e49fb6 | 2012-08-27 14:11:33 +0000 | [diff] [blame] | 40 | '../experimental/Intersection/QuadraticLineSegments.cpp', |
| 41 | '../experimental/Intersection/QuadraticParameterization.cpp', |
caryclark@google.com | a576423 | 2012-03-28 16:20:21 +0000 | [diff] [blame] | 42 | '../experimental/Intersection/QuadraticReduceOrder.cpp', |
| 43 | '../experimental/Intersection/QuadraticSubDivide.cpp', |
| 44 | '../experimental/Intersection/QuadraticUtilities.cpp', |
caryclark@google.com | d312804 | 2012-09-26 13:00:03 +0000 | [diff] [blame] | 45 | '../experimental/Intersection/QuarticRoot.cpp', |
| 46 | '../experimental/Intersection/ShapeOps.cpp', |
caryclark@google.com | 03f9706 | 2012-08-21 13:13:52 +0000 | [diff] [blame] | 47 | '../experimental/Intersection/Simplify.cpp', |
caryclark@google.com | beda389 | 2013-02-07 13:13:41 +0000 | [diff] [blame] | 48 | '../experimental/Intersection/TriangleUtilities.cpp', |
caryclark@google.com | 03f9706 | 2012-08-21 13:13:52 +0000 | [diff] [blame] | 49 | '../experimental/Intersection/CubicParameterization.cpp', |
| 50 | '../experimental/Intersection/CubicReduceOrder.cpp', |
| 51 | '../experimental/Intersection/CubicSubDivide.cpp', |
caryclark@google.com | a576423 | 2012-03-28 16:20:21 +0000 | [diff] [blame] | 52 | '../experimental/Intersection/CubicUtilities.h', |
| 53 | '../experimental/Intersection/CurveIntersection.h', |
| 54 | '../experimental/Intersection/DataTypes.h', |
| 55 | '../experimental/Intersection/EdgeDemo.h', |
| 56 | '../experimental/Intersection/Extrema.h', |
| 57 | '../experimental/Intersection/Intersections.h', |
| 58 | '../experimental/Intersection/IntersectionUtilities.h', |
| 59 | '../experimental/Intersection/LineIntersection.h', |
| 60 | '../experimental/Intersection/LineParameters.h', |
| 61 | '../experimental/Intersection/LineUtilities.h', |
caryclark@google.com | 9e49fb6 | 2012-08-27 14:11:33 +0000 | [diff] [blame] | 62 | '../experimental/Intersection/QuadraticLineSegments.h', |
caryclark@google.com | d312804 | 2012-09-26 13:00:03 +0000 | [diff] [blame] | 63 | '../experimental/Intersection/QuadraticParameterization.h', |
caryclark@google.com | a576423 | 2012-03-28 16:20:21 +0000 | [diff] [blame] | 64 | '../experimental/Intersection/QuadraticUtilities.h', |
caryclark@google.com | d312804 | 2012-09-26 13:00:03 +0000 | [diff] [blame] | 65 | '../experimental/Intersection/QuarticRoot.h', |
caryclark@google.com | a576423 | 2012-03-28 16:20:21 +0000 | [diff] [blame] | 66 | '../experimental/Intersection/ShapeOps.h', |
caryclark@google.com | 03f9706 | 2012-08-21 13:13:52 +0000 | [diff] [blame] | 67 | '../experimental/Intersection/Simplify.h', |
caryclark@google.com | a576423 | 2012-03-28 16:20:21 +0000 | [diff] [blame] | 68 | '../experimental/Intersection/TSearch.h', |
caryclark@google.com | beda389 | 2013-02-07 13:13:41 +0000 | [diff] [blame] | 69 | '../experimental/Intersection/TriangleUtilities.h', |
| 70 | ], |
caryclark@google.com | 11fa4a7 | 2012-03-27 13:27:36 +0000 | [diff] [blame] | 71 | 'dependencies': [ |
djsollen@google.com | 52f0297 | 2013-06-03 12:10:19 +0000 | [diff] [blame] | 72 | 'skia_lib.gyp:skia_lib', |
caryclark@google.com | 11fa4a7 | 2012-03-27 13:27:36 +0000 | [diff] [blame] | 73 | 'views.gyp:views', |
caryclark@google.com | 11fa4a7 | 2012-03-27 13:27:36 +0000 | [diff] [blame] | 74 | 'xml.gyp:xml', |
caryclark@google.com | 11fa4a7 | 2012-03-27 13:27:36 +0000 | [diff] [blame] | 75 | ], |
| 76 | 'conditions' : [ |
borenet@google.com | 05d550e | 2013-06-11 15:52:19 +0000 | [diff] [blame] | 77 | [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', { |
caryclark@google.com | 11fa4a7 | 2012-03-27 13:27:36 +0000 | [diff] [blame] | 78 | }], |
| 79 | [ 'skia_os == "win"', { |
| 80 | }], |
| 81 | [ 'skia_os == "mac"', { |
| 82 | 'sources': [ |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 83 | |
caryclark@google.com | 11fa4a7 | 2012-03-27 13:27:36 +0000 | [diff] [blame] | 84 | # Mac files |
caryclark@google.com | a576423 | 2012-03-28 16:20:21 +0000 | [diff] [blame] | 85 | '../src/views/mac/SkEventNotifier.h', |
| 86 | '../src/views/mac/SkEventNotifier.mm', |
| 87 | '../src/views/mac/skia_mac.mm', |
| 88 | '../src/views/mac/SkNSView.h', |
| 89 | '../src/views/mac/SkNSView.mm', |
| 90 | '../src/views/mac/SkOptionsTableView.h', |
| 91 | '../src/views/mac/SkOptionsTableView.mm', |
| 92 | '../src/views/mac/SkOSWindow_Mac.mm', |
| 93 | '../src/views/mac/SkTextFieldCell.h', |
| 94 | '../src/views/mac/SkTextFieldCell.m', |
caryclark@google.com | 11fa4a7 | 2012-03-27 13:27:36 +0000 | [diff] [blame] | 95 | ], |
| 96 | 'libraries': [ |
| 97 | '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', |
| 98 | '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', |
| 99 | ], |
| 100 | 'xcode_settings' : { |
| 101 | 'INFOPLIST_FILE' : '../experimental/Intersection/EdgeDemoApp-Info.plist', |
| 102 | }, |
| 103 | 'mac_bundle_resources' : [ |
| 104 | '../experimental/Intersection/EdgeDemoApp.xib', |
| 105 | ], |
| 106 | }], |
caryclark@google.com | 11fa4a7 | 2012-03-27 13:27:36 +0000 | [diff] [blame] | 107 | ], |
| 108 | 'msvs_settings': { |
| 109 | 'VCLinkerTool': { |
| 110 | 'SubSystem': '2', |
| 111 | 'AdditionalDependencies': [ |
| 112 | 'd3d9.lib', |
| 113 | ], |
| 114 | }, |
| 115 | }, |
| 116 | }, |
| 117 | ], |
| 118 | } |
| 119 | |
| 120 | # Local Variables: |
| 121 | # tab-width:2 |
| 122 | # indent-tabs-mode:nil |
| 123 | # End: |
| 124 | # vim: set expandtab tabstop=2 shiftwidth=2: |