| Index: pkg/compiler/lib/src/source_file_provider.dart
|
| diff --git a/pkg/compiler/lib/src/source_file_provider.dart b/pkg/compiler/lib/src/source_file_provider.dart
|
| index cf9a1a55f3e44d145ee657e4fef9504ce7b8e535..37e3b9d55b3af1bd799c518d7ea27a73b2cf7437 100644
|
| --- a/pkg/compiler/lib/src/source_file_provider.dart
|
| +++ b/pkg/compiler/lib/src/source_file_provider.dart
|
| @@ -238,7 +238,10 @@ class RandomAccessFileOutputProvider implements CompilerOutput {
|
| final MessageCallback onFailure;
|
|
|
| int totalCharactersWritten = 0;
|
| - List<String> allOutputFiles = new List<String>();
|
| + int totalCharactersWrittenPrimary = 0;
|
| + int totalCharactersWrittenJavaScript = 0;
|
| +
|
| + List<String> allOutputFiles = <String>[];
|
|
|
| RandomAccessFileOutputProvider(this.out, this.sourceMapOut,
|
| {this.onInfo, this.onFailure, this.resolutionOutput});
|
| @@ -335,8 +338,12 @@ class RandomAccessFileOutputProvider implements CompilerOutput {
|
|
|
| onDone() {
|
| output.closeSync();
|
| + totalCharactersWritten += charactersWritten;
|
| if (isPrimaryOutput) {
|
| - totalCharactersWritten += charactersWritten;
|
| + totalCharactersWrittenPrimary += charactersWritten;
|
| + }
|
| + if (type == OutputType.js || type == OutputType.jsPart) {
|
| + totalCharactersWrittenJavaScript += charactersWritten;
|
| }
|
| }
|
|
|
|
|