blob: 393aa50b3b4dd3c51494de56d538d02cfb032b1a [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': [
bungeman@google.comcbd76ae2012-03-21 20:59:49 +000015 '../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.comd6176b02012-08-23 18:14:13 +000025
yangsu@google.coma8540412011-08-30 14:40:49 +000026 '../experimental/SimpleCocoaApp/SimpleApp-Info.plist',
27 '../experimental/SimpleCocoaApp/SimpleApp.h',
28 '../experimental/SimpleCocoaApp/SimpleApp.mm',
rmistry@google.comd6176b02012-08-23 18:14:13 +000029
yangsu@google.com5f802c12011-06-17 15:00:44 +000030 ],
31 'dependencies': [
djsollen@google.com52f02972013-06-03 12:10:19 +000032 'skia_lib.gyp:skia_lib',
yangsu@google.com5f802c12011-06-17 15:00:44 +000033 'views.gyp:views',
34 'xml.gyp:xml',
35 ],
36 'conditions' : [
37 # Only supports Mac currently
epoger@google.com8846cb22011-07-01 20:20:07 +000038 [ 'skia_os == "mac"', {
yangsu@google.com5f802c12011-06-17 15:00:44 +000039 'sources': [
40 '../include/utils/mac/SkCGUtils.h',
41 '../src/utils/mac/SkCreateCGImageRef.cpp',
42 ],
43 'link_settings': {
44 'libraries': [
yangsu@google.coma8540412011-08-30 14:40:49 +000045 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
yangsu@google.com5f802c12011-06-17 15:00:44 +000046 ],
47 },
48 'xcode_settings' : {
yangsu@google.coma8540412011-08-30 14:40:49 +000049 'INFOPLIST_FILE' : '../experimental/SimpleCocoaApp/SimpleApp-Info.plist',
yangsu@google.com5f802c12011-06-17 15:00:44 +000050 },
51 'mac_bundle_resources' : [
yangsu@google.coma8540412011-08-30 14:40:49 +000052 '../experimental/SimpleCocoaApp/SimpleApp.xib',
yangsu@google.com5f802c12011-06-17 15:00:44 +000053 ],
54 }],
55 ],
56 },
57 ],
58}