Attempt to fix Fuchsia build (#12259)

This commit is contained in:
Adam Barth 2017-09-26 08:50:41 -07:00 committed by GitHub
parent a0e91bf9e8
commit 3433f42b09

View File

@ -44,6 +44,7 @@ Future<Null> main(List<String> args) async {
executableContext.setVariable(Logger, new StdoutLogger());
await executableContext.runInZone(() {
// Initialize the context with some defaults.
context.putIfAbsent(Stdio, () => const Stdio());
context.putIfAbsent(Platform, () => const LocalPlatform());
context.putIfAbsent(FileSystem, () => const LocalFileSystem());
context.putIfAbsent(ProcessManager, () => const LocalProcessManager());