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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 'lib/src/fasta', | 50 'lib/src/fasta', |
51 "lib/src/fasta/dill", | 51 "lib/src/fasta/dill", |
52 "lib/src/fasta/kernel", | 52 "lib/src/fasta/kernel", |
53 'lib/src/fasta/source', | 53 'lib/src/fasta/source', |
54 'lib/src/incremental', | 54 'lib/src/incremental', |
55 ]), | 55 ]), |
56 'lib/src/base': new SubpackageRules(allowedDependencies: [ | 56 'lib/src/base': new SubpackageRules(allowedDependencies: [ |
57 'lib', | 57 'lib', |
58 'lib/src', | 58 'lib/src', |
59 'lib/src/fasta', | 59 'lib/src/fasta', |
| 60 'lib/src/fasta/util', |
60 'lib/src/incremental' | 61 'lib/src/incremental' |
61 ]), | 62 ]), |
62 'lib/src/codegen': new SubpackageRules(), | 63 'lib/src/codegen': new SubpackageRules(), |
63 'lib/src/fasta': new SubpackageRules(allowedDependencies: [ | 64 'lib/src/fasta': new SubpackageRules(allowedDependencies: [ |
64 'lib', | 65 'lib', |
65 'lib/src', | 66 'lib/src', |
66 'lib/src/base', | 67 'lib/src/base', |
67 'lib/src/fasta/builder', | 68 'lib/src/fasta/builder', |
68 'lib/src/fasta/dill', | 69 'lib/src/fasta/dill', |
69 'lib/src/fasta/kernel', | 70 'lib/src/fasta/kernel', |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 if (subpackageRules[subpackage].allowSubdirs) { | 318 if (subpackageRules[subpackage].allowSubdirs) { |
318 subpackageRules[subpackage].actuallyHasSubdirs = true; | 319 subpackageRules[subpackage].actuallyHasSubdirs = true; |
319 } else { | 320 } else { |
320 problem('Uri $src is in a subfolder of $subpackage, but that ' | 321 problem('Uri $src is in a subfolder of $subpackage, but that ' |
321 'subpackage does not allow dart files in subdirectories.'); | 322 'subpackage does not allow dart files in subdirectories.'); |
322 } | 323 } |
323 } | 324 } |
324 return subpackage; | 325 return subpackage; |
325 } | 326 } |
326 } | 327 } |
OLD | NEW |