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 ...@@ -70,10 +70,6 @@ String _artifactToFileName(Artifact artifact, [ TargetPlatform platform, BuildMo
case Artifact.flutterFramework: case Artifact.flutterFramework:
return 'Flutter.framework'; return 'Flutter.framework';
case Artifact.flutterMacOSFramework: case Artifact.flutterMacOSFramework:
if (platform != TargetPlatform.darwin_x64) {
throw Exception('${getNameForTargetPlatform(platform)} does not support'
' macOS desktop development');
}
return 'FlutterMacOS.framework'; return 'FlutterMacOS.framework';
case Artifact.vmSnapshotData: case Artifact.vmSnapshotData:
return 'vm_isolate_snapshot.bin'; return 'vm_isolate_snapshot.bin';
...@@ -118,16 +114,8 @@ String _artifactToFileName(Artifact artifact, [ TargetPlatform platform, BuildMo ...@@ -118,16 +114,8 @@ String _artifactToFileName(Artifact artifact, [ TargetPlatform platform, BuildMo
case Artifact.iproxy: case Artifact.iproxy:
return 'iproxy'; return 'iproxy';
case Artifact.linuxDesktopPath: case Artifact.linuxDesktopPath:
if (platform != TargetPlatform.linux_x64) {
throw Exception('${getNameForTargetPlatform(platform)} does not support'
' Linux desktop development');
}
return ''; return '';
case Artifact.windowsDesktopPath: case Artifact.windowsDesktopPath:
if (platform != TargetPlatform.windows_x64) {
throw Exception('${getNameForTargetPlatform(platform)} does not support'
' Windows desktop development');
}
return ''; return '';
case Artifact.skyEnginePath: case Artifact.skyEnginePath:
return 'sky_engine'; 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