blob: 038b28222fb6cfc00ea084d261ddee4b7cd2c1e4 [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',
18 '../experimental/Intersection/CubicIntersection.cpp',
19 '../experimental/Intersection/CubicReduceOrder.cpp',
20 '../experimental/Intersection/CubicSubDivide.cpp',
21 '../experimental/Intersection/CubicUtilities.cpp',
caryclark@google.com11fa4a72012-03-27 13:27:36 +000022 '../experimental/Intersection/DataTypes.cpp',
caryclark@google.coma5764232012-03-28 16:20:21 +000023 '../experimental/Intersection/EdgeDemo.cpp',
24 '../experimental/Intersection/EdgeDemoApp.mm',
caryclark@google.com11fa4a72012-03-27 13:27:36 +000025 '../experimental/Intersection/EdgeWalker.cpp',
26 '../experimental/Intersection/EdgeWalker_TestUtility.cpp',
caryclark@google.coma5764232012-03-28 16:20:21 +000027 '../experimental/Intersection/Extrema.cpp',
caryclark@google.com988ad532012-03-28 17:04:08 +000028 '../experimental/Intersection/LineCubicIntersection.cpp',
caryclark@google.com11fa4a72012-03-27 13:27:36 +000029 '../experimental/Intersection/LineIntersection.cpp',
30 '../experimental/Intersection/LineParameterization.cpp',
caryclark@google.coma5764232012-03-28 16:20:21 +000031 '../experimental/Intersection/LineQuadraticIntersection.cpp',
caryclark@google.com11fa4a72012-03-27 13:27:36 +000032 '../experimental/Intersection/LineUtilities.cpp',
caryclark@google.coma5764232012-03-28 16:20:21 +000033 '../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.com11fa4a72012-03-27 13:27:36 +000052 ],
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.coma5764232012-03-28 16:20:21 +000077 '../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.com11fa4a72012-03-27 13:27:36 +000087 ],
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: