| 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 import 'dart:async'; | 5 import 'dart:async'; |
| 6 import 'dart:io' as io; | 6 import 'dart:io' as io; |
| 7 | 7 |
| 8 import 'package:analyzer/error/error.dart'; | 8 import 'package:analyzer/error/error.dart'; |
| 9 import 'package:analyzer/file_system/file_system.dart' as file_system; | 9 import 'package:analyzer/file_system/file_system.dart' as file_system; |
| 10 import 'package:analyzer/file_system/file_system.dart'; | 10 import 'package:analyzer/file_system/file_system.dart'; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 import 'package:analyzer/src/summary/summary_sdk.dart' show SummaryBasedDartSdk; | 33 import 'package:analyzer/src/summary/summary_sdk.dart' show SummaryBasedDartSdk; |
| 34 import 'package:analyzer_cli/src/analyzer_impl.dart'; | 34 import 'package:analyzer_cli/src/analyzer_impl.dart'; |
| 35 import 'package:analyzer_cli/src/batch_mode.dart'; | 35 import 'package:analyzer_cli/src/batch_mode.dart'; |
| 36 import 'package:analyzer_cli/src/build_mode.dart'; | 36 import 'package:analyzer_cli/src/build_mode.dart'; |
| 37 import 'package:analyzer_cli/src/error_formatter.dart'; | 37 import 'package:analyzer_cli/src/error_formatter.dart'; |
| 38 import 'package:analyzer_cli/src/error_severity.dart'; | 38 import 'package:analyzer_cli/src/error_severity.dart'; |
| 39 import 'package:analyzer_cli/src/options.dart'; | 39 import 'package:analyzer_cli/src/options.dart'; |
| 40 import 'package:analyzer_cli/src/perf_report.dart'; | 40 import 'package:analyzer_cli/src/perf_report.dart'; |
| 41 import 'package:analyzer_cli/starter.dart' show CommandLineStarter; | 41 import 'package:analyzer_cli/starter.dart' show CommandLineStarter; |
| 42 import 'package:front_end/src/base/performace_logger.dart'; | 42 import 'package:front_end/src/base/performace_logger.dart'; |
| 43 import 'package:front_end/src/incremental/byte_store.dart'; | 43 import 'package:front_end/src/byte_store/byte_store.dart'; |
| 44 import 'package:linter/src/rules.dart' as linter; | 44 import 'package:linter/src/rules.dart' as linter; |
| 45 import 'package:meta/meta.dart'; | 45 import 'package:meta/meta.dart'; |
| 46 import 'package:package_config/discovery.dart' as pkg_discovery; | 46 import 'package:package_config/discovery.dart' as pkg_discovery; |
| 47 import 'package:package_config/packages.dart' show Packages; | 47 import 'package:package_config/packages.dart' show Packages; |
| 48 import 'package:package_config/packages_file.dart' as pkgfile show parse; | 48 import 'package:package_config/packages_file.dart' as pkgfile show parse; |
| 49 import 'package:package_config/src/packages_impl.dart' show MapPackages; | 49 import 'package:package_config/src/packages_impl.dart' show MapPackages; |
| 50 import 'package:path/path.dart' as path; | 50 import 'package:path/path.dart' as path; |
| 51 import 'package:plugin/manager.dart'; | 51 import 'package:plugin/manager.dart'; |
| 52 import 'package:plugin/plugin.dart'; | 52 import 'package:plugin/plugin.dart'; |
| 53 import 'package:telemetry/crash_reporting.dart'; | 53 import 'package:telemetry/crash_reporting.dart'; |
| (...skipping 941 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 995 for (var package in packages) { | 995 for (var package in packages) { |
| 996 var packageName = path.basename(package.path); | 996 var packageName = path.basename(package.path); |
| 997 var realPath = package.resolveSymbolicLinksSync(); | 997 var realPath = package.resolveSymbolicLinksSync(); |
| 998 result[packageName] = [ | 998 result[packageName] = [ |
| 999 PhysicalResourceProvider.INSTANCE.getFolder(realPath) | 999 PhysicalResourceProvider.INSTANCE.getFolder(realPath) |
| 1000 ]; | 1000 ]; |
| 1001 } | 1001 } |
| 1002 return result; | 1002 return result; |
| 1003 } | 1003 } |
| 1004 } | 1004 } |
| OLD | NEW |