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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 'lib/src/fasta/analyzer': | 45 'lib/src/fasta/analyzer': |
46 new SubpackageRules(mayImportAnalyzer: true, allowedDependencies: [ | 46 new SubpackageRules(mayImportAnalyzer: true, allowedDependencies: [ |
47 'lib/src/fasta', | 47 'lib/src/fasta', |
48 'lib/src/fasta/builder', | 48 'lib/src/fasta/builder', |
49 'lib/src/fasta/dill', | 49 'lib/src/fasta/dill', |
50 'lib/src/fasta/kernel', | 50 'lib/src/fasta/kernel', |
51 'lib/src/fasta/source', | 51 'lib/src/fasta/source', |
52 ]), | 52 ]), |
53 'lib/src/fasta/builder': new SubpackageRules(allowedDependencies: [ | 53 'lib/src/fasta/builder': new SubpackageRules(allowedDependencies: [ |
54 'lib/src/fasta', | 54 'lib/src/fasta', |
55 'lib/src/fasta/dill', | |
56 'lib/src/fasta/parser', | 55 'lib/src/fasta/parser', |
57 'lib/src/fasta/source', | 56 'lib/src/fasta/source', |
58 'lib/src/fasta/util', | 57 'lib/src/fasta/util', |
59 ]), | 58 ]), |
60 'lib/src/fasta/dill': new SubpackageRules(allowedDependencies: [ | 59 'lib/src/fasta/dill': new SubpackageRules(allowedDependencies: [ |
61 'lib/src/fasta', | 60 'lib/src/fasta', |
62 'lib/src/fasta/kernel', | 61 'lib/src/fasta/kernel', |
63 ]), | 62 ]), |
64 'lib/src/fasta/kernel': new SubpackageRules(allowedDependencies: [ | 63 'lib/src/fasta/kernel': new SubpackageRules(allowedDependencies: [ |
65 'lib/src/fasta', | 64 'lib/src/fasta', |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 if (subpackageRules[subpackage].allowSubdirs) { | 263 if (subpackageRules[subpackage].allowSubdirs) { |
265 subpackageRules[subpackage].actuallyHasSubdirs = true; | 264 subpackageRules[subpackage].actuallyHasSubdirs = true; |
266 } else { | 265 } else { |
267 problem('Uri $src is in a subfolder of $subpackage, but that ' | 266 problem('Uri $src is in a subfolder of $subpackage, but that ' |
268 'subpackage does not allow dart files in subdirectories.'); | 267 'subpackage does not allow dart files in subdirectories.'); |
269 } | 268 } |
270 } | 269 } |
271 return subpackage; | 270 return subpackage; |
272 } | 271 } |
273 } | 272 } |
OLD | NEW |