blob: e53dfbb106595e52eacd022d1f939a88c6b81e89 [file] [log] [blame]
yangsu@google.com5f802c12011-06-17 15:00:44 +00001{
2 'includes': [
epoger@google.com5351b372011-07-01 17:16:26 +00003 'common.gypi',
yangsu@google.com5f802c12011-06-17 15:00:44 +00004 ],
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.com8846cb22011-07-01 20:20:07 +000034 ['skia_os == "mac"', {
yangsu@google.com5f802c12011-06-17 15:00:44 +000035 '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: