| 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 | b1b7f70 | 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', | 
| commit-bot@chromium.org | e2b193c | 2014-05-16 13:49:08 +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.mm', | 
| caryclark@google.com | 5c83dcc | 2012-09-26 13:02:37 +0000 | [diff] [blame] | 212 |             '../experimental/iOSSampleApp/SkSampleUIView.mm', | 
| caryclark@google.com | 867cbd8 | 2012-09-20 15:45:41 +0000 | [diff] [blame] | 213 |             '../experimental/iOSSampleApp/SkiOSSampleApp-Base.xcconfig', | 
 | 214 |             '../experimental/iOSSampleApp/SkiOSSampleApp-Debug.xcconfig', | 
 | 215 |             '../experimental/iOSSampleApp/SkiOSSampleApp-Release.xcconfig', | 
 | 216 |             '../experimental/iOSSampleApp/iOSSampleApp-Info.plist', | 
| caryclark@google.com | 867cbd8 | 2012-09-20 15:45:41 +0000 | [diff] [blame] | 217 |             '../experimental/iOSSampleApp/Shared/SkOptionListController.mm', | 
| caryclark@google.com | 867cbd8 | 2012-09-20 15:45:41 +0000 | [diff] [blame] | 218 |             '../experimental/iOSSampleApp/Shared/SkUIRootViewController.mm', | 
| caryclark@google.com | 867cbd8 | 2012-09-20 15:45:41 +0000 | [diff] [blame] | 219 |             '../experimental/iOSSampleApp/Shared/SkOptionsTableViewController.mm', | 
| caryclark@google.com | 867cbd8 | 2012-09-20 15:45:41 +0000 | [diff] [blame] | 220 |             '../experimental/iOSSampleApp/Shared/SkUIView.mm', | 
| caryclark@google.com | 867cbd8 | 2012-09-20 15:45:41 +0000 | [diff] [blame] | 221 |             '../experimental/iOSSampleApp/Shared/SkUIDetailViewController.mm', | 
 | 222 |             '../experimental/iOSSampleApp/Shared/skia_ios.mm', | 
 | 223 |  | 
 | 224 |             # iPad | 
| epoger@google.com | ea5dfa8 | 2011-07-01 21:01:32 +0000 | [diff] [blame] | 225 |             '../experimental/iOSSampleApp/iPad/AppDelegate_iPad.mm', | 
 | 226 |             '../experimental/iOSSampleApp/iPad/SkUISplitViewController.mm', | 
| caryclark@google.com | 867cbd8 | 2012-09-20 15:45:41 +0000 | [diff] [blame] | 227 |             '../experimental/iOSSampleApp/iPad/MainWindow_iPad.xib', | 
 | 228 |  | 
 | 229 |             # iPhone | 
| epoger@google.com | ea5dfa8 | 2011-07-01 21:01:32 +0000 | [diff] [blame] | 230 |             '../experimental/iOSSampleApp/iPhone/AppDelegate_iPhone.mm', | 
 | 231 |             '../experimental/iOSSampleApp/iPhone/SkUINavigationController.mm', | 
| caryclark@google.com | 867cbd8 | 2012-09-20 15:45:41 +0000 | [diff] [blame] | 232 |             '../experimental/iOSSampleApp/iPhone/MainWindow_iPhone.xib', | 
| epoger@google.com | ea5dfa8 | 2011-07-01 21:01:32 +0000 | [diff] [blame] | 233 |  | 
| bungeman@google.com | cbd76ae | 2012-03-21 20:59:49 +0000 | [diff] [blame] | 234 |             '../src/views/ios/SkOSWindow_iOS.mm', | 
| epoger@google.com | ea5dfa8 | 2011-07-01 21:01:32 +0000 | [diff] [blame] | 235 |             '../src/utils/ios/SkImageDecoder_iOS.mm', | 
 | 236 |             '../src/utils/ios/SkStream_NSData.mm', | 
 | 237 |             '../src/utils/ios/SkOSFile_iOS.mm', | 
 | 238 |  | 
 | 239 |             '../src/utils/mac/SkCreateCGImageRef.cpp', | 
 | 240 |             '../experimental/iOSSampleApp/SkiOSSampleApp-Debug.xcconfig', | 
 | 241 |             '../experimental/iOSSampleApp/SkiOSSampleApp-Release.xcconfig', | 
 | 242 |           ], | 
| caryclark@google.com | 867cbd8 | 2012-09-20 15:45:41 +0000 | [diff] [blame] | 243 |           'link_settings': { | 
| caryclark@google.com | 867cbd8 | 2012-09-20 15:45:41 +0000 | [diff] [blame] | 244 |             'libraries': [ | 
| bsalomon@google.com | 4663822 | 2012-10-04 12:52:03 +0000 | [diff] [blame] | 245 |               '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', | 
 | 246 |               '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework', | 
 | 247 |               '$(SDKROOT)/System/Library/Frameworks/CoreText.framework', | 
 | 248 |               '$(SDKROOT)/System/Library/Frameworks/UIKit.framework', | 
 | 249 |               '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', | 
 | 250 |               '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', | 
 | 251 |               '$(SDKROOT)/System/Library/Frameworks/OpenGLES.framework', | 
 | 252 |               '$(SDKROOT)/System/Library/Frameworks/ImageIO.framework', | 
 | 253 |               '$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework', | 
| caryclark@google.com | 867cbd8 | 2012-09-20 15:45:41 +0000 | [diff] [blame] | 254 |             ], | 
 | 255 |           }, | 
| epoger@google.com | ea5dfa8 | 2011-07-01 21:01:32 +0000 | [diff] [blame] | 256 |           'include_dirs' : [ | 
 | 257 |             '../experimental/iOSSampleApp', | 
 | 258 |             '../experimental/iOSSampleApp/iPad', | 
 | 259 |             '../experimental/iOSSampleApp/iPhone', | 
| commit-bot@chromium.org | ae0054e | 2014-04-05 01:13:43 +0000 | [diff] [blame] | 260 |             '../experimental/iOSSampleApp/Shared', | 
| epoger@google.com | ea5dfa8 | 2011-07-01 21:01:32 +0000 | [diff] [blame] | 261 |             '../include/utils/ios', | 
| commit-bot@chromium.org | ae0054e | 2014-04-05 01:13:43 +0000 | [diff] [blame] | 262 |             '../src/views/mac', | 
| 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', | 
| commit-bot@chromium.org | e2b193c | 2014-05-16 13:49:08 +0000 | [diff] [blame] | 276 |             '../samplecode/SampleUnitMapper.cpp', | 
| djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 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 | 04b5468 | 2012-12-13 20:07:21 +0000 | [diff] [blame] | 283 |             'android_deps.gyp:Android_SampleApp', | 
| 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', { | 
| commit-bot@chromium.org | 78a1078 | 2013-08-21 19:27:48 +0000 | [diff] [blame] | 287 |           'dependencies': [ | 
 | 288 |             'gputest.gyp:skgputest', | 
| bsalomon@google.com | cf8fb1f | 2012-08-02 14:03:32 +0000 | [diff] [blame] | 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 | } |