| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |