Revert "[web] Add --local-web-sdk flag and use precompiled platform kernels for dart2js and ddc (#114639)" (#115242)
This reverts commit 0e9ee3679c.
This commit is contained in:
@@ -215,11 +215,11 @@ void _writeGeneratedFlutterConfig(
|
||||
'FLUTTER_TARGET': target,
|
||||
...buildInfo.toEnvironmentConfig(),
|
||||
};
|
||||
final LocalEngineInfo? localEngineInfo = globals.artifacts?.localEngineInfo;
|
||||
if (localEngineInfo != null) {
|
||||
final String engineOutPath = localEngineInfo.engineOutPath;
|
||||
final Artifacts artifacts = globals.artifacts!;
|
||||
if (artifacts is LocalEngineArtifacts) {
|
||||
final String engineOutPath = artifacts.engineOutPath;
|
||||
environment['FLUTTER_ENGINE'] = globals.fs.path.dirname(globals.fs.path.dirname(engineOutPath));
|
||||
environment['LOCAL_ENGINE'] = localEngineInfo.localEngineName;
|
||||
environment['LOCAL_ENGINE'] = artifacts.localEngineName;
|
||||
}
|
||||
writeGeneratedCmakeConfig(Cache.flutterRoot!, windowsProject, buildInfo, environment);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user