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 'utils' files
6# The parent gyp/gypi file must define
7#       'skia_src_path'     e.g. skia/trunk/src
8#       'skia_include_path' e.g. skia/trunk/include
9#
10# The skia build defines these in common_variables.gypi
11#
12{
13    'sources': [
14        # Classes for a threadpool.
15        '<(skia_src_path)/utils/SkCondVar.h',
16        '<(skia_src_path)/utils/SkRunnable.h',
17        '<(skia_src_path)/utils/SkCondVar.cpp',
18
19        '<(skia_include_path)/utils/SkBoundaryPatch.h',
20        '<(skia_include_path)/utils/SkFrontBufferedStream.h',
21        '<(skia_include_path)/utils/SkCamera.h',
22        '<(skia_include_path)/utils/SkCanvasStateUtils.h',
23        '<(skia_include_path)/utils/SkCubicInterval.h',
24        '<(skia_include_path)/utils/SkCullPoints.h',
25        '<(skia_include_path)/utils/SkDebugUtils.h',
26        '<(skia_include_path)/utils/SkDeferredCanvas.h',
27        '<(skia_include_path)/utils/SkDumpCanvas.h',
28        '<(skia_include_path)/utils/SkEventTracer.h',
29        '<(skia_include_path)/utils/SkInterpolator.h',
30        '<(skia_include_path)/utils/SkLayer.h',
31        '<(skia_include_path)/utils/SkMatrix44.h',
32        '<(skia_include_path)/utils/SkMeshUtils.h',
33        '<(skia_include_path)/utils/SkNinePatch.h',
34        '<(skia_include_path)/utils/SkNoSaveLayerCanvas.h',
35        '<(skia_include_path)/utils/SkNWayCanvas.h',
36        '<(skia_include_path)/utils/SkNullCanvas.h',
37        '<(skia_include_path)/utils/SkPaintFilterCanvas.h',
38        '<(skia_include_path)/utils/SkParse.h',
39        '<(skia_include_path)/utils/SkParsePaint.h',
40        '<(skia_include_path)/utils/SkParsePath.h',
41        '<(skia_include_path)/utils/SkPictureUtils.h',
42        '<(skia_include_path)/utils/SkRandom.h',
43        '<(skia_include_path)/utils/SkRTConf.h',
44        '<(skia_include_path)/utils/SkTextBox.h',
45
46        '<(skia_src_path)/utils/SkBase64.cpp',
47        '<(skia_src_path)/utils/SkBase64.h',
48        '<(skia_src_path)/utils/SkBitmapHasher.cpp',
49        '<(skia_src_path)/utils/SkBitmapHasher.h',
50        '<(skia_src_path)/utils/SkBitSet.cpp',
51        '<(skia_src_path)/utils/SkBitSet.h',
52        '<(skia_src_path)/utils/SkBoundaryPatch.cpp',
53        '<(skia_src_path)/utils/SkFrontBufferedStream.cpp',
54        '<(skia_src_path)/utils/SkCamera.cpp',
55        '<(skia_src_path)/utils/SkCanvasStack.h',
56        '<(skia_src_path)/utils/SkCanvasStack.cpp',
57        '<(skia_src_path)/utils/SkCanvasStateUtils.cpp',
58        '<(skia_src_path)/utils/SkCubicInterval.cpp',
59        '<(skia_src_path)/utils/SkCullPoints.cpp',
60        '<(skia_src_path)/utils/SkDashPath.cpp',
61        '<(skia_src_path)/utils/SkDashPathPriv.h',
62        '<(skia_src_path)/utils/SkDeferredCanvas.cpp',
63        '<(skia_src_path)/utils/SkDumpCanvas.cpp',
64        '<(skia_src_path)/utils/SkEventTracer.cpp',
65        '<(skia_src_path)/utils/SkFloatUtils.h',
66        '<(skia_src_path)/utils/SkInterpolator.cpp',
67        '<(skia_src_path)/utils/SkLayer.cpp',
68        '<(skia_src_path)/utils/SkMatrix22.cpp',
69        '<(skia_src_path)/utils/SkMatrix22.h',
70        '<(skia_src_path)/utils/SkMatrix44.cpp',
71        '<(skia_src_path)/utils/SkMD5.cpp',
72        '<(skia_src_path)/utils/SkMD5.h',
73        '<(skia_src_path)/utils/SkMeshUtils.cpp',
74        '<(skia_src_path)/utils/SkNinePatch.cpp',
75        '<(skia_src_path)/utils/SkNWayCanvas.cpp',
76        '<(skia_src_path)/utils/SkNullCanvas.cpp',
77        '<(skia_src_path)/utils/SkOSFile.cpp',
78        '<(skia_src_path)/utils/SkPaintFilterCanvas.cpp',
79        '<(skia_src_path)/utils/SkParse.cpp',
80        '<(skia_src_path)/utils/SkParseColor.cpp',
81        '<(skia_src_path)/utils/SkParsePath.cpp',
82        '<(skia_src_path)/utils/SkPictureUtils.cpp',
83        '<(skia_src_path)/utils/SkPatchGrid.cpp',
84        '<(skia_src_path)/utils/SkPatchGrid.h',
85        '<(skia_src_path)/utils/SkPatchUtils.cpp',
86        '<(skia_src_path)/utils/SkPatchUtils.h',
87        '<(skia_src_path)/utils/SkSHA1.cpp',
88        '<(skia_src_path)/utils/SkSHA1.h',
89        '<(skia_src_path)/utils/SkRTConf.cpp',
90        '<(skia_src_path)/utils/SkTextBox.cpp',
91        '<(skia_src_path)/utils/SkTextureCompressor.cpp',
92        '<(skia_src_path)/utils/SkTextureCompressor.h',
93        '<(skia_src_path)/utils/SkTextureCompressor_Utils.h',
94        '<(skia_src_path)/utils/SkTextureCompressor_ASTC.cpp',
95        '<(skia_src_path)/utils/SkTextureCompressor_ASTC.h',
96        '<(skia_src_path)/utils/SkTextureCompressor_Blitter.h',
97        '<(skia_src_path)/utils/SkTextureCompressor_R11EAC.cpp',
98        '<(skia_src_path)/utils/SkTextureCompressor_R11EAC.h',
99        '<(skia_src_path)/utils/SkTextureCompressor_LATC.cpp',
100        '<(skia_src_path)/utils/SkTextureCompressor_LATC.h',
101        '<(skia_src_path)/utils/SkThreadUtils.h',
102        '<(skia_src_path)/utils/SkThreadUtils_pthread.cpp',
103        '<(skia_src_path)/utils/SkThreadUtils_pthread.h',
104        '<(skia_src_path)/utils/SkThreadUtils_pthread_linux.cpp',
105        '<(skia_src_path)/utils/SkThreadUtils_pthread_mach.cpp',
106        '<(skia_src_path)/utils/SkThreadUtils_pthread_other.cpp',
107        '<(skia_src_path)/utils/SkThreadUtils_win.cpp',
108        '<(skia_src_path)/utils/SkThreadUtils_win.h',
109        '<(skia_src_path)/utils/SkTFitsIn.h',
110        '<(skia_src_path)/utils/SkTLogic.h',
111
112        #mac
113        '<(skia_include_path)/utils/mac/SkCGUtils.h',
114        '<(skia_src_path)/utils/mac/SkCreateCGImageRef.cpp',
115
116        #windows
117        '<(skia_include_path)/utils/win/SkAutoCoInitialize.h',
118        '<(skia_include_path)/utils/win/SkHRESULT.h',
119        '<(skia_include_path)/utils/win/SkIStream.h',
120        '<(skia_include_path)/utils/win/SkTScopedComPtr.h',
121        '<(skia_src_path)/utils/win/SkAutoCoInitialize.cpp',
122        '<(skia_src_path)/utils/win/SkDWrite.h',
123        '<(skia_src_path)/utils/win/SkDWrite.cpp',
124        '<(skia_src_path)/utils/win/SkDWriteFontFileStream.cpp',
125        '<(skia_src_path)/utils/win/SkDWriteFontFileStream.h',
126        '<(skia_src_path)/utils/win/SkDWriteGeometrySink.cpp',
127        '<(skia_src_path)/utils/win/SkDWriteGeometrySink.h',
128        '<(skia_src_path)/utils/win/SkHRESULT.cpp',
129        '<(skia_src_path)/utils/win/SkIStream.cpp',
130        '<(skia_src_path)/utils/win/SkWGL.h',
131        '<(skia_src_path)/utils/win/SkWGL_win.cpp',
132
133        #testing
134        '<(skia_src_path)/fonts/SkGScalerContext.cpp',
135        '<(skia_src_path)/fonts/SkGScalerContext.h',
136        '<(skia_src_path)/fonts/SkTestScalerContext.cpp',
137        '<(skia_src_path)/fonts/SkTestScalerContext.h',
138    ],
139}
140