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

Side by Side Diff: lib/src/compiler.dart

Issue 1530563003: Generate all runtime files from dart. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: merged master Created 4 years, 11 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
« no previous file with comments | « lib/src/codegen/js_codegen.dart ('k') | lib/src/js/template.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 /// Command line tool to run the checker on a Dart program. 5 /// Command line tool to run the checker on a Dart program.
6 library dev_compiler.src.compiler; 6 library dev_compiler.src.compiler;
7 7
8 import 'dart:async'; 8 import 'dart:async';
9 import 'dart:collection'; 9 import 'dart:collection';
10 import 'dart:convert' show JSON; 10 import 'dart:convert' show JSON;
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after
527 var length = parts.length; 527 var length = parts.length;
528 if (length > 1) { 528 if (length > 1) {
529 name = parts[0] + '/' + parts[length - 1]; 529 name = parts[0] + '/' + parts[length - 1];
530 } 530 }
531 return name + '.js'; 531 return name + '.js';
532 } 532 }
533 533
534 var files = [ 534 var files = [
535 'harmony_feature_check.js', 535 'harmony_feature_check.js',
536 'dart_library.js', 536 'dart_library.js',
537 'dart/_utils.js',
538 'dart/_errors.js',
539 'dart/_generators.js',
540 'dart/_types.js',
541 'dart/_rtti.js',
542 'dart/_classes.js',
543 'dart/_operations.js',
544 'dart/_runtime.js', 537 'dart/_runtime.js',
545 ]; 538 ];
546 files.addAll(corelibOrder.map(coreToFile)); 539 files.addAll(corelibOrder.map(coreToFile));
547 return files; 540 return files;
548 }(); 541 }();
549 542
550 final _log = new Logger('dev_compiler.src.compiler'); 543 final _log = new Logger('dev_compiler.src.compiler');
OLDNEW
« no previous file with comments | « lib/src/codegen/js_codegen.dart ('k') | lib/src/js/template.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698