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

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

Issue 1145243013: Check for duplicate library names (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Address comments Created 5 years, 6 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') | test/browser/runtime_tests.js » ('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 /// Tracks the shape of the import/export graph and dependencies between files. 5 /// Tracks the shape of the import/export graph and dependencies between files.
6 library dev_compiler.src.dependency_graph; 6 library dev_compiler.src.dependency_graph;
7 7
8 import 'dart:collection' show HashSet, HashMap; 8 import 'dart:collection' show HashSet, HashMap;
9 9
10 import 'package:analyzer/analyzer.dart' show parseDirectives; 10 import 'package:analyzer/analyzer.dart' show parseDirectives;
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 return files; 504 return files;
505 }(); 505 }();
506 506
507 /// Curated order to minimize lazy classes needed by dart:core and its 507 /// Curated order to minimize lazy classes needed by dart:core and its
508 /// transitive SDK imports. 508 /// transitive SDK imports.
509 const corelibOrder = const [ 509 const corelibOrder = const [
510 'dart.core', 510 'dart.core',
511 'dart.collection', 511 'dart.collection',
512 'dart._internal', 512 'dart._internal',
513 'dart.math', 513 'dart.math',
514 'dart._interceptors',
514 'dart.async', 515 'dart.async',
515 'dart._foreign_helper', 516 'dart._foreign_helper',
516 'dart._js_embedded_names', 517 'dart._js_embedded_names',
517 'dart._js_helper', 518 'dart._js_helper',
518 'dart.isolate', 519 'dart.isolate',
519 'dart.typed_data', 520 'dart.typed_data',
521 'dart._native_typed_data',
520 'dart._isolate_helper', 522 'dart._isolate_helper',
521 'dart._js_primitives', 523 'dart._js_primitives',
522 'dart._interceptors',
523 'dart.convert', 524 'dart.convert',
524 'dart._native_typed_data',
525 // _foreign_helper is not included, as it only defines the JS builtin that 525 // _foreign_helper is not included, as it only defines the JS builtin that
526 // the compiler handles at compile time. 526 // the compiler handles at compile time.
527 ]; 527 ];
528 528
529 /// Runtime files added to applications when running in server mode. 529 /// Runtime files added to applications when running in server mode.
530 final runtimeFilesForServerMode = new List<String>.from(defaultRuntimeFiles) 530 final runtimeFilesForServerMode = new List<String>.from(defaultRuntimeFiles)
531 ..addAll(const ['messages_widget.js', 'messages.css']); 531 ..addAll(const ['messages_widget.js', 'messages.css']);
532 532
533 final _log = new Logger('dev_compiler.dependency_graph'); 533 final _log = new Logger('dev_compiler.dependency_graph');
OLDNEW
« no previous file with comments | « lib/src/codegen/js_codegen.dart ('k') | test/browser/runtime_tests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698