OLD | NEW |
(Empty) | |
| 1 # |
| 2 { |
| 3 'conditions' : [ |
| 4 [ 'skia_os == "ios"', { |
| 5 'targets': [ |
| 6 { |
| 7 'target_name': 'iOSShell', |
| 8 'type': 'executable', |
| 9 'mac_bundle' : 1, |
| 10 'includes': [ |
| 11 'tests.gypi', |
| 12 'pathops_unittest.gypi', |
| 13 ], |
| 14 'dependencies': [ |
| 15 'tools.gyp:crash_handler', |
| 16 'views.gyp:views', |
| 17 'xml.gyp:xml', |
| 18 ], |
| 19 'sources': [ |
| 20 '../tests/skia_test.cpp', |
| 21 '../tools/iOSShell.cpp', |
| 22 '../src/views/mac/SkEventNotifier.mm', |
| 23 '../experimental/iOSSampleApp/SkiOSSampleApp-Base.xcconfig', |
| 24 '../experimental/iOSSampleApp/SkiOSSampleApp-Debug.xcconfig', |
| 25 '../experimental/iOSSampleApp/SkiOSSampleApp-Release.xcconfig', |
| 26 '../experimental/iOSShell/iOSShell-Info.plist', |
| 27 '../experimental/iOSSampleApp/Shared/SkUIRootViewController.mm', |
| 28 '../experimental/iOSSampleApp/Shared/SkUIView.mm', |
| 29 '../experimental/iOSSampleApp/Shared/skia_ios.mm', |
| 30 |
| 31 # iPad |
| 32 '../experimental/iOSSampleApp/iPad/AppDelegate_iPad.mm', |
| 33 '../experimental/iOSSampleApp/iPad/SkUISplitViewController.mm', |
| 34 '../experimental/iOSSampleApp/iPad/MainWindow_iPad.xib', |
| 35 |
| 36 # iPhone |
| 37 '../experimental/iOSSampleApp/iPhone/AppDelegate_iPhone.mm', |
| 38 '../experimental/iOSSampleApp/iPhone/SkUINavigationController.mm', |
| 39 '../experimental/iOSSampleApp/iPhone/MainWindow_iPhone.xib', |
| 40 |
| 41 '../src/views/ios/SkOSWindow_iOS.mm', |
| 42 '../src/utils/ios/SkStream_NSData.mm', |
| 43 '../src/utils/mac/SkCreateCGImageRef.cpp', |
| 44 ], |
| 45 'link_settings': { |
| 46 'libraries': [ |
| 47 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', |
| 48 '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework', |
| 49 '$(SDKROOT)/System/Library/Frameworks/CoreText.framework', |
| 50 '$(SDKROOT)/System/Library/Frameworks/UIKit.framework', |
| 51 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 52 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', |
| 53 '$(SDKROOT)/System/Library/Frameworks/OpenGLES.framework', |
| 54 '$(SDKROOT)/System/Library/Frameworks/ImageIO.framework', |
| 55 '$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework
', |
| 56 ], |
| 57 }, |
| 58 'include_dirs' : [ |
| 59 '../experimental/iOSSampleApp', |
| 60 '../experimental/iOSSampleApp/iPad', |
| 61 '../experimental/iOSSampleApp/iPhone', |
| 62 '../experimental/iOSSampleApp/Shared', |
| 63 '../include/utils/ios', |
| 64 '../src/views/mac', |
| 65 ], |
| 66 'xcode_settings' : { |
| 67 'INFOPLIST_FILE' : '../experimental/iOSShell/iOSShell-Info.plist', |
| 68 }, |
| 69 'xcode_config_file': '../experimental/iOSSampleApp/SkiOSSampleApp-Base
.xcconfig', |
| 70 'mac_bundle_resources' : [ |
| 71 '../experimental/iOSSampleApp/iPad/MainWindow_iPad.xib', |
| 72 '../experimental/iOSSampleApp/iPhone/MainWindow_iPhone.xib', |
| 73 ], |
| 74 'conditions' : [ |
| 75 [ 'skia_gpu == 1', { |
| 76 'dependencies': [ |
| 77 'gputest.gyp:skgputest', |
| 78 ], |
| 79 }], |
| 80 ], |
| 81 }, |
| 82 ], |
| 83 }], |
| 84 ] |
| 85 } |
OLD | NEW |