[web] Fix some gn warnings (#178313)

This commit is contained in:
Mouad Debbar 2025-12-02 14:33:26 -05:00 committed by GitHub
parent 4d6888ade3
commit e97f1f45fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 3 deletions

View File

@ -84,7 +84,7 @@ wasm_toolchain("canvaskit_experimental_webparagraph") {
# Remove all other text-related features that we don't need with WebParagraph.
skia_enable_skparagraph = false
skia_canvaskit_enable_paragraph = false
skia_enable_shaper = false
skia_enable_skshaper = false
skia_use_harfbuzz = false
skia_use_freetype = false
flutter_use_freetype_woff2 = false

View File

@ -858,7 +858,6 @@ def to_gn_wasm_args(args, gn_args):
gn_args['skia_use_expat'] = False
gn_args['skia_use_vulkan'] = False
gn_args['skia_use_webgpu'] = False
gn_args['skia_use_libheif'] = False
gn_args['skia_use_libjpeg_turbo_encode'] = False
gn_args['skia_use_no_jpeg_encode'] = True
# TODO(yjbanov): https://github.com/flutter/flutter/issues/122759
@ -878,7 +877,6 @@ def to_gn_wasm_args(args, gn_args):
gn_args['skia_use_harfbuzz'] = True
gn_args['skia_use_fontations'] = False
gn_args['skia_use_fontconfig'] = False
gn_args['skia_use_libheif'] = False
gn_args['skia_enable_fontmgr_custom_directory'] = False
gn_args['skia_enable_fontmgr_custom_embedded'] = True
gn_args['skia_enable_fontmgr_custom_empty'] = True