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

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

Issue 1042003002: fix list literal initialization call fix typeof calls for primitive JS types add dart/collection.js… (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 8 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 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 const DependencyGraphError(String message, SourceSpan span) 459 const DependencyGraphError(String message, SourceSpan span)
460 : super(message, Level.SEVERE, span); 460 : super(message, Level.SEVERE, span);
461 } 461 }
462 462
463 /// Runtime files added to all applications when running the compiler in the 463 /// Runtime files added to all applications when running the compiler in the
464 /// command line. 464 /// command line.
465 const defaultRuntimeFiles = const [ 465 const defaultRuntimeFiles = const [
466 'harmony_feature_check.js', 466 'harmony_feature_check.js',
467 'dart_runtime.js', 467 'dart_runtime.js',
468 'dart/core.js', 468 'dart/core.js',
469 'dart/collection.js',
469 'dart/math.js' 470 'dart/math.js'
470 ]; 471 ];
471 472
472 /// Runtime files added to applications when running in server mode. 473 /// Runtime files added to applications when running in server mode.
473 final runtimeFilesForServerMode = new List<String>.from(defaultRuntimeFiles) 474 final runtimeFilesForServerMode = new List<String>.from(defaultRuntimeFiles)
474 ..addAll(const ['messages_widget.js', 'messages.css']); 475 ..addAll(const ['messages_widget.js', 'messages.css']);
475 476
476 final _log = new Logger('dev_compiler.dependency_graph'); 477 final _log = new Logger('dev_compiler.dependency_graph');
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698