| 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 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 'sources!': [ | 366 'sources!': [ |
| 367 '../third_party/skia/src/ports/SkOSFile_posix.cpp', | 367 '../third_party/skia/src/ports/SkOSFile_posix.cpp', |
| 368 '../third_party/skia/src/ports/SkThread_pthread.cpp', | 368 '../third_party/skia/src/ports/SkThread_pthread.cpp', |
| 369 '../third_party/skia/src/ports/SkTime_Unix.cpp', | 369 '../third_party/skia/src/ports/SkTime_Unix.cpp', |
| 370 '../third_party/skia/src/ports/SkTLS_pthread.cpp', | 370 '../third_party/skia/src/ports/SkTLS_pthread.cpp', |
| 371 ], | 371 ], |
| 372 'include_dirs': [ | 372 'include_dirs': [ |
| 373 '../third_party/skia/include/utils/win', | 373 '../third_party/skia/include/utils/win', |
| 374 '../third_party/skia/src/utils/win', | 374 '../third_party/skia/src/utils/win', |
| 375 ], | 375 ], |
| 376 'defines': [ | |
| 377 'SK_FONTHOST_USES_FONTMGR', | |
| 378 ], | |
| 379 },{ # not 'OS == "win"' | 376 },{ # not 'OS == "win"' |
| 380 'sources!': [ | 377 'sources!': [ |
| 381 '../third_party/skia/src/ports/SkFontHost_win_dw.cpp', | 378 '../third_party/skia/src/ports/SkFontHost_win_dw.cpp', |
| 382 '../third_party/skia/src/ports/SkFontMgr_default_gdi.cpp', | 379 '../third_party/skia/src/ports/SkFontMgr_default_gdi.cpp', |
| 383 | 380 |
| 384 '../third_party/skia/src/utils/win/SkDWriteFontFileStream.cpp', | 381 '../third_party/skia/src/utils/win/SkDWriteFontFileStream.cpp', |
| 385 '../third_party/skia/src/utils/win/SkDWriteFontFileStream.h', | 382 '../third_party/skia/src/utils/win/SkDWriteFontFileStream.h', |
| 386 '../third_party/skia/src/utils/win/SkDWriteGeometrySink.cpp', | 383 '../third_party/skia/src/utils/win/SkDWriteGeometrySink.cpp', |
| 387 '../third_party/skia/src/utils/win/SkDWriteGeometrySink.h', | 384 '../third_party/skia/src/utils/win/SkDWriteGeometrySink.h', |
| 388 '../third_party/skia/src/utils/win/SkHRESULT.cpp', | 385 '../third_party/skia/src/utils/win/SkHRESULT.cpp', |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 425 # Forcing the unoptimized path for the offset image filter in skia until | 422 # Forcing the unoptimized path for the offset image filter in skia until |
| 426 # all filters used in Blink support the optimized path properly | 423 # all filters used in Blink support the optimized path properly |
| 427 'SK_DISABLE_OFFSETIMAGEFILTER_OPTIMIZATION', | 424 'SK_DISABLE_OFFSETIMAGEFILTER_OPTIMIZATION', |
| 428 | 425 |
| 429 # Disable this check because it is too strict for some Chromium-specific | 426 # Disable this check because it is too strict for some Chromium-specific |
| 430 # subclasses of SkPixelRef. See bug: crbug.com/171776. | 427 # subclasses of SkPixelRef. See bug: crbug.com/171776. |
| 431 'SK_DISABLE_PIXELREF_LOCKCOUNT_BALANCE_CHECK', | 428 'SK_DISABLE_PIXELREF_LOCKCOUNT_BALANCE_CHECK', |
| 432 | 429 |
| 433 'IGNORE_ROT_AA_RECT_OPT', | 430 'IGNORE_ROT_AA_RECT_OPT', |
| 434 | 431 |
| 432 'SK_IGNORE_BLURRED_RRECT_OPT', |
| 433 |
| 435 'SK_IGNORE_QUAD_RR_CORNERS_OPT', | 434 'SK_IGNORE_QUAD_RR_CORNERS_OPT', |
| 436 | 435 |
| 437 'SKIA_IGNORE_GPU_MIPMAPS', | 436 'SKIA_IGNORE_GPU_MIPMAPS', |
| 438 | 437 |
| 439 # this flag forces Skia not to use typographic metrics with GDI. | 438 # this flag forces Skia not to use typographic metrics with GDI. |
| 440 'SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS', | 439 'SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS', |
| 441 | 440 |
| 442 'SK_DEFAULT_FONT_CACHE_LIMIT=<(default_font_cache_limit)', | 441 'SK_DEFAULT_FONT_CACHE_LIMIT=<(default_font_cache_limit)', |
| 443 | 442 |
| 444 # http://crbug.com/314387 | 443 # http://crbug.com/314387 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 458 '../third_party/skia/include/pathops', | 457 '../third_party/skia/include/pathops', |
| 459 '../third_party/skia/include/pipe', | 458 '../third_party/skia/include/pipe', |
| 460 '../third_party/skia/include/ports', | 459 '../third_party/skia/include/ports', |
| 461 '../third_party/skia/include/utils', | 460 '../third_party/skia/include/utils', |
| 462 ], | 461 ], |
| 463 'defines': [ | 462 'defines': [ |
| 464 '<@(skia_export_defines)', | 463 '<@(skia_export_defines)', |
| 465 ], | 464 ], |
| 466 }, | 465 }, |
| 467 } | 466 } |
| OLD | NEW |