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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
49 | 49 |
50 'conditions': [ | 50 'conditions': [ |
51 ['OS== "android"', { | 51 ['OS== "android"', { |
52 # Android devices are typically more memory constrained, so | 52 # Android devices are typically more memory constrained, so |
53 # default to a smaller glyph cache (it may be overriden at runtime | 53 # default to a smaller glyph cache (it may be overriden at runtime |
54 # when the renderer starts up, depending on the actual device memory). | 54 # when the renderer starts up, depending on the actual device memory). |
55 'default_font_cache_limit': '(1*1024*1024)', | 55 'default_font_cache_limit': '(1*1024*1024)', |
56 'skia_export_defines': [ | 56 'skia_export_defines': [ |
57 'SK_BUILD_FOR_ANDROID', | 57 'SK_BUILD_FOR_ANDROID', |
58 ], | 58 ], |
59 'defines': [ | |
bungeman-skia
2013/11/12 21:43:42
Be sure to remove this 'defines' block before comm
robertphillips
2013/11/12 23:00:23
Done.
| |
60 'SK_FONTHOST_DOES_NOT_USE_FONTMGR', | |
61 ], | |
59 }], | 62 }], |
60 ], | 63 ], |
61 }, | 64 }, |
62 | 65 |
63 'includes': [ | 66 'includes': [ |
64 '../third_party/skia/gyp/core.gypi', | 67 '../third_party/skia/gyp/core.gypi', |
65 '../third_party/skia/gyp/effects.gypi', | 68 '../third_party/skia/gyp/effects.gypi', |
66 '../third_party/skia/gyp/pdf.gypi', | 69 '../third_party/skia/gyp/pdf.gypi', |
67 ], | 70 ], |
68 | 71 |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
366 'sources!': [ | 369 'sources!': [ |
367 '../third_party/skia/src/ports/SkOSFile_posix.cpp', | 370 '../third_party/skia/src/ports/SkOSFile_posix.cpp', |
368 '../third_party/skia/src/ports/SkThread_pthread.cpp', | 371 '../third_party/skia/src/ports/SkThread_pthread.cpp', |
369 '../third_party/skia/src/ports/SkTime_Unix.cpp', | 372 '../third_party/skia/src/ports/SkTime_Unix.cpp', |
370 '../third_party/skia/src/ports/SkTLS_pthread.cpp', | 373 '../third_party/skia/src/ports/SkTLS_pthread.cpp', |
371 ], | 374 ], |
372 'include_dirs': [ | 375 'include_dirs': [ |
373 '../third_party/skia/include/utils/win', | 376 '../third_party/skia/include/utils/win', |
374 '../third_party/skia/src/utils/win', | 377 '../third_party/skia/src/utils/win', |
375 ], | 378 ], |
376 'defines': [ | |
377 'SK_FONTHOST_USES_FONTMGR', | |
378 ], | |
379 },{ # not 'OS == "win"' | 379 },{ # not 'OS == "win"' |
380 'sources!': [ | 380 'sources!': [ |
381 '../third_party/skia/src/ports/SkFontHost_win_dw.cpp', | 381 '../third_party/skia/src/ports/SkFontHost_win_dw.cpp', |
382 '../third_party/skia/src/ports/SkFontMgr_default_gdi.cpp', | 382 '../third_party/skia/src/ports/SkFontMgr_default_gdi.cpp', |
383 | 383 |
384 '../third_party/skia/src/utils/win/SkDWriteFontFileStream.cpp', | 384 '../third_party/skia/src/utils/win/SkDWriteFontFileStream.cpp', |
385 '../third_party/skia/src/utils/win/SkDWriteFontFileStream.h', | 385 '../third_party/skia/src/utils/win/SkDWriteFontFileStream.h', |
386 '../third_party/skia/src/utils/win/SkDWriteGeometrySink.cpp', | 386 '../third_party/skia/src/utils/win/SkDWriteGeometrySink.cpp', |
387 '../third_party/skia/src/utils/win/SkDWriteGeometrySink.h', | 387 '../third_party/skia/src/utils/win/SkDWriteGeometrySink.h', |
388 '../third_party/skia/src/utils/win/SkHRESULT.cpp', | 388 '../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 | 425 # Forcing the unoptimized path for the offset image filter in skia until |
426 # all filters used in Blink support the optimized path properly | 426 # all filters used in Blink support the optimized path properly |
427 'SK_DISABLE_OFFSETIMAGEFILTER_OPTIMIZATION', | 427 'SK_DISABLE_OFFSETIMAGEFILTER_OPTIMIZATION', |
428 | 428 |
429 # Disable this check because it is too strict for some Chromium-specific | 429 # Disable this check because it is too strict for some Chromium-specific |
430 # subclasses of SkPixelRef. See bug: crbug.com/171776. | 430 # subclasses of SkPixelRef. See bug: crbug.com/171776. |
431 'SK_DISABLE_PIXELREF_LOCKCOUNT_BALANCE_CHECK', | 431 'SK_DISABLE_PIXELREF_LOCKCOUNT_BALANCE_CHECK', |
432 | 432 |
433 'IGNORE_ROT_AA_RECT_OPT', | 433 'IGNORE_ROT_AA_RECT_OPT', |
434 | 434 |
435 'SK_IGNORE_BLURRED_RRECT_OPT', | |
436 | |
435 'SK_IGNORE_QUAD_RR_CORNERS_OPT', | 437 'SK_IGNORE_QUAD_RR_CORNERS_OPT', |
436 | 438 |
437 'SKIA_IGNORE_GPU_MIPMAPS', | 439 'SKIA_IGNORE_GPU_MIPMAPS', |
438 | 440 |
439 # this flag forces Skia not to use typographic metrics with GDI. | 441 # this flag forces Skia not to use typographic metrics with GDI. |
440 'SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS', | 442 'SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS', |
441 | 443 |
442 'SK_DEFAULT_FONT_CACHE_LIMIT=<(default_font_cache_limit)', | 444 'SK_DEFAULT_FONT_CACHE_LIMIT=<(default_font_cache_limit)', |
443 | 445 |
444 # http://crbug.com/314387 | 446 # http://crbug.com/314387 |
(...skipping 13 matching lines...) Expand all Loading... | |
458 '../third_party/skia/include/pathops', | 460 '../third_party/skia/include/pathops', |
459 '../third_party/skia/include/pipe', | 461 '../third_party/skia/include/pipe', |
460 '../third_party/skia/include/ports', | 462 '../third_party/skia/include/ports', |
461 '../third_party/skia/include/utils', | 463 '../third_party/skia/include/utils', |
462 ], | 464 ], |
463 'defines': [ | 465 'defines': [ |
464 '<@(skia_export_defines)', | 466 '<@(skia_export_defines)', |
465 ], | 467 ], |
466 }, | 468 }, |
467 } | 469 } |
OLD | NEW |