Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(351)

Side by Side Diff: pkg/front_end/lib/src/fasta/compile_platform_dartk.dart

Issue 2710693002: Update compile_platform to not use dartk. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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.compile_platform; 5 library fasta.compile_platform;
6 6
7 import 'dart:async' show 7 import 'dart:async' show
8 Future; 8 Future;
9 9
10 import 'dart:io' show 10 import 'dart:io' show
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 library.addMember(new Field(exports, isStatic: true, isConst: true, 129 library.addMember(new Field(exports, isStatic: true, isConst: true,
130 initializer: literal, fileUri: "${new Uri.file(source.fullName)}") 130 initializer: literal, fileUri: "${new Uri.file(source.fullName)}")
131 ..fileOffset = offset); 131 ..fileOffset = offset);
132 } 132 }
133 } 133 }
134 134
135 IOSink sink = new File.fromUri(output).openWrite(); 135 IOSink sink = new File.fromUri(output).openWrite();
136 new BinaryPrinter(sink).writeProgramFile(program); 136 new BinaryPrinter(sink).writeProgramFile(program);
137 await sink.close(); 137 await sink.close();
138 } 138 }
OLDNEW
« no previous file with comments | « pkg/front_end/lib/src/fasta/compile_platform.dart ('k') | pkg/front_end/lib/src/fasta/compiler_command_line.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698