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:
@@ -53,11 +53,12 @@ Future<void> buildLinux(
|
||||
// step.
|
||||
final Map<String, String> environmentConfig = buildInfo.toEnvironmentConfig();
|
||||
environmentConfig['FLUTTER_TARGET'] = target;
|
||||
final LocalEngineInfo? localEngineInfo = globals.artifacts?.localEngineInfo;
|
||||
if (localEngineInfo != null) {
|
||||
final String engineOutPath = localEngineInfo.engineOutPath;
|
||||
final Artifacts? artifacts = globals.artifacts;
|
||||
if (artifacts is LocalEngineArtifacts) {
|
||||
final LocalEngineArtifacts localEngineArtifacts = artifacts;
|
||||
final String engineOutPath = localEngineArtifacts.engineOutPath;
|
||||
environmentConfig['FLUTTER_ENGINE'] = globals.fs.path.dirname(globals.fs.path.dirname(engineOutPath));
|
||||
environmentConfig['LOCAL_ENGINE'] = localEngineInfo.localEngineName;
|
||||
environmentConfig['LOCAL_ENGINE'] = localEngineArtifacts.localEngineName;
|
||||
}
|
||||
writeGeneratedCmakeConfig(Cache.flutterRoot!, linuxProject, buildInfo, environmentConfig);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user