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

Fix detection of Mac target specification as a host build. #35063

Merged
merged 1 commit into from
Aug 1, 2022

Conversation

chinmaygarde
Copy link
Member

@chinmaygarde
Copy link
Member Author

cc @zanderso since you authored the patch.

Copy link
Member

@gaaclarke gaaclarke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an improvement over the status quo. I think there is other work we should do that makes the host and the --mac build different though. That can be addressed in the future.

@chinmaygarde
Copy link
Member Author

Can you file an issue for that? I was thinking of the opposite of just having --mac be the default with no host variant.

@chinmaygarde chinmaygarde added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 1, 2022
@zanderso
Copy link
Member

zanderso commented Aug 1, 2022

Does building on an arm64 mac still work with this patch?

The logic here might have a different result, but I'm just eyeballing it: https://github.com/flutter/engine/blob/main/tools/gn#L292

@chinmaygarde
Copy link
Member Author

chinmaygarde commented Aug 1, 2022

Does building on an arm64 mac still work with this patch?

Really can't say without access to a device right now or on CI. I expect so since this patch fixes just the build with the --mac flag. And, if I am reading that code correctly, we need emulation on Mac still right?

But yeah, we should wire this up on CI to be sure. I have an M2 device on order to test by my desk too but that is being delayed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
autosubmit Merge PR when tree becomes green via auto submit App
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GN error when building macos engine
3 participants