blob: ed35d540cf1cc486f141fc9351b263acebcdecfc [file] [log] [blame]
yangsu@google.com5f802c12011-06-17 15:00:44 +00001{
2 'includes': [
epoger@google.com5351b372011-07-01 17:16:26 +00003 'common.gypi',
yangsu@google.com5f802c12011-06-17 15:00:44 +00004 ],
5 'targets': [
6 {
7 'target_name': 'SimpleCocoaApp',
8 'type': 'executable',
9 'mac_bundle' : 1,
10 'include_dirs' : [
11 '../experimental/SimpleCocoaApp/',
12 ],
13 'sources': [
yangsu@google.coma8540412011-08-30 14:40:49 +000014 '../src/utils/mac/SkEventNotifier.h',
15 '../src/utils/mac/SkEventNotifier.mm',
16 '../src/utils/mac/skia_mac.mm',
17 '../src/utils/mac/SkNSView.h',
18 '../src/utils/mac/SkNSView.mm',
19 '../src/utils/mac/SkOptionsTableView.h',
20 '../src/utils/mac/SkOptionsTableView.mm',
21 '../src/utils/mac/SkOSWindow_Mac.mm',
22 '../src/utils/mac/SkTextFieldCell.h',
23 '../src/utils/mac/SkTextFieldCell.m',
24
25 '../experimental/SimpleCocoaApp/SimpleApp-Info.plist',
26 '../experimental/SimpleCocoaApp/SimpleApp.h',
27 '../experimental/SimpleCocoaApp/SimpleApp.mm',
28
yangsu@google.com5f802c12011-06-17 15:00:44 +000029 ],
30 'dependencies': [
31 'core.gyp:core',
32 'opts.gyp:opts',
33 'utils.gyp:utils',
34 'views.gyp:views',
35 'xml.gyp:xml',
36 ],
37 'conditions' : [
38 # Only supports Mac currently
epoger@google.com8846cb22011-07-01 20:20:07 +000039 [ 'skia_os == "mac"', {
yangsu@google.com5f802c12011-06-17 15:00:44 +000040 'sources': [
41 '../include/utils/mac/SkCGUtils.h',
42 '../src/utils/mac/SkCreateCGImageRef.cpp',
43 ],
44 'link_settings': {
45 'libraries': [
yangsu@google.coma8540412011-08-30 14:40:49 +000046 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
yangsu@google.com5f802c12011-06-17 15:00:44 +000047 ],
48 },
49 'xcode_settings' : {
yangsu@google.coma8540412011-08-30 14:40:49 +000050 'INFOPLIST_FILE' : '../experimental/SimpleCocoaApp/SimpleApp-Info.plist',
yangsu@google.com5f802c12011-06-17 15:00:44 +000051 },
52 'mac_bundle_resources' : [
yangsu@google.coma8540412011-08-30 14:40:49 +000053 '../experimental/SimpleCocoaApp/SimpleApp.xib',
yangsu@google.com5f802c12011-06-17 15:00:44 +000054 ],
55 }],
56 ],
57 },
58 ],
59}
60
61# Local Variables:
62# tab-width:2
63# indent-tabs-mode:nil
64# End:
65# vim: set expandtab tabstop=2 shiftwidth=2: