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