1 { 2 'targets': [ 3 { 4 'target_name': 'SimpleCocoaApp', 5 'type': 'executable', 6 'mac_bundle' : 1, 7 'include_dirs' : [ 8 '../experimental/SimpleCocoaApp/', 9 ], 10 'sources': [ 11 '../src/views/mac/SkEventNotifier.h', 12 '../src/views/mac/SkEventNotifier.mm', 13 '../src/views/mac/skia_mac.mm', 14 '../src/views/mac/SkNSView.h', 15 '../src/views/mac/SkNSView.mm', 16 '../src/views/mac/SkOptionsTableView.h', 17 '../src/views/mac/SkOptionsTableView.mm', 18 '../src/views/mac/SkOSWindow_Mac.mm', 19 '../src/views/mac/SkTextFieldCell.h', 20 '../src/views/mac/SkTextFieldCell.m', 21 22 '../experimental/SimpleCocoaApp/SimpleApp-Info.plist', 23 '../experimental/SimpleCocoaApp/SimpleApp.h', 24 '../experimental/SimpleCocoaApp/SimpleApp.mm', 25 26 ], 27 'dependencies': [ 28 'skia_lib.gyp:skia_lib', 29 'views.gyp:views', 30 'xml.gyp:xml', 31 ], 32 'conditions' : [ 33 # Only supports Mac currently 34 [ 'skia_os == "mac"', { 35 'sources': [ 36 '../include/utils/mac/SkCGUtils.h', 37 '../src/utils/mac/SkCreateCGImageRef.cpp', 38 ], 39 'link_settings': { 40 'libraries': [ 41 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', 42 ], 43 }, 44 'xcode_settings' : { 45 'INFOPLIST_FILE' : '../experimental/SimpleCocoaApp/SimpleApp-Info.plist', 46 }, 47 'mac_bundle_resources' : [ 48 '../experimental/SimpleCocoaApp/SimpleApp.xib', 49 ], 50 }], 51 ], 52 }, 53 ], 54 } 55 56 # Local Variables: 57 # tab-width:2 58 # indent-tabs-mode:nil 59 # End: 60 # vim: set expandtab tabstop=2 shiftwidth=2: 61