mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Use the correct host toolchain when building from a local engine checkout on Mac. (#3956)
This commit is contained in:
parent
0f3bd3ae84
commit
0e8f26dd6c
@ -71,7 +71,9 @@ String buildAotSnapshot(
|
||||
entryPointsDir = path.join(engineSrc, 'sky', 'engine', 'bindings');
|
||||
String engineOut = tools.getEngineArtifactsDirectory(
|
||||
TargetPlatform.android_arm, buildMode).path;
|
||||
genSnapshot = path.join(engineOut, 'clang_x86', 'gen_snapshot');
|
||||
|
||||
String host32BitToolchain = getCurrentHostPlatform() == HostPlatform.darwin_x64 ? 'clang_i386' : 'clang_x86';
|
||||
genSnapshot = path.join(engineOut, host32BitToolchain, 'gen_snapshot');
|
||||
} else {
|
||||
String artifactsDir = tools.getEngineArtifactsDirectory(
|
||||
TargetPlatform.android_arm, buildMode).path;
|
||||
|
Loading…
Reference in New Issue
Block a user