blob: 13f05dcaac4d5d4cba4a9a7066426d297229b65e [file] [log] [blame]
yangsu@google.com5f802c12011-06-17 15:00:44 +00001{
yangsu@google.com5f802c12011-06-17 15:00:44 +00002 'targets': [
3 {
4 'target_name': 'SimpleCocoaApp',
5 'type': 'executable',
6 'mac_bundle' : 1,
7 'include_dirs' : [
8 '../experimental/SimpleCocoaApp/',
9 ],
10 'sources': [
bungeman@google.comcbd76ae2012-03-21 20:59:49 +000011 '../src/views/mac/SkEventNotifier.h',
12 '../src/views/mac/SkEventNotifier.mm',
13 '../src/views/mac/skia_mac.mm',
14 '../src/views/mac/SkNSView.h',
15 '../src/views/mac/SkNSView.mm',
16 '../src/views/mac/SkOptionsTableView.h',
17 '../src/views/mac/SkOptionsTableView.mm',
18 '../src/views/mac/SkOSWindow_Mac.mm',
19 '../src/views/mac/SkTextFieldCell.h',
20 '../src/views/mac/SkTextFieldCell.m',
yangsu@google.coma8540412011-08-30 14:40:49 +000021
22 '../experimental/SimpleCocoaApp/SimpleApp-Info.plist',
23 '../experimental/SimpleCocoaApp/SimpleApp.h',
24 '../experimental/SimpleCocoaApp/SimpleApp.mm',
25
yangsu@google.com5f802c12011-06-17 15:00:44 +000026 ],
27 'dependencies': [
28 'core.gyp:core',
29 'opts.gyp:opts',
30 'utils.gyp:utils',
31 'views.gyp:views',
32 'xml.gyp:xml',
33 ],
34 'conditions' : [
35 # Only supports Mac currently
epoger@google.com8846cb22011-07-01 20:20:07 +000036 [ 'skia_os == "mac"', {
yangsu@google.com5f802c12011-06-17 15:00:44 +000037 'sources': [
38 '../include/utils/mac/SkCGUtils.h',
39 '../src/utils/mac/SkCreateCGImageRef.cpp',
40 ],
41 'link_settings': {
42 'libraries': [
yangsu@google.coma8540412011-08-30 14:40:49 +000043 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
yangsu@google.com5f802c12011-06-17 15:00:44 +000044 ],
45 },
46 'xcode_settings' : {
yangsu@google.coma8540412011-08-30 14:40:49 +000047 'INFOPLIST_FILE' : '../experimental/SimpleCocoaApp/SimpleApp-Info.plist',
yangsu@google.com5f802c12011-06-17 15:00:44 +000048 },
49 'mac_bundle_resources' : [
yangsu@google.coma8540412011-08-30 14:40:49 +000050 '../experimental/SimpleCocoaApp/SimpleApp.xib',
yangsu@google.com5f802c12011-06-17 15:00:44 +000051 ],
52 }],
53 ],
54 },
55 ],
56}
57
58# Local Variables:
59# tab-width:2
60# indent-tabs-mode:nil
61# End:
62# vim: set expandtab tabstop=2 shiftwidth=2: