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