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