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