Fixs impeller_enable_playground is invalid variable when compiling the engine (flutter/engine#31871)

This commit is contained in:
linxuebin 2022-03-10 12:00:11 +08:00 committed by GitHub
parent 7fd1b6a064
commit 201ef2ca94

View File

@ -414,7 +414,8 @@ def to_gn_args(args):
gn_args['fuchsia_target_api_level'] = int(f.read().strip())
# Impeller flags.
gn_args['impeller_enable_playground'] = args.enable_impeller_playground
if args.enable_impeller_playground:
gn_args['impeller_enable_playground'] = args.enable_impeller_playground
return gn_args