aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp/samples.gypi
blob: 8c24195e23a57bbc9c661f424e1795bf4c5ae5bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
# Copyright 2015 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Include this gypi to include all 'sample' files
{
  'include_dirs': [
    '../include/views',
    '../experimental',
    '../samplecode',
    '../tools',
  ],
  'sources': [
    # Samples
    '../samplecode/GMSampleView.h',
    '../samplecode/GMSampleView.cpp',
    '../samplecode/ClockFaceView.cpp',
    '../samplecode/OverView.cpp',
    '../samplecode/OverView.h',
    '../samplecode/PerlinPatch.cpp',
    '../samplecode/Sample2PtRadial.cpp',
    '../samplecode/SampleAAClip.cpp',
    '../samplecode/SampleAAGeometry.cpp',
    '../samplecode/SampleAARects.cpp',
    '../samplecode/SampleAARectModes.cpp',
    '../samplecode/SampleAll.cpp',
    '../samplecode/SampleAndroidShadows.cpp',
    '../samplecode/SampleAnimatedText.cpp',
    '../samplecode/SampleAnimBlur.cpp',
    '../samplecode/SampleArc.cpp',
    '../samplecode/SampleAtlas.cpp',
    '../samplecode/SampleBevel.cpp',
    '../samplecode/SampleBigBlur.cpp',
    '../samplecode/SampleBigGradient.cpp',
    '../samplecode/SampleBitmapRect.cpp',
    '../samplecode/SampleBlur.cpp',
    '../samplecode/SampleCamera.cpp',
    '../samplecode/SampleChart.cpp',
    '../samplecode/SampleCircle.cpp',
    '../samplecode/SampleClip.cpp',
    '../samplecode/SampleClipDrawMatch.cpp',
    '../samplecode/SampleClock.cpp',
    '../samplecode/SampleCode.cpp',
    '../samplecode/SampleCode.h',
    '../samplecode/SampleColorFilter.cpp',
    '../samplecode/SampleComplexClip.cpp',
    '../samplecode/SampleConcavePaths.cpp',
    '../samplecode/SampleDegenerateTwoPtRadials.cpp',
    '../samplecode/SampleDither.cpp',
    '../samplecode/SampleDitherBitmap.cpp',
    '../samplecode/SampleEffects.cpp',
    '../samplecode/SampleEmboss.cpp',
    '../samplecode/SampleFatBits.cpp',
    '../samplecode/SampleFillType.cpp',
    '../samplecode/SampleFilter.cpp',
    '../samplecode/SampleFilter2.cpp',
    '../samplecode/SampleFilterQuality.cpp',
    '../samplecode/SampleFilterFuzz.cpp',
    '../samplecode/SampleFontCache.cpp',
    '../samplecode/SampleFontScalerTest.cpp',
    '../samplecode/SampleFuzz.cpp',
    '../samplecode/SampleGradients.cpp',
    '../samplecode/SampleHairCurves.cpp',
    '../samplecode/SampleHairline.cpp',
    '../samplecode/SampleHairModes.cpp',
    '../samplecode/SampleHT.cpp',
    '../samplecode/SampleIdentityScale.cpp',
    '../samplecode/SampleLayerMask.cpp',
    '../samplecode/SampleLayers.cpp',
    '../samplecode/SampleLCD.cpp',
    '../samplecode/SampleLighting.cpp',
    '../samplecode/SampleLines.cpp',
    '../samplecode/SampleLitAtlas.cpp',
    '../samplecode/SampleLua.cpp',
    '../samplecode/SampleManyRects.cpp',
    '../samplecode/SampleMeasure.cpp',
    '../samplecode/SampleMegaStroke.cpp',
    '../samplecode/SamplePatch.cpp',
    '../samplecode/SamplePath.cpp',
    '../samplecode/SamplePathClip.cpp',
    '../samplecode/SamplePathFuzz.cpp',
    '../samplecode/SamplePathEffects.cpp',
    '../samplecode/SamplePathOverstroke.cpp',
    '../samplecode/SamplePictFile.cpp',
    '../samplecode/SamplePoints.cpp',
    '../samplecode/SamplePolyToPoly.cpp',
    '../samplecode/SampleQuadStroker.cpp',
    '../samplecode/SampleRectanizer.cpp',
    '../samplecode/SampleRegion.cpp',
    '../samplecode/SampleRepeatTile.cpp',
    '../samplecode/SampleShaders.cpp',
    '../samplecode/SampleShaderText.cpp',
    '../samplecode/SampleShadowing.cpp',
    '../samplecode/SampleShip.cpp',
    '../samplecode/SampleSkLayer.cpp',
    '../samplecode/SampleSlides.cpp',
    '../samplecode/SampleStringArt.cpp',
    '../samplecode/SampleStrokePath.cpp',
    '../samplecode/SampleSubpixelTranslate.cpp',
    '../samplecode/SampleSVGPong.cpp',
    '../samplecode/SampleSVGFile.cpp',
    '../samplecode/SampleText.cpp',
    '../samplecode/SampleTextAlpha.cpp',
    '../samplecode/SampleTextBox.cpp',
    '../samplecode/SampleTextOnPath.cpp',
    '../samplecode/SampleTextureDomain.cpp',
    '../samplecode/SampleTiling.cpp',
    '../samplecode/SampleTinyBitmap.cpp',
    '../samplecode/SampleUnpremul.cpp',
    '../samplecode/SampleVertices.cpp',
    '../samplecode/SampleXfermodesBlur.cpp',
    '../samplecode/SampleXfer.cpp',
	
    # DrawingBoard
    #'../experimental/DrawingBoard/SkColorPalette.h',
    #'../experimental/DrawingBoard/SkColorPalette.cpp',
    #'../experimental/DrawingBoard/SkNetPipeController.h',
    #'../experimental/DrawingBoard/SkNetPipeController.cpp',
    #'../experimental/DrawingBoard/SampleDrawingClient.cpp',
    #'../experimental/DrawingBoard/SampleDrawingServer.cpp',

    # Networking
    #'../experimental/Networking/SampleNetPipeReader.cpp',
    #'../experimental/Networking/SkSockets.cpp',
    #'../experimental/Networking/SkSockets.h',

    # PerlinNoise2
    '../experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.cpp',
    '../experimental/SkPerlinNoiseShader2/SkPerlinNoiseShader2.h',

    # Lua
    '../src/utils/SkLuaCanvas.cpp',
    '../src/utils/SkLua.cpp',
  ],
  'sources!': [
    '../samplecode/SampleSkLayer.cpp', #relies on SkMatrix44 which doesn't compi    
    '../samplecode/SampleFontCache.cpp', #relies on pthread.h
  ],      
  'dependencies': [
    'experimental.gyp:experimental',
    'lua.gyp:lua',
    'pdf.gyp:pdf',
    'svg.gyp:svgdom',
    'views.gyp:views',
    'xml.gyp:xml',
  ],
}