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

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

Issue 1131143002: Angular workarounds (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Rebase on latest Created 5 years, 7 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) 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; 8 import 'dart:collection' show HashSet;
9 9
10 import 'package:analyzer/analyzer.dart' show parseDirectives; 10 import 'package:analyzer/analyzer.dart' show parseDirectives;
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 return files; 468 return files;
469 }(); 469 }();
470 470
471 /// Curated order to minimize lazy classes needed by dart:core and its 471 /// Curated order to minimize lazy classes needed by dart:core and its
472 /// transitive SDK imports. 472 /// transitive SDK imports.
473 const corelibOrder = const [ 473 const corelibOrder = const [
474 'dart.core', 474 'dart.core',
475 'dart.collection', 475 'dart.collection',
476 'dart._internal', 476 'dart._internal',
477 'dart.math', 477 'dart.math',
478 'dart.async',
478 'dart._foreign_helper', 479 'dart._foreign_helper',
480 'dart._js_embedded_names',
481 'dart._js_names',
479 'dart._js_helper', 482 'dart._js_helper',
483 'dart.isolate',
484 'dart.typed_data',
485 'dart._isolate_helper',
486 'dart._js_primitives',
480 // TODO(jmesserly): add others 487 // TODO(jmesserly): add others
481 /* 488 /*
482 'dart.async',
483 'dart.convert', 489 'dart.convert',
484 'dart.isolate',
485 'dart.typed_data',
486 'dart._foreign_helper', 490 'dart._foreign_helper',
487 'dart._interceptors', 491 'dart._interceptors',
488 'dart._isolate_helper',
489 'dart._js_embedded_names',
490 'dart._js_names',
491 'dart._js_primitives',
492 'dart._native_typed_data', 492 'dart._native_typed_data',
493 */ 493 */
494 ]; 494 ];
495 495
496 /// Runtime files added to applications when running in server mode. 496 /// Runtime files added to applications when running in server mode.
497 final runtimeFilesForServerMode = new List<String>.from(defaultRuntimeFiles) 497 final runtimeFilesForServerMode = new List<String>.from(defaultRuntimeFiles)
498 ..addAll(const ['messages_widget.js', 'messages.css']); 498 ..addAll(const ['messages_widget.js', 'messages.css']);
499 499
500 final _log = new Logger('dev_compiler.dependency_graph'); 500 final _log = new Logger('dev_compiler.dependency_graph');
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698