Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Impeller] Fail GN when building an enabled Impeller backend is impossible. #40772

Merged
merged 1 commit into from
Mar 30, 2023

Conversation

bdero
Copy link
Member

@bdero bdero commented Mar 30, 2023

When --enable-impeller-* args write impeller_enable_* args, and so declare_args in impeller.gni are ignored and it'll always attempt to build enabled backends even if they will obviously fail.

I ran into some confusion when accidentally flipping on Vulkan for iOS: https://gist.github.com/bdero/fa11a596ece56055d50e5afecfd4d03d

@bdero bdero requested a review from chinmaygarde March 30, 2023 00:10
@bdero bdero self-assigned this Mar 30, 2023
@bdero
Copy link
Member Author

bdero commented Mar 30, 2023

An alternative would be to just make the names not clash and have the impeller.gni args logic not enable backends when they won't work.

@chinmaygarde chinmaygarde changed the title Fail GN when building an enabled Impeller backend is impossible [Impeller] Fail GN when building an enabled Impeller backend is impossible. Mar 30, 2023
@bdero bdero merged commit 1be5152 into flutter:main Mar 30, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Mar 30, 2023
sourcegraph-bot pushed a commit to sgtest/megarepo that referenced this pull request Mar 30, 2023
…re impossible to build (flutter/engine#40772) (#123747)

Commit: e3ec1264b0aa0ef7d6f8ebfc003de1a2966b798c
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Mar 30, 2023
…ible to build (flutter/engine#40772) (#123747)

Roll Flutter Engine from 89c1b23cc6cd to 1be51526159f (1 revision)
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 30, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 30, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 30, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 30, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 30, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 30, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 31, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 31, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 31, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 31, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 31, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 31, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 31, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Apr 1, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Apr 1, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Apr 1, 2023
exaby73 pushed a commit to NevercodeHQ/flutter that referenced this pull request Apr 17, 2023
…ible to build (flutter/engine#40772) (flutter#123747)

Roll Flutter Engine from 89c1b23cc6cd to 1be51526159f (1 revision)
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 10, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants