Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit bd2caeb

Browse files
author
Harry Terkelsen
authored
Build skia with expat (#42859)
Skia codecs depends on Skia's xml libraries which depend on expat, so we must enable expat for non-wasm builds. See #42857 for an example of a failing build on Skia.
1 parent 9bd30c3 commit bd2caeb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/gn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ def to_gn_args(args):
300300
gn_args['skia_use_x11'
301301
] = False # Never add the X11 dependency (only takes effect on Linux).
302302
gn_args['skia_use_wuffs'] = True
303-
gn_args['skia_use_expat'] = args.target_os == 'android'
303+
gn_args['skia_use_expat'] = True
304304
gn_args['skia_use_fontconfig'] = args.enable_fontconfig
305305
gn_args['skia_use_icu'] = True
306306
gn_args['is_official_build'] = True # Disable Skia test utilities.

0 commit comments

Comments
 (0)