remove unrelated code (#36481)
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user