scroggo | 3e56227 | 2015-03-25 10:22:41 -0700 | [diff] [blame] | 1 | # Copyright 2015 Google Inc. |
| 2 | # |
| 3 | # Use of this source code is governed by a BSD-style license that can be |
| 4 | # found in the LICENSE file. |
scroggo@google.com | 9092289 | 2013-11-14 19:09:27 +0000 | [diff] [blame] | 5 | # |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 6 | { |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 7 | 'targets': [ |
| 8 | { |
| 9 | 'target_name': 'SampleApp', |
| 10 | 'type': 'executable', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 11 | 'include_dirs' : [ |
mtklein | cd1f2da | 2015-07-28 08:55:14 -0700 | [diff] [blame] | 12 | '../include/private', |
skia.committer@gmail.com | 4024f32 | 2013-01-25 07:06:46 +0000 | [diff] [blame] | 13 | '../src/core', |
humper@google.com | 7c7292c | 2013-01-04 20:29:03 +0000 | [diff] [blame] | 14 | '../src/effects', #needed for BlurMask.h |
bsalomon@google.com | b805fe5 | 2014-02-26 18:12:11 +0000 | [diff] [blame] | 15 | '../src/gpu', # needed by SkLua.cpp |
halcanary@google.com | 2c7c7ee | 2013-12-05 18:31:42 +0000 | [diff] [blame] | 16 | '../src/images', |
| 17 | '../src/lazy', |
bsalomon@google.com | 48dd1a2 | 2011-10-31 14:18:20 +0000 | [diff] [blame] | 18 | '../gm', # needed to pull gm.h |
yangsu@google.com | 0be0157 | 2011-08-12 16:06:24 +0000 | [diff] [blame] | 19 | '../samplecode', # To pull SampleApp.h and SampleCode.h |
scroggo@google.com | b073d92 | 2012-06-08 15:35:03 +0000 | [diff] [blame] | 20 | '../src/pipe/utils', # For TiledPipeController |
fmalita@google.com | 4df1673 | 2013-06-13 21:25:45 +0000 | [diff] [blame] | 21 | '../src/utils/debugger', |
jvanverth | 4d0d81a | 2015-08-11 11:07:07 -0700 | [diff] [blame] | 22 | '../tools', |
egdaniel | 478c04e | 2015-11-09 07:40:49 -0800 | [diff] [blame] | 23 | '../experimental', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 24 | ], |
bsalomon@google.com | 48dd1a2 | 2011-10-31 14:18:20 +0000 | [diff] [blame] | 25 | 'includes': [ |
| 26 | 'gmslides.gypi', |
| 27 | ], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 28 | 'sources': [ |
mtklein | a7e930f | 2014-08-06 10:08:42 -0700 | [diff] [blame] | 29 | '../gm/gm.cpp', |
bsalomon@google.com | 48dd1a2 | 2011-10-31 14:18:20 +0000 | [diff] [blame] | 30 | '../samplecode/GMSampleView.h', |
reed | 0ab326f | 2015-02-21 09:36:50 -0800 | [diff] [blame] | 31 | '../samplecode/GMSampleView.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 32 | '../samplecode/ClockFaceView.cpp', |
| 33 | '../samplecode/OverView.cpp', |
tfarina@chromium.org | b1b7f707 | 2012-09-18 01:52:20 +0000 | [diff] [blame] | 34 | '../samplecode/OverView.h', |
egdaniel | fca294b | 2015-11-05 13:09:08 -0800 | [diff] [blame] | 35 | '../samplecode/PerlinPatch.cpp', |
reed@google.com | 4de4d60 | 2011-07-08 20:12:55 +0000 | [diff] [blame] | 36 | '../samplecode/Sample2PtRadial.cpp', |
reed@google.com | 3bcf8d3 | 2011-10-10 15:42:36 +0000 | [diff] [blame] | 37 | '../samplecode/SampleAAClip.cpp', |
bsalomon@google.com | aeb2160 | 2011-08-30 18:13:44 +0000 | [diff] [blame] | 38 | '../samplecode/SampleAARects.cpp', |
bsalomon@google.com | a310826 | 2011-10-10 14:08:47 +0000 | [diff] [blame] | 39 | '../samplecode/SampleAARectModes.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 40 | '../samplecode/SampleAll.cpp', |
robertphillips | 96afa52 | 2015-12-09 07:54:24 -0800 | [diff] [blame] | 41 | '../samplecode/SampleAnimatedText.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 42 | '../samplecode/SampleAnimator.cpp', |
bsalomon@google.com | 8500322 | 2012-03-28 14:44:37 +0000 | [diff] [blame] | 43 | '../samplecode/SampleAnimBlur.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 44 | '../samplecode/SampleApp.cpp', |
| 45 | '../samplecode/SampleArc.cpp', |
reed | 71c3c76 | 2015-06-24 10:29:17 -0700 | [diff] [blame] | 46 | '../samplecode/SampleAtlas.cpp', |
senorblanco@chromium.org | e36ddf0 | 2011-07-15 14:28:16 +0000 | [diff] [blame] | 47 | '../samplecode/SampleBigBlur.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 48 | '../samplecode/SampleBigGradient.cpp', |
| 49 | '../samplecode/SampleBitmapRect.cpp', |
| 50 | '../samplecode/SampleBlur.cpp', |
| 51 | '../samplecode/SampleCamera.cpp', |
bsalomon@google.com | 9053c2e | 2013-02-13 21:22:13 +0000 | [diff] [blame] | 52 | '../samplecode/SampleChart.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 53 | '../samplecode/SampleCircle.cpp', |
reed@google.com | 3bcf8d3 | 2011-10-10 15:42:36 +0000 | [diff] [blame] | 54 | '../samplecode/SampleClip.cpp', |
robertphillips | 7defaa6 | 2015-01-27 06:17:22 -0800 | [diff] [blame] | 55 | '../samplecode/SampleClipDrawMatch.cpp', |
| 56 | '../samplecode/SampleClock.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 57 | '../samplecode/SampleCode.h', |
| 58 | '../samplecode/SampleColorFilter.cpp', |
| 59 | '../samplecode/SampleComplexClip.cpp', |
senorblanco@chromium.org | 129b8e3 | 2011-06-15 17:52:09 +0000 | [diff] [blame] | 60 | '../samplecode/SampleConcavePaths.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 61 | '../samplecode/SampleCull.cpp', |
bsalomon@google.com | 22c5dea | 2011-07-07 14:38:03 +0000 | [diff] [blame] | 62 | '../samplecode/SampleDegenerateTwoPtRadials.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 63 | '../samplecode/SampleDither.cpp', |
| 64 | '../samplecode/SampleDitherBitmap.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 65 | '../samplecode/SampleEffects.cpp', |
| 66 | '../samplecode/SampleEmboss.cpp', |
mike@reedtribe.org | 50e4c72 | 2012-10-22 03:59:34 +0000 | [diff] [blame] | 67 | '../samplecode/SampleFatBits.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 68 | '../samplecode/SampleFillType.cpp', |
| 69 | '../samplecode/SampleFilter.cpp', |
| 70 | '../samplecode/SampleFilter2.cpp', |
reed | afdbedb | 2015-01-14 13:16:26 -0800 | [diff] [blame] | 71 | '../samplecode/SampleFilterQuality.cpp', |
commit-bot@chromium.org | 22d69f9 | 2013-09-19 18:40:49 +0000 | [diff] [blame] | 72 | '../samplecode/SampleFilterFuzz.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 73 | '../samplecode/SampleFontCache.cpp', |
| 74 | '../samplecode/SampleFontScalerTest.cpp', |
| 75 | '../samplecode/SampleFuzz.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 76 | '../samplecode/SampleGradients.cpp', |
bsalomon@google.com | aeb2160 | 2011-08-30 18:13:44 +0000 | [diff] [blame] | 77 | '../samplecode/SampleHairCurves.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 78 | '../samplecode/SampleHairline.cpp', |
reed@google.com | ab97397 | 2011-09-19 19:01:38 +0000 | [diff] [blame] | 79 | '../samplecode/SampleHairModes.cpp', |
reed | adc8d98 | 2014-11-26 08:45:36 -0800 | [diff] [blame] | 80 | '../samplecode/SampleHT.cpp', |
humper | d1d3bae | 2014-08-08 12:11:33 -0700 | [diff] [blame] | 81 | '../samplecode/SampleIdentityScale.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 82 | '../samplecode/SampleLayerMask.cpp', |
| 83 | '../samplecode/SampleLayers.cpp', |
| 84 | '../samplecode/SampleLCD.cpp', |
robertphillips | 2f0dbc7 | 2015-08-20 05:15:06 -0700 | [diff] [blame] | 85 | '../samplecode/SampleLighting.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 86 | '../samplecode/SampleLines.cpp', |
reed@google.com | 3597b73 | 2013-05-22 20:12:50 +0000 | [diff] [blame] | 87 | '../samplecode/SampleLua.cpp', |
bsalomon@google.com | d62e88e | 2013-02-01 14:19:27 +0000 | [diff] [blame] | 88 | '../samplecode/SampleManyRects.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 89 | '../samplecode/SampleMeasure.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 90 | '../samplecode/SamplePatch.cpp', |
| 91 | '../samplecode/SamplePath.cpp', |
| 92 | '../samplecode/SamplePathClip.cpp', |
caryclark | 63c684a | 2015-02-25 09:04:04 -0800 | [diff] [blame] | 93 | '../samplecode/SamplePathFuzz.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 94 | '../samplecode/SamplePathEffects.cpp', |
reed@google.com | 1830c7a | 2012-06-04 12:05:43 +0000 | [diff] [blame] | 95 | '../samplecode/SamplePictFile.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 96 | '../samplecode/SamplePoints.cpp', |
| 97 | '../samplecode/SamplePolyToPoly.cpp', |
caryclark | 88c748a | 2015-02-18 10:56:00 -0800 | [diff] [blame] | 98 | '../samplecode/SampleQuadStroker.cpp', |
robertphillips | 901e96d | 2014-06-02 07:15:18 -0700 | [diff] [blame] | 99 | '../samplecode/SampleRectanizer.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 100 | '../samplecode/SampleRegion.cpp', |
| 101 | '../samplecode/SampleRepeatTile.cpp', |
| 102 | '../samplecode/SampleShaders.cpp', |
| 103 | '../samplecode/SampleShaderText.cpp', |
jvanverth | 2f5bb3a | 2015-10-05 11:05:07 -0700 | [diff] [blame] | 104 | '../samplecode/SampleShip.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 105 | '../samplecode/SampleSkLayer.cpp', |
| 106 | '../samplecode/SampleSlides.cpp', |
jvanverth@google.com | 4ea2878 | 2013-09-19 15:32:22 +0000 | [diff] [blame] | 107 | '../samplecode/SampleStringArt.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 108 | '../samplecode/SampleStrokePath.cpp', |
commit-bot@chromium.org | 1803f4e | 2014-05-29 22:01:08 +0000 | [diff] [blame] | 109 | '../samplecode/SampleSubpixelTranslate.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 110 | '../samplecode/SampleText.cpp', |
| 111 | '../samplecode/SampleTextAlpha.cpp', |
| 112 | '../samplecode/SampleTextBox.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 113 | '../samplecode/SampleTextOnPath.cpp', |
| 114 | '../samplecode/SampleTextureDomain.cpp', |
| 115 | '../samplecode/SampleTiling.cpp', |
| 116 | '../samplecode/SampleTinyBitmap.cpp', |
scroggo@google.com | 2bbc2c9 | 2013-06-14 15:33:20 +0000 | [diff] [blame] | 117 | '../samplecode/SampleUnpremul.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 118 | '../samplecode/SampleVertices.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 119 | '../samplecode/SampleXfermodesBlur.cpp', |
reed | 1a9caff | 2015-09-02 19:05:10 -0700 | [diff] [blame] | 120 | '../samplecode/SampleXfer.cpp', |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 121 | |
yangsu@google.com | a854041 | 2011-08-30 14:40:49 +0000 | [diff] [blame] | 122 | # DrawingBoard |
| 123 | #'../experimental/DrawingBoard/SkColorPalette.h', |
| 124 | #'../experimental/DrawingBoard/SkColorPalette.cpp', |
| 125 | #'../experimental/DrawingBoard/SkNetPipeController.h', |
| 126 | #'../experimental/DrawingBoard/SkNetPipeController.cpp', |
| 127 | #'../experimental/DrawingBoard/SampleDrawingClient.cpp', |
| 128 | #'../experimental/DrawingBoard/SampleDrawingServer.cpp', |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 129 | |
yangsu@google.com | a854041 | 2011-08-30 14:40:49 +0000 | [diff] [blame] | 130 | # Networking |
| 131 | #'../experimental/Networking/SampleNetPipeReader.cpp', |
| 132 | #'../experimental/Networking/SkSockets.cpp', |
| 133 | #'../experimental/Networking/SkSockets.h', |
rmistry@google.com | d6176b0 | 2012-08-23 18:14:13 +0000 | [diff] [blame] | 134 | |
egdaniel | 478c04e | 2015-11-09 07:40:49 -0800 | [diff] [blame] | 135 | # PerlinNoise2 |
| 136 | '../experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.cpp', |
| 137 | '../experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.h', |
| 138 | |
scroggo@google.com | b073d92 | 2012-06-08 15:35:03 +0000 | [diff] [blame] | 139 | # TiledPipeController |
| 140 | '../src/pipe/utils/SamplePipeControllers.h', |
| 141 | '../src/pipe/utils/SamplePipeControllers.cpp', |
reed@google.com | 3597b73 | 2013-05-22 20:12:50 +0000 | [diff] [blame] | 142 | |
| 143 | # Lua |
| 144 | '../src/utils/SkLuaCanvas.cpp', |
| 145 | '../src/utils/SkLua.cpp', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 146 | ], |
| 147 | 'sources!': [ |
| 148 | '../samplecode/SampleSkLayer.cpp', #relies on SkMatrix44 which doesn't compile |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 149 | '../samplecode/SampleFontCache.cpp', |
| 150 | ], |
| 151 | 'dependencies': [ |
tfarina | bcbc178 | 2014-06-18 14:32:48 -0700 | [diff] [blame] | 152 | 'animator.gyp:animator', |
| 153 | 'etc1.gyp:libetc1', |
| 154 | 'experimental.gyp:experimental', |
| 155 | 'flags.gyp:flags', |
| 156 | 'lua.gyp:lua', |
| 157 | 'pdf.gyp:pdf', |
djsollen@google.com | 52f0297 | 2013-06-03 12:10:19 +0000 | [diff] [blame] | 158 | 'skia_lib.gyp:skia_lib', |
mtklein | 9ac68ee | 2014-06-20 11:29:20 -0700 | [diff] [blame] | 159 | 'tools.gyp:resources', |
tfarina | 2010891 | 2014-06-21 10:54:17 -0700 | [diff] [blame] | 160 | 'tools.gyp:sk_tool_utils', |
jvanverth | 4d0d81a | 2015-08-11 11:07:07 -0700 | [diff] [blame] | 161 | 'tools.gyp:timer', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 162 | 'views.gyp:views', |
bungeman@google.com | 5e41b37 | 2012-03-23 14:11:43 +0000 | [diff] [blame] | 163 | 'views_animated.gyp:views_animated', |
tfarina | bcbc178 | 2014-06-18 14:32:48 -0700 | [diff] [blame] | 164 | 'xml.gyp:xml', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 165 | ], |
jvanverth | 44dcb8a | 2015-10-02 09:12:05 -0700 | [diff] [blame] | 166 | 'msvs_settings': { |
| 167 | 'VCLinkerTool': { |
| 168 | #Allows for creation / output to console. |
| 169 | #Console (/SUBSYSTEM:CONSOLE) |
| 170 | 'SubSystem': '1', |
| 171 | |
| 172 | #Console app, use main/wmain |
| 173 | 'EntryPointSymbol': 'mainCRTStartup', |
| 174 | }, |
| 175 | }, |
halcanary | 9f8754f | 2015-08-04 14:08:42 -0700 | [diff] [blame] | 176 | 'conditions' : [ |
epoger@google.com | ea5dfa8 | 2011-07-01 21:01:32 +0000 | [diff] [blame] | 177 | [ 'skia_os == "ios"', { |
jvanverth | 44dcb8a | 2015-10-02 09:12:05 -0700 | [diff] [blame] | 178 | 'mac_bundle' : 1, |
epoger@google.com | ea5dfa8 | 2011-07-01 21:01:32 +0000 | [diff] [blame] | 179 | # TODO: This doesn't build properly yet, but it's getting there. |
epoger@google.com | ea5dfa8 | 2011-07-01 21:01:32 +0000 | [diff] [blame] | 180 | 'sources': [ |
caryclark@google.com | 867cbd8 | 2012-09-20 15:45:41 +0000 | [diff] [blame] | 181 | '../src/views/mac/SkEventNotifier.mm', |
caryclark@google.com | 5c83dcc | 2012-09-26 13:02:37 +0000 | [diff] [blame] | 182 | '../experimental/iOSSampleApp/SkSampleUIView.mm', |
caryclark@google.com | 867cbd8 | 2012-09-20 15:45:41 +0000 | [diff] [blame] | 183 | '../experimental/iOSSampleApp/SkiOSSampleApp-Base.xcconfig', |
| 184 | '../experimental/iOSSampleApp/SkiOSSampleApp-Debug.xcconfig', |
| 185 | '../experimental/iOSSampleApp/SkiOSSampleApp-Release.xcconfig', |
| 186 | '../experimental/iOSSampleApp/iOSSampleApp-Info.plist', |
caryclark@google.com | 867cbd8 | 2012-09-20 15:45:41 +0000 | [diff] [blame] | 187 | '../experimental/iOSSampleApp/Shared/SkOptionListController.mm', |
caryclark@google.com | 867cbd8 | 2012-09-20 15:45:41 +0000 | [diff] [blame] | 188 | '../experimental/iOSSampleApp/Shared/SkUIRootViewController.mm', |
caryclark@google.com | 867cbd8 | 2012-09-20 15:45:41 +0000 | [diff] [blame] | 189 | '../experimental/iOSSampleApp/Shared/SkOptionsTableViewController.mm', |
caryclark@google.com | 867cbd8 | 2012-09-20 15:45:41 +0000 | [diff] [blame] | 190 | '../experimental/iOSSampleApp/Shared/SkUIView.mm', |
caryclark@google.com | 867cbd8 | 2012-09-20 15:45:41 +0000 | [diff] [blame] | 191 | '../experimental/iOSSampleApp/Shared/SkUIDetailViewController.mm', |
| 192 | '../experimental/iOSSampleApp/Shared/skia_ios.mm', |
| 193 | |
| 194 | # iPad |
epoger@google.com | ea5dfa8 | 2011-07-01 21:01:32 +0000 | [diff] [blame] | 195 | '../experimental/iOSSampleApp/iPad/AppDelegate_iPad.mm', |
| 196 | '../experimental/iOSSampleApp/iPad/SkUISplitViewController.mm', |
caryclark@google.com | 867cbd8 | 2012-09-20 15:45:41 +0000 | [diff] [blame] | 197 | |
| 198 | # iPhone |
epoger@google.com | ea5dfa8 | 2011-07-01 21:01:32 +0000 | [diff] [blame] | 199 | '../experimental/iOSSampleApp/iPhone/AppDelegate_iPhone.mm', |
| 200 | '../experimental/iOSSampleApp/iPhone/SkUINavigationController.mm', |
| 201 | |
bungeman@google.com | cbd76ae | 2012-03-21 20:59:49 +0000 | [diff] [blame] | 202 | '../src/views/ios/SkOSWindow_iOS.mm', |
epoger@google.com | ea5dfa8 | 2011-07-01 21:01:32 +0000 | [diff] [blame] | 203 | |
| 204 | '../src/utils/mac/SkCreateCGImageRef.cpp', |
| 205 | '../experimental/iOSSampleApp/SkiOSSampleApp-Debug.xcconfig', |
| 206 | '../experimental/iOSSampleApp/SkiOSSampleApp-Release.xcconfig', |
| 207 | ], |
caryclark@google.com | 867cbd8 | 2012-09-20 15:45:41 +0000 | [diff] [blame] | 208 | 'link_settings': { |
caryclark@google.com | 867cbd8 | 2012-09-20 15:45:41 +0000 | [diff] [blame] | 209 | 'libraries': [ |
bsalomon@google.com | 4663822 | 2012-10-04 12:52:03 +0000 | [diff] [blame] | 210 | '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', |
| 211 | '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework', |
| 212 | '$(SDKROOT)/System/Library/Frameworks/CoreText.framework', |
| 213 | '$(SDKROOT)/System/Library/Frameworks/UIKit.framework', |
| 214 | '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 215 | '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', |
| 216 | '$(SDKROOT)/System/Library/Frameworks/OpenGLES.framework', |
| 217 | '$(SDKROOT)/System/Library/Frameworks/ImageIO.framework', |
| 218 | '$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework', |
caryclark@google.com | 867cbd8 | 2012-09-20 15:45:41 +0000 | [diff] [blame] | 219 | ], |
| 220 | }, |
epoger@google.com | ea5dfa8 | 2011-07-01 21:01:32 +0000 | [diff] [blame] | 221 | 'include_dirs' : [ |
| 222 | '../experimental/iOSSampleApp', |
| 223 | '../experimental/iOSSampleApp/iPad', |
| 224 | '../experimental/iOSSampleApp/iPhone', |
commit-bot@chromium.org | ae0054e | 2014-04-05 01:13:43 +0000 | [diff] [blame] | 225 | '../experimental/iOSSampleApp/Shared', |
epoger@google.com | ea5dfa8 | 2011-07-01 21:01:32 +0000 | [diff] [blame] | 226 | '../include/utils/ios', |
commit-bot@chromium.org | ae0054e | 2014-04-05 01:13:43 +0000 | [diff] [blame] | 227 | '../src/views/mac', |
epoger@google.com | ea5dfa8 | 2011-07-01 21:01:32 +0000 | [diff] [blame] | 228 | ], |
caryclark@google.com | 5c83dcc | 2012-09-26 13:02:37 +0000 | [diff] [blame] | 229 | 'xcode_settings' : { |
| 230 | 'INFOPLIST_FILE' : '../experimental/iOSSampleApp/iOSSampleApp-Info.plist', |
| 231 | }, |
| 232 | 'xcode_config_file': '../experimental/iOSSampleApp/SkiOSSampleApp-Base.xcconfig', |
epoger@google.com | ea5dfa8 | 2011-07-01 21:01:32 +0000 | [diff] [blame] | 233 | 'mac_bundle_resources' : [ |
| 234 | '../experimental/iOSSampleApp/iPad/MainWindow_iPad.xib', |
| 235 | '../experimental/iOSSampleApp/iPhone/MainWindow_iPhone.xib', |
| 236 | ], |
| 237 | }], |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 238 | [ 'skia_os == "android"', { |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 239 | 'sources!': [ |
| 240 | '../samplecode/SampleAnimator.cpp', |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 241 | ], |
jvanverth | 44dcb8a | 2015-10-02 09:12:05 -0700 | [diff] [blame] | 242 | 'conditions': [ |
| 243 | ['skia_android_framework == 0', { |
| 244 | 'dependencies': [ |
| 245 | 'android_deps.gyp:Android_EntryPoint', |
| 246 | 'skia_launcher.gyp:skia_launcher', |
| 247 | ], |
| 248 | }], |
| 249 | ], |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 250 | 'dependencies!': [ |
| 251 | 'animator.gyp:animator', |
| 252 | 'experimental.gyp:experimental', |
| 253 | ], |
djsollen@google.com | fad4510 | 2011-11-04 13:00:18 +0000 | [diff] [blame] | 254 | 'dependencies': [ |
jvanverth | 44dcb8a | 2015-10-02 09:12:05 -0700 | [diff] [blame] | 255 | 'android_output.gyp:android_output', |
djsollen@google.com | 04b5468 | 2012-12-13 20:07:21 +0000 | [diff] [blame] | 256 | 'android_deps.gyp:Android_SampleApp', |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 257 | ], |
| 258 | }], |
robertphillips | 2f0dbc7 | 2015-08-20 05:15:06 -0700 | [diff] [blame] | 259 | [ 'skia_os == "chromeos"', { |
| 260 | 'sources!': [ |
| 261 | '../samplecode/SampleLighting.cpp', #doesn't compile due to gpu dependencies |
jvanverth | d17a329 | 2015-07-09 09:04:16 -0700 | [diff] [blame] | 262 | ], |
robertphillips | 96afa52 | 2015-12-09 07:54:24 -0800 | [diff] [blame] | 263 | 'include_dirs' : [ |
| 264 | '../include/gpu', |
| 265 | ], |
jvanverth | d17a329 | 2015-07-09 09:04:16 -0700 | [diff] [blame] | 266 | }], |
bsalomon@google.com | cf8fb1f | 2012-08-02 14:03:32 +0000 | [diff] [blame] | 267 | [ 'skia_gpu == 1', { |
commit-bot@chromium.org | 78a1078 | 2013-08-21 19:27:48 +0000 | [diff] [blame] | 268 | 'dependencies': [ |
| 269 | 'gputest.gyp:skgputest', |
bsalomon@google.com | cf8fb1f | 2012-08-02 14:03:32 +0000 | [diff] [blame] | 270 | ], |
bsalomon@google.com | cf8fb1f | 2012-08-02 14:03:32 +0000 | [diff] [blame] | 271 | }], |
halcanary | 8ee06f2 | 2015-08-11 10:30:12 -0700 | [diff] [blame] | 272 | [ 'not skia_pdf', { |
| 273 | 'dependencies!': [ 'pdf.gyp:pdf' ], |
| 274 | 'dependencies': [ 'pdf.gyp:nopdf' ], |
| 275 | }], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 276 | ], |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 277 | }, |
| 278 | ], |
| 279 | } |