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

Side by Side Diff: mojo/dart/packages/mojom/lib/src/mojom_finder.dart

Issue 1441033002: Move mojo and mojom from mojo/public/dart to mojo/dart/packages (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 1 month 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 part of generate; 5 part of generate;
6 6
7 class PackageInfo { 7 class PackageInfo {
8 final String name; 8 final String name;
9 final Directory packageDir; 9 final Directory packageDir;
10 final Directory importDir; 10 final Directory importDir;
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 log.info("Looking for dart package: $packagePath"); 111 log.info("Looking for dart package: $packagePath");
112 if (await packageDir.exists()) { 112 if (await packageDir.exists()) {
113 return packageDir; 113 return packageDir;
114 } else { 114 } else {
115 log.info("$packagePath not found"); 115 log.info("$packagePath not found");
116 } 116 }
117 } 117 }
118 118
119 bool _shouldSkip(File f) => containsPrefix(f.path, _skip); 119 bool _shouldSkip(File f) => containsPrefix(f.path, _skip);
120 } 120 }
OLDNEW
« no previous file with comments | « mojo/dart/packages/mojom/lib/src/generate.dart ('k') | mojo/dart/packages/mojom/lib/src/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698