[flutter_tools] remove SkSL target for iOS builds. (#163144)

Skia is no longer supported on iOS targets, so runtime shaders don't
need to bundle SkSL.

Fixes https://github.com/flutter/flutter/issues/138919
This commit is contained in:
Jonah Williams 2025-02-12 17:00:07 -08:00 committed by GitHub
parent a0dca0c30a
commit a7c6cc19a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 1 additions and 2 deletions

View File

@ -123,6 +123,7 @@ class ShaderCompiler {
];
case TargetPlatform.ios:
return <String>['--runtime-stage-metal'];
case TargetPlatform.darwin:
return <String>['--sksl', '--runtime-stage-metal'];

View File

@ -314,7 +314,6 @@ void main() {
const FakeCommand(
command: <String>[
'HostArtifact.impellerc',
'--sksl',
'--runtime-stage-metal',
'--iplr',
'--sl=/App.framework/flutter_assets/shader.glsl',

View File

@ -86,7 +86,6 @@ void main() {
FakeCommand(
command: <String>[
impellerc,
'--sksl',
'--runtime-stage-metal',
'--iplr',
'--sl=$outputPath',