epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 1 | { |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 2 | 'targets': [ |
| 3 | { |
| 4 | 'target_name': 'SampleApp', |
| 5 | 'type': 'executable', |
| 6 | 'mac_bundle' : 1, |
| 7 | 'include_dirs' : [ |
| 8 | '../src/core', # needed to get SkConcaveToTriangle, maybe this should be moved to include dir? |
bsalomon@google.com | 48dd1a2 | 2011-10-31 14:18:20 +0000 | [diff] [blame] | 9 | '../gm', # needed to pull gm.h |
yangsu@google.com | 0be0157 | 2011-08-12 16:06:24 +0000 | [diff] [blame] | 10 | '../samplecode', # To pull SampleApp.h and SampleCode.h |
scroggo@google.com | b073d92 | 2012-06-08 15:35:03 +0000 | [diff] [blame] | 11 | '../src/pipe/utils', # For TiledPipeController |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 12 | ], |
bsalomon@google.com | 48dd1a2 | 2011-10-31 14:18:20 +0000 | [diff] [blame] | 13 | 'includes': [ |
| 14 | 'gmslides.gypi', |
| 15 | ], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 16 | 'sources': [ |
bsalomon@google.com | 48dd1a2 | 2011-10-31 14:18:20 +0000 | [diff] [blame] | 17 | '../gm/gm.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 18 | '../gm/gm.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 19 | |
bsalomon@google.com | 48dd1a2 | 2011-10-31 14:18:20 +0000 | [diff] [blame] | 20 | '../samplecode/GMSampleView.h', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 21 | '../samplecode/ClockFaceView.cpp', |
| 22 | '../samplecode/OverView.cpp', |
tfarina@chromium.org | b1b7f707 | 2012-09-18 01:52:20 +0000 | [diff] [blame] | 23 | '../samplecode/OverView.h', |
reed@google.com | 4de4d60 | 2011-07-08 20:12:55 +0000 | [diff] [blame] | 24 | '../samplecode/Sample2PtRadial.cpp', |
reed@google.com | 3bcf8d3 | 2011-10-10 15:42:36 +0000 | [diff] [blame] | 25 | '../samplecode/SampleAAClip.cpp', |
bsalomon@google.com | aeb2160 | 2011-08-30 18:13:44 +0000 | [diff] [blame] | 26 | '../samplecode/SampleAARects.cpp', |
bsalomon@google.com | a310826 | 2011-10-10 14:08:47 +0000 | [diff] [blame] | 27 | '../samplecode/SampleAARectModes.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 28 | '../samplecode/SampleAll.cpp', |
| 29 | '../samplecode/SampleAnimator.cpp', |
bsalomon@google.com | 8500322 | 2012-03-28 14:44:37 +0000 | [diff] [blame] | 30 | '../samplecode/SampleAnimBlur.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 31 | '../samplecode/SampleApp.cpp', |
| 32 | '../samplecode/SampleArc.cpp', |
| 33 | '../samplecode/SampleAvoid.cpp', |
senorblanco@chromium.org | e36ddf0 | 2011-07-15 14:28:16 +0000 | [diff] [blame] | 34 | '../samplecode/SampleBigBlur.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 35 | '../samplecode/SampleBigGradient.cpp', |
| 36 | '../samplecode/SampleBitmapRect.cpp', |
| 37 | '../samplecode/SampleBlur.cpp', |
| 38 | '../samplecode/SampleCamera.cpp', |
| 39 | '../samplecode/SampleCircle.cpp', |
reed@google.com | 3bcf8d3 | 2011-10-10 15:42:36 +0000 | [diff] [blame] | 40 | '../samplecode/SampleClip.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 41 | '../samplecode/SampleCode.h', |
| 42 | '../samplecode/SampleColorFilter.cpp', |
| 43 | '../samplecode/SampleComplexClip.cpp', |
senorblanco@chromium.org | 129b8e3 | 2011-06-15 17:52:09 +0000 | [diff] [blame] | 44 | '../samplecode/SampleConcavePaths.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 45 | '../samplecode/SampleCull.cpp', |
| 46 | '../samplecode/SampleDecode.cpp', |
bsalomon@google.com | 22c5dea | 2011-07-07 14:38:03 +0000 | [diff] [blame] | 47 | '../samplecode/SampleDegenerateTwoPtRadials.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 48 | '../samplecode/SampleDither.cpp', |
| 49 | '../samplecode/SampleDitherBitmap.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 50 | '../samplecode/SampleEffects.cpp', |
| 51 | '../samplecode/SampleEmboss.cpp', |
bsalomon@google.com | fa6ac93 | 2011-10-05 19:57:55 +0000 | [diff] [blame] | 52 | '../samplecode/SampleEmptyPath.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 53 | '../samplecode/SampleEncode.cpp', |
mike@reedtribe.org | 50e4c72 | 2012-10-22 03:59:34 +0000 | [diff] [blame] | 54 | '../samplecode/SampleFatBits.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 55 | '../samplecode/SampleFillType.cpp', |
| 56 | '../samplecode/SampleFilter.cpp', |
| 57 | '../samplecode/SampleFilter2.cpp', |
| 58 | '../samplecode/SampleFontCache.cpp', |
| 59 | '../samplecode/SampleFontScalerTest.cpp', |
| 60 | '../samplecode/SampleFuzz.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 61 | '../samplecode/SampleGradients.cpp', |
bsalomon@google.com | aeb2160 | 2011-08-30 18:13:44 +0000 | [diff] [blame] | 62 | '../samplecode/SampleHairCurves.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 63 | '../samplecode/SampleHairline.cpp', |
reed@google.com | ab97397 | 2011-09-19 19:01:38 +0000 | [diff] [blame] | 64 | '../samplecode/SampleHairModes.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 65 | '../samplecode/SampleLayerMask.cpp', |
| 66 | '../samplecode/SampleLayers.cpp', |
| 67 | '../samplecode/SampleLCD.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 68 | '../samplecode/SampleLines.cpp', |
| 69 | '../samplecode/SampleMeasure.cpp', |
| 70 | '../samplecode/SampleMipMap.cpp', |
| 71 | '../samplecode/SampleMovie.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 72 | '../samplecode/SampleOvalTest.cpp', |
| 73 | '../samplecode/SampleOverflow.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 74 | '../samplecode/SamplePatch.cpp', |
| 75 | '../samplecode/SamplePath.cpp', |
| 76 | '../samplecode/SamplePathClip.cpp', |
| 77 | '../samplecode/SamplePathEffects.cpp', |
| 78 | '../samplecode/SamplePicture.cpp', |
reed@google.com | 1830c7a | 2012-06-04 12:05:43 +0000 | [diff] [blame] | 79 | '../samplecode/SamplePictFile.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 80 | '../samplecode/SamplePoints.cpp', |
| 81 | '../samplecode/SamplePolyToPoly.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 82 | '../samplecode/SampleRegion.cpp', |
| 83 | '../samplecode/SampleRepeatTile.cpp', |
| 84 | '../samplecode/SampleShaders.cpp', |
| 85 | '../samplecode/SampleShaderText.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 86 | '../samplecode/SampleSkLayer.cpp', |
| 87 | '../samplecode/SampleSlides.cpp', |
| 88 | '../samplecode/SampleStrokePath.cpp', |
| 89 | '../samplecode/SampleStrokeText.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 90 | '../samplecode/SampleTests.cpp', |
| 91 | '../samplecode/SampleText.cpp', |
| 92 | '../samplecode/SampleTextAlpha.cpp', |
| 93 | '../samplecode/SampleTextBox.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 94 | '../samplecode/SampleTextOnPath.cpp', |
| 95 | '../samplecode/SampleTextureDomain.cpp', |
| 96 | '../samplecode/SampleTiling.cpp', |
| 97 | '../samplecode/SampleTinyBitmap.cpp', |
| 98 | '../samplecode/SampleTriangles.cpp', |
| 99 | '../samplecode/SampleTypeface.cpp', |
| 100 | '../samplecode/SampleUnitMapper.cpp', |
| 101 | '../samplecode/SampleVertices.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 102 | '../samplecode/SampleXfermodesBlur.cpp', |
yangsu@google.com | db03eaa | 2011-08-08 15:37:23 +0000 | [diff] [blame] | 103 | '../samplecode/TransitionView.cpp', |
epoger@google.com | 6a12178 | 2012-09-14 18:42:01 +0000 | [diff] [blame] | 104 | '../samplecode/TransitionView.h', |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 105 | |
yangsu@google.com | a854041 | 2011-08-30 14:40:49 +0000 | [diff] [blame] | 106 | # DrawingBoard |
| 107 | #'../experimental/DrawingBoard/SkColorPalette.h', |
| 108 | #'../experimental/DrawingBoard/SkColorPalette.cpp', |
| 109 | #'../experimental/DrawingBoard/SkNetPipeController.h', |
| 110 | #'../experimental/DrawingBoard/SkNetPipeController.cpp', |
| 111 | #'../experimental/DrawingBoard/SampleDrawingClient.cpp', |
| 112 | #'../experimental/DrawingBoard/SampleDrawingServer.cpp', |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 113 | |
yangsu@google.com | a854041 | 2011-08-30 14:40:49 +0000 | [diff] [blame] | 114 | # Networking |
| 115 | #'../experimental/Networking/SampleNetPipeReader.cpp', |
| 116 | #'../experimental/Networking/SkSockets.cpp', |
| 117 | #'../experimental/Networking/SkSockets.h', |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 118 | |
yangsu@google.com | a854041 | 2011-08-30 14:40:49 +0000 | [diff] [blame] | 119 | # Debugger |
yangsu@google.com | f3523fb | 2011-08-12 15:04:12 +0000 | [diff] [blame] | 120 | '../experimental/Debugger/DebuggerViews.h', |
| 121 | '../experimental/Debugger/DebuggerContentView.cpp', |
| 122 | '../experimental/Debugger/DebuggerCommandsView.cpp', |
| 123 | '../experimental/Debugger/DebuggerStateView.cpp', |
| 124 | '../experimental/Debugger/SkDebugDumper.cpp', |
| 125 | '../experimental/Debugger/SkDebugDumper.h', |
scroggo@google.com | b073d92 | 2012-06-08 15:35:03 +0000 | [diff] [blame] | 126 | |
| 127 | # TiledPipeController |
| 128 | '../src/pipe/utils/SamplePipeControllers.h', |
| 129 | '../src/pipe/utils/SamplePipeControllers.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 130 | ], |
| 131 | 'sources!': [ |
| 132 | '../samplecode/SampleSkLayer.cpp', #relies on SkMatrix44 which doesn't compile |
| 133 | '../samplecode/SampleTests.cpp', #includes unknown file SkShaderExtras.h |
| 134 | '../samplecode/SampleWarp.cpp', |
| 135 | '../samplecode/SampleFontCache.cpp', |
| 136 | ], |
| 137 | 'dependencies': [ |
borenet@google.com | efb1d77 | 2012-10-10 19:45:51 +0000 | [diff] [blame] | 138 | 'skia_base_libs.gyp:skia_base_libs', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 139 | 'effects.gyp:effects', |
| 140 | 'images.gyp:images', |
| 141 | 'views.gyp:views', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 142 | 'animator.gyp:animator', |
| 143 | 'xml.gyp:xml', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 144 | 'experimental.gyp:experimental', |
Scroggo | 8ac0d54 | 2011-06-21 14:44:57 +0000 | [diff] [blame] | 145 | 'pdf.gyp:pdf', |
bungeman@google.com | 5e41b37 | 2012-03-23 14:11:43 +0000 | [diff] [blame] | 146 | 'views_animated.gyp:views_animated', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 147 | ], |
| 148 | 'conditions' : [ |
epoger@google.com | 8846cb2 | 2011-07-01 20:20:07 +0000 | [diff] [blame] | 149 | [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', { |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 150 | 'sources!': [ |
| 151 | '../samplecode/SampleDecode.cpp', |
| 152 | ], |
| 153 | }], |
epoger@google.com | 8846cb2 | 2011-07-01 20:20:07 +0000 | [diff] [blame] | 154 | [ 'skia_os == "win"', { |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 155 | 'sources!': [ |
| 156 | # require UNIX functions |
| 157 | '../samplecode/SampleEncode.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 158 | ], |
| 159 | }], |
epoger@google.com | 8846cb2 | 2011-07-01 20:20:07 +0000 | [diff] [blame] | 160 | [ 'skia_os == "mac"', { |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 161 | 'sources!': [ |
| 162 | '../samplecode/SampleDecode.cpp', |
| 163 | ], |
yangsu@google.com | 901aea5 | 2011-08-02 16:35:00 +0000 | [diff] [blame] | 164 | 'sources': [ |
yangsu@google.com | a854041 | 2011-08-30 14:40:49 +0000 | [diff] [blame] | 165 | # Sample App specific files |
bungeman@google.com | cbd76ae | 2012-03-21 20:59:49 +0000 | [diff] [blame] | 166 | '../src/views/mac/SampleApp-Info.plist', |
| 167 | '../src/views/mac/SampleAppDelegate.h', |
| 168 | '../src/views/mac/SampleAppDelegate.mm', |
| 169 | '../src/views/mac/SkSampleNSView.h', |
| 170 | '../src/views/mac/SkSampleNSView.mm', |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 171 | |
yangsu@google.com | a854041 | 2011-08-30 14:40:49 +0000 | [diff] [blame] | 172 | # Mac files |
bungeman@google.com | cbd76ae | 2012-03-21 20:59:49 +0000 | [diff] [blame] | 173 | '../src/views/mac/SkEventNotifier.h', |
| 174 | '../src/views/mac/SkEventNotifier.mm', |
| 175 | '../src/views/mac/skia_mac.mm', |
| 176 | '../src/views/mac/SkNSView.h', |
| 177 | '../src/views/mac/SkNSView.mm', |
| 178 | '../src/views/mac/SkOptionsTableView.h', |
| 179 | '../src/views/mac/SkOptionsTableView.mm', |
| 180 | '../src/views/mac/SkOSWindow_Mac.mm', |
| 181 | '../src/views/mac/SkTextFieldCell.h', |
| 182 | '../src/views/mac/SkTextFieldCell.m', |
yangsu@google.com | 901aea5 | 2011-08-02 16:35:00 +0000 | [diff] [blame] | 183 | ], |
yangsu@google.com | a854041 | 2011-08-30 14:40:49 +0000 | [diff] [blame] | 184 | 'libraries': [ |
| 185 | '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', |
| 186 | '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', |
| 187 | ], |
| 188 | 'xcode_settings' : { |
bungeman@google.com | cbd76ae | 2012-03-21 20:59:49 +0000 | [diff] [blame] | 189 | 'INFOPLIST_FILE' : '../src/views/mac/SampleApp-Info.plist', |
yangsu@google.com | a854041 | 2011-08-30 14:40:49 +0000 | [diff] [blame] | 190 | }, |
| 191 | 'mac_bundle_resources' : [ |
bungeman@google.com | cbd76ae | 2012-03-21 20:59:49 +0000 | [diff] [blame] | 192 | '../src/views/mac/SampleApp.xib', |
yangsu@google.com | 42fd1e9 | 2011-08-08 18:38:58 +0000 | [diff] [blame] | 193 | ], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 194 | }], |
epoger@google.com | ea5dfa8 | 2011-07-01 21:01:32 +0000 | [diff] [blame] | 195 | [ 'skia_os == "ios"', { |
| 196 | # TODO: This doesn't build properly yet, but it's getting there. |
| 197 | 'sources!': [ |
| 198 | '../samplecode/SampleDecode.cpp', |
| 199 | ], |
| 200 | 'sources': [ |
caryclark@google.com | 867cbd8 | 2012-09-20 15:45:41 +0000 | [diff] [blame] | 201 | '../src/views/mac/SkEventNotifier.h', |
| 202 | '../src/views/mac/SkEventNotifier.mm', |
caryclark@google.com | 5c83dcc | 2012-09-26 13:02:37 +0000 | [diff] [blame] | 203 | '../experimental/iOSSampleApp/SkSampleUIView.h', |
| 204 | '../experimental/iOSSampleApp/SkSampleUIView.mm', |
caryclark@google.com | 867cbd8 | 2012-09-20 15:45:41 +0000 | [diff] [blame] | 205 | '../experimental/iOSSampleApp/SkiOSSampleApp-Base.xcconfig', |
| 206 | '../experimental/iOSSampleApp/SkiOSSampleApp-Debug.xcconfig', |
| 207 | '../experimental/iOSSampleApp/SkiOSSampleApp-Release.xcconfig', |
| 208 | '../experimental/iOSSampleApp/iOSSampleApp-Info.plist', |
caryclark@google.com | 867cbd8 | 2012-09-20 15:45:41 +0000 | [diff] [blame] | 209 | '../experimental/iOSSampleApp/Shared/SkOptionListController.h', |
| 210 | '../experimental/iOSSampleApp/Shared/SkOptionListController.mm', |
| 211 | '../experimental/iOSSampleApp/Shared/SkUIRootViewController.h', |
| 212 | '../experimental/iOSSampleApp/Shared/SkUIRootViewController.mm', |
| 213 | '../experimental/iOSSampleApp/Shared/SkOptionsTableViewController.h', |
| 214 | '../experimental/iOSSampleApp/Shared/SkOptionsTableViewController.mm', |
| 215 | '../experimental/iOSSampleApp/Shared/SkUIView.h', |
| 216 | '../experimental/iOSSampleApp/Shared/SkUIView.mm', |
| 217 | '../experimental/iOSSampleApp/Shared/SkUIDetailViewController.h', |
| 218 | '../experimental/iOSSampleApp/Shared/SkUIDetailViewController.mm', |
| 219 | '../experimental/iOSSampleApp/Shared/skia_ios.mm', |
| 220 | |
| 221 | # iPad |
| 222 | '../experimental/iOSSampleApp/iPad/AppDelegate_iPad.h', |
epoger@google.com | ea5dfa8 | 2011-07-01 21:01:32 +0000 | [diff] [blame] | 223 | '../experimental/iOSSampleApp/iPad/AppDelegate_iPad.mm', |
caryclark@google.com | 867cbd8 | 2012-09-20 15:45:41 +0000 | [diff] [blame] | 224 | '../experimental/iOSSampleApp/iPad/SkUISplitViewController.h', |
epoger@google.com | ea5dfa8 | 2011-07-01 21:01:32 +0000 | [diff] [blame] | 225 | '../experimental/iOSSampleApp/iPad/SkUISplitViewController.mm', |
caryclark@google.com | 867cbd8 | 2012-09-20 15:45:41 +0000 | [diff] [blame] | 226 | '../experimental/iOSSampleApp/iPad/MainWindow_iPad.xib', |
| 227 | |
| 228 | # iPhone |
| 229 | '../experimental/iOSSampleApp/iPhone/AppDelegate_iPhone.h', |
epoger@google.com | ea5dfa8 | 2011-07-01 21:01:32 +0000 | [diff] [blame] | 230 | '../experimental/iOSSampleApp/iPhone/AppDelegate_iPhone.mm', |
caryclark@google.com | 867cbd8 | 2012-09-20 15:45:41 +0000 | [diff] [blame] | 231 | '../experimental/iOSSampleApp/iPhone/SkUINavigationController.h', |
epoger@google.com | ea5dfa8 | 2011-07-01 21:01:32 +0000 | [diff] [blame] | 232 | '../experimental/iOSSampleApp/iPhone/SkUINavigationController.mm', |
caryclark@google.com | 867cbd8 | 2012-09-20 15:45:41 +0000 | [diff] [blame] | 233 | '../experimental/iOSSampleApp/iPhone/MainWindow_iPhone.xib', |
epoger@google.com | ea5dfa8 | 2011-07-01 21:01:32 +0000 | [diff] [blame] | 234 | |
bungeman@google.com | cbd76ae | 2012-03-21 20:59:49 +0000 | [diff] [blame] | 235 | '../src/views/ios/SkOSWindow_iOS.mm', |
epoger@google.com | ea5dfa8 | 2011-07-01 21:01:32 +0000 | [diff] [blame] | 236 | '../src/utils/ios/SkImageDecoder_iOS.mm', |
| 237 | '../src/utils/ios/SkStream_NSData.mm', |
| 238 | '../src/utils/ios/SkOSFile_iOS.mm', |
| 239 | |
caryclark@google.com | 867cbd8 | 2012-09-20 15:45:41 +0000 | [diff] [blame] | 240 | '../include/utils/mac/SkCGUtils.h', |
epoger@google.com | ea5dfa8 | 2011-07-01 21:01:32 +0000 | [diff] [blame] | 241 | '../src/utils/mac/SkCreateCGImageRef.cpp', |
| 242 | '../experimental/iOSSampleApp/SkiOSSampleApp-Debug.xcconfig', |
| 243 | '../experimental/iOSSampleApp/SkiOSSampleApp-Release.xcconfig', |
| 244 | ], |
caryclark@google.com | 867cbd8 | 2012-09-20 15:45:41 +0000 | [diff] [blame] | 245 | 'link_settings': { |
caryclark@google.com | 867cbd8 | 2012-09-20 15:45:41 +0000 | [diff] [blame] | 246 | 'libraries': [ |
bsalomon@google.com | 4663822 | 2012-10-04 12:52:03 +0000 | [diff] [blame] | 247 | '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', |
| 248 | '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework', |
| 249 | '$(SDKROOT)/System/Library/Frameworks/CoreText.framework', |
| 250 | '$(SDKROOT)/System/Library/Frameworks/UIKit.framework', |
| 251 | '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 252 | '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', |
| 253 | '$(SDKROOT)/System/Library/Frameworks/OpenGLES.framework', |
| 254 | '$(SDKROOT)/System/Library/Frameworks/ImageIO.framework', |
| 255 | '$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework', |
caryclark@google.com | 867cbd8 | 2012-09-20 15:45:41 +0000 | [diff] [blame] | 256 | ], |
| 257 | }, |
epoger@google.com | ea5dfa8 | 2011-07-01 21:01:32 +0000 | [diff] [blame] | 258 | 'include_dirs' : [ |
| 259 | '../experimental/iOSSampleApp', |
| 260 | '../experimental/iOSSampleApp/iPad', |
| 261 | '../experimental/iOSSampleApp/iPhone', |
| 262 | '../include/utils/ios', |
epoger@google.com | ea5dfa8 | 2011-07-01 21:01:32 +0000 | [diff] [blame] | 263 | ], |
caryclark@google.com | 5c83dcc | 2012-09-26 13:02:37 +0000 | [diff] [blame] | 264 | 'xcode_settings' : { |
| 265 | 'INFOPLIST_FILE' : '../experimental/iOSSampleApp/iOSSampleApp-Info.plist', |
| 266 | }, |
| 267 | 'xcode_config_file': '../experimental/iOSSampleApp/SkiOSSampleApp-Base.xcconfig', |
epoger@google.com | ea5dfa8 | 2011-07-01 21:01:32 +0000 | [diff] [blame] | 268 | 'mac_bundle_resources' : [ |
| 269 | '../experimental/iOSSampleApp/iPad/MainWindow_iPad.xib', |
| 270 | '../experimental/iOSSampleApp/iPhone/MainWindow_iPhone.xib', |
| 271 | ], |
| 272 | }], |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 273 | [ 'skia_os == "android"', { |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 274 | 'sources!': [ |
| 275 | '../samplecode/SampleAnimator.cpp', |
| 276 | '../samplecode/SampleUnitMapper.cpp', |
| 277 | ], |
| 278 | 'dependencies!': [ |
| 279 | 'animator.gyp:animator', |
| 280 | 'experimental.gyp:experimental', |
| 281 | ], |
djsollen@google.com | fad4510 | 2011-11-04 13:00:18 +0000 | [diff] [blame] | 282 | 'dependencies': [ |
djsollen@google.com | 4d3f3cd | 2012-12-13 18:27:44 +0000 | [diff] [blame^] | 283 | 'android_deps.gyp:Android_EntryPoint', |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 284 | ], |
| 285 | }], |
bsalomon@google.com | cf8fb1f | 2012-08-02 14:03:32 +0000 | [diff] [blame] | 286 | [ 'skia_gpu == 1', { |
| 287 | 'include_dirs': [ |
| 288 | '../src/gpu', # To pull gl/GrGLUtil.h |
| 289 | ], |
bsalomon@google.com | cf8fb1f | 2012-08-02 14:03:32 +0000 | [diff] [blame] | 290 | }], |
borenet@google.com | 7158e6a | 2012-11-01 17:43:44 +0000 | [diff] [blame] | 291 | [ 'skia_os == "nacl"', { |
| 292 | 'sources': [ |
| 293 | '../../nacl/src/nacl_sample.cpp', |
| 294 | ], |
| 295 | }], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 296 | ], |
| 297 | 'msvs_settings': { |
| 298 | 'VCLinkerTool': { |
| 299 | 'SubSystem': '2', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 300 | }, |
| 301 | }, |
| 302 | }, |
| 303 | ], |
| 304 | } |
| 305 | |
| 306 | # Local Variables: |
| 307 | # tab-width:2 |
| 308 | # indent-tabs-mode:nil |
| 309 | # End: |
| 310 | # vim: set expandtab tabstop=2 shiftwidth=2: |