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

Commit c8353b3

Browse files
committed
Support the GN no-LTO flag for Wasm builds
1 parent 709d86e commit c8353b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/gn

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -617,6 +617,7 @@ def to_gn_wasm_args(args, gn_args):
617617
gn_args['is_clang'] = True
618618
gn_args['target_os'] = 'wasm'
619619
gn_args['target_cpu'] = 'wasm'
620+
gn_args['enable_lto'] = args.lto
620621
gn_args['skia_use_angle'] = False
621622
gn_args['skia_use_dng_sdk'] = False
622623
gn_args['skia_use_expat'] = False

0 commit comments

Comments
 (0)