• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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': [
15        '../experimental/Intersection/ConvexHull.cpp',
16        '../experimental/Intersection/CubeRoot.cpp',
17        '../experimental/Intersection/CubicBezierClip.cpp',
18        '../experimental/Intersection/CubicBounds.cpp',
19        '../experimental/Intersection/CubicIntersection.cpp',
20        '../experimental/Intersection/CubicReduceOrder.cpp',
21        '../experimental/Intersection/CubicSubDivide.cpp',
22        '../experimental/Intersection/CubicToQuadratics.cpp',
23        '../experimental/Intersection/CubicUtilities.cpp',
24        '../experimental/Intersection/DataTypes.cpp',
25        '../experimental/Intersection/EdgeDemo.cpp',
26        '../experimental/Intersection/EdgeDemoApp.mm',
27        '../experimental/Intersection/EdgeWalker.cpp',
28        '../experimental/Intersection/EdgeWalker_TestUtility.cpp',
29        '../experimental/Intersection/Extrema.cpp',
30        '../experimental/Intersection/Intersections.cpp',
31        '../experimental/Intersection/LineCubicIntersection.cpp',
32        '../experimental/Intersection/LineIntersection.cpp',
33        '../experimental/Intersection/LineParameterization.cpp',
34        '../experimental/Intersection/LineQuadraticIntersection.cpp',
35        '../experimental/Intersection/LineUtilities.cpp',
36        '../experimental/Intersection/QuadraticBezierClip.cpp',
37        '../experimental/Intersection/QuadraticBounds.cpp',
38        '../experimental/Intersection/QuadraticIntersection.cpp',
39        '../experimental/Intersection/QuadraticImplicit.cpp',
40        '../experimental/Intersection/QuadraticLineSegments.cpp',
41        '../experimental/Intersection/QuadraticParameterization.cpp',
42        '../experimental/Intersection/QuadraticReduceOrder.cpp',
43        '../experimental/Intersection/QuadraticSubDivide.cpp',
44        '../experimental/Intersection/QuadraticUtilities.cpp',
45        '../experimental/Intersection/QuarticRoot.cpp',
46        '../experimental/Intersection/ShapeOps.cpp',
47        '../experimental/Intersection/Simplify.cpp',
48        '../experimental/Intersection/CubicParameterization.cpp',
49        '../experimental/Intersection/CubicReduceOrder.cpp',
50        '../experimental/Intersection/CubicSubDivide.cpp',
51        '../experimental/Intersection/CubicUtilities.h',
52        '../experimental/Intersection/CurveIntersection.h',
53        '../experimental/Intersection/DataTypes.h',
54        '../experimental/Intersection/EdgeDemo.h',
55        '../experimental/Intersection/Extrema.h',
56        '../experimental/Intersection/Intersections.h',
57        '../experimental/Intersection/IntersectionUtilities.h',
58        '../experimental/Intersection/LineIntersection.h',
59        '../experimental/Intersection/LineParameters.h',
60        '../experimental/Intersection/LineUtilities.h',
61        '../experimental/Intersection/QuadraticLineSegments.h',
62        '../experimental/Intersection/QuadraticParameterization.h',
63        '../experimental/Intersection/QuadraticUtilities.h',
64        '../experimental/Intersection/QuarticRoot.h',
65        '../experimental/Intersection/ShapeOps.h',
66        '../experimental/Intersection/Simplify.h',
67        '../experimental/Intersection/TSearch.h',
68      ],
69      'dependencies': [
70        'skia_base_libs.gyp:skia_base_libs',
71        'effects.gyp:effects',
72        'images.gyp:images',
73        'views.gyp:views',
74        'xml.gyp:xml',
75      ],
76      'conditions' : [
77        [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', {
78        }],
79        [ 'skia_os == "win"', {
80        }],
81        [ 'skia_os == "mac"', {
82          'sources': [
83
84            # Mac files
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',
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        }],
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:
125