Unverified Commit d1190b63 authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

remove unrelated code (#36481)

parent b61fcfd2
......@@ -70,10 +70,6 @@ String _artifactToFileName(Artifact artifact, [ TargetPlatform platform, BuildMo
case Artifact.flutterFramework:
return 'Flutter.framework';
case Artifact.flutterMacOSFramework:
if (platform != TargetPlatform.darwin_x64) {
throw Exception('${getNameForTargetPlatform(platform)} does not support'
' macOS desktop development');
}
return 'FlutterMacOS.framework';
case Artifact.vmSnapshotData:
return 'vm_isolate_snapshot.bin';
......@@ -118,16 +114,8 @@ String _artifactToFileName(Artifact artifact, [ TargetPlatform platform, BuildMo
case Artifact.iproxy:
return 'iproxy';
case Artifact.linuxDesktopPath:
if (platform != TargetPlatform.linux_x64) {
throw Exception('${getNameForTargetPlatform(platform)} does not support'
' Linux desktop development');
}
return '';
case Artifact.windowsDesktopPath:
if (platform != TargetPlatform.windows_x64) {
throw Exception('${getNameForTargetPlatform(platform)} does not support'
' Windows desktop development');
}
return '';
case Artifact.skyEnginePath:
return 'sky_engine';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment