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#Animator is basically Skia's (much saner) version of Flash.
6#On top of Views it provides a declarative UI model which can be updated
7#based on events which trigger changes or scripts.
8
9{
10  'targets': [
11    {
12      'target_name': 'animator',
13      'product_name': 'skia_animator',
14      'type': 'static_library',
15      'standalone_static_library': 1,
16      'dependencies': [
17        'skia_lib.gyp:skia_lib',
18        'views.gyp:*',
19        'xml.gyp:*',
20      ],
21      'include_dirs': [
22        '../include/animator',
23        '../src/utils',
24      ],
25      'sources': [
26        '../src/animator/SkADrawable.cpp',
27        '../src/animator/SkADrawable.h',
28        '../include/animator/SkAnimator.h',
29        '../include/animator/SkAnimatorView.h',
30
31        '../src/animator/SkAnimate.h',
32        '../src/animator/SkAnimateActive.cpp',
33        '../src/animator/SkAnimateActive.h',
34        '../src/animator/SkAnimateBase.cpp',
35        '../src/animator/SkAnimateBase.h',
36        '../src/animator/SkAnimateField.cpp',
37        '../src/animator/SkAnimateMaker.cpp',
38        '../src/animator/SkAnimateMaker.h',
39        '../src/animator/SkAnimateProperties.h',
40        '../src/animator/SkAnimateSet.cpp',
41        '../src/animator/SkAnimateSet.h',
42        '../src/animator/SkAnimator.cpp',
43        '../src/animator/SkAnimatorScript.cpp',
44        '../src/animator/SkAnimatorScript.h',
45        #'../src/animator/SkAnimatorScript2.cpp', fails on windows
46        #'../src/animator/SkAnimatorScript2.h',
47        '../src/animator/SkBoundable.cpp',
48        '../src/animator/SkBoundable.h',
49        '../src/animator/SkBuildCondensedInfo.cpp',
50        #'../src/animator/SkCondensedDebug.cpp', fails on windows
51        #'../src/animator/SkCondensedRelease.cpp',
52        '../src/animator/SkDisplayable.cpp',
53        '../src/animator/SkDisplayable.h',
54        '../src/animator/SkDisplayAdd.cpp',
55        '../src/animator/SkDisplayAdd.h',
56        '../src/animator/SkDisplayApply.cpp',
57        '../src/animator/SkDisplayApply.h',
58        '../src/animator/SkDisplayBounds.cpp',
59        '../src/animator/SkDisplayBounds.h',
60        '../src/animator/SkDisplayEvent.cpp',
61        '../src/animator/SkDisplayEvent.h',
62        '../src/animator/SkDisplayEvents.cpp',
63        '../src/animator/SkDisplayEvents.h',
64        '../src/animator/SkDisplayInclude.cpp',
65        '../src/animator/SkDisplayInclude.h',
66        '../src/animator/SkDisplayInput.cpp',
67        '../src/animator/SkDisplayInput.h',
68        '../src/animator/SkDisplayList.cpp',
69        '../src/animator/SkDisplayList.h',
70        '../src/animator/SkDisplayMath.cpp',
71        '../src/animator/SkDisplayMath.h',
72        '../src/animator/SkDisplayMovie.cpp',
73        '../src/animator/SkDisplayMovie.h',
74        '../src/animator/SkDisplayNumber.cpp',
75        '../src/animator/SkDisplayNumber.h',
76        '../src/animator/SkDisplayPost.cpp',
77        '../src/animator/SkDisplayPost.h',
78        '../src/animator/SkDisplayRandom.cpp',
79        '../src/animator/SkDisplayRandom.h',
80        '../src/animator/SkDisplayScreenplay.cpp',
81        '../src/animator/SkDisplayScreenplay.h',
82        '../src/animator/SkDisplayType.cpp',
83        '../src/animator/SkDisplayType.h',
84        '../src/animator/SkDisplayTypes.cpp',
85        '../src/animator/SkDisplayTypes.h',
86        '../src/animator/SkDisplayXMLParser.cpp',
87        '../src/animator/SkDisplayXMLParser.h',
88        '../src/animator/SkDraw3D.cpp',
89        '../src/animator/SkDraw3D.h',
90        '../src/animator/SkDrawBitmap.cpp',
91        '../src/animator/SkDrawBitmap.h',
92        '../src/animator/SkDrawBlur.cpp',
93        '../src/animator/SkDrawBlur.h',
94        '../src/animator/SkDrawClip.cpp',
95        '../src/animator/SkDrawClip.h',
96        '../src/animator/SkDrawColor.cpp',
97        '../src/animator/SkDrawColor.h',
98        '../src/animator/SkDrawDash.cpp',
99        '../src/animator/SkDrawDash.h',
100        '../src/animator/SkDrawDiscrete.cpp',
101        '../src/animator/SkDrawDiscrete.h',
102        '../src/animator/SkDrawEmboss.cpp',
103        '../src/animator/SkDrawEmboss.h',
104        '../src/animator/SkDrawExtraPathEffect.cpp',
105        '../src/animator/SkDrawFull.cpp',
106        '../src/animator/SkDrawFull.h',
107        '../src/animator/SkDrawGradient.cpp',
108        '../src/animator/SkDrawGradient.h',
109        '../src/animator/SkDrawGroup.cpp',
110        '../src/animator/SkDrawGroup.h',
111        '../src/animator/SkDrawLine.cpp',
112        '../src/animator/SkDrawLine.h',
113        '../src/animator/SkDrawMatrix.cpp',
114        '../src/animator/SkDrawMatrix.h',
115        '../src/animator/SkDrawOval.cpp',
116        '../src/animator/SkDrawOval.h',
117        '../src/animator/SkDrawPaint.cpp',
118        '../src/animator/SkDrawPaint.h',
119        '../src/animator/SkDrawPath.cpp',
120        '../src/animator/SkDrawPath.h',
121        '../src/animator/SkDrawPoint.cpp',
122        '../src/animator/SkDrawPoint.h',
123        '../src/animator/SkDrawRectangle.cpp',
124        '../src/animator/SkDrawRectangle.h',
125        '../src/animator/SkDrawSaveLayer.cpp',
126        '../src/animator/SkDrawSaveLayer.h',
127        '../src/animator/SkDrawShader.cpp',
128        '../src/animator/SkDrawShader.h',
129        '../src/animator/SkDrawText.cpp',
130        '../src/animator/SkDrawText.h',
131        '../src/animator/SkDrawTextBox.cpp',
132        '../src/animator/SkDrawTextBox.h',
133        '../src/animator/SkDrawTo.cpp',
134        '../src/animator/SkDrawTo.h',
135        '../src/animator/SkDrawTransparentShader.cpp',
136        '../src/animator/SkDrawTransparentShader.h',
137        '../src/animator/SkDump.cpp',
138        '../src/animator/SkDump.h',
139        '../src/animator/SkExtras.h',
140        '../src/animator/SkGetCondensedInfo.cpp',
141        '../src/animator/SkHitClear.cpp',
142        '../src/animator/SkHitClear.h',
143        '../src/animator/SkHitTest.cpp',
144        '../src/animator/SkHitTest.h',
145        '../src/animator/SkIntArray.h',
146        '../src/animator/SkMatrixParts.cpp',
147        '../src/animator/SkMatrixParts.h',
148        '../src/animator/SkMemberInfo.cpp',
149        '../src/animator/SkMemberInfo.h',
150        '../src/animator/SkOpArray.cpp',
151        '../src/animator/SkOpArray.h',
152        '../src/animator/SkOperand.h',
153        '../src/animator/SkOperand2.h',
154        '../src/animator/SkOperandInterpolator.h',
155        '../src/animator/SkOperandIterpolator.cpp',
156        '../src/animator/SkPaintPart.cpp',
157        '../src/animator/SkPaintPart.h',
158        '../src/animator/SkParseSVGPath.cpp',
159        '../src/animator/SkPathParts.cpp',
160        '../src/animator/SkPathParts.h',
161        '../src/animator/SkPostParts.cpp',
162        '../src/animator/SkPostParts.h',
163        '../src/animator/SkScript.cpp',
164        '../src/animator/SkScript.h',
165        '../src/animator/SkScript2.h',
166        '../src/animator/SkScriptCallBack.h',
167        '../src/animator/SkScriptDecompile.cpp',
168        '../src/animator/SkScriptRuntime.cpp',
169        '../src/animator/SkScriptRuntime.h',
170        '../src/animator/SkScriptTokenizer.cpp',
171        '../src/animator/SkSnapshot.cpp',
172        '../src/animator/SkSnapshot.h',
173        '../src/animator/SkTDArray_Experimental.h',
174        '../src/animator/SkTextOnPath.cpp',
175        '../src/animator/SkTextOnPath.h',
176        '../src/animator/SkTextToPath.cpp',
177        '../src/animator/SkTextToPath.h',
178        '../src/animator/SkTime.cpp',
179        '../src/animator/SkTypedArray.cpp',
180        '../src/animator/SkTypedArray.h',
181        '../src/animator/SkXMLAnimatorWriter.cpp',
182        '../src/animator/SkXMLAnimatorWriter.h',
183      ],
184      'direct_dependent_settings': {
185        'include_dirs': [
186          '../include/animator',
187        ],
188      },
189    },
190  ],
191}
192