| 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 490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 501 'dart.math', | 501 'dart.math', |
| 502 'dart.async', | 502 'dart.async', |
| 503 'dart._foreign_helper', | 503 'dart._foreign_helper', |
| 504 'dart._js_embedded_names', | 504 'dart._js_embedded_names', |
| 505 'dart._js_names', | 505 'dart._js_names', |
| 506 'dart._js_helper', | 506 'dart._js_helper', |
| 507 'dart.isolate', | 507 'dart.isolate', |
| 508 'dart.typed_data', | 508 'dart.typed_data', |
| 509 'dart._isolate_helper', | 509 'dart._isolate_helper', |
| 510 'dart._js_primitives', | 510 'dart._js_primitives', |
| 511 'dart._interceptors', |
| 511 'dart.convert', | 512 'dart.convert', |
| 512 | |
| 513 // TODO(jmesserly): add others | |
| 514 /* | |
| 515 'dart._foreign_helper', | |
| 516 'dart._interceptors', | |
| 517 'dart._native_typed_data', | 513 'dart._native_typed_data', |
| 518 */ | 514 // _foreign_helper is not included, as it only defines the JS builtin that |
| 515 // the compiler handles at compile time. |
| 519 ]; | 516 ]; |
| 520 | 517 |
| 521 /// Runtime files added to applications when running in server mode. | 518 /// Runtime files added to applications when running in server mode. |
| 522 final runtimeFilesForServerMode = new List<String>.from(defaultRuntimeFiles) | 519 final runtimeFilesForServerMode = new List<String>.from(defaultRuntimeFiles) |
| 523 ..addAll(const ['messages_widget.js', 'messages.css']); | 520 ..addAll(const ['messages_widget.js', 'messages.css']); |
| 524 | 521 |
| 525 final _log = new Logger('dev_compiler.dependency_graph'); | 522 final _log = new Logger('dev_compiler.dependency_graph'); |
| OLD | NEW |