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