OLD | NEW |
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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 | 6 |
7 import 'package:front_end/compiler_options.dart'; | 7 import 'package:front_end/compiler_options.dart'; |
8 import 'package:front_end/memory_file_system.dart'; | 8 import 'package:front_end/memory_file_system.dart'; |
9 import 'package:front_end/src/base/performace_logger.dart'; | 9 import 'package:front_end/src/base/performace_logger.dart'; |
10 import 'package:front_end/src/base/processed_options.dart'; | 10 import 'package:front_end/src/base/processed_options.dart'; |
11 import 'package:front_end/src/fasta/kernel/utils.dart'; | 11 import 'package:front_end/src/fasta/kernel/utils.dart'; |
12 import 'package:front_end/src/fasta/uri_translator_impl.dart'; | 12 import 'package:front_end/src/fasta/uri_translator_impl.dart'; |
13 import 'package:front_end/src/incremental/byte_store.dart'; | 13 import 'package:front_end/src/byte_store/byte_store.dart'; |
14 import 'package:front_end/src/incremental/kernel_driver.dart'; | 14 import 'package:front_end/src/incremental/kernel_driver.dart'; |
15 import 'package:kernel/ast.dart'; | 15 import 'package:kernel/ast.dart'; |
16 import 'package:kernel/binary/ast_from_binary.dart'; | 16 import 'package:kernel/binary/ast_from_binary.dart'; |
17 import 'package:kernel/target/targets.dart'; | 17 import 'package:kernel/target/targets.dart'; |
18 import 'package:kernel/text/ast_to_text.dart'; | 18 import 'package:kernel/text/ast_to_text.dart'; |
19 import 'package:kernel/verifier.dart'; | 19 import 'package:kernel/verifier.dart'; |
20 import 'package:package_config/src/packages_impl.dart'; | 20 import 'package:package_config/src/packages_impl.dart'; |
21 import 'package:test/test.dart'; | 21 import 'package:test/test.dart'; |
22 import 'package:test_reflective_loader/test_reflective_loader.dart'; | 22 import 'package:test_reflective_loader/test_reflective_loader.dart'; |
23 | 23 |
(...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
685 .writeLibraryFile(library); | 685 .writeLibraryFile(library); |
686 return buffer.toString(); | 686 return buffer.toString(); |
687 } | 687 } |
688 | 688 |
689 /// Return the [Uri] for the given Posix [path]. | 689 /// Return the [Uri] for the given Posix [path]. |
690 static Uri _folderUri(String path) { | 690 static Uri _folderUri(String path) { |
691 if (!path.endsWith('/')) path += '/'; | 691 if (!path.endsWith('/')) path += '/'; |
692 return Uri.parse('file://$path'); | 692 return Uri.parse('file://$path'); |
693 } | 693 } |
694 } | 694 } |
OLD | NEW |