jvanverth | c7027ab | 2016-06-16 09:52:35 -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. |
| 5 | # Include this gypi to include all 'sample' files |
| 6 | { |
| 7 | 'include_dirs': [ |
| 8 | '../include/views', |
| 9 | '../experimental', |
| 10 | '../samplecode', |
| 11 | '../tools', |
| 12 | ], |
| 13 | 'sources': [ |
| 14 | # Samples |
| 15 | '../samplecode/GMSampleView.h', |
| 16 | '../samplecode/GMSampleView.cpp', |
| 17 | '../samplecode/ClockFaceView.cpp', |
| 18 | '../samplecode/OverView.cpp', |
| 19 | '../samplecode/OverView.h', |
| 20 | '../samplecode/PerlinPatch.cpp', |
| 21 | '../samplecode/Sample2PtRadial.cpp', |
| 22 | '../samplecode/SampleAAClip.cpp', |
| 23 | '../samplecode/SampleAAGeometry.cpp', |
| 24 | '../samplecode/SampleAARects.cpp', |
| 25 | '../samplecode/SampleAARectModes.cpp', |
| 26 | '../samplecode/SampleAll.cpp', |
jvanverth | e1a3bc6 | 2016-08-12 10:40:38 -0700 | [diff] [blame] | 27 | '../samplecode/SampleAndroidShadows.cpp', |
jvanverth | c7027ab | 2016-06-16 09:52:35 -0700 | [diff] [blame] | 28 | '../samplecode/SampleAnimatedText.cpp', |
| 29 | '../samplecode/SampleAnimBlur.cpp', |
| 30 | '../samplecode/SampleArc.cpp', |
| 31 | '../samplecode/SampleAtlas.cpp', |
dvonbeck | 6d391b6 | 2016-08-18 08:55:48 -0700 | [diff] [blame] | 32 | '../samplecode/SampleBevel.cpp', |
jvanverth | c7027ab | 2016-06-16 09:52:35 -0700 | [diff] [blame] | 33 | '../samplecode/SampleBigBlur.cpp', |
| 34 | '../samplecode/SampleBigGradient.cpp', |
| 35 | '../samplecode/SampleBitmapRect.cpp', |
| 36 | '../samplecode/SampleBlur.cpp', |
| 37 | '../samplecode/SampleCamera.cpp', |
| 38 | '../samplecode/SampleChart.cpp', |
| 39 | '../samplecode/SampleCircle.cpp', |
| 40 | '../samplecode/SampleClip.cpp', |
| 41 | '../samplecode/SampleClipDrawMatch.cpp', |
| 42 | '../samplecode/SampleClock.cpp', |
| 43 | '../samplecode/SampleCode.cpp', |
| 44 | '../samplecode/SampleCode.h', |
| 45 | '../samplecode/SampleColorFilter.cpp', |
| 46 | '../samplecode/SampleComplexClip.cpp', |
| 47 | '../samplecode/SampleConcavePaths.cpp', |
| 48 | '../samplecode/SampleDegenerateTwoPtRadials.cpp', |
| 49 | '../samplecode/SampleDither.cpp', |
| 50 | '../samplecode/SampleDitherBitmap.cpp', |
| 51 | '../samplecode/SampleEffects.cpp', |
| 52 | '../samplecode/SampleEmboss.cpp', |
| 53 | '../samplecode/SampleFatBits.cpp', |
| 54 | '../samplecode/SampleFillType.cpp', |
| 55 | '../samplecode/SampleFilter.cpp', |
| 56 | '../samplecode/SampleFilter2.cpp', |
| 57 | '../samplecode/SampleFilterQuality.cpp', |
| 58 | '../samplecode/SampleFilterFuzz.cpp', |
| 59 | '../samplecode/SampleFontCache.cpp', |
| 60 | '../samplecode/SampleFontScalerTest.cpp', |
| 61 | '../samplecode/SampleFuzz.cpp', |
| 62 | '../samplecode/SampleGradients.cpp', |
| 63 | '../samplecode/SampleHairCurves.cpp', |
| 64 | '../samplecode/SampleHairline.cpp', |
| 65 | '../samplecode/SampleHairModes.cpp', |
| 66 | '../samplecode/SampleHT.cpp', |
| 67 | '../samplecode/SampleIdentityScale.cpp', |
| 68 | '../samplecode/SampleLayerMask.cpp', |
| 69 | '../samplecode/SampleLayers.cpp', |
| 70 | '../samplecode/SampleLCD.cpp', |
| 71 | '../samplecode/SampleLighting.cpp', |
| 72 | '../samplecode/SampleLines.cpp', |
| 73 | '../samplecode/SampleLitAtlas.cpp', |
| 74 | '../samplecode/SampleLua.cpp', |
| 75 | '../samplecode/SampleManyRects.cpp', |
| 76 | '../samplecode/SampleMeasure.cpp', |
| 77 | '../samplecode/SampleMegaStroke.cpp', |
| 78 | '../samplecode/SamplePatch.cpp', |
| 79 | '../samplecode/SamplePath.cpp', |
| 80 | '../samplecode/SamplePathClip.cpp', |
| 81 | '../samplecode/SamplePathFuzz.cpp', |
| 82 | '../samplecode/SamplePathEffects.cpp', |
hstern | 992a22d | 2016-06-17 14:06:13 -0700 | [diff] [blame] | 83 | '../samplecode/SamplePathOverstroke.cpp', |
jvanverth | c7027ab | 2016-06-16 09:52:35 -0700 | [diff] [blame] | 84 | '../samplecode/SamplePictFile.cpp', |
| 85 | '../samplecode/SamplePoints.cpp', |
| 86 | '../samplecode/SamplePolyToPoly.cpp', |
| 87 | '../samplecode/SampleQuadStroker.cpp', |
| 88 | '../samplecode/SampleRectanizer.cpp', |
| 89 | '../samplecode/SampleRegion.cpp', |
| 90 | '../samplecode/SampleRepeatTile.cpp', |
| 91 | '../samplecode/SampleShaders.cpp', |
| 92 | '../samplecode/SampleShaderText.cpp', |
vjiaoblack | 955e879 | 2016-08-05 07:55:01 -0700 | [diff] [blame] | 93 | '../samplecode/SampleShadowing.cpp', |
jvanverth | c7027ab | 2016-06-16 09:52:35 -0700 | [diff] [blame] | 94 | '../samplecode/SampleShip.cpp', |
| 95 | '../samplecode/SampleSkLayer.cpp', |
| 96 | '../samplecode/SampleSlides.cpp', |
| 97 | '../samplecode/SampleStringArt.cpp', |
| 98 | '../samplecode/SampleStrokePath.cpp', |
| 99 | '../samplecode/SampleSubpixelTranslate.cpp', |
fmalita | ca39d71 | 2016-08-12 13:17:11 -0700 | [diff] [blame] | 100 | '../samplecode/SampleSVGPong.cpp', |
fmalita | 6ceef3d | 2016-07-26 18:46:34 -0700 | [diff] [blame] | 101 | '../samplecode/SampleSVGFile.cpp', |
jvanverth | c7027ab | 2016-06-16 09:52:35 -0700 | [diff] [blame] | 102 | '../samplecode/SampleText.cpp', |
| 103 | '../samplecode/SampleTextAlpha.cpp', |
| 104 | '../samplecode/SampleTextBox.cpp', |
| 105 | '../samplecode/SampleTextOnPath.cpp', |
| 106 | '../samplecode/SampleTextureDomain.cpp', |
| 107 | '../samplecode/SampleTiling.cpp', |
| 108 | '../samplecode/SampleTinyBitmap.cpp', |
| 109 | '../samplecode/SampleUnpremul.cpp', |
| 110 | '../samplecode/SampleVertices.cpp', |
| 111 | '../samplecode/SampleXfermodesBlur.cpp', |
| 112 | '../samplecode/SampleXfer.cpp', |
| 113 | |
| 114 | # DrawingBoard |
| 115 | #'../experimental/DrawingBoard/SkColorPalette.h', |
| 116 | #'../experimental/DrawingBoard/SkColorPalette.cpp', |
| 117 | #'../experimental/DrawingBoard/SkNetPipeController.h', |
| 118 | #'../experimental/DrawingBoard/SkNetPipeController.cpp', |
| 119 | #'../experimental/DrawingBoard/SampleDrawingClient.cpp', |
| 120 | #'../experimental/DrawingBoard/SampleDrawingServer.cpp', |
| 121 | |
| 122 | # Networking |
| 123 | #'../experimental/Networking/SampleNetPipeReader.cpp', |
| 124 | #'../experimental/Networking/SkSockets.cpp', |
| 125 | #'../experimental/Networking/SkSockets.h', |
| 126 | |
| 127 | # PerlinNoise2 |
| 128 | '../experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.cpp', |
| 129 | '../experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.h', |
| 130 | |
| 131 | # Lua |
| 132 | '../src/utils/SkLuaCanvas.cpp', |
| 133 | '../src/utils/SkLua.cpp', |
| 134 | ], |
| 135 | 'sources!': [ |
| 136 | '../samplecode/SampleSkLayer.cpp', #relies on SkMatrix44 which doesn't compi |
| 137 | '../samplecode/SampleFontCache.cpp', #relies on pthread.h |
| 138 | ], |
| 139 | 'dependencies': [ |
| 140 | 'experimental.gyp:experimental', |
| 141 | 'lua.gyp:lua', |
| 142 | 'pdf.gyp:pdf', |
fmalita | 6ceef3d | 2016-07-26 18:46:34 -0700 | [diff] [blame] | 143 | 'svg.gyp:svgdom', |
jvanverth | c7027ab | 2016-06-16 09:52:35 -0700 | [diff] [blame] | 144 | 'views.gyp:views', |
| 145 | 'xml.gyp:xml', |
| 146 | ], |
| 147 | } |