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

[Impeller] Get current path as string instead of native format in blobcat CLI #33388

Merged
merged 1 commit into from
May 16, 2022

Conversation

bdero
Copy link
Member

@bdero bdero commented May 16, 2022

On Windows, path::native() returns a wchar_t* rathat than a char*. This is the only change I had to make in Impeller to get the render layer + tools building on Windows with an external cmake config.

Also, avoid using M_PI, since the cmath that ships with VS2022 doesn't include it. Avoids the need for this hack.

@bdero bdero requested a review from chinmaygarde May 16, 2022 10:19
@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on Discord!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

@bdero bdero merged commit 8abb774 into flutter:main May 16, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 16, 2022
houhuayong pushed a commit to houhuayong/engine that referenced this pull request Jun 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants