aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp/core.gyp
blob: c9ff391abace7e7feb9bb017cd1c54bd3621681b (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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
# Core Skia library code.
{
  'targets': [
    {
      'target_name': 'core',
      'type': 'static_library',
      'msvs_guid': 'B7760B5E-BFA8-486B-ACFD-49E3A6DE8E76',
      'sources': [
        '../src/core/ARGB32_Clamp_Bilinear_BitmapShader.h',
        '../src/core/Sk64.cpp',
        '../src/core/SkAAClip.cpp',
        '../src/core/SkAdvancedTypefaceMetrics.cpp',
        '../src/core/SkAlphaRuns.cpp',
        '../src/core/SkAntiRun.h',
        '../src/core/SkBitmap.cpp',
        '../src/core/SkBitmapProcShader.cpp',
        '../src/core/SkBitmapProcShader.h',
        '../src/core/SkBitmapProcState.cpp',
        '../src/core/SkBitmapProcState.h',
        '../src/core/SkBitmapProcState_matrix.h',
        '../src/core/SkBitmapProcState_matrixProcs.cpp',
        '../src/core/SkBitmapProcState_sample.h',
        '../src/core/SkBitmapSampler.cpp',
        '../src/core/SkBitmapSampler.h',
        '../src/core/SkBitmapSamplerTemplate.h',
        '../src/core/SkBitmapShader16BilerpTemplate.h',
        '../src/core/SkBitmapShaderTemplate.h',
        '../src/core/SkBitmap_scroll.cpp',
        '../src/core/SkBlitBWMaskTemplate.h',
        '../src/core/SkBlitMask_D32.cpp',
        '../src/core/SkBlitRow_D16.cpp',
        '../src/core/SkBlitRow_D32.cpp',
        '../src/core/SkBlitRow_D4444.cpp',
        '../src/core/SkBlitter.cpp',
        '../src/core/SkBlitter_4444.cpp',
        '../src/core/SkBlitter_A1.cpp',
        '../src/core/SkBlitter_A8.cpp',
        '../src/core/SkBlitter_ARGB32.cpp',
        '../src/core/SkBlitter_RGB16.cpp',
        '../src/core/SkBlitter_Sprite.cpp',
        '../src/core/SkBuffer.cpp',
        '../src/core/SkCanvas.cpp',
        '../src/core/SkChunkAlloc.cpp',
        '../src/core/SkClipStack.cpp',
        '../src/core/SkColor.cpp',
        '../src/core/SkColorFilter.cpp',
        '../src/core/SkColorTable.cpp',
        '../src/core/SkComposeShader.cpp',
        '../src/core/SkConcaveToTriangles.cpp',
        '../src/core/SkConcaveToTriangles.h',
        '../src/core/SkConfig8888.cpp',
        '../src/core/SkConfig8888.h',
        '../src/core/SkCordic.cpp',
        '../src/core/SkCordic.h',
        '../src/core/SkCoreBlitters.h',
        '../src/core/SkCubicClipper.cpp',
        '../src/core/SkCubicClipper.h',
        '../src/core/SkData.cpp',
        '../src/core/SkDebug.cpp',
        '../src/core/SkDeque.cpp',
        '../src/core/SkDevice.cpp',
        '../src/core/SkDeviceProfile.cpp',
        '../src/core/SkDither.cpp',
        '../src/core/SkDraw.cpp',
        '../src/core/SkDrawProcs.h',
        '../src/core/SkEdgeBuilder.cpp',
        '../src/core/SkEdgeClipper.cpp',
        '../src/core/SkEdge.cpp',
        '../src/core/SkEdge.h',
        '../src/core/SkFP.h',
        '../src/core/SkFilterProc.cpp',
        '../src/core/SkFilterProc.h',
        '../src/core/SkFlattenable.cpp',
        '../src/core/SkFloat.cpp',
        '../src/core/SkFloat.h',
        '../src/core/SkFloatBits.cpp',
        '../src/core/SkFontHost.cpp',
        '../src/core/SkGeometry.cpp',
        '../src/core/SkGlyphCache.cpp',
        '../src/core/SkGlyphCache.h',
        '../src/core/SkGraphics.cpp',
        '../src/core/SkLineClipper.cpp',
        '../src/core/SkMallocPixelRef.cpp',
        '../src/core/SkMask.cpp',
        '../src/core/SkMaskFilter.cpp',
        '../src/core/SkMath.cpp',
        '../src/core/SkMatrix.cpp',
        '../src/core/SkMetaData.cpp',
        '../src/core/SkMMapStream.cpp',
        '../src/core/SkOrderedReadBuffer.cpp',
        '../src/core/SkOrderedWriteBuffer.cpp',
        '../src/core/SkPackBits.cpp',
        '../src/core/SkPaint.cpp',
        '../src/core/SkPath.cpp',
        '../src/core/SkPathEffect.cpp',
        '../src/core/SkPathHeap.cpp',
        '../src/core/SkPathHeap.h',
        '../src/core/SkPathMeasure.cpp',
        '../src/core/SkPicture.cpp',
        '../src/core/SkPictureFlat.cpp',
        '../src/core/SkPictureFlat.h',
        '../src/core/SkPicturePlayback.cpp',
        '../src/core/SkPicturePlayback.h',
        '../src/core/SkPictureRecord.cpp',
        '../src/core/SkPictureRecord.h',
        '../src/core/SkPixelRef.cpp',
        '../src/core/SkPoint.cpp',
        '../src/core/SkProcSpriteBlitter.cpp',
        '../src/core/SkPtrRecorder.cpp',
        '../src/core/SkQuadClipper.cpp',
        '../src/core/SkQuadClipper.h',
        '../src/core/SkRasterClip.cpp',
        '../src/core/SkRasterizer.cpp',
        '../src/core/SkRect.cpp',
        '../src/core/SkRefDict.cpp',
        '../src/core/SkRegion.cpp',
        '../src/core/SkRegionPriv.h',
        '../src/core/SkRegion_path.cpp',
        '../src/core/SkScalar.cpp',
        '../src/core/SkScalerContext.cpp',
        '../src/core/SkScan.cpp',
        '../src/core/SkScanPriv.h',
        '../src/core/SkScan_AntiPath.cpp',
        '../src/core/SkScan_Antihair.cpp',
        '../src/core/SkScan_Hairline.cpp',
        '../src/core/SkScan_Path.cpp',
        '../src/core/SkShader.cpp',
        '../src/core/SkShape.cpp',
        '../src/core/SkSpriteBlitter_ARGB32.cpp',
        '../src/core/SkSpriteBlitter_RGB16.cpp',
        '../src/core/SkSinTable.h',
        '../src/core/SkSpriteBlitter.h',
        '../src/core/SkSpriteBlitterTemplate.h',
        '../src/core/SkStream.cpp',
        '../src/core/SkString.cpp',
        '../src/core/SkStroke.h',
        '../src/core/SkStroke.cpp',
        '../src/core/SkStrokerPriv.cpp',
        '../src/core/SkStrokerPriv.h',
        '../src/core/SkTextFormatParams.h',
        '../src/core/SkTLS.cpp',
        '../src/core/SkTSearch.cpp',
        '../src/core/SkTSort.h',
        '../src/core/SkTemplatesPriv.h',
        '../src/core/SkTypeface.cpp',
        '../src/core/SkTypefaceCache.cpp',
        '../src/core/SkTypefaceCache.h',
        '../src/core/SkUnPreMultiply.cpp',
        '../src/core/SkUtils.cpp',
        '../src/core/SkWriter32.cpp',
        '../src/core/SkXfermode.cpp',

        '../include/core/Sk64.h',
        '../include/core/SkAdvancedTypefaceMetrics.h',
        '../include/core/SkAutoKern.h',
        '../include/core/SkBitmap.h',
        '../include/core/SkBlitRow.h',
        '../include/core/SkBlitter.h',
        '../include/core/SkBounder.h',
        '../include/core/SkBuffer.h',
        '../include/core/SkCanvas.h',
        '../include/core/SkChunkAlloc.h',
        '../include/core/SkClipStack.h',
        '../include/core/SkColor.h',
        '../include/core/SkColorFilter.h',
        '../include/core/SkColorPriv.h',
        '../include/core/SkColorShader.h',
        '../include/core/SkComposeShader.h',
        '../include/core/SkData.h',
        '../include/core/SkDeque.h',
        '../include/core/SkDescriptor.h',
        '../include/core/SkDevice.h',
        '../include/core/SkDither.h',
        '../include/core/SkDraw.h',
        '../include/core/SkDrawFilter.h',
        '../include/core/SkDrawLooper.h',
        '../include/core/SkEndian.h',
        '../include/core/SkFDot6.h',
        '../include/core/SkFixed.h',
        '../include/core/SkFlattenable.h',
        '../include/core/SkFloatBits.h',
        '../include/core/SkFloatingPoint.h',
        '../include/core/SkFontHost.h',
        '../include/core/SkGeometry.h',
        '../include/core/SkGraphics.h',
        '../include/core/SkMallocPixelRef.h',
        '../include/core/SkMask.h',
        '../include/core/SkMaskFilter.h',
        '../include/core/SkMath.h',
        '../include/core/SkMatrix.h',
        '../include/core/SkMetaData.h',
        '../include/core/SkMMapStream.h',
        '../include/core/SkOSFile.h',
        '../include/core/SkPackBits.h',
        '../include/core/SkPaint.h',
        '../include/core/SkPath.h',
        '../include/core/SkPathEffect.h',
        '../include/core/SkPathMeasure.h',
        '../include/core/SkPerspIter.h',
        '../include/core/SkPicture.h',
        '../include/core/SkPixelRef.h',
        '../include/core/SkPoint.h',
        '../include/core/SkPtrRecorder.h',
        '../include/core/SkRandom.h',
        '../include/core/SkRasterizer.h',
        '../include/core/SkReader32.h',
        '../include/core/SkRect.h',
        '../include/core/SkRefCnt.h',
        '../include/core/SkRefDict.h',
        '../include/core/SkRegion.h',
        '../include/core/SkScalar.h',
        '../include/core/SkScalarCompare.h',
        '../include/core/SkScalerContext.h',
        '../include/core/SkScan.h',
        '../include/core/SkShader.h',
        '../include/core/SkStream.h',
        '../include/core/SkString.h',
        '../include/core/SkTArray.h',
        '../include/core/SkTDArray.h',
        '../include/core/SkTDStack.h',
        '../include/core/SkTDict.h',
        '../include/core/SkTRegistry.h',
        '../include/core/SkTScopedPtr.h',
        '../include/core/SkTSearch.h',
        '../include/core/SkTemplates.h',
        '../include/core/SkThread.h',
        '../include/core/SkThread_platform.h',
        '../include/core/SkTime.h',
        '../include/core/SkTLazy.h',
        '../include/core/SkTrace.h',
        '../include/core/SkTypeface.h',
        '../include/core/SkTypes.h',
        '../include/core/SkUnPreMultiply.h',
        '../include/core/SkUnitMapper.h',
        '../include/core/SkUtils.h',
        '../include/core/SkWeakRefCnt.h',
        '../include/core/SkWriter32.h',
        '../include/core/SkXfermode.h',
      ],
      'include_dirs': [
        '../include/config',
        '../include/core',
        '../include/ports',
        '../include/xml',
        '../src/core',
      ],
      'msvs_disabled_warnings': [4244, 4267,4345, 4390, 4554, 4800],
      'conditions': [
        [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', {
          'cflags': [
            '-Wno-unused',
            '-Wno-unused-function',
          ],
          'link_settings': {
            'libraries': [
              '-lfreetype',
              '-lpthread',
            ],
          },
        }],
        [ 'skia_os == "mac"', {
          'include_dirs': [
            '../include/utils/mac',
            '../third_party/freetype/include/**',
          ],
          'sources': [
            '../include/utils/mac/SkCGUtils.h',
          ],
          'link_settings': {
            'libraries': [
              '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework',
            ],
          },
        }],
        [ 'skia_os == "ios"', {
          'include_dirs': [
            '../include/utils/ios',
          ],
          'sources': [
            '../include/utils/mac/SkCGUtils.h',
          ],
          'link_settings': {
            'libraries': [
              '/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/System/Library/Frameworks/CoreFoundation.framework',
              '/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/System/Library/Frameworks/CoreGraphics.framework',
              '/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/System/Library/Frameworks/CoreText.framework',
              '/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/System/Library/Frameworks/UIKit.framework',
              '/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/System/Library/Frameworks/Foundation.framework',
              '/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/System/Library/Frameworks/QuartzCore.framework',
              '/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/System/Library/Frameworks/OpenGLES.framework',
            ],
          },
        }],
        [ 'skia_os == "win"', {
          'include_dirs': [
            'config/win',
          ],
          'sources!': [
            '../include/core/SkMMapStream.h',
            '../src/core/SkMMapStream.cpp',
          ],
        }],
        [ 'skia_os == "android"', {
          'dependencies': [
             'android_system.gyp:ft2',
          ],
        }],        
      ],
      'direct_dependent_settings': {
        'include_dirs': [
          'config',
          '../include/config',
          '../include/core',
          'ext',
        ],
      },
      'dependencies': [
        'opts.gyp:opts'
      ],
    },
  ],
}

# Local Variables:
# tab-width:2
# indent-tabs-mode:nil
# End:
# vim: set expandtab tabstop=2 shiftwidth=2: