blob: 7c85d32f84b472005cd44c9abc5f700ee9a5fb9f [file] [log] [blame]
scroggo3e562272015-03-25 10:22:41 -07001# 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.com5f802c12011-06-17 15:00:44 +00005{
yangsu@google.com5f802c12011-06-17 15:00:44 +00006 'targets': [
7 {
8 'target_name': 'SimpleCocoaApp',
9 'type': 'executable',
10 'mac_bundle' : 1,
11 'include_dirs' : [
12 '../experimental/SimpleCocoaApp/',
13 ],
14 'sources': [
yangsu@google.coma8540412011-08-30 14:40:49 +000015 '../experimental/SimpleCocoaApp/SimpleApp-Info.plist',
16 '../experimental/SimpleCocoaApp/SimpleApp.h',
17 '../experimental/SimpleCocoaApp/SimpleApp.mm',
rmistry@google.comd6176b02012-08-23 18:14:13 +000018
yangsu@google.com5f802c12011-06-17 15:00:44 +000019 ],
20 'dependencies': [
djsollen@google.com52f02972013-06-03 12:10:19 +000021 'skia_lib.gyp:skia_lib',
yangsu@google.com5f802c12011-06-17 15:00:44 +000022 'views.gyp:views',
23 'xml.gyp:xml',
24 ],
25 'conditions' : [
26 # Only supports Mac currently
epoger@google.com8846cb22011-07-01 20:20:07 +000027 [ 'skia_os == "mac"', {
yangsu@google.com5f802c12011-06-17 15:00:44 +000028 'sources': [
29 '../include/utils/mac/SkCGUtils.h',
30 '../src/utils/mac/SkCreateCGImageRef.cpp',
31 ],
32 'link_settings': {
33 'libraries': [
yangsu@google.coma8540412011-08-30 14:40:49 +000034 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
yangsu@google.com5f802c12011-06-17 15:00:44 +000035 ],
36 },
37 'xcode_settings' : {
yangsu@google.coma8540412011-08-30 14:40:49 +000038 'INFOPLIST_FILE' : '../experimental/SimpleCocoaApp/SimpleApp-Info.plist',
yangsu@google.com5f802c12011-06-17 15:00:44 +000039 },
40 'mac_bundle_resources' : [
yangsu@google.coma8540412011-08-30 14:40:49 +000041 '../experimental/SimpleCocoaApp/SimpleApp.xib',
yangsu@google.com5f802c12011-06-17 15:00:44 +000042 ],
43 }],
44 ],
45 },
46 ],
47}