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