[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:
parent
a0dca0c30a
commit
a7c6cc19a3
@ -123,6 +123,7 @@ class ShaderCompiler {
|
||||
];
|
||||
|
||||
case TargetPlatform.ios:
|
||||
return <String>['--runtime-stage-metal'];
|
||||
case TargetPlatform.darwin:
|
||||
return <String>['--sksl', '--runtime-stage-metal'];
|
||||
|
||||
|
@ -314,7 +314,6 @@ void main() {
|
||||
const FakeCommand(
|
||||
command: <String>[
|
||||
'HostArtifact.impellerc',
|
||||
'--sksl',
|
||||
'--runtime-stage-metal',
|
||||
'--iplr',
|
||||
'--sl=/App.framework/flutter_assets/shader.glsl',
|
||||
|
@ -86,7 +86,6 @@ void main() {
|
||||
FakeCommand(
|
||||
command: <String>[
|
||||
impellerc,
|
||||
'--sksl',
|
||||
'--runtime-stage-metal',
|
||||
'--iplr',
|
||||
'--sl=$outputPath',
|
||||
|
Loading…
x
Reference in New Issue
Block a user