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

Conversation

@jonahwilliams
Copy link
Contributor

@jonahwilliams jonahwilliams commented Aug 12, 2022

I attempted to escape certain special characters in impeller to avoid invalid depfiles. While this no longer causes an invalid depfile error, unfortunately we now always recompile these files as the ninja expected escaping doesn't work as expected. Some alternatives I tried:

single escape: / - rebuilds
double escape: // - invalid
triple escape: /// rebuilds
percent escape: %% invalid

To add insult to injury, the orginal depfile isn't invalid on windows, only on macOS/linux

Ultimately this was all just a workaround to test URI encoding, but we could also just test that in the framework. I think we should revert this handling here and add integration tests to the framework repo instead.

Fixes flutter/flutter#109257

@jonahwilliams jonahwilliams marked this pull request as ready for review August 12, 2022 22:51
@chinmaygarde chinmaygarde changed the title Revert special character escaping [Impeller] Revert special character escaping Aug 15, 2022
@jonahwilliams jonahwilliams merged commit ed8daaa into flutter:main Aug 15, 2022
@jonahwilliams jonahwilliams deleted the remove_weird_shader_name branch August 15, 2022 17:13
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

[Impeller] No-op builds on mac compile shaders over and over.

2 participants