File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import '../lib/src/base/config.dart';
1212import '../lib/src/base/context.dart' ;
1313import '../lib/src/base/logger.dart' ;
1414import '../lib/src/base/os.dart' ;
15+ import '../lib/src/base/process_manager.dart' ;
1516import '../lib/src/cache.dart' ;
1617import '../lib/src/flx.dart' ;
1718import '../lib/src/globals.dart' ;
@@ -36,6 +37,7 @@ Future<Null> main(List<String> args) async {
3637 executableContext.setVariable (Logger , new StdoutLogger ());
3738 executableContext.runInZone (() {
3839 // Initialize the context with some defaults.
40+ context.putIfAbsent (ProcessManager , () => new ProcessManager ());
3941 context.putIfAbsent (Logger , () => new StdoutLogger ());
4042 context.putIfAbsent (Cache , () => new Cache ());
4143 context.putIfAbsent (Config , () => new Config ());
Original file line number Diff line number Diff line change @@ -96,6 +96,10 @@ Future<Null> main(List<String> args) async {
9696 // Make the context current.
9797 _executableContext.runInZone (() {
9898 // Initialize the context with some defaults.
99+ // NOTE: Similar lists also exist in `bin/fuchsia_builder.dart` and
100+ // `test/src/context.dart`. If you update this list of defaults, look
101+ // in those locations as well to see if you need a similar update there.
102+
99103 // Seed these context entries first since others depend on them
100104 context.putIfAbsent (ProcessManager , () => new ProcessManager ());
101105 context.putIfAbsent (Logger , () => new StdoutLogger ());
You can’t perform that action at this time.
0 commit comments