| OLD | NEW |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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 import 'dart:async'; | 5 import 'dart:async'; |
| 6 import 'dart:io'; | 6 import 'dart:io'; |
| 7 | 7 |
| 8 import 'package:front_end/compiler_options.dart'; | 8 import 'package:front_end/compiler_options.dart'; |
| 9 import 'package:front_end/dependency_grapher.dart'; | 9 import 'package:front_end/dependency_grapher.dart'; |
| 10 import 'package:path/path.dart' as pathos; | 10 import 'package:path/path.dart' as pathos; |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 'lib/src/fasta', | 106 'lib/src/fasta', |
| 107 'lib/src/base', | 107 'lib/src/base', |
| 108 'lib/src/fasta/kernel', | 108 'lib/src/fasta/kernel', |
| 109 'lib/src/fasta/scanner', | 109 'lib/src/fasta/scanner', |
| 110 'lib/src/scanner', | 110 'lib/src/scanner', |
| 111 ]), | 111 ]), |
| 112 'lib/src/fasta/type_inference': new SubpackageRules(allowedDependencies: [ | 112 'lib/src/fasta/type_inference': new SubpackageRules(allowedDependencies: [ |
| 113 'lib/src', | 113 'lib/src', |
| 114 'lib/src/base', | 114 'lib/src/base', |
| 115 'lib/src/fasta', | 115 'lib/src/fasta', |
| 116 'lib/src/fasta/kernel', |
| 116 ]), | 117 ]), |
| 117 'lib/src/fasta/util': new SubpackageRules(), | 118 'lib/src/fasta/util': new SubpackageRules(), |
| 118 'lib/src/incremental': new SubpackageRules(allowedDependencies: [ | 119 'lib/src/incremental': new SubpackageRules(allowedDependencies: [ |
| 119 'lib', | 120 'lib', |
| 120 'lib/src', | 121 'lib/src', |
| 121 'lib/src/fasta', | 122 'lib/src/fasta', |
| 122 'lib/src/fasta/parser', | 123 'lib/src/fasta/parser', |
| 123 'lib/src/fasta/source', | 124 'lib/src/fasta/source', |
| 124 ]), | 125 ]), |
| 125 'lib/src/scanner': new SubpackageRules(allowedDependencies: [ | 126 'lib/src/scanner': new SubpackageRules(allowedDependencies: [ |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 if (subpackageRules[subpackage].allowSubdirs) { | 288 if (subpackageRules[subpackage].allowSubdirs) { |
| 288 subpackageRules[subpackage].actuallyHasSubdirs = true; | 289 subpackageRules[subpackage].actuallyHasSubdirs = true; |
| 289 } else { | 290 } else { |
| 290 problem('Uri $src is in a subfolder of $subpackage, but that ' | 291 problem('Uri $src is in a subfolder of $subpackage, but that ' |
| 291 'subpackage does not allow dart files in subdirectories.'); | 292 'subpackage does not allow dart files in subdirectories.'); |
| 292 } | 293 } |
| 293 } | 294 } |
| 294 return subpackage; | 295 return subpackage; |
| 295 } | 296 } |
| 296 } | 297 } |
| OLD | NEW |