Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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', | |
|
Jennifer Messerly
2015/05/12 16:23:46
stole this from your CL. Gets sunflower working
| |
| 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', | |
| 487 | |
| 480 // TODO(jmesserly): add others | 488 // TODO(jmesserly): add others |
| 481 /* | 489 /* |
| 482 'dart.async', | |
| 483 'dart.convert', | 490 'dart.convert', |
| 484 'dart.isolate', | |
| 485 'dart.typed_data', | |
| 486 'dart._foreign_helper', | 491 'dart._foreign_helper', |
| 487 'dart._interceptors', | 492 'dart._interceptors', |
| 488 'dart._isolate_helper', | |
| 489 'dart._js_embedded_names', | |
| 490 'dart._js_names', | |
| 491 'dart._js_primitives', | |
| 492 'dart._native_typed_data', | 493 'dart._native_typed_data', |
| 493 */ | 494 */ |
| 494 ]; | 495 ]; |
| 495 | 496 |
| 496 /// Runtime files added to applications when running in server mode. | 497 /// Runtime files added to applications when running in server mode. |
| 497 final runtimeFilesForServerMode = new List<String>.from(defaultRuntimeFiles) | 498 final runtimeFilesForServerMode = new List<String>.from(defaultRuntimeFiles) |
| 498 ..addAll(const ['messages_widget.js', 'messages.css']); | 499 ..addAll(const ['messages_widget.js', 'messages.css']); |
| 499 | 500 |
| 500 final _log = new Logger('dev_compiler.dependency_graph'); | 501 final _log = new Logger('dev_compiler.dependency_graph'); |
| OLD | NEW |