-
Notifications
You must be signed in to change notification settings - Fork 6k
Do not set use_ios_simulator unconditionally
#33855
Conversation
zanderso
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use_ios_simulator defaults to true, and messes up Android builds on mac.
|
Ok, I think I figured out what's going on here -updated the |
tools/gn
Outdated
| if gn_args['target_os'] == 'ios': | ||
| gn_args['use_ios_simulator'] = args.simulator | ||
| else: | ||
| elif gn_args['target_os'] == 'mac': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a bit more complicated since you can target Android while on a mac.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But simulator is iOS specific right?
|
Filed flutter/flutter#105476 for the infra flakes. |
zanderso
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gn_args['host_os'] isn't always filled in apparently.
Co-authored-by: Zachary Anderson <[email protected]>
|
Thanks! |
@zanderso
This causes gn to emit warnings on non-mac platforms