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