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

Only build a full Dart SDK when building for the host system #8071

Merged
merged 1 commit into from
Mar 7, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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