2011-06-17 15:00:44 +00:00
|
|
|
{
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'SimpleCocoaApp',
|
|
|
|
'type': 'executable',
|
|
|
|
'mac_bundle' : 1,
|
|
|
|
'include_dirs' : [
|
|
|
|
'../experimental/SimpleCocoaApp/',
|
|
|
|
],
|
|
|
|
'sources': [
|
2012-03-21 20:59:49 +00:00
|
|
|
'../src/views/mac/SkEventNotifier.h',
|
|
|
|
'../src/views/mac/SkEventNotifier.mm',
|
|
|
|
'../src/views/mac/skia_mac.mm',
|
|
|
|
'../src/views/mac/SkNSView.h',
|
|
|
|
'../src/views/mac/SkNSView.mm',
|
|
|
|
'../src/views/mac/SkOptionsTableView.h',
|
|
|
|
'../src/views/mac/SkOptionsTableView.mm',
|
|
|
|
'../src/views/mac/SkOSWindow_Mac.mm',
|
|
|
|
'../src/views/mac/SkTextFieldCell.h',
|
|
|
|
'../src/views/mac/SkTextFieldCell.m',
|
2011-08-30 14:40:49 +00:00
|
|
|
|
|
|
|
'../experimental/SimpleCocoaApp/SimpleApp-Info.plist',
|
|
|
|
'../experimental/SimpleCocoaApp/SimpleApp.h',
|
|
|
|
'../experimental/SimpleCocoaApp/SimpleApp.mm',
|
|
|
|
|
2011-06-17 15:00:44 +00:00
|
|
|
],
|
|
|
|
'dependencies': [
|
|
|
|
'core.gyp:core',
|
|
|
|
'opts.gyp:opts',
|
|
|
|
'utils.gyp:utils',
|
|
|
|
'views.gyp:views',
|
|
|
|
'xml.gyp:xml',
|
|
|
|
],
|
|
|
|
'conditions' : [
|
|
|
|
# Only supports Mac currently
|
2011-07-01 20:20:07 +00:00
|
|
|
[ 'skia_os == "mac"', {
|
2011-06-17 15:00:44 +00:00
|
|
|
'sources': [
|
|
|
|
'../include/utils/mac/SkCGUtils.h',
|
|
|
|
'../src/utils/mac/SkCreateCGImageRef.cpp',
|
|
|
|
],
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
2011-08-30 14:40:49 +00:00
|
|
|
'$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
|
2011-06-17 15:00:44 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
'xcode_settings' : {
|
2011-08-30 14:40:49 +00:00
|
|
|
'INFOPLIST_FILE' : '../experimental/SimpleCocoaApp/SimpleApp-Info.plist',
|
2011-06-17 15:00:44 +00:00
|
|
|
},
|
|
|
|
'mac_bundle_resources' : [
|
2011-08-30 14:40:49 +00:00
|
|
|
'../experimental/SimpleCocoaApp/SimpleApp.xib',
|
2011-06-17 15:00:44 +00:00
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|
|
|
|
|
|
|
|
# Local Variables:
|
|
|
|
# tab-width:2
|
|
|
|
# indent-tabs-mode:nil
|
|
|
|
# End:
|
|
|
|
# vim: set expandtab tabstop=2 shiftwidth=2:
|