[flutter_tools] Add ARM64 Linux host and cross-building option support (#61221)
This commit is contained in:
committed by
GitHub
parent
97a9f2ae93
commit
4cc0ab2d19
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user