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