1{
2  'includes': [
3    'common.gypi',
4  ],
5  'targets': [
6    {
7      'target_name': 'SimpleCocoaApp',
8      'type': 'executable',
9      'mac_bundle' : 1,
10      'include_dirs' : [
11        '../experimental/SimpleCocoaApp/',
12      ],
13      'sources': [
14        '../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        
29      ],
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
39        [ 'skia_os == "mac"', {
40          'sources': [
41            '../include/utils/mac/SkCGUtils.h',
42            '../src/utils/mac/SkCreateCGImageRef.cpp',
43          ],
44          'link_settings': {
45            'libraries': [
46              '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
47            ],
48          },
49          'xcode_settings' : {
50            'INFOPLIST_FILE' : '../experimental/SimpleCocoaApp/SimpleApp-Info.plist',
51          },
52          'mac_bundle_resources' : [
53            '../experimental/SimpleCocoaApp/SimpleApp.xib',
54          ],
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:
66