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', |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 21 | |
yangsu@google.com | a854041 | 2011-08-30 14:40:49 +0000 | [diff] [blame] | 22 | '../experimental/SimpleCocoaApp/SimpleApp-Info.plist', |
| 23 | '../experimental/SimpleCocoaApp/SimpleApp.h', |
| 24 | '../experimental/SimpleCocoaApp/SimpleApp.mm', |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 25 | |
yangsu@google.com | 5f802c1 | 2011-06-17 15:00:44 +0000 | [diff] [blame] | 26 | ], |
| 27 | 'dependencies': [ |
djsollen@google.com | 52f0297 | 2013-06-03 12:10:19 +0000 | [diff] [blame] | 28 | 'skia_lib.gyp:skia_lib', |
yangsu@google.com | 5f802c1 | 2011-06-17 15:00:44 +0000 | [diff] [blame] | 29 | 'views.gyp:views', |
| 30 | 'xml.gyp:xml', |
| 31 | ], |
| 32 | 'conditions' : [ |
| 33 | # Only supports Mac currently |
epoger@google.com | 8846cb2 | 2011-07-01 20:20:07 +0000 | [diff] [blame] | 34 | [ 'skia_os == "mac"', { |
yangsu@google.com | 5f802c1 | 2011-06-17 15:00:44 +0000 | [diff] [blame] | 35 | 'sources': [ |
| 36 | '../include/utils/mac/SkCGUtils.h', |
| 37 | '../src/utils/mac/SkCreateCGImageRef.cpp', |
| 38 | ], |
| 39 | 'link_settings': { |
| 40 | 'libraries': [ |
yangsu@google.com | a854041 | 2011-08-30 14:40:49 +0000 | [diff] [blame] | 41 | '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', |
yangsu@google.com | 5f802c1 | 2011-06-17 15:00:44 +0000 | [diff] [blame] | 42 | ], |
| 43 | }, |
| 44 | 'xcode_settings' : { |
yangsu@google.com | a854041 | 2011-08-30 14:40:49 +0000 | [diff] [blame] | 45 | 'INFOPLIST_FILE' : '../experimental/SimpleCocoaApp/SimpleApp-Info.plist', |
yangsu@google.com | 5f802c1 | 2011-06-17 15:00:44 +0000 | [diff] [blame] | 46 | }, |
| 47 | 'mac_bundle_resources' : [ |
yangsu@google.com | a854041 | 2011-08-30 14:40:49 +0000 | [diff] [blame] | 48 | '../experimental/SimpleCocoaApp/SimpleApp.xib', |
yangsu@google.com | 5f802c1 | 2011-06-17 15:00:44 +0000 | [diff] [blame] | 49 | ], |
| 50 | }], |
| 51 | ], |
| 52 | }, |
| 53 | ], |
| 54 | } |