scroggo | 3e56227 | 2015-03-25 10:22:41 -0700 | [diff] [blame] | 1 | # Copyright 2015 Google Inc. |
| 2 | # |
| 3 | # Use of this source code is governed by a BSD-style license that can be |
| 4 | # found in the LICENSE file. |
yangsu@google.com | 5f802c1 | 2011-06-17 15:00:44 +0000 | [diff] [blame] | 5 | { |
yangsu@google.com | 5f802c1 | 2011-06-17 15:00:44 +0000 | [diff] [blame] | 6 | 'targets': [ |
| 7 | { |
| 8 | 'target_name': 'SimpleCocoaApp', |
| 9 | 'type': 'executable', |
| 10 | 'mac_bundle' : 1, |
| 11 | 'include_dirs' : [ |
| 12 | '../experimental/SimpleCocoaApp/', |
| 13 | ], |
| 14 | 'sources': [ |
bungeman@google.com | cbd76ae | 2012-03-21 20:59:49 +0000 | [diff] [blame] | 15 | '../src/views/mac/SkEventNotifier.h', |
| 16 | '../src/views/mac/SkEventNotifier.mm', |
| 17 | '../src/views/mac/skia_mac.mm', |
| 18 | '../src/views/mac/SkNSView.h', |
| 19 | '../src/views/mac/SkNSView.mm', |
| 20 | '../src/views/mac/SkOptionsTableView.h', |
| 21 | '../src/views/mac/SkOptionsTableView.mm', |
| 22 | '../src/views/mac/SkOSWindow_Mac.mm', |
| 23 | '../src/views/mac/SkTextFieldCell.h', |
| 24 | '../src/views/mac/SkTextFieldCell.m', |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 25 | |
yangsu@google.com | a854041 | 2011-08-30 14:40:49 +0000 | [diff] [blame] | 26 | '../experimental/SimpleCocoaApp/SimpleApp-Info.plist', |
| 27 | '../experimental/SimpleCocoaApp/SimpleApp.h', |
| 28 | '../experimental/SimpleCocoaApp/SimpleApp.mm', |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 29 | |
yangsu@google.com | 5f802c1 | 2011-06-17 15:00:44 +0000 | [diff] [blame] | 30 | ], |
| 31 | 'dependencies': [ |
djsollen@google.com | 52f0297 | 2013-06-03 12:10:19 +0000 | [diff] [blame] | 32 | 'skia_lib.gyp:skia_lib', |
yangsu@google.com | 5f802c1 | 2011-06-17 15:00:44 +0000 | [diff] [blame] | 33 | 'views.gyp:views', |
| 34 | 'xml.gyp:xml', |
| 35 | ], |
| 36 | 'conditions' : [ |
| 37 | # Only supports Mac currently |
epoger@google.com | 8846cb2 | 2011-07-01 20:20:07 +0000 | [diff] [blame] | 38 | [ 'skia_os == "mac"', { |
yangsu@google.com | 5f802c1 | 2011-06-17 15:00:44 +0000 | [diff] [blame] | 39 | 'sources': [ |
| 40 | '../include/utils/mac/SkCGUtils.h', |
| 41 | '../src/utils/mac/SkCreateCGImageRef.cpp', |
| 42 | ], |
| 43 | 'link_settings': { |
| 44 | 'libraries': [ |
yangsu@google.com | a854041 | 2011-08-30 14:40:49 +0000 | [diff] [blame] | 45 | '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', |
yangsu@google.com | 5f802c1 | 2011-06-17 15:00:44 +0000 | [diff] [blame] | 46 | ], |
| 47 | }, |
| 48 | 'xcode_settings' : { |
yangsu@google.com | a854041 | 2011-08-30 14:40:49 +0000 | [diff] [blame] | 49 | 'INFOPLIST_FILE' : '../experimental/SimpleCocoaApp/SimpleApp-Info.plist', |
yangsu@google.com | 5f802c1 | 2011-06-17 15:00:44 +0000 | [diff] [blame] | 50 | }, |
| 51 | 'mac_bundle_resources' : [ |
yangsu@google.com | a854041 | 2011-08-30 14:40:49 +0000 | [diff] [blame] | 52 | '../experimental/SimpleCocoaApp/SimpleApp.xib', |
yangsu@google.com | 5f802c1 | 2011-06-17 15:00:44 +0000 | [diff] [blame] | 53 | ], |
| 54 | }], |
| 55 | ], |
| 56 | }, |
| 57 | ], |
| 58 | } |