Platform binaries reland (#115502)
You can now specify a --local-web-sdk flag to point to a wasm_release folder. This will make it so that only artifacts that pertain to the web sdk are overridden to point to the wasm_release folder. Other artifacts (such as impellerc) will pull from the cache, or from the --local-engine path if that is specified. This also uses precompiled platform kernel files for both ddc and dart2js
This commit is contained in:
@@ -70,7 +70,7 @@ class FuchsiaKernelCompiler {
|
||||
'$multiRootScheme:///$target',
|
||||
];
|
||||
|
||||
final String? engineDartBinaryPath = globals.artifacts?.getHostArtifact(HostArtifact.engineDartBinary).path;
|
||||
final String? engineDartBinaryPath = globals.artifacts?.getArtifactPath(Artifact.engineDartBinary);
|
||||
if (engineDartBinaryPath == null) {
|
||||
throwToolExit('Engine dart binary not found at "$engineDartBinaryPath"');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user