yangsu@google.com | 5f802c1 | 2011-06-17 15:00:44 +0000 | [diff] [blame] | 1 | { |
yangsu@google.com | 5f802c1 | 2011-06-17 15:00:44 +0000 | [diff] [blame] | 2 | 'targets': [ |
| 3 | { |
| 4 | 'target_name': 'SimpleCocoaApp', |
| 5 | 'type': 'executable', |
| 6 | 'mac_bundle' : 1, |
| 7 | 'include_dirs' : [ |
| 8 | '../experimental/SimpleCocoaApp/', |
| 9 | ], |
| 10 | 'sources': [ |
bungeman@google.com | cbd76ae | 2012-03-21 20:59:49 +0000 | [diff] [blame] | 11 | '../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.com | a854041 | 2011-08-30 14:40:49 +0000 | [diff] [blame] | 21 | |
| 22 | '../experimental/SimpleCocoaApp/SimpleApp-Info.plist', |
| 23 | '../experimental/SimpleCocoaApp/SimpleApp.h', |
| 24 | '../experimental/SimpleCocoaApp/SimpleApp.mm', |
| 25 | |
yangsu@google.com | 5f802c1 | 2011-06-17 15:00:44 +0000 | [diff] [blame] | 26 | ], |
| 27 | 'dependencies': [ |
| 28 | 'core.gyp:core', |
| 29 | 'opts.gyp:opts', |
caryclark@google.com | 11f6614 | 2012-06-18 14:40:51 +0000 | [diff] [blame] | 30 | 'ports.gyp:ports', |
yangsu@google.com | 5f802c1 | 2011-06-17 15:00:44 +0000 | [diff] [blame] | 31 | 'utils.gyp:utils', |
| 32 | 'views.gyp:views', |
| 33 | 'xml.gyp:xml', |
| 34 | ], |
| 35 | 'conditions' : [ |
| 36 | # Only supports Mac currently |
epoger@google.com | 8846cb2 | 2011-07-01 20:20:07 +0000 | [diff] [blame] | 37 | [ 'skia_os == "mac"', { |
yangsu@google.com | 5f802c1 | 2011-06-17 15:00:44 +0000 | [diff] [blame] | 38 | 'sources': [ |
| 39 | '../include/utils/mac/SkCGUtils.h', |
| 40 | '../src/utils/mac/SkCreateCGImageRef.cpp', |
| 41 | ], |
| 42 | 'link_settings': { |
| 43 | 'libraries': [ |
yangsu@google.com | a854041 | 2011-08-30 14:40:49 +0000 | [diff] [blame] | 44 | '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', |
yangsu@google.com | 5f802c1 | 2011-06-17 15:00:44 +0000 | [diff] [blame] | 45 | ], |
| 46 | }, |
| 47 | 'xcode_settings' : { |
yangsu@google.com | a854041 | 2011-08-30 14:40:49 +0000 | [diff] [blame] | 48 | 'INFOPLIST_FILE' : '../experimental/SimpleCocoaApp/SimpleApp-Info.plist', |
yangsu@google.com | 5f802c1 | 2011-06-17 15:00:44 +0000 | [diff] [blame] | 49 | }, |
| 50 | 'mac_bundle_resources' : [ |
yangsu@google.com | a854041 | 2011-08-30 14:40:49 +0000 | [diff] [blame] | 51 | '../experimental/SimpleCocoaApp/SimpleApp.xib', |
yangsu@google.com | 5f802c1 | 2011-06-17 15:00:44 +0000 | [diff] [blame] | 52 | ], |
| 53 | }], |
| 54 | ], |
| 55 | }, |
| 56 | ], |
| 57 | } |
| 58 | |
| 59 | # Local Variables: |
| 60 | # tab-width:2 |
| 61 | # indent-tabs-mode:nil |
| 62 | # End: |
| 63 | # vim: set expandtab tabstop=2 shiftwidth=2: |