OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 fasta; | 5 library fasta; |
6 | 6 |
7 import 'dart:async' show Future; | 7 import 'dart:async' show Future; |
8 | 8 |
9 import 'dart:convert' show JSON; | 9 import 'dart:convert' show JSON; |
10 | 10 |
11 import 'dart:io' show BytesBuilder, Directory, File, exitCode; | 11 import 'dart:io' show BytesBuilder, Directory, File, exitCode; |
12 | 12 |
| 13 import 'package:front_end/file_system.dart'; |
13 import 'package:front_end/physical_file_system.dart'; | 14 import 'package:front_end/physical_file_system.dart'; |
14 import 'package:kernel/binary/ast_to_binary.dart' | 15 import 'package:kernel/binary/ast_to_binary.dart' |
15 show LibraryFilteringBinaryPrinter; | 16 show LibraryFilteringBinaryPrinter; |
16 | 17 |
17 import 'package:kernel/kernel.dart' show Library, Program, loadProgramFromBytes; | 18 import 'package:kernel/kernel.dart' show Library, Program, loadProgramFromBytes; |
18 | 19 |
19 import 'package:kernel/target/targets.dart' show Target, TargetFlags, getTarget; | 20 import 'package:kernel/target/targets.dart' show Target, TargetFlags, getTarget; |
20 | 21 |
21 import 'compiler_command_line.dart' show CompilerCommandLine; | 22 import 'compiler_command_line.dart' show CompilerCommandLine; |
22 | 23 |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 final BytesBuilder builder = new BytesBuilder(); | 287 final BytesBuilder builder = new BytesBuilder(); |
287 | 288 |
288 void add(List<int> data) { | 289 void add(List<int> data) { |
289 builder.add(data); | 290 builder.add(data); |
290 } | 291 } |
291 | 292 |
292 void close() { | 293 void close() { |
293 // Nothing to do. | 294 // Nothing to do. |
294 } | 295 } |
295 } | 296 } |
OLD | NEW |