Only build a full Dart SDK when building for the host system (flutter/engine#8071)

This commit is contained in:
Jason Simmons
2019-03-07 11:44:00 -08:00
committed by GitHub
parent 61c8d27f6c
commit 3c6dd9a78d

View File

@@ -232,8 +232,9 @@ def to_gn_args(args):
if args.arm_float_abi:
gn_args['arm_float_abi'] = args.arm_float_abi
# Switch flutter to full Dart SDK.
gn_args['dart_platform_sdk'] = False
# Switch flutter to full Dart SDK when building for the host system.
if args.target_os is None:
gn_args['dart_platform_sdk'] = False
return gn_args