yangsu@google.com | 5f802c1 | 2011-06-17 15:00:44 +0000 | [diff] [blame] | 1 | { |
| 2 | 'includes': [ |
epoger@google.com | 5351b37 | 2011-07-01 17:16:26 +0000 | [diff] [blame] | 3 | 'common.gypi', |
yangsu@google.com | 5f802c1 | 2011-06-17 15:00:44 +0000 | [diff] [blame] | 4 | ], |
| 5 | 'targets': [ |
| 6 | { |
| 7 | 'target_name': 'CocoaDebuggerApp', |
| 8 | 'type': 'executable', |
| 9 | 'mac_bundle' : 1, |
| 10 | |
| 11 | 'include_dirs' : [ |
| 12 | '../include/pipe', |
| 13 | '../experimental/CocoaDebugger', |
| 14 | '../experimental/SimpleCocoaApp', |
| 15 | ], |
| 16 | 'sources': [ |
| 17 | '../experimental/CocoaDebugger/SkCommandListView.cpp', |
| 18 | '../experimental/CocoaDebugger/SkContentView.cpp', |
| 19 | '../experimental/CocoaDebugger/SkDebugDumper.cpp', |
| 20 | '../experimental/CocoaDebugger/SkDumpCanvasM.cpp', |
| 21 | '../experimental/CocoaDebugger/SkInfoPanelView.cpp', |
| 22 | '../src/pipe/SkGPipeRead.cpp', |
| 23 | ], |
| 24 | 'dependencies': [ |
| 25 | 'core.gyp:core', |
| 26 | 'effects.gyp:effects', |
| 27 | 'opts.gyp:opts', |
| 28 | 'utils.gyp:utils', |
| 29 | 'views.gyp:views', |
| 30 | 'xml.gyp:xml', |
| 31 | ], |
| 32 | 'conditions' : [ |
| 33 | # Only supports Mac currently |
epoger@google.com | 8846cb2 | 2011-07-01 20:20:07 +0000 | [diff] [blame] | 34 | ['skia_os == "mac"', { |
yangsu@google.com | 5f802c1 | 2011-06-17 15:00:44 +0000 | [diff] [blame] | 35 | 'sources': [ |
| 36 | '../experimental/CocoaDebugger/CocoaDebugger-Info.plist', |
| 37 | '../experimental/CocoaDebugger/CocoaDebugger_Prefix.pch', |
| 38 | '../experimental/CocoaDebugger/CocoaDebuggerAppDelegate.mm', |
| 39 | '../experimental/CocoaDebugger/main.m', |
| 40 | '../experimental/CocoaDebugger/SkDebugger.mm', |
| 41 | '../experimental/CocoaDebugger/SkMenuController.mm', |
| 42 | '../experimental/SimpleCocoaApp/SkNSView.mm', |
| 43 | '../experimental/SimpleCocoaApp/SkNSWindow.mm', |
| 44 | '../include/utils/mac/SkCGUtils.h', |
| 45 | '../src/utils/mac/SkCreateCGImageRef.cpp', |
| 46 | ], |
| 47 | 'link_settings': { |
| 48 | 'libraries': [ |
| 49 | '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework', |
| 50 | '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', |
| 51 | '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 52 | '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', |
| 53 | ], |
| 54 | 'libraries!': [ |
| 55 | # Currently skia mac apps rely on Carbon and AGL for UI. Future |
| 56 | # apps should use Cocoa instead and dependencies on Carbon and AGL |
| 57 | # should eventually be removed |
| 58 | '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', |
| 59 | '$(SDKROOT)/System/Library/Frameworks/AGL.framework', |
| 60 | ], |
| 61 | }, |
| 62 | 'xcode_settings' : { |
| 63 | 'INFOPLIST_FILE' : '../experimental/CocoaDebugger/CocoaDebugger-Info.plist', |
| 64 | }, |
| 65 | 'mac_bundle_resources' : [ |
| 66 | '../experimental/CocoaDebugger/English.lproj/InfoPlist.strings', |
| 67 | '../experimental/CocoaDebugger/English.lproj/MainMenu.xib', |
| 68 | ], |
| 69 | }], |
| 70 | ], |
| 71 | }, |
| 72 | ], |
| 73 | } |
| 74 | |
| 75 | # Local Variables: |
| 76 | # tab-width:2 |
| 77 | # indent-tabs-mode:nil |
| 78 | # End: |
| 79 | # vim: set expandtab tabstop=2 shiftwidth=2: |