yangsu@google.com | 5f802c1 | 2011-06-17 15:00:44 +0000 | [diff] [blame] | 1 | { |
| 2 | 'includes': [ |
epoger@google.com | 5351b37 | 2011-07-01 17:16:26 +0000 | [diff] [blame] | 3 | 'common.gypi', |
yangsu@google.com | 5f802c1 | 2011-06-17 15:00:44 +0000 | [diff] [blame] | 4 | ], |
| 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.com | a854041 | 2011-08-30 14:40:49 +0000 | [diff] [blame^] | 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 | |
yangsu@google.com | 5f802c1 | 2011-06-17 15:00:44 +0000 | [diff] [blame] | 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 |
epoger@google.com | 8846cb2 | 2011-07-01 20:20:07 +0000 | [diff] [blame] | 39 | [ 'skia_os == "mac"', { |
yangsu@google.com | 5f802c1 | 2011-06-17 15:00:44 +0000 | [diff] [blame] | 40 | 'sources': [ |
| 41 | '../include/utils/mac/SkCGUtils.h', |
| 42 | '../src/utils/mac/SkCreateCGImageRef.cpp', |
| 43 | ], |
| 44 | 'link_settings': { |
| 45 | 'libraries': [ |
yangsu@google.com | a854041 | 2011-08-30 14:40:49 +0000 | [diff] [blame^] | 46 | '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', |
yangsu@google.com | 5f802c1 | 2011-06-17 15:00:44 +0000 | [diff] [blame] | 47 | ], |
| 48 | }, |
| 49 | 'xcode_settings' : { |
yangsu@google.com | a854041 | 2011-08-30 14:40:49 +0000 | [diff] [blame^] | 50 | 'INFOPLIST_FILE' : '../experimental/SimpleCocoaApp/SimpleApp-Info.plist', |
yangsu@google.com | 5f802c1 | 2011-06-17 15:00:44 +0000 | [diff] [blame] | 51 | }, |
| 52 | 'mac_bundle_resources' : [ |
yangsu@google.com | a854041 | 2011-08-30 14:40:49 +0000 | [diff] [blame^] | 53 | '../experimental/SimpleCocoaApp/SimpleApp.xib', |
yangsu@google.com | 5f802c1 | 2011-06-17 15:00:44 +0000 | [diff] [blame] | 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: |