remove unrelated code (#36481)

This commit is contained in:
Jonah Williams
2019-07-18 16:49:39 -07:00
committed by GitHub
parent b61fcfd25d
commit d1190b638f

View File

@@ -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';