[flutter_tools] remove SkSL bundling and dump skp on compilation.#162849
[flutter_tools] remove SkSL bundling and dump skp on compilation.#162849auto-submit[bot] merged 4 commits intoflutter:masterfrom
Conversation
|
FYI @bkonyi |
bkonyi
left a comment
There was a problem hiding this comment.
Woohoo for deleting code!
One question regarding the removal of the options, but generally LGTM.
| addDartObfuscationOption(); | ||
| usesDartDefineOption(); | ||
| usesExtraDartFlagOptions(verboseHelp: verboseHelp); | ||
| addBundleSkSLPathOption(hide: !verboseHelp); |
There was a problem hiding this comment.
Was this option marked as deprecated before? If not, should we hold off on removing them completely and print an error when users try and provide them for now?
There was a problem hiding this comment.
I don't think we should hold off removing it, but we can call it out in the release notes. We already removed all website documentation on how to use it.
There was a problem hiding this comment.
My main concern would be users who are still passing this flag on CI (assuming there are any) will be broken if we remove this option. Hiding it unconditionally and printing a warning will at least notify them that the option doesn't do anything and will be removed.
SkSL precompilation was only ever beneficial for iOS. For other platforms, we recommended against it as Skia generated shaders per target architecture which could be invalid on other devices. It is no longer possible to use Skia on iOS.
Delete all Skia shader bundling logic.
Fixes #80091