Skip to content

Commit

Permalink
Only build a full Dart SDK when building for the host system (flutter…
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-simmons authored Mar 7, 2019
1 parent de90dbf commit d71bfe5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/gn
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d71bfe5

Please sign in to comment.