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

Unified Diff: sdk/lib/_internal/pub_generated/lib/src/validator/name.dart

Issue 583853002: Use precompiled dependencies in pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_internal/pub_generated/lib/src/validator/name.dart
diff --git a/sdk/lib/_internal/pub_generated/lib/src/validator/name.dart b/sdk/lib/_internal/pub_generated/lib/src/validator/name.dart
index c2b699bcac0f39e8bee38eaabacc8ccfb3b2efdf..ccda01c37867545be311462f1c972a8f7deead9f 100644
--- a/sdk/lib/_internal/pub_generated/lib/src/validator/name.dart
+++ b/sdk/lib/_internal/pub_generated/lib/src/validator/name.dart
@@ -2,7 +2,6 @@ library pub.validator.name;
import 'dart:async';
import 'package:path/path.dart' as path;
import '../entrypoint.dart';
-import '../io.dart';
import '../utils.dart';
import '../validator.dart';
final _RESERVED_WORDS = [
@@ -64,7 +63,7 @@ class NameValidator extends Validator {
});
}
List<String> get _libraries {
- var libDir = path.join(entrypoint.root.dir, "lib");
+ var libDir = entrypoint.root.path("lib");
return entrypoint.root.listFiles(
beneath: "lib").map(
(file) =>

Powered by Google App Engine
This is Rietveld 408576698