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