OLD | NEW |
1 # Gyp for utils. | 1 # Gyp for utils. |
2 { | 2 { |
3 'targets': [ | 3 'targets': [ |
4 { | 4 { |
5 'target_name': 'utils', | 5 'target_name': 'utils', |
6 'product_name': 'skia_utils', | 6 'product_name': 'skia_utils', |
7 'type': 'static_library', | 7 'type': 'static_library', |
8 'standalone_static_library': 1, | 8 'standalone_static_library': 1, |
9 'dependencies': [ | 9 'dependencies': [ |
10 'core.gyp:*', | 10 'core.gyp:*', |
11 ], | 11 ], |
| 12 'includes': [ |
| 13 'utils.gypi', |
| 14 ], |
12 'include_dirs': [ | 15 'include_dirs': [ |
13 '../include/effects', | 16 '../include/effects', |
14 '../include/images', | 17 '../include/images', |
15 '../include/pathops', | 18 '../include/pathops', |
16 '../include/pipe', | 19 '../include/pipe', |
17 '../include/utils', | 20 '../include/utils', |
18 '../include/utils/mac', | 21 '../include/utils/mac', |
19 '../include/utils/unix', | 22 '../include/utils/unix', |
20 '../include/utils/win', | 23 '../include/utils/win', |
21 '../include/xml', | 24 '../include/xml', |
22 '../src/core', | 25 '../src/core', |
23 '../src/utils', | 26 '../src/utils', |
24 ], | 27 ], |
25 'sources': [ | 28 'sources': [ |
26 # Classes for a threadpool. | 29 'utils.gypi', # Makes the gypi appear in IDEs (but does not modify the b
uild). |
27 '../include/utils/SkCondVar.h', | |
28 '../include/utils/SkCountdown.h', | |
29 '../include/utils/SkRunnable.h', | |
30 '../include/utils/SkThreadPool.h', | |
31 '../src/utils/SkCondVar.cpp', | |
32 '../src/utils/SkCountdown.cpp', | |
33 | |
34 '../include/utils/SkBoundaryPatch.h', | |
35 '../include/utils/SkFrontBufferedStream.h', | |
36 '../include/utils/SkCamera.h', | |
37 '../include/utils/SkCanvasStateUtils.h', | |
38 '../include/utils/SkCubicInterval.h', | |
39 '../include/utils/SkCullPoints.h', | |
40 '../include/utils/SkDebugUtils.h', | |
41 '../include/utils/SkDeferredCanvas.h', | |
42 '../include/utils/SkDumpCanvas.h', | |
43 '../include/utils/SkEventTracer.h', | |
44 '../include/utils/SkInterpolator.h', | |
45 '../include/utils/SkLayer.h', | |
46 '../include/utils/SkMatrix44.h', | |
47 '../include/utils/SkMeshUtils.h', | |
48 '../include/utils/SkNinePatch.h', | |
49 '../include/utils/SkNoSaveLayerCanvas.h', | |
50 '../include/utils/SkNWayCanvas.h', | |
51 '../include/utils/SkNullCanvas.h', | |
52 '../include/utils/SkParse.h', | |
53 '../include/utils/SkParsePaint.h', | |
54 '../include/utils/SkParsePath.h', | |
55 '../include/utils/SkPictureUtils.h', | |
56 '../include/utils/SkRandom.h', | |
57 '../include/utils/SkRTConf.h', | |
58 '../include/utils/SkProxyCanvas.h', | |
59 '../include/utils/SkWGL.h', | |
60 | |
61 '../src/utils/SkBase64.cpp', | |
62 '../src/utils/SkBase64.h', | |
63 '../src/utils/SkBitmapHasher.cpp', | |
64 '../src/utils/SkBitmapHasher.h', | |
65 '../src/utils/SkBitSet.cpp', | |
66 '../src/utils/SkBitSet.h', | |
67 '../src/utils/SkBoundaryPatch.cpp', | |
68 '../src/utils/SkFrontBufferedStream.cpp', | |
69 '../src/utils/SkCamera.cpp', | |
70 '../src/utils/SkCanvasStack.h', | |
71 '../src/utils/SkCanvasStack.cpp', | |
72 '../src/utils/SkCanvasStateUtils.cpp', | |
73 '../src/utils/SkCubicInterval.cpp', | |
74 '../src/utils/SkCullPoints.cpp', | |
75 '../src/utils/SkDeferredCanvas.cpp', | |
76 '../src/utils/SkDumpCanvas.cpp', | |
77 '../src/utils/SkEventTracer.cpp', | |
78 '../src/utils/SkFloatUtils.h', | |
79 '../src/utils/SkGatherPixelRefsAndRects.cpp', | |
80 '../src/utils/SkGatherPixelRefsAndRects.h', | |
81 '../src/utils/SkInterpolator.cpp', | |
82 '../src/utils/SkLayer.cpp', | |
83 '../src/utils/SkMatrix22.cpp', | |
84 '../src/utils/SkMatrix22.h', | |
85 '../src/utils/SkMatrix44.cpp', | |
86 '../src/utils/SkMD5.cpp', | |
87 '../src/utils/SkMD5.h', | |
88 '../src/utils/SkMeshUtils.cpp', | |
89 '../src/utils/SkNinePatch.cpp', | |
90 '../src/utils/SkNWayCanvas.cpp', | |
91 '../src/utils/SkNullCanvas.cpp', | |
92 '../src/utils/SkOSFile.cpp', | |
93 '../src/utils/SkParse.cpp', | |
94 '../src/utils/SkParseColor.cpp', | |
95 '../src/utils/SkParsePath.cpp', | |
96 '../src/utils/SkPictureUtils.cpp', | |
97 '../src/utils/SkPathUtils.cpp', | |
98 '../src/utils/SkProxyCanvas.cpp', | |
99 '../src/utils/SkSHA1.cpp', | |
100 '../src/utils/SkSHA1.h', | |
101 '../src/utils/SkRTConf.cpp', | |
102 '../src/utils/SkThreadUtils.h', | |
103 '../src/utils/SkThreadUtils_pthread.cpp', | |
104 '../src/utils/SkThreadUtils_pthread.h', | |
105 '../src/utils/SkThreadUtils_pthread_linux.cpp', | |
106 '../src/utils/SkThreadUtils_pthread_mach.cpp', | |
107 '../src/utils/SkThreadUtils_pthread_other.cpp', | |
108 '../src/utils/SkThreadUtils_win.cpp', | |
109 '../src/utils/SkThreadUtils_win.h', | |
110 '../src/utils/SkTFitsIn.h', | |
111 '../src/utils/SkTLogic.h', | |
112 | |
113 #mac | |
114 '../include/utils/mac/SkCGUtils.h', | |
115 '../src/utils/mac/SkCreateCGImageRef.cpp', | |
116 | |
117 #windows | |
118 '../include/utils/win/SkAutoCoInitialize.h', | |
119 '../include/utils/win/SkHRESULT.h', | |
120 '../include/utils/win/SkIStream.h', | |
121 '../include/utils/win/SkTScopedComPtr.h', | |
122 '../src/utils/win/SkAutoCoInitialize.cpp', | |
123 '../src/utils/win/SkDWrite.h', | |
124 '../src/utils/win/SkDWrite.cpp', | |
125 '../src/utils/win/SkDWriteFontFileStream.cpp', | |
126 '../src/utils/win/SkDWriteFontFileStream.h', | |
127 '../src/utils/win/SkDWriteGeometrySink.cpp', | |
128 '../src/utils/win/SkDWriteGeometrySink.h', | |
129 '../src/utils/win/SkHRESULT.cpp', | |
130 '../src/utils/win/SkIStream.cpp', | |
131 '../src/utils/win/SkWGL_win.cpp', | |
132 | |
133 #testing | |
134 '../src/fonts/SkGScalerContext.cpp', | |
135 '../src/fonts/SkGScalerContext.h', | |
136 ], | 30 ], |
137 'sources!': [ | 31 'sources!': [ |
138 '../src/utils/SDL/SkOSWindow_SDL.cpp', | 32 '../src/utils/SDL/SkOSWindow_SDL.cpp', |
139 ], | 33 ], |
140 'conditions': [ | 34 'conditions': [ |
141 [ 'skia_os == "mac"', { | 35 [ 'skia_os == "mac"', { |
142 'link_settings': { | 36 'link_settings': { |
143 'libraries': [ | 37 'libraries': [ |
144 '$(SDKROOT)/System/Library/Frameworks/AGL.framework', | 38 '$(SDKROOT)/System/Library/Frameworks/AGL.framework', |
145 ], | 39 ], |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 ], | 123 ], |
230 'direct_dependent_settings': { | 124 'direct_dependent_settings': { |
231 'include_dirs': [ | 125 'include_dirs': [ |
232 '../include/utils', | 126 '../include/utils', |
233 '../src/utils', | 127 '../src/utils', |
234 ], | 128 ], |
235 }, | 129 }, |
236 }, | 130 }, |
237 ], | 131 ], |
238 } | 132 } |
OLD | NEW |