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