Support single arch local engines for 'build macos-framework' and 'ios-framework' (#110564)

This commit is contained in:
Jenn Magder
2022-08-30 10:44:14 -07:00
committed by GitHub
parent c49531f02c
commit 5f5d4802fe
8 changed files with 85 additions and 10 deletions

View File

@@ -60,7 +60,7 @@ Future<void> buildLinux(
final LocalEngineArtifacts localEngineArtifacts = artifacts;
final String engineOutPath = localEngineArtifacts.engineOutPath;
environmentConfig['FLUTTER_ENGINE'] = globals.fs.path.dirname(globals.fs.path.dirname(engineOutPath));
environmentConfig['LOCAL_ENGINE'] = globals.fs.path.basename(engineOutPath);
environmentConfig['LOCAL_ENGINE'] = localEngineArtifacts.localEngineName;
}
writeGeneratedCmakeConfig(Cache.flutterRoot!, linuxProject, buildInfo, environmentConfig);