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

Side by Side Diff: lib/src/barback/dependency_computer.dart

Issue 1585513002: Get rid of all the library tags. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Created 4 years, 11 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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 library pub.barback.dependency_computer;
6
7 import 'package:barback/barback.dart'; 5 import 'package:barback/barback.dart';
8 import 'package:path/path.dart' as p; 6 import 'package:path/path.dart' as p;
9 7
10 import '../dart.dart'; 8 import '../dart.dart';
11 import '../io.dart'; 9 import '../io.dart';
12 import '../package.dart'; 10 import '../package.dart';
13 import '../package_graph.dart'; 11 import '../package_graph.dart';
14 import '../pubspec.dart'; 12 import '../pubspec.dart';
15 import '../utils.dart'; 13 import '../utils.dart';
16 import 'cycle_exception.dart'; 14 import 'cycle_exception.dart';
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 return null; 452 return null;
455 } 453 }
456 454
457 _directives[libraryUri] = 455 _directives[libraryUri] =
458 parseImportsAndExports(readTextFile(library), name: library) 456 parseImportsAndExports(readTextFile(library), name: library)
459 .map((directive) => Uri.parse(directive.uri.stringValue)) 457 .map((directive) => Uri.parse(directive.uri.stringValue))
460 .toSet(); 458 .toSet();
461 return _directives[libraryUri]; 459 return _directives[libraryUri];
462 } 460 }
463 } 461 }
OLDNEW
« no previous file with comments | « lib/src/barback/dart_forwarding_transformer.dart ('k') | lib/src/barback/excluding_aggregate_transformer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698