OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 library analyzer_cli.src.bootloader; | 5 library analyzer_cli.src.boot_loader; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import 'dart:isolate'; | 8 import 'dart:isolate'; |
9 | 9 |
10 import 'package:analyzer/file_system/physical_file_system.dart'; | 10 import 'package:analyzer/file_system/physical_file_system.dart'; |
11 import 'package:analyzer/source/analysis_options_provider.dart'; | 11 import 'package:analyzer/source/analysis_options_provider.dart'; |
12 import 'package:analyzer/src/context/context.dart'; | 12 import 'package:analyzer/src/context/context.dart'; |
13 import 'package:analyzer/src/generated/engine.dart' as engine; | 13 import 'package:analyzer/src/generated/engine.dart' as engine; |
14 import 'package:analyzer/src/plugin/plugin_configuration.dart'; | 14 import 'package:analyzer/src/plugin/plugin_configuration.dart'; |
15 import 'package:analyzer_cli/src/driver.dart'; | 15 import 'package:analyzer_cli/src/driver.dart'; |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 String packageRoot = | 187 String packageRoot = |
188 packageRootPath != null ? packageRootPath : './packages'; | 188 packageRootPath != null ? packageRootPath : './packages'; |
189 Uri packageUri = new Uri.file(packageRoot); | 189 Uri packageUri = new Uri.file(packageRoot); |
190 | 190 |
191 Isolate.spawnUri(uri, args, null /* msg */, | 191 Isolate.spawnUri(uri, args, null /* msg */, |
192 packageRoot: packageUri, onExit: exitListener.sendPort); | 192 packageRoot: packageUri, onExit: exitListener.sendPort); |
193 | 193 |
194 return completer.future; | 194 return completer.future; |
195 } | 195 } |
196 } | 196 } |
OLD | NEW |