OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 | 5 |
6 # This gypi file contains the Skia library. | 6 # This gypi file contains the Skia library. |
7 # In component mode (shared_lib) it is folded into a single shared library with | 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. | 8 # the Chrome-specific enhancements but in all other cases it is a separate lib. |
9 { | 9 { |
10 'dependencies': [ | 10 'dependencies': [ |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 }], | 266 }], |
267 [ 'target_arch == "arm" or target_arch == "mipsel"', { | 267 [ 'target_arch == "arm" or target_arch == "mipsel"', { |
268 'sources!': [ | 268 'sources!': [ |
269 '../third_party/skia/src/opts/opts_check_SSE2.cpp' | 269 '../third_party/skia/src/opts/opts_check_SSE2.cpp' |
270 ], | 270 ], |
271 }], | 271 }], |
272 [ 'desktop_linux == 1 or chromeos == 1', { | 272 [ 'desktop_linux == 1 or chromeos == 1', { |
273 'dependencies': [ | 273 'dependencies': [ |
274 '../build/linux/system.gyp:fontconfig', | 274 '../build/linux/system.gyp:fontconfig', |
275 '../build/linux/system.gyp:freetype2', | 275 '../build/linux/system.gyp:freetype2', |
276 '../build/linux/system.gyp:pangocairo', | |
277 '../third_party/icu/icu.gyp:icuuc', | 276 '../third_party/icu/icu.gyp:icuuc', |
278 ], | 277 ], |
279 'cflags': [ | 278 'cflags': [ |
280 '-Wno-unused', | 279 '-Wno-unused', |
281 '-Wno-unused-function', | 280 '-Wno-unused-function', |
282 ], | 281 ], |
283 }], | 282 }], |
| 283 [ 'use_cairo == 1', { |
| 284 'dependencies': [ |
| 285 '../build/linux/system.gyp:pangocairo', |
| 286 ], |
| 287 }], |
284 [ 'OS=="win" or OS=="mac" or OS=="ios" or OS=="android"', { | 288 [ 'OS=="win" or OS=="mac" or OS=="ios" or OS=="android"', { |
285 'sources!': [ | 289 'sources!': [ |
286 '../third_party/skia/src/ports/SkFontConfigInterface_direct.cpp', | 290 '../third_party/skia/src/ports/SkFontConfigInterface_direct.cpp', |
287 '../third_party/skia/src/fonts/SkFontMgr_fontconfig.cpp', | 291 '../third_party/skia/src/fonts/SkFontMgr_fontconfig.cpp', |
288 ], | 292 ], |
289 }], | 293 }], |
290 [ 'OS=="win" or OS=="mac" or OS=="ios"', { | 294 [ 'OS=="win" or OS=="mac" or OS=="ios"', { |
291 'sources!': [ | 295 'sources!': [ |
292 '../third_party/skia/src/ports/SkFontHost_FreeType.cpp', | 296 '../third_party/skia/src/ports/SkFontHost_FreeType.cpp', |
293 '../third_party/skia/src/ports/SkFontHost_FreeType_common.cpp', | 297 '../third_party/skia/src/ports/SkFontHost_FreeType_common.cpp', |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
458 '../third_party/skia/include/pathops', | 462 '../third_party/skia/include/pathops', |
459 '../third_party/skia/include/pipe', | 463 '../third_party/skia/include/pipe', |
460 '../third_party/skia/include/ports', | 464 '../third_party/skia/include/ports', |
461 '../third_party/skia/include/utils', | 465 '../third_party/skia/include/utils', |
462 ], | 466 ], |
463 'defines': [ | 467 'defines': [ |
464 '<@(skia_export_defines)', | 468 '<@(skia_export_defines)', |
465 ], | 469 ], |
466 }, | 470 }, |
467 } | 471 } |
OLD | NEW |