blob: ce46a79b572a828fa86574aa7a5d090a0a37f6c2 [file] [log] [blame]
caryclark@google.com11fa4a72012-03-27 13:27:36 +00001
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.coma5764232012-03-28 16:20:21 +000015 '../experimental/Intersection/ConvexHull.cpp',
16 '../experimental/Intersection/CubeRoot.cpp',
17 '../experimental/Intersection/CubicBezierClip.cpp',
caryclark@google.com03f97062012-08-21 13:13:52 +000018 '../experimental/Intersection/CubicBounds.cpp',
caryclark@google.coma5764232012-03-28 16:20:21 +000019 '../experimental/Intersection/CubicIntersection.cpp',
20 '../experimental/Intersection/CubicReduceOrder.cpp',
21 '../experimental/Intersection/CubicSubDivide.cpp',
caryclark@google.com4025f6f2013-01-29 14:34:03 +000022 '../experimental/Intersection/CubicToQuadratics.cpp',
caryclark@google.coma5764232012-03-28 16:20:21 +000023 '../experimental/Intersection/CubicUtilities.cpp',
caryclark@google.com11fa4a72012-03-27 13:27:36 +000024 '../experimental/Intersection/DataTypes.cpp',
caryclark@google.coma5764232012-03-28 16:20:21 +000025 '../experimental/Intersection/EdgeDemo.cpp',
26 '../experimental/Intersection/EdgeDemoApp.mm',
caryclark@google.com11fa4a72012-03-27 13:27:36 +000027 '../experimental/Intersection/EdgeWalker.cpp',
28 '../experimental/Intersection/EdgeWalker_TestUtility.cpp',
caryclark@google.coma5764232012-03-28 16:20:21 +000029 '../experimental/Intersection/Extrema.cpp',
caryclark@google.com4025f6f2013-01-29 14:34:03 +000030 '../experimental/Intersection/Intersections.cpp',
caryclark@google.com988ad532012-03-28 17:04:08 +000031 '../experimental/Intersection/LineCubicIntersection.cpp',
caryclark@google.com11fa4a72012-03-27 13:27:36 +000032 '../experimental/Intersection/LineIntersection.cpp',
33 '../experimental/Intersection/LineParameterization.cpp',
caryclark@google.coma5764232012-03-28 16:20:21 +000034 '../experimental/Intersection/LineQuadraticIntersection.cpp',
caryclark@google.com11fa4a72012-03-27 13:27:36 +000035 '../experimental/Intersection/LineUtilities.cpp',
caryclark@google.coma5764232012-03-28 16:20:21 +000036 '../experimental/Intersection/QuadraticBezierClip.cpp',
caryclark@google.com03f97062012-08-21 13:13:52 +000037 '../experimental/Intersection/QuadraticBounds.cpp',
caryclark@google.coma5764232012-03-28 16:20:21 +000038 '../experimental/Intersection/QuadraticIntersection.cpp',
caryclark@google.comd3128042012-09-26 13:00:03 +000039 '../experimental/Intersection/QuadraticImplicit.cpp',
caryclark@google.com9e49fb62012-08-27 14:11:33 +000040 '../experimental/Intersection/QuadraticLineSegments.cpp',
41 '../experimental/Intersection/QuadraticParameterization.cpp',
caryclark@google.coma5764232012-03-28 16:20:21 +000042 '../experimental/Intersection/QuadraticReduceOrder.cpp',
43 '../experimental/Intersection/QuadraticSubDivide.cpp',
44 '../experimental/Intersection/QuadraticUtilities.cpp',
caryclark@google.comd3128042012-09-26 13:00:03 +000045 '../experimental/Intersection/QuarticRoot.cpp',
46 '../experimental/Intersection/ShapeOps.cpp',
caryclark@google.com03f97062012-08-21 13:13:52 +000047 '../experimental/Intersection/Simplify.cpp',
caryclark@google.combeda3892013-02-07 13:13:41 +000048 '../experimental/Intersection/TriangleUtilities.cpp',
caryclark@google.com03f97062012-08-21 13:13:52 +000049 '../experimental/Intersection/CubicParameterization.cpp',
50 '../experimental/Intersection/CubicReduceOrder.cpp',
51 '../experimental/Intersection/CubicSubDivide.cpp',
caryclark@google.coma5764232012-03-28 16:20:21 +000052 '../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.com9e49fb62012-08-27 14:11:33 +000062 '../experimental/Intersection/QuadraticLineSegments.h',
caryclark@google.comd3128042012-09-26 13:00:03 +000063 '../experimental/Intersection/QuadraticParameterization.h',
caryclark@google.coma5764232012-03-28 16:20:21 +000064 '../experimental/Intersection/QuadraticUtilities.h',
caryclark@google.comd3128042012-09-26 13:00:03 +000065 '../experimental/Intersection/QuarticRoot.h',
caryclark@google.coma5764232012-03-28 16:20:21 +000066 '../experimental/Intersection/ShapeOps.h',
caryclark@google.com03f97062012-08-21 13:13:52 +000067 '../experimental/Intersection/Simplify.h',
caryclark@google.coma5764232012-03-28 16:20:21 +000068 '../experimental/Intersection/TSearch.h',
caryclark@google.combeda3892013-02-07 13:13:41 +000069 '../experimental/Intersection/TriangleUtilities.h',
70 ],
caryclark@google.com11fa4a72012-03-27 13:27:36 +000071 'dependencies': [
djsollen@google.com52f02972013-06-03 12:10:19 +000072 'skia_lib.gyp:skia_lib',
caryclark@google.com11fa4a72012-03-27 13:27:36 +000073 'views.gyp:views',
caryclark@google.com11fa4a72012-03-27 13:27:36 +000074 'xml.gyp:xml',
caryclark@google.com11fa4a72012-03-27 13:27:36 +000075 ],
76 'conditions' : [
borenet@google.com05d550e2013-06-11 15:52:19 +000077 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos"]', {
caryclark@google.com11fa4a72012-03-27 13:27:36 +000078 }],
79 [ 'skia_os == "win"', {
80 }],
81 [ 'skia_os == "mac"', {
82 'sources': [
rmistry@google.comd6176b02012-08-23 18:14:13 +000083
caryclark@google.com11fa4a72012-03-27 13:27:36 +000084 # Mac files
caryclark@google.coma5764232012-03-28 16:20:21 +000085 '../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.com11fa4a72012-03-27 13:27:36 +000095 ],
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.com11fa4a72012-03-27 13:27:36 +0000107 ],
108 'msvs_settings': {
109 'VCLinkerTool': {
110 'SubSystem': '2',
111 'AdditionalDependencies': [
112 'd3d9.lib',
113 ],
114 },
115 },
116 },
117 ],
118}