Add arm64 Linux host support (#29)
Fixed https://github.com/sony/flutter-elinux/issues/2
This commit is contained in:
@@ -67,7 +67,12 @@ class BuildPackageCommand extends BuildSubCommand with ELinuxExtension {
|
||||
@override
|
||||
Future<Set<DevelopmentArtifact>> get requiredArtifacts async =>
|
||||
<DevelopmentArtifact>{
|
||||
DevelopmentArtifact.androidGenSnapshot,
|
||||
// Use gensnapshot for Arm64 Linux when the host is arm64 because
|
||||
// the artifacts for arm64 host don't support self-building now.
|
||||
if (_getCurrentHostPlatformArchName() == 'arm64')
|
||||
DevelopmentArtifact.linux,
|
||||
if (_getCurrentHostPlatformArchName() == 'x64')
|
||||
DevelopmentArtifact.androidGenSnapshot,
|
||||
ELinuxDevelopmentArtifact.elinux,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user