Skip to content

Commit 22154d7

Browse files
authored
Do not set use_ios_simulator unconditionally (flutter#33855)
1 parent b60a46c commit 22154d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/gn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ def to_gn_args(args):
303303

304304
if gn_args['target_os'] == 'ios':
305305
gn_args['use_ios_simulator'] = args.simulator
306-
else:
306+
elif get_host_os() == 'mac':
307307
gn_args['use_ios_simulator'] = False
308308

309309
if args.dart_debug:

0 commit comments

Comments
 (0)