| 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 'lib/src/fasta/parser', | 97 'lib/src/fasta/parser', |
| 98 'lib/src/fasta/scanner', | 98 'lib/src/fasta/scanner', |
| 99 'lib/src/fasta/type_inference', | 99 'lib/src/fasta/type_inference', |
| 100 'lib/src/fasta/util', | 100 'lib/src/fasta/util', |
| 101 ]), | 101 ]), |
| 102 'lib/src/fasta/testing': new SubpackageRules(allowedDependencies: [ | 102 'lib/src/fasta/testing': new SubpackageRules(allowedDependencies: [ |
| 103 'lib/src/fasta', | 103 'lib/src/fasta', |
| 104 'lib/src/base', | 104 'lib/src/base', |
| 105 'lib/src/fasta/kernel', | 105 'lib/src/fasta/kernel', |
| 106 'lib/src/fasta/scanner', | 106 'lib/src/fasta/scanner', |
| 107 'lib/src/scanner', |
| 107 ]), | 108 ]), |
| 108 'lib/src/fasta/type_inference': new SubpackageRules(allowedDependencies: [ | 109 'lib/src/fasta/type_inference': new SubpackageRules(allowedDependencies: [ |
| 109 'lib/src', | 110 'lib/src', |
| 110 'lib/src/base', | 111 'lib/src/base', |
| 111 'lib/src/fasta', | 112 'lib/src/fasta', |
| 112 ]), | 113 ]), |
| 113 'lib/src/fasta/util': new SubpackageRules(), | 114 'lib/src/fasta/util': new SubpackageRules(), |
| 114 'lib/src/scanner': new SubpackageRules(allowedDependencies: [ | 115 'lib/src/scanner': new SubpackageRules(allowedDependencies: [ |
| 115 'lib/src/base', | 116 'lib/src/base', |
| 116 // For error codes. | 117 // For error codes. |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 if (subpackageRules[subpackage].allowSubdirs) { | 277 if (subpackageRules[subpackage].allowSubdirs) { |
| 277 subpackageRules[subpackage].actuallyHasSubdirs = true; | 278 subpackageRules[subpackage].actuallyHasSubdirs = true; |
| 278 } else { | 279 } else { |
| 279 problem('Uri $src is in a subfolder of $subpackage, but that ' | 280 problem('Uri $src is in a subfolder of $subpackage, but that ' |
| 280 'subpackage does not allow dart files in subdirectories.'); | 281 'subpackage does not allow dart files in subdirectories.'); |
| 281 } | 282 } |
| 282 } | 283 } |
| 283 return subpackage; | 284 return subpackage; |
| 284 } | 285 } |
| 285 } | 286 } |
| OLD | NEW |