Chromium Code Reviews| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 47 'lib/src/incremental' | 47 'lib/src/incremental' |
| 48 ]), | 48 ]), |
| 49 'lib/src/codegen': new SubpackageRules(), | 49 'lib/src/codegen': new SubpackageRules(), |
| 50 'lib/src/fasta': new SubpackageRules(allowedDependencies: [ | 50 'lib/src/fasta': new SubpackageRules(allowedDependencies: [ |
| 51 'lib', | 51 'lib', |
| 52 'lib/src/fasta/builder', | 52 'lib/src/fasta/builder', |
| 53 'lib/src/fasta/dill', | 53 'lib/src/fasta/dill', |
| 54 'lib/src/fasta/kernel', | 54 'lib/src/fasta/kernel', |
| 55 'lib/src/fasta/parser', | 55 'lib/src/fasta/parser', |
| 56 'lib/src/fasta/scanner', | 56 'lib/src/fasta/scanner', |
| 57 'lib/src/fasta/source', | |
|
ahe
2017/05/31 09:07:50
OK. Since this is the first use of source in this
| |
| 57 'lib/src/fasta/testing', | 58 'lib/src/fasta/testing', |
| 58 'lib/src/fasta/util', | 59 'lib/src/fasta/util', |
| 59 'lib/src/scanner', | 60 'lib/src/scanner', |
| 60 ]), | 61 ]), |
| 61 'lib/src/fasta/builder': new SubpackageRules(allowedDependencies: [ | 62 'lib/src/fasta/builder': new SubpackageRules(allowedDependencies: [ |
| 62 'lib/src/fasta', | 63 'lib/src/fasta', |
| 63 'lib/src/fasta/parser', | 64 'lib/src/fasta/parser', |
| 64 'lib/src/fasta/source', | 65 'lib/src/fasta/source', |
| 65 'lib/src/fasta/util', | 66 'lib/src/fasta/util', |
| 66 ]), | 67 ]), |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 293 if (subpackageRules[subpackage].allowSubdirs) { | 294 if (subpackageRules[subpackage].allowSubdirs) { |
| 294 subpackageRules[subpackage].actuallyHasSubdirs = true; | 295 subpackageRules[subpackage].actuallyHasSubdirs = true; |
| 295 } else { | 296 } else { |
| 296 problem('Uri $src is in a subfolder of $subpackage, but that ' | 297 problem('Uri $src is in a subfolder of $subpackage, but that ' |
| 297 'subpackage does not allow dart files in subdirectories.'); | 298 'subpackage does not allow dart files in subdirectories.'); |
| 298 } | 299 } |
| 299 } | 300 } |
| 300 return subpackage; | 301 return subpackage; |
| 301 } | 302 } |
| 302 } | 303 } |
| OLD | NEW |