| OLD | NEW |
| 1 # Copyright 2015 Google Inc. | 1 # Copyright 2015 Google Inc. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 # | 5 # |
| 6 { | 6 { |
| 7 'targets': [ | 7 'targets': [ |
| 8 { | 8 { |
| 9 'target_name': 'SampleApp', | 9 'target_name': 'SampleApp', |
| 10 'type': 'executable', | 10 'type': 'executable', |
| 11 'include_dirs' : [ | 11 'include_dirs' : [ |
| 12 '../include/private', | 12 '../include/private', |
| 13 '../src/core', | 13 '../src/core', |
| 14 '../src/effects', #needed for BlurMask.h | 14 '../src/effects', #needed for BlurMask.h |
| 15 '../src/gpu', # needed by SkLua.cpp | 15 '../src/gpu', # needed by SkLua.cpp |
| 16 '../src/image', | 16 '../src/image', |
| 17 '../src/images', | 17 '../src/images', |
| 18 '../src/lazy', | 18 '../src/lazy', |
| 19 '../src/pathops', | 19 '../src/pathops', |
| 20 '../gm', # needed to pull gm.h | 20 '../gm', # needed to pull gm.h |
| 21 '../samplecode', # To pull SampleApp.h and SampleCode.h | 21 '../samplecode', # To pull SampleApp.h and SampleCode.h |
| 22 '../tools/debugger', | 22 '../tools/debugger', |
| 23 '../tools', | |
| 24 '../experimental', | |
| 25 ], | 23 ], |
| 26 'includes': [ | 24 'includes': [ |
| 27 'gmslides.gypi', | 25 'gmslides.gypi', |
| 26 'samples.gypi', |
| 28 ], | 27 ], |
| 29 'sources': [ | 28 'sources': [ |
| 30 '../gm/gm.cpp', | 29 '../gm/gm.cpp', |
| 31 '../samplecode/GMSampleView.h', | |
| 32 '../samplecode/GMSampleView.cpp', | |
| 33 '../samplecode/ClockFaceView.cpp', | |
| 34 '../samplecode/OverView.cpp', | |
| 35 '../samplecode/OverView.h', | |
| 36 '../samplecode/PerlinPatch.cpp', | |
| 37 '../samplecode/Sample2PtRadial.cpp', | |
| 38 '../samplecode/SampleAAClip.cpp', | |
| 39 '../samplecode/SampleAAGeometry.cpp', | |
| 40 '../samplecode/SampleAARects.cpp', | |
| 41 '../samplecode/SampleAARectModes.cpp', | |
| 42 '../samplecode/SampleAll.cpp', | |
| 43 '../samplecode/SampleAnimatedText.cpp', | |
| 44 '../samplecode/SampleAnimBlur.cpp', | |
| 45 '../samplecode/SampleApp.cpp', | 30 '../samplecode/SampleApp.cpp', |
| 46 '../samplecode/SampleArc.cpp', | |
| 47 '../samplecode/SampleAtlas.cpp', | |
| 48 '../samplecode/SampleBigBlur.cpp', | |
| 49 '../samplecode/SampleBigGradient.cpp', | |
| 50 '../samplecode/SampleBitmapRect.cpp', | |
| 51 '../samplecode/SampleBlur.cpp', | |
| 52 '../samplecode/SampleCamera.cpp', | |
| 53 '../samplecode/SampleChart.cpp', | |
| 54 '../samplecode/SampleCircle.cpp', | |
| 55 '../samplecode/SampleClip.cpp', | |
| 56 '../samplecode/SampleClipDrawMatch.cpp', | |
| 57 '../samplecode/SampleClock.cpp', | |
| 58 '../samplecode/SampleCode.h', | |
| 59 '../samplecode/SampleColorFilter.cpp', | |
| 60 '../samplecode/SampleComplexClip.cpp', | |
| 61 '../samplecode/SampleConcavePaths.cpp', | |
| 62 '../samplecode/SampleDegenerateTwoPtRadials.cpp', | |
| 63 '../samplecode/SampleDither.cpp', | |
| 64 '../samplecode/SampleDitherBitmap.cpp', | |
| 65 '../samplecode/SampleEffects.cpp', | |
| 66 '../samplecode/SampleEmboss.cpp', | |
| 67 '../samplecode/SampleFatBits.cpp', | |
| 68 '../samplecode/SampleFillType.cpp', | |
| 69 '../samplecode/SampleFilter.cpp', | |
| 70 '../samplecode/SampleFilter2.cpp', | |
| 71 '../samplecode/SampleFilterQuality.cpp', | |
| 72 '../samplecode/SampleFilterFuzz.cpp', | |
| 73 '../samplecode/SampleFontCache.cpp', | |
| 74 '../samplecode/SampleFontScalerTest.cpp', | |
| 75 '../samplecode/SampleFuzz.cpp', | |
| 76 '../samplecode/SampleGradients.cpp', | |
| 77 '../samplecode/SampleHairCurves.cpp', | |
| 78 '../samplecode/SampleHairline.cpp', | |
| 79 '../samplecode/SampleHairModes.cpp', | |
| 80 '../samplecode/SampleHT.cpp', | |
| 81 '../samplecode/SampleIdentityScale.cpp', | |
| 82 '../samplecode/SampleLayerMask.cpp', | |
| 83 '../samplecode/SampleLayers.cpp', | |
| 84 '../samplecode/SampleLCD.cpp', | |
| 85 '../samplecode/SampleLighting.cpp', | |
| 86 '../samplecode/SampleLines.cpp', | |
| 87 '../samplecode/SampleLitAtlas.cpp', | |
| 88 '../samplecode/SampleLua.cpp', | |
| 89 '../samplecode/SampleManyRects.cpp', | |
| 90 '../samplecode/SampleMeasure.cpp', | |
| 91 '../samplecode/SampleMegaStroke.cpp', | |
| 92 '../samplecode/SamplePatch.cpp', | |
| 93 '../samplecode/SamplePath.cpp', | |
| 94 '../samplecode/SamplePathClip.cpp', | |
| 95 '../samplecode/SamplePathFuzz.cpp', | |
| 96 '../samplecode/SamplePathEffects.cpp', | |
| 97 '../samplecode/SamplePathOverstroke.cpp', | |
| 98 '../samplecode/SamplePictFile.cpp', | |
| 99 '../samplecode/SamplePoints.cpp', | |
| 100 '../samplecode/SamplePolyToPoly.cpp', | |
| 101 '../samplecode/SampleQuadStroker.cpp', | |
| 102 '../samplecode/SampleRectanizer.cpp', | |
| 103 '../samplecode/SampleRegion.cpp', | |
| 104 '../samplecode/SampleRepeatTile.cpp', | |
| 105 '../samplecode/SampleShaders.cpp', | |
| 106 '../samplecode/SampleShaderText.cpp', | |
| 107 '../samplecode/SampleShip.cpp', | |
| 108 '../samplecode/SampleSkLayer.cpp', | |
| 109 '../samplecode/SampleSlides.cpp', | |
| 110 '../samplecode/SampleStringArt.cpp', | |
| 111 '../samplecode/SampleStrokePath.cpp', | |
| 112 '../samplecode/SampleSubpixelTranslate.cpp', | |
| 113 '../samplecode/SampleText.cpp', | |
| 114 '../samplecode/SampleTextAlpha.cpp', | |
| 115 '../samplecode/SampleTextBox.cpp', | |
| 116 '../samplecode/SampleTextOnPath.cpp', | |
| 117 '../samplecode/SampleTextureDomain.cpp', | |
| 118 '../samplecode/SampleTiling.cpp', | |
| 119 '../samplecode/SampleTinyBitmap.cpp', | |
| 120 '../samplecode/SampleUnpremul.cpp', | |
| 121 '../samplecode/SampleVertices.cpp', | |
| 122 '../samplecode/SampleXfermodesBlur.cpp', | |
| 123 '../samplecode/SampleXfer.cpp', | |
| 124 | 31 |
| 125 # DrawingBoard | |
| 126 #'../experimental/DrawingBoard/SkColorPalette.h', | |
| 127 #'../experimental/DrawingBoard/SkColorPalette.cpp', | |
| 128 #'../experimental/DrawingBoard/SkNetPipeController.h', | |
| 129 #'../experimental/DrawingBoard/SkNetPipeController.cpp', | |
| 130 #'../experimental/DrawingBoard/SampleDrawingClient.cpp', | |
| 131 #'../experimental/DrawingBoard/SampleDrawingServer.cpp', | |
| 132 | |
| 133 # Networking | |
| 134 #'../experimental/Networking/SampleNetPipeReader.cpp', | |
| 135 #'../experimental/Networking/SkSockets.cpp', | |
| 136 #'../experimental/Networking/SkSockets.h', | |
| 137 | |
| 138 # PerlinNoise2 | |
| 139 '../experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.cpp', | |
| 140 '../experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.h', | |
| 141 | |
| 142 # Lua | |
| 143 '../src/utils/SkLuaCanvas.cpp', | |
| 144 '../src/utils/SkLua.cpp', | |
| 145 ], | |
| 146 'sources!': [ | |
| 147 '../samplecode/SampleSkLayer.cpp', #relies on SkMatrix44 which doesn't c
ompile | |
| 148 '../samplecode/SampleFontCache.cpp', | |
| 149 ], | 32 ], |
| 150 'dependencies': [ | 33 'dependencies': [ |
| 151 'etc1.gyp:libetc1', | 34 'etc1.gyp:libetc1', |
| 152 'experimental.gyp:experimental', | |
| 153 'flags.gyp:flags', | 35 'flags.gyp:flags', |
| 154 'jsoncpp.gyp:jsoncpp', | 36 'jsoncpp.gyp:jsoncpp', |
| 155 'lua.gyp:lua', | |
| 156 'pdf.gyp:pdf', | |
| 157 'skia_lib.gyp:skia_lib', | 37 'skia_lib.gyp:skia_lib', |
| 158 'gputest.gyp:skgputest', | 38 'gputest.gyp:skgputest', |
| 159 'tools.gyp:resources', | 39 'tools.gyp:resources', |
| 160 'tools.gyp:sk_tool_utils', | 40 'tools.gyp:sk_tool_utils', |
| 161 'tools.gyp:timer', | 41 'tools.gyp:timer', |
| 162 'tools.gyp:url_data_manager', | 42 'tools.gyp:url_data_manager', |
| 163 'views.gyp:views', | 43 'views.gyp:views', |
| 164 'xml.gyp:xml', | |
| 165 ], | 44 ], |
| 166 'msvs_settings': { | 45 'msvs_settings': { |
| 167 'VCLinkerTool': { | 46 'VCLinkerTool': { |
| 168 #Allows for creation / output to console. | 47 #Allows for creation / output to console. |
| 169 #Console (/SUBSYSTEM:CONSOLE) | 48 #Console (/SUBSYSTEM:CONSOLE) |
| 170 'SubSystem': '1', | 49 'SubSystem': '1', |
| 171 | 50 |
| 172 #Console app, use main/wmain | 51 #Console app, use main/wmain |
| 173 'EntryPointSymbol': 'mainCRTStartup', | 52 'EntryPointSymbol': 'mainCRTStartup', |
| 174 }, | 53 }, |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 ], | 137 ], |
| 259 }], | 138 }], |
| 260 [ 'not skia_pdf', { | 139 [ 'not skia_pdf', { |
| 261 'dependencies!': [ 'pdf.gyp:pdf' ], | 140 'dependencies!': [ 'pdf.gyp:pdf' ], |
| 262 'dependencies': [ 'pdf.gyp:nopdf' ], | 141 'dependencies': [ 'pdf.gyp:nopdf' ], |
| 263 }], | 142 }], |
| 264 ], | 143 ], |
| 265 }, | 144 }, |
| 266 ], | 145 ], |
| 267 } | 146 } |
| OLD | NEW |