[impeller] Enable Impeller playground if an environment variable is set. (flutter/engine#33107)

This commit is contained in:
Chinmay Garde
2022-05-04 12:59:06 -07:00
committed by GitHub
parent ec84ac54fa
commit dbe2018d38

View File

@@ -433,6 +433,8 @@ def to_gn_args(args):
# Impeller flags.
if args.enable_impeller_playground:
gn_args['impeller_enable_playground'] = args.enable_impeller_playground
elif os.getenv('FLUTTER_IMPELLER_ENABLE_PLAYGROUND', '0') == '1':
gn_args['impeller_enable_playground'] = True
return gn_args