[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 1 | # Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | |
| 6 | # This gypi file contains the Skia library. |
| 7 | # In component mode (shared_lib) it is folded into a single shared library with |
| 8 | # the Chrome-specific enhancements but in all other cases it is a separate lib. |
[email protected] | 6f2b1c9 | 2013-12-17 22:42:48 | [diff] [blame] | 9 | |
| 10 | # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!WARNING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
| 11 | # variables and defines should go in skia_common.gypi so they can be seen |
| 12 | # by files listed here and in skia_library_opts.gypi. |
| 13 | # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!WARNING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 14 | { |
| 15 | 'dependencies': [ |
| 16 | 'skia_library_opts.gyp:skia_opts', |
| 17 | '../third_party/zlib/zlib.gyp:zlib', |
| 18 | ], |
| 19 | |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 20 | 'includes': [ |
| 21 | '../third_party/skia/gyp/core.gypi', |
| 22 | '../third_party/skia/gyp/effects.gypi', |
[email protected] | 92096c05 | 2013-08-27 11:21:08 | [diff] [blame] | 23 | '../third_party/skia/gyp/pdf.gypi', |
[email protected] | 7110c54c | 2014-06-10 22:52:04 | [diff] [blame] | 24 | '../third_party/skia/gyp/utils.gypi', |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 25 | ], |
| 26 | |
| 27 | 'sources': [ |
| 28 | # this should likely be moved into src/utils in skia |
| 29 | '../third_party/skia/src/core/SkFlate.cpp', |
mtklein | 1bd9a31 | 2014-09-04 17:29:11 | [diff] [blame] | 30 | |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 31 | '../third_party/skia/src/ports/SkImageDecoder_empty.cpp', |
| 32 | '../third_party/skia/src/images/SkScaledBitmapSampler.cpp', |
| 33 | '../third_party/skia/src/images/SkScaledBitmapSampler.h', |
| 34 | |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 35 | '../third_party/skia/src/ports/SkFontConfigInterface_direct.cpp', |
| 36 | |
| 37 | '../third_party/skia/src/fonts/SkFontMgr_fontconfig.cpp', |
| 38 | '../third_party/skia/src/ports/SkFontHost_fontconfig.cpp', |
| 39 | |
[email protected] | 6ea5ec08 | 2014-03-24 16:18:39 | [diff] [blame] | 40 | '../third_party/skia/src/fonts/SkFontMgr_indirect.cpp', |
| 41 | '../third_party/skia/src/fonts/SkRemotableFontMgr.cpp', |
| 42 | '../third_party/skia/src/ports/SkRemotableFontMgr_win_dw.cpp', |
| 43 | |
reed | 767108b | 2015-01-08 01:52:28 | [diff] [blame] | 44 | '../third_party/skia/src/ports/SkImageGenerator_none.cpp', |
| 45 | |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 46 | '../third_party/skia/src/ports/SkFontHost_FreeType.cpp', |
| 47 | '../third_party/skia/src/ports/SkFontHost_FreeType_common.cpp', |
| 48 | '../third_party/skia/src/ports/SkFontHost_FreeType_common.h', |
| 49 | '../third_party/skia/src/ports/SkFontConfigParser_android.cpp', |
| 50 | '../third_party/skia/src/ports/SkFontHost_mac.cpp', |
| 51 | '../third_party/skia/src/ports/SkFontHost_win.cpp', |
[email protected] | 196e7ca | 2014-07-24 18:41:18 | [diff] [blame] | 52 | "../third_party/skia/src/ports/SkFontMgr_android.cpp", |
[email protected] | 15c7a71 | 2014-06-06 13:33:24 | [diff] [blame] | 53 | '../third_party/skia/src/ports/SkFontMgr_win_dw.cpp', |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 54 | '../third_party/skia/src/ports/SkGlobalInitialization_chromium.cpp', |
| 55 | '../third_party/skia/src/ports/SkOSFile_posix.cpp', |
| 56 | '../third_party/skia/src/ports/SkOSFile_stdio.cpp', |
| 57 | '../third_party/skia/src/ports/SkOSFile_win.cpp', |
[email protected] | 15c7a71 | 2014-06-06 13:33:24 | [diff] [blame] | 58 | '../third_party/skia/src/ports/SkScalerContext_win_dw.cpp', |
| 59 | '../third_party/skia/src/ports/SkScalerContext_win_dw.h', |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 60 | '../third_party/skia/src/ports/SkTime_Unix.cpp', |
| 61 | '../third_party/skia/src/ports/SkTLS_pthread.cpp', |
| 62 | '../third_party/skia/src/ports/SkTLS_win.cpp', |
[email protected] | 15c7a71 | 2014-06-06 13:33:24 | [diff] [blame] | 63 | '../third_party/skia/src/ports/SkTypeface_win_dw.cpp', |
| 64 | '../third_party/skia/src/ports/SkTypeface_win_dw.h', |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 65 | |
[email protected] | 596de2e | 2013-08-07 14:41:04 | [diff] [blame] | 66 | '../third_party/skia/src/sfnt/SkOTTable_name.cpp', |
| 67 | '../third_party/skia/src/sfnt/SkOTTable_name.h', |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 68 | '../third_party/skia/src/sfnt/SkOTUtils.cpp', |
| 69 | '../third_party/skia/src/sfnt/SkOTUtils.h', |
| 70 | |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 71 | '../third_party/skia/src/utils/debugger/SkDebugCanvas.cpp', |
| 72 | '../third_party/skia/src/utils/debugger/SkDebugCanvas.h', |
| 73 | '../third_party/skia/src/utils/debugger/SkDrawCommand.cpp', |
| 74 | '../third_party/skia/src/utils/debugger/SkDrawCommand.h', |
| 75 | '../third_party/skia/src/utils/debugger/SkObjectParser.cpp', |
| 76 | '../third_party/skia/src/utils/debugger/SkObjectParser.h', |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 77 | |
bratell | 20952e3 | 2015-02-24 18:58:35 | [diff] [blame^] | 78 | '../third_party/skia/include/core/SkFontStyle.h', |
| 79 | |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 80 | '../third_party/skia/include/images/SkMovie.h', |
| 81 | '../third_party/skia/include/images/SkPageFlipper.h', |
| 82 | |
[email protected] | 6ea5ec08 | 2014-03-24 16:18:39 | [diff] [blame] | 83 | '../third_party/skia/include/ports/SkFontConfigInterface.h', |
| 84 | '../third_party/skia/include/ports/SkFontMgr.h', |
| 85 | '../third_party/skia/include/ports/SkFontMgr_indirect.h', |
[email protected] | 6ea5ec08 | 2014-03-24 16:18:39 | [diff] [blame] | 86 | '../third_party/skia/include/ports/SkRemotableFontMgr.h', |
| 87 | '../third_party/skia/include/ports/SkTypeface_win.h', |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 88 | ], |
[email protected] | 7110c54c | 2014-06-10 22:52:04 | [diff] [blame] | 89 | |
| 90 | # Exclude all unused files in skia utils.gypi file |
| 91 | 'sources!': [ |
[email protected] | 7110c54c | 2014-06-10 22:52:04 | [diff] [blame] | 92 | '../third_party/skia/include/utils/SkBoundaryPatch.h', |
| 93 | '../third_party/skia/include/utils/SkFrontBufferedStream.h', |
| 94 | '../third_party/skia/include/utils/SkCamera.h', |
| 95 | '../third_party/skia/include/utils/SkCanvasStateUtils.h', |
| 96 | '../third_party/skia/include/utils/SkCubicInterval.h', |
| 97 | '../third_party/skia/include/utils/SkCullPoints.h', |
| 98 | '../third_party/skia/include/utils/SkDebugUtils.h', |
| 99 | '../third_party/skia/include/utils/SkDumpCanvas.h', |
| 100 | '../third_party/skia/include/utils/SkEventTracer.h', |
| 101 | '../third_party/skia/include/utils/SkInterpolator.h', |
| 102 | '../third_party/skia/include/utils/SkLayer.h', |
| 103 | '../third_party/skia/include/utils/SkMeshUtils.h', |
| 104 | '../third_party/skia/include/utils/SkNinePatch.h', |
| 105 | '../third_party/skia/include/utils/SkParse.h', |
| 106 | '../third_party/skia/include/utils/SkParsePaint.h', |
| 107 | '../third_party/skia/include/utils/SkParsePath.h', |
| 108 | '../third_party/skia/include/utils/SkRandom.h', |
[email protected] | 7110c54c | 2014-06-10 22:52:04 | [diff] [blame] | 109 | |
| 110 | '../third_party/skia/src/utils/SkBitmapHasher.cpp', |
| 111 | '../third_party/skia/src/utils/SkBitmapHasher.h', |
| 112 | '../third_party/skia/src/utils/SkBoundaryPatch.cpp', |
| 113 | '../third_party/skia/src/utils/SkFrontBufferedStream.cpp', |
| 114 | '../third_party/skia/src/utils/SkCamera.cpp', |
| 115 | '../third_party/skia/src/utils/SkCanvasStack.h', |
| 116 | '../third_party/skia/src/utils/SkCubicInterval.cpp', |
| 117 | '../third_party/skia/src/utils/SkCullPoints.cpp', |
| 118 | '../third_party/skia/src/utils/SkDumpCanvas.cpp', |
| 119 | '../third_party/skia/src/utils/SkFloatUtils.h', |
[email protected] | 7110c54c | 2014-06-10 22:52:04 | [diff] [blame] | 120 | '../third_party/skia/src/utils/SkInterpolator.cpp', |
| 121 | '../third_party/skia/src/utils/SkLayer.cpp', |
| 122 | '../third_party/skia/src/utils/SkMD5.cpp', |
| 123 | '../third_party/skia/src/utils/SkMD5.h', |
| 124 | '../third_party/skia/src/utils/SkMeshUtils.cpp', |
| 125 | '../third_party/skia/src/utils/SkNinePatch.cpp', |
| 126 | '../third_party/skia/src/utils/SkOSFile.cpp', |
| 127 | '../third_party/skia/src/utils/SkParse.cpp', |
| 128 | '../third_party/skia/src/utils/SkParseColor.cpp', |
| 129 | '../third_party/skia/src/utils/SkParsePath.cpp', |
| 130 | '../third_party/skia/src/utils/SkPathUtils.cpp', |
| 131 | '../third_party/skia/src/utils/SkSHA1.cpp', |
| 132 | '../third_party/skia/src/utils/SkSHA1.h', |
[email protected] | 7110c54c | 2014-06-10 22:52:04 | [diff] [blame] | 133 | '../third_party/skia/src/utils/SkTFitsIn.h', |
| 134 | '../third_party/skia/src/utils/SkTLogic.h', |
| 135 | |
mtklein | f922e95f | 2014-10-30 16:58:01 | [diff] [blame] | 136 | # We don't currently need to change thread affinity, so leave out this complexity for now. |
| 137 | "../third_party/skia/src/utils/SkThreadUtils_pthread_mach.cpp", |
| 138 | "../third_party/skia/src/utils/SkThreadUtils_pthread_linux.cpp", |
| 139 | |
[email protected] | 7110c54c | 2014-06-10 22:52:04 | [diff] [blame] | 140 | #windows |
| 141 | '../third_party/skia/include/utils/win/SkAutoCoInitialize.h', |
| 142 | '../third_party/skia/include/utils/win/SkHRESULT.h', |
| 143 | '../third_party/skia/include/utils/win/SkIStream.h', |
| 144 | '../third_party/skia/include/utils/win/SkTScopedComPtr.h', |
| 145 | '../third_party/skia/src/utils/win/SkAutoCoInitialize.cpp', |
| 146 | '../third_party/skia/src/utils/win/SkIStream.cpp', |
| 147 | '../third_party/skia/src/utils/win/SkWGL_win.cpp', |
| 148 | |
| 149 | #testing |
| 150 | '../third_party/skia/src/fonts/SkGScalerContext.cpp', |
| 151 | '../third_party/skia/src/fonts/SkGScalerContext.h', |
| 152 | ], |
| 153 | |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 154 | 'include_dirs': [ |
reed | b5f8998 | 2014-10-24 19:58:15 | [diff] [blame] | 155 | '../third_party/skia/include/c', |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 156 | '../third_party/skia/include/core', |
| 157 | '../third_party/skia/include/effects', |
| 158 | '../third_party/skia/include/images', |
| 159 | '../third_party/skia/include/lazy', |
| 160 | '../third_party/skia/include/pathops', |
| 161 | '../third_party/skia/include/pdf', |
| 162 | '../third_party/skia/include/pipe', |
| 163 | '../third_party/skia/include/ports', |
[email protected] | bc912d6 | 2014-04-30 14:53:44 | [diff] [blame] | 164 | '../third_party/skia/include/record', |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 165 | '../third_party/skia/include/utils', |
| 166 | '../third_party/skia/src/core', |
[email protected] | 36b39bb4 | 2013-10-18 13:40:22 | [diff] [blame] | 167 | '../third_party/skia/src/opts', |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 168 | '../third_party/skia/src/image', |
halcanary | 7b3ebdb | 2015-01-06 20:17:37 | [diff] [blame] | 169 | '../third_party/skia/src/pdf', |
[email protected] | 2b889f88 | 2013-08-01 14:19:39 | [diff] [blame] | 170 | '../third_party/skia/src/ports', |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 171 | '../third_party/skia/src/sfnt', |
| 172 | '../third_party/skia/src/utils', |
| 173 | '../third_party/skia/src/lazy', |
| 174 | ], |
| 175 | 'conditions': [ |
| 176 | ['skia_support_gpu != 0', { |
| 177 | 'includes': [ |
| 178 | '../third_party/skia/gyp/gpu.gypi', |
| 179 | ], |
| 180 | 'sources': [ |
[email protected] | 54dd8ab | 2014-01-16 23:40:00 | [diff] [blame] | 181 | '<@(skgpu_null_gl_sources)', |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 182 | '<@(skgpu_sources)', |
| 183 | ], |
| 184 | 'include_dirs': [ |
| 185 | '../third_party/skia/include/gpu', |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 186 | '../third_party/skia/src/gpu', |
| 187 | ], |
| 188 | }], |
| 189 | ['skia_support_pdf == 0', { |
| 190 | 'sources/': [ |
dnicoara | 96ecc925 | 2014-11-18 22:32:35 | [diff] [blame] | 191 | ['exclude', '../third_party/skia/src/doc/SkDocument_PDF.cpp'], |
| 192 | ['exclude', '../third_party/skia/src/pdf/'], |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 193 | ], |
| 194 | }], |
| 195 | ['skia_support_pdf == 1', { |
| 196 | 'dependencies': [ |
| 197 | '../third_party/sfntly/sfntly.gyp:sfntly', |
| 198 | ], |
| 199 | }], |
| 200 | |
mtklein | f922e95f | 2014-10-30 16:58:01 | [diff] [blame] | 201 | [ 'OS == "win"', { |
| 202 | 'sources!': [ |
| 203 | # Keeping _win.cpp |
| 204 | "../third_party/skia/src/utils/SkThreadUtils_pthread.cpp", |
| 205 | "../third_party/skia/src/utils/SkThreadUtils_pthread_other.cpp", |
| 206 | ], |
| 207 | },{ |
| 208 | 'sources!': [ |
| 209 | # Keeping _pthread.cpp and _pthread_other.cpp |
| 210 | "../third_party/skia/src/utils/SkThreadUtils_win.cpp", |
| 211 | ], |
| 212 | }], |
| 213 | |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 214 | [ 'OS != "mac"', { |
| 215 | 'sources/': [ |
| 216 | ['exclude', '/mac/'] |
| 217 | ], |
| 218 | }], |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 219 | [ 'OS == "android" and target_arch == "arm"', { |
| 220 | 'sources': [ |
| 221 | '../third_party/skia/src/core/SkUtilsArm.cpp', |
| 222 | ], |
| 223 | 'includes': [ |
| 224 | '../build/android/cpufeatures.gypi', |
| 225 | ], |
| 226 | }], |
[email protected] | b098e1d8 | 2013-11-08 06:24:58 | [diff] [blame] | 227 | [ 'desktop_linux == 1 or chromeos == 1', { |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 228 | 'dependencies': [ |
| 229 | '../build/linux/system.gyp:fontconfig', |
| 230 | '../build/linux/system.gyp:freetype2', |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 231 | '../third_party/icu/icu.gyp:icuuc', |
| 232 | ], |
| 233 | 'cflags': [ |
| 234 | '-Wno-unused', |
| 235 | '-Wno-unused-function', |
| 236 | ], |
| 237 | }], |
sfunkenhauser | 97a0a63 | 2015-01-14 19:56:15 | [diff] [blame] | 238 | [ 'use_cairo == 1 and use_pango == 1', { |
[email protected] | 928362a | 2013-11-19 20:17:16 | [diff] [blame] | 239 | 'dependencies': [ |
| 240 | '../build/linux/system.gyp:pangocairo', |
| 241 | ], |
| 242 | }], |
[email protected] | b098e1d8 | 2013-11-08 06:24:58 | [diff] [blame] | 243 | [ 'OS=="win" or OS=="mac" or OS=="ios" or OS=="android"', { |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 244 | 'sources!': [ |
| 245 | '../third_party/skia/src/ports/SkFontConfigInterface_direct.cpp', |
[email protected] | 2dc1e10 | 2014-08-14 14:04:34 | [diff] [blame] | 246 | '../third_party/skia/src/ports/SkFontHost_fontconfig.cpp', |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 247 | '../third_party/skia/src/fonts/SkFontMgr_fontconfig.cpp', |
| 248 | ], |
| 249 | }], |
[email protected] | b098e1d8 | 2013-11-08 06:24:58 | [diff] [blame] | 250 | [ 'OS=="win" or OS=="mac" or OS=="ios"', { |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 251 | 'sources!': [ |
| 252 | '../third_party/skia/src/ports/SkFontHost_FreeType.cpp', |
| 253 | '../third_party/skia/src/ports/SkFontHost_FreeType_common.cpp', |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 254 | |
| 255 | ], |
| 256 | }], |
| 257 | [ 'OS == "android"', { |
| 258 | 'dependencies': [ |
| 259 | '../third_party/expat/expat.gyp:expat', |
| 260 | '../third_party/freetype/freetype.gyp:ft2', |
| 261 | ], |
| 262 | # This exports a hard dependency because it needs to run its |
| 263 | # symlink action in order to expose the skia header files. |
| 264 | 'hard_dependency': 1, |
| 265 | 'include_dirs': [ |
| 266 | '../third_party/expat/files/lib', |
| 267 | ], |
| 268 | }], |
| 269 | [ 'OS == "ios"', { |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 270 | 'include_dirs': [ |
| 271 | '../third_party/skia/include/utils/ios', |
| 272 | '../third_party/skia/include/utils/mac', |
| 273 | ], |
| 274 | 'link_settings': { |
| 275 | 'libraries': [ |
| 276 | '$(SDKROOT)/System/Library/Frameworks/ImageIO.framework', |
| 277 | ], |
| 278 | }, |
| 279 | 'sources': [ |
| 280 | # This file is used on both iOS and Mac, so it should be removed |
| 281 | # from the ios and mac conditions and moved into the main sources |
| 282 | # list. |
| 283 | '../third_party/skia/src/utils/mac/SkStream_mac.cpp', |
| 284 | ], |
[email protected] | 8e3f8c8 | 2013-08-21 15:09:55 | [diff] [blame] | 285 | |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 286 | # The main skia_opts target does not currently work on iOS because the |
| 287 | # target architecture on iOS is determined at compile time rather than |
| 288 | # gyp time (simulator builds are x86, device builds are arm). As a |
| 289 | # temporary measure, this is a separate opts target for iOS-only, using |
| 290 | # the _none.cpp files to avoid architecture-dependent implementations. |
| 291 | 'dependencies': [ |
| 292 | 'skia_library_opts.gyp:skia_opts_none', |
| 293 | ], |
| 294 | 'dependencies!': [ |
| 295 | 'skia_library_opts.gyp:skia_opts', |
| 296 | ], |
| 297 | }], |
| 298 | [ 'OS == "mac"', { |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 299 | 'direct_dependent_settings': { |
| 300 | 'include_dirs': [ |
| 301 | '../third_party/skia/include/utils/mac', |
| 302 | ], |
| 303 | }, |
| 304 | 'include_dirs': [ |
| 305 | '../third_party/skia/include/utils/mac', |
| 306 | ], |
| 307 | 'link_settings': { |
| 308 | 'libraries': [ |
| 309 | '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', |
| 310 | ], |
| 311 | }, |
| 312 | 'sources': [ |
| 313 | '../third_party/skia/src/utils/mac/SkStream_mac.cpp', |
| 314 | ], |
| 315 | }], |
| 316 | [ 'OS == "win"', { |
| 317 | 'sources!': [ |
| 318 | '../third_party/skia/src/ports/SkOSFile_posix.cpp', |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 319 | '../third_party/skia/src/ports/SkTime_Unix.cpp', |
| 320 | '../third_party/skia/src/ports/SkTLS_pthread.cpp', |
| 321 | ], |
[email protected] | 1d93409e | 2013-08-21 17:13:19 | [diff] [blame] | 322 | 'include_dirs': [ |
| 323 | '../third_party/skia/include/utils/win', |
| 324 | '../third_party/skia/src/utils/win', |
| 325 | ], |
[email protected] | 1d93409e | 2013-08-21 17:13:19 | [diff] [blame] | 326 | },{ # not 'OS == "win"' |
| 327 | 'sources!': [ |
[email protected] | 15c7a71 | 2014-06-06 13:33:24 | [diff] [blame] | 328 | '../third_party/skia/src/ports/SkFontMgr_win_dw.cpp', |
[email protected] | 6ea5ec08 | 2014-03-24 16:18:39 | [diff] [blame] | 329 | '../third_party/skia/src/ports/SkRemotableFontMgr_win_dw.cpp', |
[email protected] | 15c7a71 | 2014-06-06 13:33:24 | [diff] [blame] | 330 | '../third_party/skia/src/ports/SkScalerContext_win_dw.cpp', |
| 331 | '../third_party/skia/src/ports/SkScalerContext_win_dw.h', |
| 332 | '../third_party/skia/src/ports/SkTypeface_win_dw.cpp', |
| 333 | '../third_party/skia/src/ports/SkTypeface_win_dw.h', |
[email protected] | 1d93409e | 2013-08-21 17:13:19 | [diff] [blame] | 334 | |
[email protected] | 6ea5ec08 | 2014-03-24 16:18:39 | [diff] [blame] | 335 | '../third_party/skia/src/utils/win/SkDWrite.h', |
| 336 | '../third_party/skia/src/utils/win/SkDWrite.cpp', |
[email protected] | 1d93409e | 2013-08-21 17:13:19 | [diff] [blame] | 337 | '../third_party/skia/src/utils/win/SkDWriteFontFileStream.cpp', |
| 338 | '../third_party/skia/src/utils/win/SkDWriteFontFileStream.h', |
| 339 | '../third_party/skia/src/utils/win/SkDWriteGeometrySink.cpp', |
| 340 | '../third_party/skia/src/utils/win/SkDWriteGeometrySink.h', |
| 341 | '../third_party/skia/src/utils/win/SkHRESULT.cpp', |
| 342 | ], |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 343 | }], |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 344 | ], |
| 345 | 'target_conditions': [ |
| 346 | # Pull in specific Mac files for iOS (which have been filtered out |
| 347 | # by file name rules). |
| 348 | [ 'OS == "ios"', { |
| 349 | 'sources/': [ |
| 350 | ['include', 'SkFontHost_mac\\.cpp$',], |
| 351 | ['include', 'SkStream_mac\\.cpp$',], |
| 352 | ['include', 'SkCreateCGImageRef\\.cpp$',], |
| 353 | ], |
lliabraa | 7ecee0c | 2014-11-19 14:32:34 | [diff] [blame] | 354 | 'xcode_settings' : { |
| 355 | 'WARNING_CFLAGS': [ |
| 356 | # SkFontHost_mac.cpp uses API deprecated in iOS 7. |
| 357 | # crbug.com/408571 |
| 358 | '-Wno-deprecated-declarations', |
| 359 | ], |
| 360 | }, |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 361 | }], |
| 362 | ], |
| 363 | |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 364 | 'direct_dependent_settings': { |
| 365 | 'include_dirs': [ |
| 366 | #temporary until we can hide SkFontHost |
| 367 | '../third_party/skia/src/core', |
| 368 | |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 369 | '../third_party/skia/include/core', |
| 370 | '../third_party/skia/include/effects', |
| 371 | '../third_party/skia/include/pdf', |
| 372 | '../third_party/skia/include/gpu', |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 373 | '../third_party/skia/include/lazy', |
| 374 | '../third_party/skia/include/pathops', |
| 375 | '../third_party/skia/include/pipe', |
| 376 | '../third_party/skia/include/ports', |
| 377 | '../third_party/skia/include/utils', |
| 378 | ], |
[email protected] | 9d6bc35 | 2013-07-23 13:00:10 | [diff] [blame] | 379 | }, |
| 380 | } |