epoger@google.com | 51c078b | 2011-05-31 19:02:37 +0000 | [diff] [blame] | 1 | # Core Skia library code. |
bsalomon@google.com | a9681db | 2011-03-21 13:34:23 +0000 | [diff] [blame] | 2 | { |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 3 | 'includes': [ |
epoger@google.com | 5351b37 | 2011-07-01 17:16:26 +0000 | [diff] [blame] | 4 | 'common.gypi', |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 5 | ], |
bsalomon@google.com | a9681db | 2011-03-21 13:34:23 +0000 | [diff] [blame] | 6 | 'targets': [ |
| 7 | { |
epoger@google.com | 51c078b | 2011-05-31 19:02:37 +0000 | [diff] [blame] | 8 | 'target_name': 'core', |
bsalomon@google.com | a9681db | 2011-03-21 13:34:23 +0000 | [diff] [blame] | 9 | 'type': 'static_library', |
| 10 | 'msvs_guid': 'B7760B5E-BFA8-486B-ACFD-49E3A6DE8E76', |
| 11 | 'sources': [ |
| 12 | '../src/core/ARGB32_Clamp_Bilinear_BitmapShader.h', |
| 13 | '../src/core/Sk64.cpp', |
reed@google.com | 719fd04 | 2011-10-10 16:04:26 +0000 | [diff] [blame] | 14 | '../src/core/SkAAClip.cpp', |
bsalomon@google.com | a9681db | 2011-03-21 13:34:23 +0000 | [diff] [blame] | 15 | '../src/core/SkAdvancedTypefaceMetrics.cpp', |
| 16 | '../src/core/SkAlphaRuns.cpp', |
| 17 | '../src/core/SkAntiRun.h', |
| 18 | '../src/core/SkBitmap.cpp', |
| 19 | '../src/core/SkBitmapProcShader.cpp', |
| 20 | '../src/core/SkBitmapProcShader.h', |
| 21 | '../src/core/SkBitmapProcState.cpp', |
| 22 | '../src/core/SkBitmapProcState.h', |
| 23 | '../src/core/SkBitmapProcState_matrix.h', |
| 24 | '../src/core/SkBitmapProcState_matrixProcs.cpp', |
| 25 | '../src/core/SkBitmapProcState_sample.h', |
| 26 | '../src/core/SkBitmapSampler.cpp', |
| 27 | '../src/core/SkBitmapSampler.h', |
| 28 | '../src/core/SkBitmapSamplerTemplate.h', |
| 29 | '../src/core/SkBitmapShader16BilerpTemplate.h', |
| 30 | '../src/core/SkBitmapShaderTemplate.h', |
| 31 | '../src/core/SkBitmap_scroll.cpp', |
| 32 | '../src/core/SkBlitBWMaskTemplate.h', |
reed@google.com | edb606c | 2011-10-18 13:56:50 +0000 | [diff] [blame] | 33 | '../src/core/SkBlitMask_D32.cpp', |
bsalomon@google.com | a9681db | 2011-03-21 13:34:23 +0000 | [diff] [blame] | 34 | '../src/core/SkBlitRow_D16.cpp', |
| 35 | '../src/core/SkBlitRow_D32.cpp', |
| 36 | '../src/core/SkBlitRow_D4444.cpp', |
| 37 | '../src/core/SkBlitter.cpp', |
| 38 | '../src/core/SkBlitter_4444.cpp', |
| 39 | '../src/core/SkBlitter_A1.cpp', |
| 40 | '../src/core/SkBlitter_A8.cpp', |
| 41 | '../src/core/SkBlitter_ARGB32.cpp', |
| 42 | '../src/core/SkBlitter_RGB16.cpp', |
| 43 | '../src/core/SkBlitter_Sprite.cpp', |
| 44 | '../src/core/SkBuffer.cpp', |
| 45 | '../src/core/SkCanvas.cpp', |
| 46 | '../src/core/SkChunkAlloc.cpp', |
bsalomon@google.com | 1217afe | 2011-04-19 13:44:20 +0000 | [diff] [blame] | 47 | '../src/core/SkClampRange.cpp', |
bsalomon@google.com | a9681db | 2011-03-21 13:34:23 +0000 | [diff] [blame] | 48 | '../src/core/SkClipStack.cpp', |
| 49 | '../src/core/SkColor.cpp', |
| 50 | '../src/core/SkColorFilter.cpp', |
| 51 | '../src/core/SkColorTable.cpp', |
| 52 | '../src/core/SkComposeShader.cpp', |
| 53 | '../src/core/SkConcaveToTriangles.cpp', |
| 54 | '../src/core/SkConcaveToTriangles.h', |
| 55 | '../src/core/SkCordic.cpp', |
| 56 | '../src/core/SkCordic.h', |
| 57 | '../src/core/SkCoreBlitters.h', |
| 58 | '../src/core/SkCubicClipper.cpp', |
| 59 | '../src/core/SkCubicClipper.h', |
reed@google.com | 8d0b577 | 2011-06-24 13:07:31 +0000 | [diff] [blame] | 60 | '../src/core/SkData.cpp', |
bsalomon@google.com | a9681db | 2011-03-21 13:34:23 +0000 | [diff] [blame] | 61 | '../src/core/SkDebug.cpp', |
| 62 | '../src/core/SkDeque.cpp', |
| 63 | '../src/core/SkDevice.cpp', |
| 64 | '../src/core/SkDither.cpp', |
| 65 | '../src/core/SkDraw.cpp', |
| 66 | '../src/core/SkDrawProcs.h', |
| 67 | '../src/core/SkEdgeBuilder.cpp', |
| 68 | '../src/core/SkEdgeClipper.cpp', |
| 69 | '../src/core/SkEdge.cpp', |
| 70 | '../src/core/SkEdge.h', |
| 71 | '../src/core/SkFP.h', |
| 72 | '../src/core/SkFilterProc.cpp', |
| 73 | '../src/core/SkFilterProc.h', |
| 74 | '../src/core/SkFlattenable.cpp', |
| 75 | '../src/core/SkFloat.cpp', |
| 76 | '../src/core/SkFloat.h', |
| 77 | '../src/core/SkFloatBits.cpp', |
bsalomon@google.com | c386b87 | 2011-05-19 14:39:57 +0000 | [diff] [blame] | 78 | '../src/core/SkFontHost.cpp', |
bsalomon@google.com | a9681db | 2011-03-21 13:34:23 +0000 | [diff] [blame] | 79 | '../src/core/SkGeometry.cpp', |
| 80 | '../src/core/SkGlobals.cpp', |
| 81 | '../src/core/SkGlyphCache.cpp', |
| 82 | '../src/core/SkGlyphCache.h', |
| 83 | '../src/core/SkGraphics.cpp', |
| 84 | '../src/core/SkLineClipper.cpp', |
| 85 | '../src/core/SkMallocPixelRef.cpp', |
| 86 | '../src/core/SkMask.cpp', |
| 87 | '../src/core/SkMaskFilter.cpp', |
| 88 | '../src/core/SkMath.cpp', |
| 89 | '../src/core/SkMatrix.cpp', |
reed@google.com | 5e3496e | 2011-03-30 17:10:42 +0000 | [diff] [blame] | 90 | '../src/core/SkMetaData.cpp', |
bsalomon@google.com | a9681db | 2011-03-21 13:34:23 +0000 | [diff] [blame] | 91 | '../src/core/SkPackBits.cpp', |
| 92 | '../src/core/SkPaint.cpp', |
| 93 | '../src/core/SkPath.cpp', |
| 94 | '../src/core/SkPathEffect.cpp', |
| 95 | '../src/core/SkPathHeap.cpp', |
| 96 | '../src/core/SkPathHeap.h', |
| 97 | '../src/core/SkPathMeasure.cpp', |
| 98 | '../src/core/SkPicture.cpp', |
| 99 | '../src/core/SkPictureFlat.cpp', |
| 100 | '../src/core/SkPictureFlat.h', |
| 101 | '../src/core/SkPicturePlayback.cpp', |
| 102 | '../src/core/SkPicturePlayback.h', |
| 103 | '../src/core/SkPictureRecord.cpp', |
| 104 | '../src/core/SkPictureRecord.h', |
| 105 | '../src/core/SkPixelRef.cpp', |
| 106 | '../src/core/SkPoint.cpp', |
| 107 | '../src/core/SkProcSpriteBlitter.cpp', |
| 108 | '../src/core/SkPtrRecorder.cpp', |
| 109 | '../src/core/SkQuadClipper.cpp', |
| 110 | '../src/core/SkQuadClipper.h', |
reed@google.com | c2188cf | 2011-10-11 18:00:20 +0000 | [diff] [blame] | 111 | '../src/core/SkRasterClip.cpp', |
bsalomon@google.com | a9681db | 2011-03-21 13:34:23 +0000 | [diff] [blame] | 112 | '../src/core/SkRasterizer.cpp', |
| 113 | '../src/core/SkRect.cpp', |
| 114 | '../src/core/SkRefDict.cpp', |
| 115 | '../src/core/SkRegion.cpp', |
| 116 | '../src/core/SkRegionPriv.h', |
| 117 | '../src/core/SkRegion_path.cpp', |
| 118 | '../src/core/SkScalar.cpp', |
| 119 | '../src/core/SkScalerContext.cpp', |
| 120 | '../src/core/SkScan.cpp', |
| 121 | '../src/core/SkScanPriv.h', |
| 122 | '../src/core/SkScan_AntiPath.cpp', |
| 123 | '../src/core/SkScan_Antihair.cpp', |
| 124 | '../src/core/SkScan_Hairline.cpp', |
| 125 | '../src/core/SkScan_Path.cpp', |
| 126 | '../src/core/SkShader.cpp', |
| 127 | '../src/core/SkShape.cpp', |
| 128 | '../src/core/SkSpriteBlitter_ARGB32.cpp', |
| 129 | '../src/core/SkSpriteBlitter_RGB16.cpp', |
| 130 | '../src/core/SkSinTable.h', |
| 131 | '../src/core/SkSpriteBlitter.h', |
| 132 | '../src/core/SkSpriteBlitterTemplate.h', |
| 133 | '../src/core/SkStream.cpp', |
| 134 | '../src/core/SkString.cpp', |
| 135 | '../src/core/SkStroke.cpp', |
| 136 | '../src/core/SkStrokerPriv.cpp', |
| 137 | '../src/core/SkStrokerPriv.h', |
| 138 | '../src/core/SkTextFormatParams.h', |
| 139 | '../src/core/SkTSearch.cpp', |
| 140 | '../src/core/SkTSort.h', |
| 141 | '../src/core/SkTemplatesPriv.h', |
| 142 | '../src/core/SkTypeface.cpp', |
bsalomon@google.com | 2b35799 | 2011-05-02 20:46:48 +0000 | [diff] [blame] | 143 | '../src/core/SkTypefaceCache.cpp', |
| 144 | '../src/core/SkTypefaceCache.h', |
bsalomon@google.com | a9681db | 2011-03-21 13:34:23 +0000 | [diff] [blame] | 145 | '../src/core/SkUnPreMultiply.cpp', |
| 146 | '../src/core/SkUtils.cpp', |
| 147 | '../src/core/SkWriter32.cpp', |
| 148 | '../src/core/SkXfermode.cpp', |
| 149 | |
| 150 | '../src/opts/opts_check_SSE2.cpp', |
| 151 | |
| 152 | '../src/ports/SkDebug_stdio.cpp', |
bsalomon@google.com | 2b35799 | 2011-05-02 20:46:48 +0000 | [diff] [blame] | 153 | '../src/ports/SkDebug_win.cpp', |
bsalomon@google.com | 5835722 | 2011-07-08 16:10:53 +0000 | [diff] [blame] | 154 | '../src/ports/SkFontHost_win.cpp', |
| 155 | '../src/ports/SkThread_win.cpp', |
bsalomon@google.com | 2b35799 | 2011-05-02 20:46:48 +0000 | [diff] [blame] | 156 | |
bsalomon@google.com | a9681db | 2011-03-21 13:34:23 +0000 | [diff] [blame] | 157 | '../src/ports/SkFontHost_tables.cpp', |
| 158 | '../src/ports/SkGlobals_global.cpp', |
| 159 | '../src/ports/SkMemory_malloc.cpp', |
| 160 | '../src/ports/SkOSFile_stdio.cpp', |
| 161 | '../src/ports/SkTime_Unix.cpp', |
bungeman@google.com | 206c98a | 2011-05-31 21:21:54 +0000 | [diff] [blame] | 162 | '../src/ports/SkTime_win.cpp', |
bsalomon@google.com | a9681db | 2011-03-21 13:34:23 +0000 | [diff] [blame] | 163 | '../src/ports/SkXMLParser_empty.cpp', |
| 164 | '../src/ports/sk_predefined_gamma.h', |
| 165 | |
| 166 | '../include/core/Sk64.h', |
| 167 | '../include/core/SkAdvancedTypefaceMetrics.h', |
| 168 | '../include/core/SkAutoKern.h', |
| 169 | '../include/core/SkBitmap.h', |
| 170 | '../include/core/SkBlitRow.h', |
| 171 | '../include/core/SkBlitter.h', |
| 172 | '../include/core/SkBounder.h', |
| 173 | '../include/core/SkBuffer.h', |
| 174 | '../include/core/SkCanvas.h', |
| 175 | '../include/core/SkChunkAlloc.h', |
bsalomon@google.com | 1217afe | 2011-04-19 13:44:20 +0000 | [diff] [blame] | 176 | '../include/core/SkClampRange.h', |
bsalomon@google.com | a9681db | 2011-03-21 13:34:23 +0000 | [diff] [blame] | 177 | '../include/core/SkClipStack.h', |
| 178 | '../include/core/SkColor.h', |
| 179 | '../include/core/SkColorFilter.h', |
| 180 | '../include/core/SkColorPriv.h', |
| 181 | '../include/core/SkColorShader.h', |
| 182 | '../include/core/SkComposeShader.h', |
reed@google.com | 8d0b577 | 2011-06-24 13:07:31 +0000 | [diff] [blame] | 183 | '../include/core/SkData.h', |
bsalomon@google.com | a9681db | 2011-03-21 13:34:23 +0000 | [diff] [blame] | 184 | '../include/core/SkDeque.h', |
| 185 | '../include/core/SkDescriptor.h', |
| 186 | '../include/core/SkDevice.h', |
| 187 | '../include/core/SkDither.h', |
| 188 | '../include/core/SkDraw.h', |
| 189 | '../include/core/SkDrawFilter.h', |
| 190 | '../include/core/SkDrawLooper.h', |
| 191 | '../include/core/SkEndian.h', |
| 192 | '../include/core/SkFDot6.h', |
| 193 | '../include/core/SkFixed.h', |
| 194 | '../include/core/SkFlattenable.h', |
| 195 | '../include/core/SkFloatBits.h', |
| 196 | '../include/core/SkFloatingPoint.h', |
| 197 | '../include/core/SkFontHost.h', |
| 198 | '../include/core/SkGeometry.h', |
| 199 | '../include/core/SkGlobals.h', |
| 200 | '../include/core/SkGraphics.h', |
| 201 | '../include/core/SkMallocPixelRef.h', |
| 202 | '../include/core/SkMask.h', |
| 203 | '../include/core/SkMaskFilter.h', |
| 204 | '../include/core/SkMath.h', |
| 205 | '../include/core/SkMatrix.h', |
reed@google.com | 5e3496e | 2011-03-30 17:10:42 +0000 | [diff] [blame] | 206 | '../include/core/SkMetaData.h', |
bsalomon@google.com | a9681db | 2011-03-21 13:34:23 +0000 | [diff] [blame] | 207 | '../include/core/SkOSFile.h', |
| 208 | '../include/core/SkPackBits.h', |
| 209 | '../include/core/SkPaint.h', |
| 210 | '../include/core/SkPath.h', |
| 211 | '../include/core/SkPathEffect.h', |
| 212 | '../include/core/SkPathMeasure.h', |
| 213 | '../include/core/SkPerspIter.h', |
| 214 | '../include/core/SkPicture.h', |
| 215 | '../include/core/SkPixelRef.h', |
| 216 | '../include/core/SkPoint.h', |
| 217 | '../include/core/SkPtrRecorder.h', |
| 218 | '../include/core/SkRandom.h', |
| 219 | '../include/core/SkRasterizer.h', |
| 220 | '../include/core/SkReader32.h', |
| 221 | '../include/core/SkRect.h', |
| 222 | '../include/core/SkRefCnt.h', |
| 223 | '../include/core/SkRefDict.h', |
| 224 | '../include/core/SkRegion.h', |
| 225 | '../include/core/SkScalar.h', |
| 226 | '../include/core/SkScalarCompare.h', |
| 227 | '../include/core/SkScalerContext.h', |
| 228 | '../include/core/SkScan.h', |
| 229 | '../include/core/SkShader.h', |
| 230 | '../include/core/SkStream.h', |
| 231 | '../include/core/SkString.h', |
| 232 | '../include/core/SkStroke.h', |
bsalomon@google.com | 21fa067 | 2011-09-19 19:43:36 +0000 | [diff] [blame] | 233 | '../include/core/SkTArray.h', |
bsalomon@google.com | a9681db | 2011-03-21 13:34:23 +0000 | [diff] [blame] | 234 | '../include/core/SkTDArray.h', |
| 235 | '../include/core/SkTDStack.h', |
| 236 | '../include/core/SkTDict.h', |
| 237 | '../include/core/SkTRegistry.h', |
| 238 | '../include/core/SkTScopedPtr.h', |
| 239 | '../include/core/SkTSearch.h', |
| 240 | '../include/core/SkTemplates.h', |
| 241 | '../include/core/SkThread.h', |
| 242 | '../include/core/SkThread_platform.h', |
| 243 | '../include/core/SkTime.h', |
bungeman@google.com | b81be7a | 2011-07-28 16:51:20 +0000 | [diff] [blame] | 244 | '../include/core/SkTLazy.h', |
tomhudson@google.com | 278cbb4 | 2011-06-30 19:37:01 +0000 | [diff] [blame] | 245 | '../include/core/SkTrace.h', |
bsalomon@google.com | a9681db | 2011-03-21 13:34:23 +0000 | [diff] [blame] | 246 | '../include/core/SkTypeface.h', |
| 247 | '../include/core/SkTypes.h', |
| 248 | '../include/core/SkUnPreMultiply.h', |
| 249 | '../include/core/SkUnitMapper.h', |
| 250 | '../include/core/SkUtils.h', |
| 251 | '../include/core/SkWriter32.h', |
| 252 | '../include/core/SkXfermode.h', |
| 253 | ], |
| 254 | 'include_dirs': [ |
| 255 | '../include/config', |
| 256 | '../include/core', |
| 257 | '../include/ports', |
| 258 | '../include/xml', |
| 259 | '../src/core', |
| 260 | ], |
| 261 | 'msvs_disabled_warnings': [4244, 4267,4345, 4390, 4554, 4800], |
| 262 | 'conditions': [ |
epoger@google.com | 8846cb2 | 2011-07-01 20:20:07 +0000 | [diff] [blame] | 263 | [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', { |
bsalomon@google.com | a9681db | 2011-03-21 13:34:23 +0000 | [diff] [blame] | 264 | 'cflags': [ |
| 265 | '-Wno-unused', |
| 266 | '-Wno-unused-function', |
| 267 | ], |
| 268 | 'sources': [ |
| 269 | '../include/core/SkMMapStream.h', |
| 270 | '../src/core/SkMMapStream.cpp', |
bsalomon@google.com | a9681db | 2011-03-21 13:34:23 +0000 | [diff] [blame] | 271 | '../src/ports/SkThread_pthread.cpp', |
bsalomon@google.com | a9681db | 2011-03-21 13:34:23 +0000 | [diff] [blame] | 272 | '../src/ports/SkFontHost_FreeType.cpp', |
| 273 | '../src/ports/SkFontHost_gamma_none.cpp', |
| 274 | '../src/ports/SkFontHost_linux.cpp', |
| 275 | ], |
| 276 | 'link_settings': { |
| 277 | 'libraries': [ |
| 278 | '-lfreetype', |
senorblanco@chromium.org | 7eb492e | 2011-03-25 17:41:34 +0000 | [diff] [blame] | 279 | '-lpthread', |
bsalomon@google.com | a9681db | 2011-03-21 13:34:23 +0000 | [diff] [blame] | 280 | ], |
bsalomon@google.com | 9182610 | 2011-03-21 19:51:57 +0000 | [diff] [blame] | 281 | }, |
bsalomon@google.com | a9681db | 2011-03-21 13:34:23 +0000 | [diff] [blame] | 282 | }], |
epoger@google.com | 8846cb2 | 2011-07-01 20:20:07 +0000 | [diff] [blame] | 283 | [ 'skia_os == "mac"', { |
bsalomon@google.com | a9681db | 2011-03-21 13:34:23 +0000 | [diff] [blame] | 284 | 'include_dirs': [ |
| 285 | '../include/utils/mac', |
| 286 | ], |
| 287 | 'sources': [ |
| 288 | '../include/core/SkMMapStream.h', |
| 289 | '../include/utils/mac/SkCGUtils.h', |
| 290 | |
| 291 | '../src/core/SkMMapStream.cpp', |
| 292 | '../src/ports/SkFontHost_mac_coretext.cpp', |
| 293 | |
| 294 | '../src/ports/SkThread_pthread.cpp', |
bsalomon@google.com | a9681db | 2011-03-21 13:34:23 +0000 | [diff] [blame] | 295 | ], |
epoger@google.com | 0a030cd | 2011-06-02 19:52:14 +0000 | [diff] [blame] | 296 | 'link_settings': { |
| 297 | 'libraries': [ |
yangsu@google.com | ccb74ea | 2011-06-21 13:09:32 +0000 | [diff] [blame] | 298 | '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework', |
epoger@google.com | 0a030cd | 2011-06-02 19:52:14 +0000 | [diff] [blame] | 299 | ], |
| 300 | }, |
bsalomon@google.com | a9681db | 2011-03-21 13:34:23 +0000 | [diff] [blame] | 301 | }], |
epoger@google.com | ea5dfa8 | 2011-07-01 21:01:32 +0000 | [diff] [blame] | 302 | [ 'skia_os == "ios"', { |
| 303 | 'include_dirs': [ |
| 304 | '../include/utils/ios', |
| 305 | ], |
| 306 | 'sources': [ |
| 307 | '../include/core/SkMMapStream.h', |
| 308 | '../include/utils/mac/SkCGUtils.h', |
| 309 | |
| 310 | '../src/core/SkMMapStream.cpp', |
| 311 | '../src/ports/SkFontHost_mac_coretext.cpp', |
| 312 | |
| 313 | '../src/ports/SkThread_pthread.cpp', |
epoger@google.com | ea5dfa8 | 2011-07-01 21:01:32 +0000 | [diff] [blame] | 314 | ], |
| 315 | 'link_settings': { |
| 316 | 'libraries': [ |
| 317 | '/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/System/Library/Frameworks/CoreFoundation.framework', |
| 318 | '/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/System/Library/Frameworks/CoreGraphics.framework', |
| 319 | '/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/System/Library/Frameworks/CoreText.framework', |
| 320 | '/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/System/Library/Frameworks/UIKit.framework', |
| 321 | '/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/System/Library/Frameworks/Foundation.framework', |
| 322 | '/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/System/Library/Frameworks/QuartzCore.framework', |
| 323 | '/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/System/Library/Frameworks/OpenGLES.framework', |
| 324 | ], |
| 325 | }, |
| 326 | }], |
epoger@google.com | 8846cb2 | 2011-07-01 20:20:07 +0000 | [diff] [blame] | 327 | [ 'skia_os == "win"', { |
bsalomon@google.com | a9681db | 2011-03-21 13:34:23 +0000 | [diff] [blame] | 328 | 'include_dirs': [ |
| 329 | 'config/win', |
| 330 | ], |
bsalomon@google.com | 5835722 | 2011-07-08 16:10:53 +0000 | [diff] [blame] | 331 | 'sources!': [ # these are used everywhere but windows |
bsalomon@google.com | 2b35799 | 2011-05-02 20:46:48 +0000 | [diff] [blame] | 332 | '../src/ports/SkDebug_stdio.cpp', |
bsalomon@google.com | 5835722 | 2011-07-08 16:10:53 +0000 | [diff] [blame] | 333 | '../src/ports/SkTime_Unix.cpp', |
bsalomon@google.com | 2b35799 | 2011-05-02 20:46:48 +0000 | [diff] [blame] | 334 | ], |
bsalomon@google.com | 5835722 | 2011-07-08 16:10:53 +0000 | [diff] [blame] | 335 | }, { # else !win |
bsalomon@google.com | 2b35799 | 2011-05-02 20:46:48 +0000 | [diff] [blame] | 336 | 'sources!': [ |
| 337 | '../src/ports/SkDebug_win.cpp', |
bsalomon@google.com | 5835722 | 2011-07-08 16:10:53 +0000 | [diff] [blame] | 338 | '../src/ports/SkFontHost_win.cpp', |
| 339 | '../src/ports/SkThread_win.cpp', |
bungeman@google.com | 206c98a | 2011-05-31 21:21:54 +0000 | [diff] [blame] | 340 | '../src/ports/SkTime_win.cpp', |
bsalomon@google.com | 2b35799 | 2011-05-02 20:46:48 +0000 | [diff] [blame] | 341 | ], |
senorblanco@chromium.org | c1587e0 | 2011-05-04 18:59:38 +0000 | [diff] [blame] | 342 | }], |
djsollen@google.com | 5862929 | 2011-11-03 13:08:29 +0000 | [diff] [blame] | 343 | [ 'skia_os == "android"', { |
| 344 | 'sources!': [ |
| 345 | '../src/opts/opts_check_SSE2.cpp', |
| 346 | ], |
| 347 | 'sources': [ |
| 348 | '../include/core/SkMMapStream.h', |
| 349 | '../src/core/SkMMapStream.cpp', |
| 350 | '../src/ports/SkThread_pthread.cpp', |
| 351 | '../src/ports/SkFontHost_android.cpp', |
| 352 | '../src/ports/SkFontHost_gamma.cpp', |
| 353 | '../src/ports/SkFontHost_FreeType.cpp', |
| 354 | '../src/ports/FontHostConfiguration_android.cpp', |
| 355 | ], |
| 356 | 'dependencies': [ |
| 357 | 'android_system.gyp:ft2', |
| 358 | 'android_system.gyp:expat', |
| 359 | ], |
| 360 | }], |
bsalomon@google.com | a9681db | 2011-03-21 13:34:23 +0000 | [diff] [blame] | 361 | ], |
| 362 | 'direct_dependent_settings': { |
| 363 | 'include_dirs': [ |
| 364 | 'config', |
| 365 | '../include/config', |
| 366 | '../include/core', |
| 367 | 'ext', |
| 368 | ], |
| 369 | }, |
| 370 | 'dependencies': [ |
epoger@google.com | ae85aea | 2011-05-31 13:50:51 +0000 | [diff] [blame] | 371 | 'opts.gyp:opts' |
bsalomon@google.com | a9681db | 2011-03-21 13:34:23 +0000 | [diff] [blame] | 372 | ], |
| 373 | }, |
bsalomon@google.com | a9681db | 2011-03-21 13:34:23 +0000 | [diff] [blame] | 374 | ], |
| 375 | } |
| 376 | |
| 377 | # Local Variables: |
| 378 | # tab-width:2 |
| 379 | # indent-tabs-mode:nil |
| 380 | # End: |
| 381 | # vim: set expandtab tabstop=2 shiftwidth=2: |