Attempt to fix Fuchsia build (#12259)
This commit is contained in:
parent
a0e91bf9e8
commit
3433f42b09
@ -44,6 +44,7 @@ Future<Null> main(List<String> args) async {
|
|||||||
executableContext.setVariable(Logger, new StdoutLogger());
|
executableContext.setVariable(Logger, new StdoutLogger());
|
||||||
await executableContext.runInZone(() {
|
await executableContext.runInZone(() {
|
||||||
// Initialize the context with some defaults.
|
// Initialize the context with some defaults.
|
||||||
|
context.putIfAbsent(Stdio, () => const Stdio());
|
||||||
context.putIfAbsent(Platform, () => const LocalPlatform());
|
context.putIfAbsent(Platform, () => const LocalPlatform());
|
||||||
context.putIfAbsent(FileSystem, () => const LocalFileSystem());
|
context.putIfAbsent(FileSystem, () => const LocalFileSystem());
|
||||||
context.putIfAbsent(ProcessManager, () => const LocalProcessManager());
|
context.putIfAbsent(ProcessManager, () => const LocalProcessManager());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user