[flutter_tools] Add ARM64 Linux host and cross-building option support (#61221)

This commit is contained in:
Hidenori Matsubayashi
2021-02-12 14:25:30 -08:00
committed by GitHub
parent 97a9f2ae93
commit 4cc0ab2d19
40 changed files with 794 additions and 150 deletions

View File

@@ -113,6 +113,7 @@ Future<void> main(List<String> args) async {
fileSystem: globals.fs,
cache: globals.cache,
platform: globals.platform,
operatingSystemUtils: globals.os,
),
frontendServer: frontendServer,
engineDartBinary: dartSdk,

View File

@@ -54,7 +54,7 @@ or
else
'flutter'
]);
final String bundlePlatform = targetPlatform == 'windows-x64' ? 'windows' : 'linux';
final String bundlePlatform = targetPlatform == 'windows-x64' ? 'windows' : targetPlatform;
final String target = '${buildMode}_bundle_${bundlePlatform}_assets';
final Process assembleProcess = await Process.start(
flutterExecutable,