Use a custom Skia font manager that delegates to FontCacheLinux on Linux. (flutter/engine#3245)

This commit is contained in:
Chinmay Garde
2016-11-18 12:52:02 -08:00
committed by GitHub
parent 89d779ad2e
commit f8944f85f5
2 changed files with 7 additions and 3 deletions

View File

@@ -22,6 +22,9 @@ executable("linux") {
"//lib/ftl",
"//third_party/glfw",
"//third_party/skia",
# Required by FontCacheLinux. Not Skia. Skia uses a custom font manager
# that delegates to us.
"//third_party:fontconfig",
]
ldflags = [

View File

@@ -47,9 +47,10 @@ def to_gn_args(args):
gn_args = {}
# Skia GN args.
gn_args['skia_use_dng_sdk'] = False # RAW image handling.
gn_args['skia_use_sfntly'] = False # PDF handling.
gn_args['skia_use_libwebp'] = False # Needs third_party/libwebp.
gn_args['skia_use_dng_sdk'] = False # RAW image handling.
gn_args['skia_use_sfntly'] = False # PDF handling.
gn_args['skia_use_libwebp'] = False # Needs third_party/libwebp.
gn_args['skia_use_fontconfig'] = False # Use the custom font manager instead.
gn_args['is_debug'] = args.unoptimized
gn_args['android_full_debug'] = args.target_os == 'android' and args.unoptimized