blob: f00485084613907058001eabce49ea198be72bd7 [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': [
15 '../experimental/Intersection/DataTypes.cpp',
16 '../experimental/Intersection/EdgeWalker.cpp',
17 '../experimental/Intersection/EdgeWalker_TestUtility.cpp',
18 '../experimental/Intersection/LineIntersection.cpp',
19 '../experimental/Intersection/LineParameterization.cpp',
20 '../experimental/Intersection/LineUtilities.cpp',
21 '../experimental/Intersection/EdgeDemoApp.mm',
22 ],
23 'dependencies': [
24 'core.gyp:core',
25 'effects.gyp:effects',
26 'images.gyp:images',
27 'ports.gyp:ports',
28 'views.gyp:views',
29 'utils.gyp:utils',
30 'animator.gyp:animator',
31 'xml.gyp:xml',
32 'svg.gyp:svg',
33 'experimental.gyp:experimental',
34 'gpu.gyp:gr',
35 'gpu.gyp:skgr',
36 'pdf.gyp:pdf',
37 ],
38 'conditions' : [
39 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', {
40 }],
41 [ 'skia_os == "win"', {
42 }],
43 [ 'skia_os == "mac"', {
44 'sources': [
45
46 # Mac files
47 '../src/utils/mac/SkEventNotifier.h',
48 '../src/utils/mac/SkEventNotifier.mm',
49 '../src/utils/mac/skia_mac.mm',
50 '../src/utils/mac/SkNSView.h',
51 '../src/utils/mac/SkNSView.mm',
52 '../src/utils/mac/SkOptionsTableView.h',
53 '../src/utils/mac/SkOptionsTableView.mm',
54 '../src/utils/mac/SkOSWindow_Mac.mm',
55 '../src/utils/mac/SkTextFieldCell.h',
56 '../src/utils/mac/SkTextFieldCell.m',
57 ],
58 'libraries': [
59 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
60 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
61 ],
62 'xcode_settings' : {
63 'INFOPLIST_FILE' : '../experimental/Intersection/EdgeDemoApp-Info.plist',
64 },
65 'mac_bundle_resources' : [
66 '../experimental/Intersection/EdgeDemoApp.xib',
67 ],
68 }],
69 ],
70 'msvs_settings': {
71 'VCLinkerTool': {
72 'SubSystem': '2',
73 'AdditionalDependencies': [
74 'd3d9.lib',
75 ],
76 },
77 },
78 },
79 ],
80}
81
82# Local Variables:
83# tab-width:2
84# indent-tabs-mode:nil
85# End:
86# vim: set expandtab tabstop=2 shiftwidth=2: